Searched refs:hw (Results 26 - 50 of 1854) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/spi/
H A Dspi_nuc900.c76 struct nuc900_spi *hw = to_hw(spi); local
82 spin_lock_irqsave(&hw->lock, flags);
84 val = __raw_readl(hw->regs + USI_SSR);
96 __raw_writel(val, hw->regs + USI_SSR);
98 val = __raw_readl(hw->regs + USI_CNT);
105 __raw_writel(val, hw->regs + USI_CNT);
107 spin_unlock_irqrestore(&hw->lock, flags);
123 static void nuc900_spi_setup_txnum(struct nuc900_spi *hw, argument
129 spin_lock_irqsave(&hw->lock, flags);
131 val = __raw_readl(hw
144 nuc900_spi_setup_txbitlen(struct nuc900_spi *hw, unsigned int txbitlen) argument
161 nuc900_spi_gobusy(struct nuc900_spi *hw) argument
188 hw_txbyte(struct nuc900_spi *hw, int count) argument
195 struct nuc900_spi *hw = to_hw(spi); local
213 struct nuc900_spi *hw = dev; local
241 nuc900_tx_edge(struct nuc900_spi *hw, unsigned int edge) argument
259 nuc900_rx_edge(struct nuc900_spi *hw, unsigned int edge) argument
277 nuc900_send_first(struct nuc900_spi *hw, unsigned int lsb) argument
295 nuc900_set_sleep(struct nuc900_spi *hw, unsigned int sleep) argument
313 nuc900_enable_int(struct nuc900_spi *hw) argument
329 nuc900_set_divider(struct nuc900_spi *hw) argument
334 nuc900_init_spi(struct nuc900_spi *hw) argument
351 struct nuc900_spi *hw; local
460 struct nuc900_spi *hw = platform_get_drvdata(dev); local
[all...]
H A Dau1550_spi.c66 void (*rx_word)(struct au1550_spi *hw);
67 void (*tx_word)(struct au1550_spi *hw);
69 irqreturn_t (*irq_callback)(struct au1550_spi *hw);
104 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw);
116 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) argument
118 u32 mainclk_hz = hw->pdata->mainclk_hz;
139 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) argument
141 hw->regs->psc_spimsk =
147 hw->regs->psc_spievent =
154 static void au1550_spi_reset_fifos(struct au1550_spi *hw) argument
177 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
237 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
296 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
325 au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned size) argument
342 au1550_spi_dma_rxtmp_free(struct au1550_spi *hw) argument
353 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
458 au1550_spi_dma_irq_callback(struct au1550_spi *hw) argument
552 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
592 au1550_spi_pio_irq_callback(struct au1550_spi *hw) argument
684 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
690 struct au1550_spi *hw = dev; local
694 au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw) argument
719 au1550_spi_setup_psc_as_spi(struct au1550_spi *hw) argument
770 struct au1550_spi *hw; local
972 struct au1550_spi *hw = platform_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/igb/
H A De1000_mac.h41 s32 igb_blink_led(struct e1000_hw *hw);
42 s32 igb_check_for_copper_link(struct e1000_hw *hw);
43 s32 igb_cleanup_led(struct e1000_hw *hw);
44 s32 igb_config_fc_after_link_up(struct e1000_hw *hw);
45 s32 igb_disable_pcie_master(struct e1000_hw *hw);
46 s32 igb_force_mac_fc(struct e1000_hw *hw);
47 s32 igb_get_auto_rd_done(struct e1000_hw *hw);
48 s32 igb_get_bus_info_pcie(struct e1000_hw *hw);
49 s32 igb_get_hw_semaphore(struct e1000_hw *hw);
50 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u1
[all...]
H A De1000_nvm.h31 s32 igb_acquire_nvm(struct e1000_hw *hw);
32 void igb_release_nvm(struct e1000_hw *hw);
33 s32 igb_read_mac_addr(struct e1000_hw *hw);
34 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
35 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
36 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
37 s32 igb_validate_nvm_checksum(struct e1000_hw *hw);
38 s32 igb_update_nvm_checksum(struct e1000_hw *hw);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/igb/
H A De1000_mac.h41 s32 igb_blink_led(struct e1000_hw *hw);
42 s32 igb_check_for_copper_link(struct e1000_hw *hw);
43 s32 igb_cleanup_led(struct e1000_hw *hw);
44 s32 igb_config_fc_after_link_up(struct e1000_hw *hw);
45 s32 igb_disable_pcie_master(struct e1000_hw *hw);
46 s32 igb_force_mac_fc(struct e1000_hw *hw);
47 s32 igb_get_auto_rd_done(struct e1000_hw *hw);
48 s32 igb_get_bus_info_pcie(struct e1000_hw *hw);
49 s32 igb_get_hw_semaphore(struct e1000_hw *hw);
50 s32 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u1
[all...]
H A De1000_nvm.h31 s32 igb_acquire_nvm(struct e1000_hw *hw);
32 void igb_release_nvm(struct e1000_hw *hw);
33 s32 igb_read_mac_addr(struct e1000_hw *hw);
34 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num);
35 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
36 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
37 s32 igb_validate_nvm_checksum(struct e1000_hw *hw);
38 s32 igb_update_nvm_checksum(struct e1000_hw *hw);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/common/
H A Dhw-device.h115 #define hw_parent(hw) ((hw)->parent_of_hw + 0)
117 #define hw_sibling(hw) ((hw)->sibling_of_hw + 0)
119 #define hw_child(hw) ((hw)->child_of_hw + 0)
127 #define hw_family(hw) ((hw)->family_of_hw + 0)
129 #define hw_name(hw) ((hw)
478 struct hw { struct
[all...]
H A Dhw-handles.c23 #include "hw-main.h"
24 #include "hw-base.h"
29 struct hw *phandle;
41 create_hw_handle_data (struct hw *hw) argument
43 if (hw_parent (hw) == NULL)
45 hw->handles_of_hw = HW_ZALLOC (hw, struct hw_handle_data);
49 hw->handles_of_hw = hw_root (hw)
54 delete_hw_handle_data(struct hw *hw) argument
90 hw_handle_ihandle2(struct hw *hw, cell_word external) argument
106 hw_handle_phandle2(struct hw *hw, cell_word external) argument
122 hw_handle_2ihandle(struct hw *hw, struct hw_instance *internal) argument
138 hw_handle_2phandle(struct hw *hw, struct hw *internal) argument
154 hw_handle_add_ihandle(struct hw *hw, struct hw_instance *internal) argument
176 hw_handle_add_phandle(struct hw *hw, struct hw *internal) argument
198 hw_handle_remove_ihandle(struct hw *hw, struct hw_instance *internal) argument
219 hw_handle_remove_phandle(struct hw *hw, struct hw *internal) argument
[all...]
H A Dsim-hw.h32 struct hw *sim_hw_parse
49 struct hw *hw,
61 struct hw *hw,
70 struct hw *hw,
82 struct hw *hw,
90 struct hw *h
[all...]
H A Dhw-events.h28 typedef void (hw_event_callback) (struct hw *me, void *data);
31 (struct hw *me,
37 (struct hw *me,
45 (struct hw *me,
54 (struct hw *me,
58 (struct hw *me);
62 (struct hw *me, struct hw_event *event);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/common/
H A Dhw-device.h115 #define hw_parent(hw) ((hw)->parent_of_hw + 0)
117 #define hw_sibling(hw) ((hw)->sibling_of_hw + 0)
119 #define hw_child(hw) ((hw)->child_of_hw + 0)
127 #define hw_family(hw) ((hw)->family_of_hw + 0)
129 #define hw_name(hw) ((hw)
478 struct hw { struct
[all...]
H A Dhw-handles.c23 #include "hw-main.h"
24 #include "hw-base.h"
29 struct hw *phandle;
41 create_hw_handle_data (struct hw *hw) argument
43 if (hw_parent (hw) == NULL)
45 hw->handles_of_hw = HW_ZALLOC (hw, struct hw_handle_data);
49 hw->handles_of_hw = hw_root (hw)
54 delete_hw_handle_data(struct hw *hw) argument
90 hw_handle_ihandle2(struct hw *hw, cell_word external) argument
106 hw_handle_phandle2(struct hw *hw, cell_word external) argument
122 hw_handle_2ihandle(struct hw *hw, struct hw_instance *internal) argument
138 hw_handle_2phandle(struct hw *hw, struct hw *internal) argument
154 hw_handle_add_ihandle(struct hw *hw, struct hw_instance *internal) argument
176 hw_handle_add_phandle(struct hw *hw, struct hw *internal) argument
198 hw_handle_remove_ihandle(struct hw *hw, struct hw_instance *internal) argument
219 hw_handle_remove_phandle(struct hw *hw, struct hw *internal) argument
[all...]
H A Dsim-hw.h32 struct hw *sim_hw_parse
49 struct hw *hw,
61 struct hw *hw,
70 struct hw *hw,
82 struct hw *hw,
90 struct hw *h
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/common/
H A Dhw-device.h115 #define hw_parent(hw) ((hw)->parent_of_hw + 0)
117 #define hw_sibling(hw) ((hw)->sibling_of_hw + 0)
119 #define hw_child(hw) ((hw)->child_of_hw + 0)
127 #define hw_family(hw) ((hw)->family_of_hw + 0)
129 #define hw_name(hw) ((hw)
478 struct hw { struct
[all...]
H A Dhw-handles.c23 #include "hw-main.h"
24 #include "hw-base.h"
29 struct hw *phandle;
41 create_hw_handle_data (struct hw *hw) argument
43 if (hw_parent (hw) == NULL)
45 hw->handles_of_hw = HW_ZALLOC (hw, struct hw_handle_data);
49 hw->handles_of_hw = hw_root (hw)
54 delete_hw_handle_data(struct hw *hw) argument
90 hw_handle_ihandle2(struct hw *hw, cell_word external) argument
106 hw_handle_phandle2(struct hw *hw, cell_word external) argument
122 hw_handle_2ihandle(struct hw *hw, struct hw_instance *internal) argument
138 hw_handle_2phandle(struct hw *hw, struct hw *internal) argument
154 hw_handle_add_ihandle(struct hw *hw, struct hw_instance *internal) argument
176 hw_handle_add_phandle(struct hw *hw, struct hw *internal) argument
198 hw_handle_remove_ihandle(struct hw *hw, struct hw_instance *internal) argument
219 hw_handle_remove_phandle(struct hw *hw, struct hw *internal) argument
[all...]
H A Dsim-hw.h32 struct hw *sim_hw_parse
49 struct hw *hw,
61 struct hw *hw,
70 struct hw *hw,
82 struct hw *hw,
90 struct hw *h
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/isdn/hardware/mISDN/
H A DmISDNinfineon.c281 struct inf_hw *hw = dev_id; local
284 spin_lock(&hw->lock);
285 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL);
287 spin_unlock(&hw->lock);
290 hw->irqcnt++;
291 mISDNipac_irq(&hw->ipac, irqloops);
292 spin_unlock(&hw->lock);
299 struct inf_hw *hw = dev_id; local
302 spin_lock(&hw->lock);
303 val = readb(hw
318 struct inf_hw *hw = dev_id; local
336 struct inf_hw *hw = dev_id; local
354 struct inf_hw *hw = dev_id; local
373 struct inf_hw *hw = dev_id; local
385 struct inf_hw *hw = dev_id; local
401 enable_hwirq(struct inf_hw *hw) argument
445 disable_hwirq(struct inf_hw *hw) argument
485 ipac_chip_reset(struct inf_hw *hw) argument
496 reset_inf(struct inf_hw *hw) argument
587 inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg) argument
605 init_irq(struct inf_hw *hw) argument
643 release_io(struct inf_hw *hw) argument
664 setup_io(struct inf_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/hardware/mISDN/
H A DmISDNinfineon.c281 struct inf_hw *hw = dev_id; local
284 spin_lock(&hw->lock);
285 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL);
287 spin_unlock(&hw->lock);
290 hw->irqcnt++;
291 mISDNipac_irq(&hw->ipac, irqloops);
292 spin_unlock(&hw->lock);
299 struct inf_hw *hw = dev_id; local
302 spin_lock(&hw->lock);
303 val = readb(hw
318 struct inf_hw *hw = dev_id; local
336 struct inf_hw *hw = dev_id; local
354 struct inf_hw *hw = dev_id; local
373 struct inf_hw *hw = dev_id; local
385 struct inf_hw *hw = dev_id; local
401 enable_hwirq(struct inf_hw *hw) argument
445 disable_hwirq(struct inf_hw *hw) argument
485 ipac_chip_reset(struct inf_hw *hw) argument
496 reset_inf(struct inf_hw *hw) argument
587 inf_ctrl(struct inf_hw *hw, u32 cmd, u_long arg) argument
605 init_irq(struct inf_hw *hw) argument
643 release_io(struct inf_hw *hw) argument
664 setup_io(struct inf_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/spi/
H A Dau1550_spi.c66 void (*rx_word)(struct au1550_spi *hw);
67 void (*tx_word)(struct au1550_spi *hw);
69 irqreturn_t (*irq_callback)(struct au1550_spi *hw);
104 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw);
116 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) argument
118 u32 mainclk_hz = hw->pdata->mainclk_hz;
139 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) argument
141 hw->regs->psc_spimsk =
147 hw->regs->psc_spievent =
154 static void au1550_spi_reset_fifos(struct au1550_spi *hw) argument
177 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
237 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
296 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
325 au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned size) argument
342 au1550_spi_dma_rxtmp_free(struct au1550_spi *hw) argument
353 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
458 au1550_spi_dma_irq_callback(struct au1550_spi *hw) argument
552 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
592 au1550_spi_pio_irq_callback(struct au1550_spi *hw) argument
684 struct au1550_spi *hw = spi_master_get_devdata(spi->master); local
690 struct au1550_spi *hw = dev; local
694 au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw) argument
719 au1550_spi_setup_psc_as_spi(struct au1550_spi *hw) argument
770 struct au1550_spi *hw; local
972 struct au1550_spi *hw = platform_get_drvdata(pdev); local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/infiniband/
H A DMakefile2 obj-$(CONFIG_INFINIBAND_MTHCA) += hw/mthca/
3 obj-$(CONFIG_INFINIBAND_IPATH) += hw/ipath/
4 obj-$(CONFIG_INFINIBAND_QIB) += hw/qib/
5 obj-$(CONFIG_INFINIBAND_EHCA) += hw/ehca/
6 obj-$(CONFIG_INFINIBAND_AMSO1100) += hw/amso1100/
7 obj-$(CONFIG_INFINIBAND_CXGB3) += hw/cxgb3/
8 obj-$(CONFIG_INFINIBAND_CXGB4) += hw/cxgb4/
9 obj-$(CONFIG_MLX4_INFINIBAND) += hw/mlx4/
10 obj-$(CONFIG_INFINIBAND_NES) += hw/nes/
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/infiniband/
H A DMakefile2 obj-$(CONFIG_INFINIBAND_MTHCA) += hw/mthca/
3 obj-$(CONFIG_INFINIBAND_IPATH) += hw/ipath/
4 obj-$(CONFIG_INFINIBAND_QIB) += hw/qib/
5 obj-$(CONFIG_INFINIBAND_EHCA) += hw/ehca/
6 obj-$(CONFIG_INFINIBAND_AMSO1100) += hw/amso1100/
7 obj-$(CONFIG_INFINIBAND_CXGB3) += hw/cxgb3/
8 obj-$(CONFIG_INFINIBAND_CXGB4) += hw/cxgb4/
9 obj-$(CONFIG_MLX4_INFINIBAND) += hw/mlx4/
10 obj-$(CONFIG_INFINIBAND_NES) += hw/nes/
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/ixgbe/
H A Dixgbe_phy.c35 static void ixgbe_i2c_start(struct ixgbe_hw *hw);
36 static void ixgbe_i2c_stop(struct ixgbe_hw *hw);
37 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data);
38 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data);
39 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
40 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
41 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
42 static s32 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
43 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
44 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u3
56 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) argument
86 ixgbe_get_phy_id(struct ixgbe_hw *hw) argument
136 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) argument
157 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
256 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
348 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) argument
403 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument
431 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) argument
529 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) argument
753 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) argument
829 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
845 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument
862 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
934 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
989 ixgbe_i2c_start(struct ixgbe_hw *hw) argument
1018 ixgbe_i2c_stop(struct ixgbe_hw *hw) argument
1042 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) argument
1066 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) argument
1095 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) argument
1143 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) argument
1171 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) argument
1203 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument
1224 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument
1243 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) argument
1293 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) argument
1323 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument
1369 ixgbe_get_phy_firmware_version_tnx(struct ixgbe_hw *hw, u16 *firmware_version) argument
1386 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/ixgbe/
H A Dixgbe_phy.c35 static void ixgbe_i2c_start(struct ixgbe_hw *hw);
36 static void ixgbe_i2c_stop(struct ixgbe_hw *hw);
37 static s32 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data);
38 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data);
39 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
40 static s32 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
41 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
42 static s32 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
43 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
44 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u3
56 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) argument
86 ixgbe_get_phy_id(struct ixgbe_hw *hw) argument
136 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) argument
157 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
256 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
348 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) argument
403 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument
431 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) argument
529 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) argument
753 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) argument
829 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
845 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument
862 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
934 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
989 ixgbe_i2c_start(struct ixgbe_hw *hw) argument
1018 ixgbe_i2c_stop(struct ixgbe_hw *hw) argument
1042 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) argument
1066 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) argument
1095 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) argument
1143 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) argument
1171 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) argument
1203 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument
1224 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument
1243 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) argument
1293 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) argument
1323 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument
1369 ixgbe_get_phy_firmware_version_tnx(struct ixgbe_hw *hw, u16 *firmware_version) argument
1386 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/atl1c/
H A Datl1c_hw.c32 int atl1c_check_eeprom_exist(struct atl1c_hw *hw) argument
36 AT_READ_REG(hw, REG_TWSI_DEBUG, &data);
40 AT_READ_REG(hw, REG_MASTER_CTRL, &data);
46 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw) argument
54 value = (((u32)hw->mac_addr[2]) << 24) |
55 (((u32)hw->mac_addr[3]) << 16) |
56 (((u32)hw->mac_addr[4]) << 8) |
57 (((u32)hw->mac_addr[5])) ;
58 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 0, value);
60 value = (((u32)hw
69 atl1c_get_permanent_address(struct atl1c_hw *hw) argument
175 atl1c_read_eeprom(struct atl1c_hw *hw, u32 offset, u32 *p_value) argument
218 atl1c_read_mac_addr(struct atl1c_hw *hw) argument
238 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr) argument
256 atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) argument
285 atl1c_read_phy_reg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data) argument
316 atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data) argument
346 atl1c_phy_setup_adv(struct atl1c_hw *hw) argument
381 atl1c_phy_disable(struct atl1c_hw *hw) argument
387 atl1c_phy_magic_data(struct atl1c_hw *hw) argument
443 atl1c_phy_reset(struct atl1c_hw *hw) argument
499 atl1c_phy_init(struct atl1c_hw *hw) argument
557 atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex) argument
593 atl1c_phy_power_saving(struct atl1c_hw *hw) argument
652 atl1c_restart_autoneg(struct atl1c_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/atl1c/
H A Datl1c_hw.c32 int atl1c_check_eeprom_exist(struct atl1c_hw *hw) argument
36 AT_READ_REG(hw, REG_TWSI_DEBUG, &data);
40 AT_READ_REG(hw, REG_MASTER_CTRL, &data);
46 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw) argument
54 value = (((u32)hw->mac_addr[2]) << 24) |
55 (((u32)hw->mac_addr[3]) << 16) |
56 (((u32)hw->mac_addr[4]) << 8) |
57 (((u32)hw->mac_addr[5])) ;
58 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADDR, 0, value);
60 value = (((u32)hw
69 atl1c_get_permanent_address(struct atl1c_hw *hw) argument
175 atl1c_read_eeprom(struct atl1c_hw *hw, u32 offset, u32 *p_value) argument
218 atl1c_read_mac_addr(struct atl1c_hw *hw) argument
238 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr) argument
256 atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) argument
285 atl1c_read_phy_reg(struct atl1c_hw *hw, u16 reg_addr, u16 *phy_data) argument
316 atl1c_write_phy_reg(struct atl1c_hw *hw, u32 reg_addr, u16 phy_data) argument
346 atl1c_phy_setup_adv(struct atl1c_hw *hw) argument
381 atl1c_phy_disable(struct atl1c_hw *hw) argument
387 atl1c_phy_magic_data(struct atl1c_hw *hw) argument
443 atl1c_phy_reset(struct atl1c_hw *hw) argument
499 atl1c_phy_init(struct atl1c_hw *hw) argument
557 atl1c_get_speed_and_duplex(struct atl1c_hw *hw, u16 *speed, u16 *duplex) argument
593 atl1c_phy_power_saving(struct atl1c_hw *hw) argument
652 atl1c_restart_autoneg(struct atl1c_hw *hw) argument
[all...]

Completed in 359 milliseconds

1234567891011>>