Searched refs:hw (Results 151 - 175 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/drivers/net/e1000e/
H A D82571.c58 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
59 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
60 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
61 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
62 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
64 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
65 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
66 static s32 e1000_setup_link_82571(struct e1000_hw *hw);
67 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
68 static void e1000_clear_vfta_82571(struct e1000_hw *hw);
78 e1000_init_phy_params_82571(struct e1000_hw *hw) argument
143 e1000_init_nvm_params_82571(struct e1000_hw *hw) argument
208 struct e1000_hw *hw = &adapter->hw; local
346 struct e1000_hw *hw = &adapter->hw; local
424 e1000_get_phy_id_82571(struct e1000_hw *hw) argument
473 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) argument
533 e1000_put_hw_semaphore_82571(struct e1000_hw *hw) argument
551 e1000_acquire_nvm_82571(struct e1000_hw *hw) argument
581 e1000_release_nvm_82571(struct e1000_hw *hw) argument
599 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
630 e1000_update_nvm_checksum_82571(struct e1000_hw *hw) argument
691 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw) argument
713 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
755 e1000_get_cfg_done_82571(struct e1000_hw *hw) argument
785 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) argument
850 e1000_reset_hw_82571(struct e1000_hw *hw) argument
961 e1000_init_hw_82571(struct e1000_hw *hw) argument
1037 e1000_initialize_hw_bits_82571(struct e1000_hw *hw) argument
1146 e1000_clear_vfta_82571(struct e1000_hw *hw) argument
1194 e1000_check_mng_mode_82574(struct e1000_hw *hw) argument
1208 e1000_led_on_82574(struct e1000_hw *hw) argument
1239 e1000_setup_link_82571(struct e1000_hw *hw) argument
1268 e1000_setup_copper_link_82571(struct e1000_hw *hw) argument
1306 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) argument
1346 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) argument
1480 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data) argument
1513 e1000e_get_laa_state_82571(struct e1000_hw *hw) argument
1528 e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state) argument
1556 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw) argument
1602 e1000_read_mac_addr_82571(struct e1000_hw *hw) argument
1630 e1000_power_down_phy_copper_82571(struct e1000_hw *hw) argument
1649 e1000_clear_hw_cntrs_82571(struct e1000_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/e1000e/
H A D82571.c58 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
59 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
60 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
61 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
62 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
64 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
65 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
66 static s32 e1000_setup_link_82571(struct e1000_hw *hw);
67 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
68 static void e1000_clear_vfta_82571(struct e1000_hw *hw);
78 e1000_init_phy_params_82571(struct e1000_hw *hw) argument
143 e1000_init_nvm_params_82571(struct e1000_hw *hw) argument
208 struct e1000_hw *hw = &adapter->hw; local
346 struct e1000_hw *hw = &adapter->hw; local
424 e1000_get_phy_id_82571(struct e1000_hw *hw) argument
473 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) argument
533 e1000_put_hw_semaphore_82571(struct e1000_hw *hw) argument
551 e1000_acquire_nvm_82571(struct e1000_hw *hw) argument
581 e1000_release_nvm_82571(struct e1000_hw *hw) argument
599 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
630 e1000_update_nvm_checksum_82571(struct e1000_hw *hw) argument
691 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw) argument
713 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
755 e1000_get_cfg_done_82571(struct e1000_hw *hw) argument
785 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) argument
850 e1000_reset_hw_82571(struct e1000_hw *hw) argument
961 e1000_init_hw_82571(struct e1000_hw *hw) argument
1037 e1000_initialize_hw_bits_82571(struct e1000_hw *hw) argument
1146 e1000_clear_vfta_82571(struct e1000_hw *hw) argument
1194 e1000_check_mng_mode_82574(struct e1000_hw *hw) argument
1208 e1000_led_on_82574(struct e1000_hw *hw) argument
1239 e1000_setup_link_82571(struct e1000_hw *hw) argument
1268 e1000_setup_copper_link_82571(struct e1000_hw *hw) argument
1306 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) argument
1346 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) argument
1480 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data) argument
1513 e1000e_get_laa_state_82571(struct e1000_hw *hw) argument
1528 e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state) argument
1556 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw) argument
1602 e1000_read_mac_addr_82571(struct e1000_hw *hw) argument
1630 e1000_power_down_phy_copper_82571(struct e1000_hw *hw) argument
1649 e1000_clear_hw_cntrs_82571(struct e1000_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/core/
H A Dhwdep.c58 struct snd_hwdep *hw = file->private_data; local
59 if (hw->ops.llseek)
60 return hw->ops.llseek(hw, file, offset, orig);
67 struct snd_hwdep *hw = file->private_data; local
68 if (hw->ops.read)
69 return hw->ops.read(hw, buf, count, offset);
76 struct snd_hwdep *hw = file->private_data; local
77 if (hw
85 struct snd_hwdep *hw; local
156 struct snd_hwdep *hw = file->private_data; local
174 struct snd_hwdep *hw = file->private_data; local
180 snd_hwdep_info(struct snd_hwdep *hw, struct snd_hwdep_info __user *_info) argument
195 snd_hwdep_dsp_status(struct snd_hwdep *hw, struct snd_hwdep_dsp_status __user *_info) argument
212 snd_hwdep_dsp_load(struct snd_hwdep *hw, struct snd_hwdep_dsp_image __user *_info) argument
238 struct snd_hwdep *hw = file->private_data; local
257 struct snd_hwdep *hw = file->private_data; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/isdn/hisax/
H A Dniccy.c80 return readreg(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, offset);
85 writereg(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, offset, value);
90 readfifo(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, 0, data, size);
95 writefifo(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, 0, data, size);
100 return readreg(cs->hw.niccy.hscx_ale,
101 cs->hw
[all...]
H A Davm_a1.c58 return (readreg(cs->hw.avm.isac, offset));
64 writereg(cs->hw.avm.isac, offset, value);
70 read_fifo(cs->hw.avm.isacfifo, data, size);
76 write_fifo(cs->hw.avm.isacfifo, data, size);
82 return (readreg(cs->hw.avm.hscx[hscx], offset));
88 writereg(cs->hw.avm.hscx[hscx], offset, value);
95 #define READHSCX(cs, nr, reg) readreg(cs->hw.avm.hscx[nr], reg)
96 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.avm.hscx[nr], reg, data)
97 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt)
98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw
[all...]
H A Dnetjet.c35 cs->hw.njet.auxd &= 0xfc;
36 cs->hw.njet.auxd |= (offset>>4) & 3;
37 byteout(cs->hw.njet.auxa, cs->hw.njet.auxd);
38 ret = bytein(cs->hw.njet.isac + ((offset & 0xf)<<2));
45 cs->hw.njet.auxd &= 0xfc;
46 cs->hw.njet.auxd |= (offset>>4) & 3;
47 byteout(cs->hw.njet.auxa, cs->hw.njet.auxd);
48 byteout(cs->hw
[all...]
H A Dmic.c68 return (readreg(cs->hw.mic.adr, cs->hw.mic.isac, offset));
74 writereg(cs->hw.mic.adr, cs->hw.mic.isac, offset, value);
80 readfifo(cs->hw.mic.adr, cs->hw.mic.isac, 0, data, size);
86 writefifo(cs->hw.mic.adr, cs->hw.mic.isac, 0, data, size);
92 return (readreg(cs->hw.mic.adr,
93 cs->hw
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/isdn/hisax/
H A Dniccy.c80 return readreg(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, offset);
85 writereg(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, offset, value);
90 readfifo(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, 0, data, size);
95 writefifo(cs->hw.niccy.isac_ale, cs->hw.niccy.isac, 0, data, size);
100 return readreg(cs->hw.niccy.hscx_ale,
101 cs->hw
[all...]
H A Davm_a1.c58 return (readreg(cs->hw.avm.isac, offset));
64 writereg(cs->hw.avm.isac, offset, value);
70 read_fifo(cs->hw.avm.isacfifo, data, size);
76 write_fifo(cs->hw.avm.isacfifo, data, size);
82 return (readreg(cs->hw.avm.hscx[hscx], offset));
88 writereg(cs->hw.avm.hscx[hscx], offset, value);
95 #define READHSCX(cs, nr, reg) readreg(cs->hw.avm.hscx[nr], reg)
96 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.avm.hscx[nr], reg, data)
97 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.avm.hscxfifo[nr], ptr, cnt)
98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw
[all...]
H A Dnetjet.c35 cs->hw.njet.auxd &= 0xfc;
36 cs->hw.njet.auxd |= (offset>>4) & 3;
37 byteout(cs->hw.njet.auxa, cs->hw.njet.auxd);
38 ret = bytein(cs->hw.njet.isac + ((offset & 0xf)<<2));
45 cs->hw.njet.auxd &= 0xfc;
46 cs->hw.njet.auxd |= (offset>>4) & 3;
47 byteout(cs->hw.njet.auxa, cs->hw.njet.auxd);
48 byteout(cs->hw
[all...]
H A Dmic.c68 return (readreg(cs->hw.mic.adr, cs->hw.mic.isac, offset));
74 writereg(cs->hw.mic.adr, cs->hw.mic.isac, offset, value);
80 readfifo(cs->hw.mic.adr, cs->hw.mic.isac, 0, data, size);
86 writefifo(cs->hw.mic.adr, cs->hw.mic.isac, 0, data, size);
92 return (readreg(cs->hw.mic.adr,
93 cs->hw
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/core/
H A Dhwdep.c58 struct snd_hwdep *hw = file->private_data; local
59 if (hw->ops.llseek)
60 return hw->ops.llseek(hw, file, offset, orig);
67 struct snd_hwdep *hw = file->private_data; local
68 if (hw->ops.read)
69 return hw->ops.read(hw, buf, count, offset);
76 struct snd_hwdep *hw = file->private_data; local
77 if (hw
85 struct snd_hwdep *hw; local
156 struct snd_hwdep *hw = file->private_data; local
174 struct snd_hwdep *hw = file->private_data; local
180 snd_hwdep_info(struct snd_hwdep *hw, struct snd_hwdep_info __user *_info) argument
195 snd_hwdep_dsp_status(struct snd_hwdep *hw, struct snd_hwdep_dsp_status __user *_info) argument
212 snd_hwdep_dsp_load(struct snd_hwdep *hw, struct snd_hwdep_dsp_image __user *_info) argument
238 struct snd_hwdep *hw = file->private_data; local
257 struct snd_hwdep *hw = file->private_data; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/pci/ctxfi/
H A Dcthw20k2.c36 struct hw hw; member in struct:hw20k2
43 static u32 hw_read_20kx(struct hw *hw, u32 reg);
44 static void hw_write_20kx(struct hw *hw, u32 reg, u32 data);
367 static int src_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
375 hw_write_20kx(hw, SRC_UPZ+idx*0x100+i*0x4, 0);
378 hw_write_20kx(hw, SRC_DN0
424 src_get_ca(struct hw *hw, unsigned int idx, void *blk) argument
466 src_mgr_commit_write(struct hw *hw, void *blk) argument
565 srcimp_mgr_commit_write(struct hw *hw, void *blk) argument
673 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
876 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
916 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
1059 daio_mgr_commit_write(struct hw *hw, void *blk) argument
1088 daio_mgr_get_ctrl_blk(struct hw *hw, void **rblk) argument
1116 set_timer_irq(struct hw *hw, int enable) argument
1122 set_timer_tick(struct hw *hw, unsigned int ticks) argument
1130 get_wc(struct hw *hw) argument
1154 hw_daio_init(struct hw *hw, const struct daio_conf *info) argument
1224 hw_trn_init(struct hw *hw, const struct trn_conf *info) argument
1293 hw_pll_init(struct hw *hw, unsigned int rsr) argument
1348 hw_auto_init(struct hw *hw) argument
1433 hw20k2_i2c_unlock_full_access(struct hw *hw) argument
1449 hw20k2_i2c_lock_chip(struct hw *hw) argument
1460 hw20k2_i2c_init(struct hw *hw, u8 dev_id, u8 addr_size, u8 data_size) argument
1489 hw20k2_i2c_uninit(struct hw *hw) argument
1508 hw20k2_i2c_wait_data_ready(struct hw *hw) argument
1520 hw20k2_i2c_read(struct hw *hw, u16 addr, u32 *datap) argument
1546 hw20k2_i2c_write(struct hw *hw, u16 addr, u32 data) argument
1571 hw_dac_init(struct hw *hw, const struct dac_conf *info) argument
1725 hw_is_adc_input_selected(struct hw *hw, enum ADCSRC type) argument
1743 hw_adc_input_select(struct hw *hw, enum ADCSRC type) argument
1776 hw_adc_init(struct hw *hw, const struct adc_conf *info) argument
1859 hw_have_digit_io_switch(struct hw *hw) argument
1866 struct hw *hw = dev_id; local
1880 hw_card_start(struct hw *hw) argument
1943 hw_card_stop(struct hw *hw) argument
1958 hw_card_shutdown(struct hw *hw) argument
1980 hw_card_init(struct hw *hw, struct card_conf *info) argument
2058 hw_suspend(struct hw *hw, pm_message_t state) argument
2071 hw_resume(struct hw *hw, struct card_conf *info) argument
2083 hw_read_20kx(struct hw *hw, u32 reg) argument
2088 hw_write_20kx(struct hw *hw, u32 reg, u32 data) argument
2212 destroy_20k2_hw_obj(struct hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/pci/ctxfi/
H A Dcthw20k2.c36 struct hw hw; member in struct:hw20k2
43 static u32 hw_read_20kx(struct hw *hw, u32 reg);
44 static void hw_write_20kx(struct hw *hw, u32 reg, u32 data);
367 static int src_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
375 hw_write_20kx(hw, SRC_UPZ+idx*0x100+i*0x4, 0);
378 hw_write_20kx(hw, SRC_DN0
424 src_get_ca(struct hw *hw, unsigned int idx, void *blk) argument
466 src_mgr_commit_write(struct hw *hw, void *blk) argument
565 srcimp_mgr_commit_write(struct hw *hw, void *blk) argument
673 amixer_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
876 dai_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
916 dao_commit_write(struct hw *hw, unsigned int idx, void *blk) argument
1059 daio_mgr_commit_write(struct hw *hw, void *blk) argument
1088 daio_mgr_get_ctrl_blk(struct hw *hw, void **rblk) argument
1116 set_timer_irq(struct hw *hw, int enable) argument
1122 set_timer_tick(struct hw *hw, unsigned int ticks) argument
1130 get_wc(struct hw *hw) argument
1154 hw_daio_init(struct hw *hw, const struct daio_conf *info) argument
1224 hw_trn_init(struct hw *hw, const struct trn_conf *info) argument
1293 hw_pll_init(struct hw *hw, unsigned int rsr) argument
1348 hw_auto_init(struct hw *hw) argument
1433 hw20k2_i2c_unlock_full_access(struct hw *hw) argument
1449 hw20k2_i2c_lock_chip(struct hw *hw) argument
1460 hw20k2_i2c_init(struct hw *hw, u8 dev_id, u8 addr_size, u8 data_size) argument
1489 hw20k2_i2c_uninit(struct hw *hw) argument
1508 hw20k2_i2c_wait_data_ready(struct hw *hw) argument
1520 hw20k2_i2c_read(struct hw *hw, u16 addr, u32 *datap) argument
1546 hw20k2_i2c_write(struct hw *hw, u16 addr, u32 data) argument
1571 hw_dac_init(struct hw *hw, const struct dac_conf *info) argument
1725 hw_is_adc_input_selected(struct hw *hw, enum ADCSRC type) argument
1743 hw_adc_input_select(struct hw *hw, enum ADCSRC type) argument
1776 hw_adc_init(struct hw *hw, const struct adc_conf *info) argument
1859 hw_have_digit_io_switch(struct hw *hw) argument
1866 struct hw *hw = dev_id; local
1880 hw_card_start(struct hw *hw) argument
1943 hw_card_stop(struct hw *hw) argument
1958 hw_card_shutdown(struct hw *hw) argument
1980 hw_card_init(struct hw *hw, struct card_conf *info) argument
2058 hw_suspend(struct hw *hw, pm_message_t state) argument
2071 hw_resume(struct hw *hw, struct card_conf *info) argument
2083 hw_read_20kx(struct hw *hw, u32 reg) argument
2088 hw_write_20kx(struct hw *hw, u32 reg, u32 data) argument
2212 destroy_20k2_hw_obj(struct 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/ixgbe/
H A Dixgbe_dcb_82598.c36 * @hw: pointer to hardware structure
42 s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw, argument
54 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
56 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
58 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
60 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
68 * @hw: pointer to hardware structure
74 s32 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *hw, argument
85 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
87 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRX
100 ixgbe_dcb_config_packet_buffers_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
140 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
197 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
245 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
291 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
358 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) argument
390 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
[all...]
H A Dixgbe_dcb.c207 * @hw: pointer to hardware structure
213 s32 ixgbe_dcb_get_tc_stats(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, argument
217 if (hw->mac.type == ixgbe_mac_82598EB)
218 ret = ixgbe_dcb_get_tc_stats_82598(hw, stats, tc_count);
219 else if (hw->mac.type == ixgbe_mac_82599EB)
220 ret = ixgbe_dcb_get_tc_stats_82599(hw, stats, tc_count);
226 * hw - pointer to hardware structure
232 s32 ixgbe_dcb_get_pfc_stats(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, argument
236 if (hw->mac.type == ixgbe_mac_82598EB)
237 ret = ixgbe_dcb_get_pfc_stats_82598(hw, stat
250 ixgbe_dcb_config_rx_arbiter(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
268 ixgbe_dcb_config_tx_desc_arbiter(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
286 ixgbe_dcb_config_tx_data_arbiter(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
304 ixgbe_dcb_config_pfc(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
322 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *hw) argument
339 ixgbe_dcb_hw_config(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) 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_dcb_82598.c36 * @hw: pointer to hardware structure
42 s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw, argument
54 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
56 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
58 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
60 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
68 * @hw: pointer to hardware structure
74 s32 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *hw, argument
85 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
87 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRX
100 ixgbe_dcb_config_packet_buffers_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
140 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
197 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
245 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
291 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
358 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) argument
390 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/atl1e/
H A Datl1e_ethtool.c33 struct atl1e_hw *hw = &adapter->hw; local
41 if (hw->nic_type == athr_l1e)
47 ecmd->advertising |= hw->autoneg_advertised;
72 struct atl1e_hw *hw = &adapter->hw; local
81 if (hw->nic_type == athr_l1e) {
82 hw->autoneg_advertised =
92 hw->autoneg_advertised =
95 ecmd->advertising = hw
153 struct atl1e_hw *hw = &adapter->hw; local
212 struct atl1e_hw *hw = &adapter->hw; local
252 struct atl1e_hw *hw = &adapter->hw; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/atl1e/
H A Datl1e_ethtool.c33 struct atl1e_hw *hw = &adapter->hw; local
41 if (hw->nic_type == athr_l1e)
47 ecmd->advertising |= hw->autoneg_advertised;
72 struct atl1e_hw *hw = &adapter->hw; local
81 if (hw->nic_type == athr_l1e) {
82 hw->autoneg_advertised =
92 hw->autoneg_advertised =
95 ecmd->advertising = hw
153 struct atl1e_hw *hw = &adapter->hw; local
212 struct atl1e_hw *hw = &adapter->hw; local
252 struct atl1e_hw *hw = &adapter->hw; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/igbvf/
H A Dmbx.c32 * @hw: pointer to the HW structure
36 static s32 e1000_poll_for_msg(struct e1000_hw *hw) argument
38 struct e1000_mbx_info *mbx = &hw->mbx;
44 while (countdown && mbx->ops.check_for_msg(hw)) {
58 * @hw: pointer to the HW structure
62 static s32 e1000_poll_for_ack(struct e1000_hw *hw) argument
64 struct e1000_mbx_info *mbx = &hw->mbx;
70 while (countdown && mbx->ops.check_for_ack(hw)) {
84 * @hw: pointer to the HW structure
91 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u3 argument
117 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) argument
143 e1000_read_v2p_mailbox(struct e1000_hw *hw) argument
161 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) argument
180 e1000_check_for_msg_vf(struct e1000_hw *hw) argument
198 e1000_check_for_ack_vf(struct e1000_hw *hw) argument
216 e1000_check_for_rst_vf(struct e1000_hw *hw) argument
235 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) argument
257 e1000_write_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) argument
293 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) argument
323 e1000_init_mbx_params_vf(struct e1000_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/igbvf/
H A Dmbx.c32 * @hw: pointer to the HW structure
36 static s32 e1000_poll_for_msg(struct e1000_hw *hw) argument
38 struct e1000_mbx_info *mbx = &hw->mbx;
44 while (countdown && mbx->ops.check_for_msg(hw)) {
58 * @hw: pointer to the HW structure
62 static s32 e1000_poll_for_ack(struct e1000_hw *hw) argument
64 struct e1000_mbx_info *mbx = &hw->mbx;
70 while (countdown && mbx->ops.check_for_ack(hw)) {
84 * @hw: pointer to the HW structure
91 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u3 argument
117 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) argument
143 e1000_read_v2p_mailbox(struct e1000_hw *hw) argument
161 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) argument
180 e1000_check_for_msg_vf(struct e1000_hw *hw) argument
198 e1000_check_for_ack_vf(struct e1000_hw *hw) argument
216 e1000_check_for_rst_vf(struct e1000_hw *hw) argument
235 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) argument
257 e1000_write_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) argument
293 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size) argument
323 e1000_init_mbx_params_vf(struct e1000_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/crystalhd/
H A Dcrystalhd_hw.c348 static struct crystalhd_rx_dma_pkt *crystalhd_hw_alloc_rx_pkt(struct crystalhd_hw *hw) argument
353 if (!hw)
356 spin_lock_irqsave(&hw->lock, flags);
357 temp = hw->rx_pkt_pool_head;
359 hw->rx_pkt_pool_head = hw->rx_pkt_pool_head->next;
364 spin_unlock_irqrestore(&hw->lock, flags);
369 static void crystalhd_hw_free_rx_pkt(struct crystalhd_hw *hw, argument
374 if (!hw || !pkt)
377 spin_lock_irqsave(&hw
405 struct crystalhd_hw *hw = (struct crystalhd_hw *)context; local
427 crystalhd_hw_delete_ioqs(struct crystalhd_hw *hw) argument
453 crystalhd_hw_create_ioqs(struct crystalhd_hw *hw) argument
523 crystalhd_hw_tx_req_complete(struct crystalhd_hw *hw, uint32_t list_id, enum BC_STATUS cs) argument
558 crystalhd_tx_list0_handler(struct crystalhd_hw *hw, uint32_t err_sts) argument
590 crystalhd_tx_list1_handler(struct crystalhd_hw *hw, uint32_t err_sts) argument
622 crystalhd_tx_isr(struct crystalhd_hw *hw, uint32_t int_sts) argument
837 crystalhd_start_tx_dma_engine(struct crystalhd_hw *hw) argument
856 crystalhd_stop_tx_dma_engine(struct crystalhd_hw *hw) argument
913 crystalhd_get_pib_avail_cnt(struct crystalhd_hw *hw) argument
947 crystalhd_get_addr_from_pib_Q(struct crystalhd_hw *hw) argument
983 crystalhd_rel_addr_to_pib_Q(struct crystalhd_hw *hw, uint32_t addr_to_rel) argument
1040 crystalhd_hw_proc_pib(struct crystalhd_hw *hw) argument
1089 crystalhd_start_rx_dma_engine(struct crystalhd_hw *hw) argument
1108 crystalhd_stop_rx_dma_engine(struct crystalhd_hw *hw) argument
1165 crystalhd_hw_prog_rxdma(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt *rx_pkt) argument
1224 crystalhd_hw_post_cap_buff(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt *rx_pkt) argument
1236 crystalhd_get_dnsz(struct crystalhd_hw *hw, uint32_t list_index, uint32_t *y_dw_dnsz, uint32_t *uv_dw_dnsz) argument
1258 crystalhd_hw_finalize_pause(struct crystalhd_hw *hw) argument
1283 crystalhd_rx_pkt_done(struct crystalhd_hw *hw, uint32_t list_index, enum BC_STATUS comp_sts) argument
1320 crystalhd_rx_list0_handler(struct crystalhd_hw *hw, uint32_t int_sts, uint32_t y_err_sts, uint32_t uv_err_sts) argument
1388 crystalhd_rx_list1_handler(struct crystalhd_hw *hw, uint32_t int_sts, uint32_t y_err_sts, uint32_t uv_err_sts) argument
1459 crystalhd_rx_isr(struct crystalhd_hw *hw, uint32_t intr_sts) argument
1530 crystalhd_fw_cmd_post_proc(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd) argument
1556 crystalhd_put_ddr2sleep(struct crystalhd_hw *hw) argument
1709 crystalhd_do_fw_cmd(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd) argument
1791 crystalhd_hw_interrupt(struct crystalhd_adp *adp, struct crystalhd_hw *hw) argument
1849 crystalhd_hw_open(struct crystalhd_hw *hw, struct crystalhd_adp *adp) argument
1880 crystalhd_hw_close(struct crystalhd_hw *hw) argument
1897 crystalhd_hw_setup_dma_rings(struct crystalhd_hw *hw) argument
1970 crystalhd_hw_free_dma_rings(struct crystalhd_hw *hw) argument
2008 crystalhd_hw_post_tx(struct crystalhd_hw *hw, struct crystalhd_dio_req *ioreq, hw_comp_callback call_back, wait_queue_head_t *cb_event, uint32_t *list_id, uint8_t data_flags) argument
2115 crystalhd_hw_cancel_tx(struct crystalhd_hw *hw, uint32_t list_id) argument
2128 crystalhd_hw_add_cap_buffer(struct crystalhd_hw *hw, struct crystalhd_dio_req *ioreq, bool en_post) argument
2168 crystalhd_hw_get_cap_buffer(struct crystalhd_hw *hw, struct BC_PIC_INFO_BLOCK *pib, struct crystalhd_dio_req **ioreq) argument
2204 crystalhd_hw_start_capture(struct crystalhd_hw *hw) argument
2229 crystalhd_hw_stop_capture(struct crystalhd_hw *hw) argument
2249 crystalhd_hw_pause(struct crystalhd_hw *hw) argument
2261 crystalhd_hw_unpause(struct crystalhd_hw *hw) argument
2277 crystalhd_hw_suspend(struct crystalhd_hw *hw) argument
2300 crystalhd_hw_stats(struct crystalhd_hw *hw, struct crystalhd_hw_stats *stats) argument
2318 crystalhd_hw_set_core_clock(struct crystalhd_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/staging/crystalhd/
H A Dcrystalhd_hw.c348 static struct crystalhd_rx_dma_pkt *crystalhd_hw_alloc_rx_pkt(struct crystalhd_hw *hw) argument
353 if (!hw)
356 spin_lock_irqsave(&hw->lock, flags);
357 temp = hw->rx_pkt_pool_head;
359 hw->rx_pkt_pool_head = hw->rx_pkt_pool_head->next;
364 spin_unlock_irqrestore(&hw->lock, flags);
369 static void crystalhd_hw_free_rx_pkt(struct crystalhd_hw *hw, argument
374 if (!hw || !pkt)
377 spin_lock_irqsave(&hw
405 struct crystalhd_hw *hw = (struct crystalhd_hw *)context; local
427 crystalhd_hw_delete_ioqs(struct crystalhd_hw *hw) argument
453 crystalhd_hw_create_ioqs(struct crystalhd_hw *hw) argument
523 crystalhd_hw_tx_req_complete(struct crystalhd_hw *hw, uint32_t list_id, enum BC_STATUS cs) argument
558 crystalhd_tx_list0_handler(struct crystalhd_hw *hw, uint32_t err_sts) argument
590 crystalhd_tx_list1_handler(struct crystalhd_hw *hw, uint32_t err_sts) argument
622 crystalhd_tx_isr(struct crystalhd_hw *hw, uint32_t int_sts) argument
837 crystalhd_start_tx_dma_engine(struct crystalhd_hw *hw) argument
856 crystalhd_stop_tx_dma_engine(struct crystalhd_hw *hw) argument
913 crystalhd_get_pib_avail_cnt(struct crystalhd_hw *hw) argument
947 crystalhd_get_addr_from_pib_Q(struct crystalhd_hw *hw) argument
983 crystalhd_rel_addr_to_pib_Q(struct crystalhd_hw *hw, uint32_t addr_to_rel) argument
1040 crystalhd_hw_proc_pib(struct crystalhd_hw *hw) argument
1089 crystalhd_start_rx_dma_engine(struct crystalhd_hw *hw) argument
1108 crystalhd_stop_rx_dma_engine(struct crystalhd_hw *hw) argument
1165 crystalhd_hw_prog_rxdma(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt *rx_pkt) argument
1224 crystalhd_hw_post_cap_buff(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt *rx_pkt) argument
1236 crystalhd_get_dnsz(struct crystalhd_hw *hw, uint32_t list_index, uint32_t *y_dw_dnsz, uint32_t *uv_dw_dnsz) argument
1258 crystalhd_hw_finalize_pause(struct crystalhd_hw *hw) argument
1283 crystalhd_rx_pkt_done(struct crystalhd_hw *hw, uint32_t list_index, enum BC_STATUS comp_sts) argument
1320 crystalhd_rx_list0_handler(struct crystalhd_hw *hw, uint32_t int_sts, uint32_t y_err_sts, uint32_t uv_err_sts) argument
1388 crystalhd_rx_list1_handler(struct crystalhd_hw *hw, uint32_t int_sts, uint32_t y_err_sts, uint32_t uv_err_sts) argument
1459 crystalhd_rx_isr(struct crystalhd_hw *hw, uint32_t intr_sts) argument
1530 crystalhd_fw_cmd_post_proc(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd) argument
1556 crystalhd_put_ddr2sleep(struct crystalhd_hw *hw) argument
1709 crystalhd_do_fw_cmd(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd) argument
1791 crystalhd_hw_interrupt(struct crystalhd_adp *adp, struct crystalhd_hw *hw) argument
1849 crystalhd_hw_open(struct crystalhd_hw *hw, struct crystalhd_adp *adp) argument
1880 crystalhd_hw_close(struct crystalhd_hw *hw) argument
1897 crystalhd_hw_setup_dma_rings(struct crystalhd_hw *hw) argument
1970 crystalhd_hw_free_dma_rings(struct crystalhd_hw *hw) argument
2008 crystalhd_hw_post_tx(struct crystalhd_hw *hw, struct crystalhd_dio_req *ioreq, hw_comp_callback call_back, wait_queue_head_t *cb_event, uint32_t *list_id, uint8_t data_flags) argument
2115 crystalhd_hw_cancel_tx(struct crystalhd_hw *hw, uint32_t list_id) argument
2128 crystalhd_hw_add_cap_buffer(struct crystalhd_hw *hw, struct crystalhd_dio_req *ioreq, bool en_post) argument
2168 crystalhd_hw_get_cap_buffer(struct crystalhd_hw *hw, struct BC_PIC_INFO_BLOCK *pib, struct crystalhd_dio_req **ioreq) argument
2204 crystalhd_hw_start_capture(struct crystalhd_hw *hw) argument
2229 crystalhd_hw_stop_capture(struct crystalhd_hw *hw) argument
2249 crystalhd_hw_pause(struct crystalhd_hw *hw) argument
2261 crystalhd_hw_unpause(struct crystalhd_hw *hw) argument
2277 crystalhd_hw_suspend(struct crystalhd_hw *hw) argument
2300 crystalhd_hw_stats(struct crystalhd_hw *hw, struct crystalhd_hw_stats *stats) argument
2318 crystalhd_hw_set_core_clock(struct crystalhd_hw *hw) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/ide/
H A Dide-legacy.c4 static void ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw, argument
34 ide_std_init_ports(hw, base, ctl);
35 hw->irq = irq;
36 hw->config = config;
38 hws[port_no] = hw;
43 struct ide_hw hw[2], *hws[] = { NULL, NULL }; local
45 memset(&hw, 0, sizeof(hw));
48 ide_legacy_init_one(hws, &hw[0], 0, d, config);
49 ide_legacy_init_one(hws, &hw[
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/ide/
H A Dide-legacy.c4 static void ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw, argument
34 ide_std_init_ports(hw, base, ctl);
35 hw->irq = irq;
36 hw->config = config;
38 hws[port_no] = hw;
43 struct ide_hw hw[2], *hws[] = { NULL, NULL }; local
45 memset(&hw, 0, sizeof(hw));
48 ide_legacy_init_one(hws, &hw[0], 0, d, config);
49 ide_legacy_init_one(hws, &hw[
[all...]

Completed in 353 milliseconds

1234567891011>>