/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | phy.h | 39 #define RT_CANNOT_IO(hw) false 190 bool rtl92c_phy_bb_config(struct ieee80211_hw *hw); 191 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, 193 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, 195 u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, 198 extern void rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw, 201 bool rtl92c_phy_mac_config(struct ieee80211_hw *hw); 202 bool rtl92ce_phy_bb_config(struct ieee80211_hw *hw); 203 bool rtl92c_phy_rf_config(struct ieee80211_hw *hw); 204 bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw, [all...] |
/drivers/spi/ |
H A D | spi-ti-ssp.c | 47 static u32 ti_ssp_spi_rx(struct ti_ssp_spi *hw) argument 51 ti_ssp_run(hw->dev, hw->pc_rd, 0, &ret); 55 static void ti_ssp_spi_tx(struct ti_ssp_spi *hw, u32 data) argument 57 ti_ssp_run(hw->dev, hw->pc_wr, data << (32 - hw->bpw), NULL); 60 static int ti_ssp_spi_txrx(struct ti_ssp_spi *hw, struct spi_message *msg, argument 65 if (hw->bpw <= 8) { 71 ti_ssp_spi_tx(hw, *t 106 ti_ssp_spi_chip_select(struct ti_ssp_spi *hw, int cs_active) argument 120 ti_ssp_spi_setup_transfer(struct ti_ssp_spi *hw, u8 bpw, u8 mode) argument 182 struct ti_ssp_spi *hw = container_of(work, struct ti_ssp_spi, work); local 250 struct ti_ssp_spi *hw; local 295 struct ti_ssp_spi *hw; local 362 struct ti_ssp_spi *hw = platform_get_drvdata(pdev); local [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_82598.c | 36 * @hw: pointer to hardware structure 41 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, argument 51 reg = IXGBE_READ_REG(hw, IXGBE_RUPPBMR) | IXGBE_RUPPBMR_MQA; 52 IXGBE_WRITE_REG(hw, IXGBE_RUPPBMR, reg); 54 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); 62 IXGBE_WRITE_REG(hw, IXGBE_RMCS, reg); 74 IXGBE_WRITE_REG(hw, IXGBE_RT2CR(i), reg); 77 reg = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); 81 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, reg); 83 reg = IXGBE_READ_REG(hw, IXGBE_RXCTR 98 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument 145 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument 192 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) argument 252 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) argument 284 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument [all...] |
/drivers/staging/wlan-ng/ |
H A D | hfa384x_usb.c | 95 * 'initialized' and 'running' states of the hw/MAC combo. The four 163 static int submit_rx_urb(hfa384x_t *hw, gfp_t flags); 165 static int submit_tx_urb(hfa384x_t *hw, struct urb *tx_urb, gfp_t flags); 183 static void hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin, 189 static void hfa384x_usbctlxq_run(hfa384x_t *hw); 201 static int hfa384x_usbctlx_submit(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx); 203 static void unlocked_usbctlx_complete(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx); 210 hfa384x_usbctlx_complete_sync(hfa384x_t *hw, 215 unlocked_usbctlx_cancel_async(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx); 217 static void hfa384x_cb_status(hfa384x_t *hw, cons 288 get_active_ctlx(hfa384x_t * hw) argument 332 submit_rx_urb(hfa384x_t *hw, gfp_t memflags) argument 394 submit_tx_urb(hfa384x_t *hw, struct urb *tx_urb, gfp_t memflags) argument 440 hfa384x_t *hw = container_of(data, struct hfa384x, usb_work); local 531 hfa384x_create(hfa384x_t *hw, struct usb_device *usb) argument 607 hfa384x_destroy(hfa384x_t *hw) argument 816 hfa384x_cb_status(hfa384x_t *hw, const hfa384x_usbctlx_t *ctlx) argument 853 hfa384x_cb_rrid(hfa384x_t *hw, const hfa384x_usbctlx_t *ctlx) argument 870 hfa384x_docmd_wait(hfa384x_t *hw, hfa384x_metacmd_t *cmd) argument 876 hfa384x_docmd_async(hfa384x_t *hw, hfa384x_metacmd_t *cmd, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 884 hfa384x_dorrid_wait(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen) argument 892 hfa384x_dorrid_async(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 903 hfa384x_dowrid_wait(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen) argument 911 hfa384x_dowrid_async(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 922 hfa384x_dormem_wait(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len) argument 930 hfa384x_dormem_async(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 941 hfa384x_dowmem_wait(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len) argument 949 hfa384x_dowmem_async(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 981 hfa384x_cmd_initialize(hfa384x_t *hw) argument 1029 hfa384x_cmd_disable(hfa384x_t *hw, u16 macport) argument 1065 hfa384x_cmd_enable(hfa384x_t *hw, u16 macport) argument 1110 hfa384x_cmd_monitor(hfa384x_t *hw, u16 enable) argument 1164 hfa384x_cmd_download(hfa384x_t *hw, u16 mode, u16 lowaddr, u16 highaddr, u16 codelen) argument 1208 hfa384x_corereset(hfa384x_t *hw, int holdtime, int settletime, int genesis) argument 1245 hfa384x_usbctlx_complete_sync(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx, struct usbctlx_completor *completor) argument 1361 hfa384x_docmd(hfa384x_t *hw, enum cmd_mode mode, hfa384x_metacmd_t *cmd, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 1450 hfa384x_dorrid(hfa384x_t *hw, enum cmd_mode mode, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 1531 hfa384x_dowrid(hfa384x_t *hw, enum cmd_mode mode, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 1618 hfa384x_dormem(hfa384x_t *hw, enum cmd_mode mode, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 1709 hfa384x_dowmem(hfa384x_t *hw, enum cmd_mode mode, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument 1783 hfa384x_drvr_commtallies(hfa384x_t *hw) argument 1819 hfa384x_drvr_disable(hfa384x_t *hw, u16 macport) argument 1857 hfa384x_drvr_enable(hfa384x_t *hw, u16 macport) argument 1894 hfa384x_drvr_flashdl_enable(hfa384x_t *hw) argument 1953 hfa384x_drvr_flashdl_disable(hfa384x_t *hw) argument 1998 hfa384x_drvr_flashdl_write(hfa384x_t *hw, u32 daddr, void *buf, u32 len) argument 2141 hfa384x_drvr_getconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len) argument 2178 hfa384x_drvr_getconfig_async(hfa384x_t *hw, u16 rid, ctlx_usercb_t usercb, void *usercb_data) argument 2209 hfa384x_drvr_setconfig_async(hfa384x_t *hw, u16 rid, void *buf, u16 len, ctlx_usercb_t usercb, void *usercb_data) argument 2236 hfa384x_drvr_ramdl_disable(hfa384x_t *hw) argument 2276 hfa384x_drvr_ramdl_enable(hfa384x_t *hw, u32 exeaddr) argument 2344 hfa384x_drvr_ramdl_write(hfa384x_t *hw, u32 daddr, void *buf, u32 len) argument 2423 hfa384x_drvr_readpda(hfa384x_t *hw, void *buf, unsigned int len) argument 2531 hfa384x_drvr_setconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len) argument 2556 hfa384x_drvr_start(hfa384x_t *hw) argument 2655 hfa384x_drvr_stop(hfa384x_t *hw) argument 2706 hfa384x_drvr_txframe(hfa384x_t *hw, struct sk_buff *skb, union p80211_hdr *p80211_hdr, struct p80211_metawep *p80211_wep) argument 2801 hfa384x_t *hw = wlandev->priv; local 2833 hfa384x_t *hw = (hfa384x_t *) data; local 2871 hfa384x_t *hw = (hfa384x_t *) data; local 2950 unlocked_usbctlx_cancel_async(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx) argument 3000 unlocked_usbctlx_complete(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx) argument 3038 hfa384x_usbctlxq_run(hfa384x_t *hw) argument 3141 hfa384x_t *hw; local 3318 hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin, int urb_status) argument 3472 hfa384x_t *hw = wlandev->priv; local 3582 hfa384x_t *hw = wlandev->priv; local 3720 hfa384x_t *hw = wlandev->priv; local 3735 hfa384x_t *hw = wlandev->priv; local 3780 hfa384x_t *hw = urb->context; local 3914 hfa384x_t *hw = (hfa384x_t *) data; local 3972 hfa384x_t *hw = (hfa384x_t *) data; local 4016 hfa384x_t *hw = (hfa384x_t *) data; local 4057 hfa384x_usbctlx_submit(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx) argument [all...] |
H A D | prism2usb.c | 110 hfa384x_t *hw = NULL; local 120 hw = wlandev->priv; 128 /* Initialize the hw data */ 129 hfa384x_create(hw, dev); 130 hw->wlandev = wlandev; 139 result = hfa384x_corereset(hw, 144 hfa384x_destroy(hw); 170 kfree(hw); 209 hfa384x_t *hw = wlandev->priv; local 211 if (!hw) 292 hfa384x_t *hw = NULL; local 314 hfa384x_t *hw = NULL; local [all...] |
/drivers/isdn/hardware/mISDN/ |
H A D | iohelper.h | 40 struct hws *hw = p; \ 41 return inb(hw->ap.port + off); \ 44 struct hws *hw = p; \ 45 outb(val, hw->ap.port + off); \ 48 struct hws *hw = p; \ 49 insb(hw->ap.port + off, dp, size); \ 52 struct hws *hw = p; \ 53 outsb(hw->ap.port + off, dp, size); \ 58 struct hws *hw = p; \ 59 outb(off, hw [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_phy.c | 34 static s32 igb_phy_setup_autoneg(struct e1000_hw *hw); 35 static void igb_phy_force_speed_duplex_setup(struct e1000_hw *hw, 37 static s32 igb_wait_autoneg(struct e1000_hw *hw); 61 * @hw: pointer to the HW structure 67 s32 igb_check_reset_block(struct e1000_hw *hw) argument 79 * @hw: pointer to the HW structure 84 s32 igb_get_phy_id(struct e1000_hw *hw) argument 86 struct e1000_phy_info *phy = &hw->phy; 90 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); 96 ret_val = phy->ops.read_reg(hw, PHY_ID 113 igb_phy_reset_dsp(struct e1000_hw *hw) argument 139 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) argument 197 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) argument 256 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) argument 303 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) argument 360 igb_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) argument 399 igb_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) argument 435 igb_copper_link_setup_82580(struct e1000_hw *hw) argument 478 igb_copper_link_setup_m88(struct e1000_hw *hw) argument 585 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw) argument 668 igb_copper_link_setup_igp(struct e1000_hw *hw) argument 809 igb_copper_link_autoneg(struct e1000_hw *hw) argument 877 igb_phy_setup_autoneg(struct e1000_hw *hw) argument 1041 igb_setup_copper_link(struct e1000_hw *hw) argument 1099 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw) argument 1171 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw) argument 1290 igb_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) argument 1353 igb_set_d3_lplu_state(struct e1000_hw *hw, bool active) argument 1437 igb_check_downshift(struct e1000_hw *hw) argument 1479 igb_check_polarity_m88(struct e1000_hw *hw) argument 1504 igb_check_polarity_igp(struct e1000_hw *hw) argument 1549 igb_wait_autoneg(struct e1000_hw *hw) argument 1583 igb_phy_has_link(struct e1000_hw *hw, u32 iterations, u32 usec_interval, bool *success) argument 1635 igb_get_cable_length_m88(struct e1000_hw *hw) argument 1661 igb_get_cable_length_m88_gen2(struct e1000_hw *hw) argument 1759 igb_get_cable_length_igp_2(struct e1000_hw *hw) argument 1831 igb_get_phy_info_m88(struct e1000_hw *hw) argument 1907 igb_get_phy_info_igp(struct e1000_hw *hw) argument 1970 igb_phy_sw_reset(struct e1000_hw *hw) argument 2002 igb_phy_hw_reset(struct e1000_hw *hw) argument 2043 igb_phy_init_script_igp3(struct e1000_hw *hw) argument 2129 igb_power_up_phy_copper(struct e1000_hw *hw) argument 2146 igb_power_down_phy_copper(struct e1000_hw *hw) argument 2165 igb_check_polarity_82580(struct e1000_hw *hw) argument 2190 igb_phy_force_speed_duplex_82580(struct e1000_hw *hw) argument 2262 igb_get_phy_info_82580(struct e1000_hw *hw) argument 2326 igb_get_cable_length_82580(struct e1000_hw *hw) argument [all...] |
H A D | e1000_nvm.c | 36 * @hw: pointer to the HW structure 41 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) argument 46 udelay(hw->nvm.delay_usec); 51 * @hw: pointer to the HW structure 56 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) argument 61 udelay(hw->nvm.delay_usec); 66 * @hw: pointer to the HW structure 74 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) argument 76 struct e1000_nvm_info *nvm = &hw->nvm; 95 igb_raise_eec_clk(hw, 116 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) argument 151 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) argument 182 igb_acquire_nvm(struct e1000_hw *hw) argument 216 igb_standby_nvm(struct e1000_hw *hw) argument 240 e1000_stop_nvm(struct e1000_hw *hw) argument 258 igb_release_nvm(struct e1000_hw *hw) argument 275 igb_ready_nvm_eeprom(struct e1000_hw *hw) argument 330 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 392 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 438 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 519 igb_read_part_string(struct e1000_hw *hw, u8 *part_num, u32 part_num_size) argument 630 igb_read_mac_addr(struct e1000_hw *hw) argument 658 igb_validate_nvm_checksum(struct e1000_hw *hw) argument 691 igb_update_nvm_checksum(struct e1000_hw *hw) argument [all...] |
/drivers/isdn/hisax/ |
H A D | niccy.c | 80 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 D | avm_a1.c | 58 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 D | netjet.c | 35 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 D | mic.c | 68 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...] |
H A D | elsa.c | 178 return (readreg(cs->hw.elsa.ale, cs->hw.elsa.isac, offset)); 184 writereg(cs->hw.elsa.ale, cs->hw.elsa.isac, offset, value); 190 readfifo(cs->hw.elsa.ale, cs->hw.elsa.isac, 0, data, size); 196 writefifo(cs->hw.elsa.ale, cs->hw.elsa.isac, 0, data, size); 202 return (readreg(cs->hw.elsa.ale, cs->hw [all...] |
H A D | asuscom.c | 80 return (readreg(cs->hw.asus.adr, cs->hw.asus.isac, offset)); 86 writereg(cs->hw.asus.adr, cs->hw.asus.isac, offset, value); 92 readfifo(cs->hw.asus.adr, cs->hw.asus.isac, 0, data, size); 98 writefifo(cs->hw.asus.adr, cs->hw.asus.isac, 0, data, size); 104 return (readreg(cs->hw.asus.adr, cs->hw [all...] |
H A D | teleint.c | 105 cs->hw.hfc.cip = offset; 106 return (readreg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset)); 112 cs->hw.hfc.cip = offset; 113 writereg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset, value); 119 cs->hw.hfc.cip = 0; 120 readfifo(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, 0, data, size); 126 cs->hw [all...] |
H A D | teles3.c | 58 return (readreg(cs->hw.teles3.isac, offset)); 64 writereg(cs->hw.teles3.isac, offset, value); 70 read_fifo(cs->hw.teles3.isacfifo, data, size); 76 write_fifo(cs->hw.teles3.isacfifo, data, size); 82 return (readreg(cs->hw.teles3.hscx[hscx], offset)); 88 writereg(cs->hw.teles3.hscx[hscx], offset, value); 95 #define READHSCX(cs, nr, reg) readreg(cs->hw.teles3.hscx[nr], reg) 96 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.teles3.hscx[nr], reg, data) 97 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.teles3.hscxfifo[nr], ptr, cnt) 98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw [all...] |
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | led.c | 33 static void _rtl92cu_init_led(struct ieee80211_hw *hw, argument 36 pled->hw = hw; 45 void rtl92cu_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 48 struct rtl_priv *rtlpriv = rtl_priv(hw); 71 void rtl92cu_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 73 struct rtl_priv *rtlpriv = rtl_priv(hw); 74 struct rtl_usb_priv *usbpriv = rtl_usbpriv(hw); 104 void rtl92cu_init_sw_leds(struct ieee80211_hw *hw) argument 106 struct rtl_usb_priv *usbpriv = rtl_usbpriv(hw); 111 rtl92cu_deinit_sw_leds(struct ieee80211_hw *hw) argument 118 _rtl92cu_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 123 rtl92cu_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_ethtool.c | 33 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...] |
/drivers/net/ethernet/intel/igbvf/ |
H A D | mbx.c | 32 * @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...] |
/drivers/staging/crystalhd/ |
H A D | crystalhd_hw.c | 352 static struct crystalhd_rx_dma_pkt *crystalhd_hw_alloc_rx_pkt(struct crystalhd_hw *hw) argument 357 if (!hw) 360 spin_lock_irqsave(&hw->lock, flags); 361 temp = hw->rx_pkt_pool_head; 363 hw->rx_pkt_pool_head = hw->rx_pkt_pool_head->next; 368 spin_unlock_irqrestore(&hw->lock, flags); 373 static void crystalhd_hw_free_rx_pkt(struct crystalhd_hw *hw, argument 378 if (!hw || !pkt) 381 spin_lock_irqsave(&hw 409 struct crystalhd_hw *hw = (struct crystalhd_hw *)context; local 431 crystalhd_hw_delete_ioqs(struct crystalhd_hw *hw) argument 457 crystalhd_hw_create_ioqs(struct crystalhd_hw *hw) argument 527 crystalhd_hw_tx_req_complete(struct crystalhd_hw *hw, uint32_t list_id, enum BC_STATUS cs) argument 562 crystalhd_tx_list0_handler(struct crystalhd_hw *hw, uint32_t err_sts) argument 594 crystalhd_tx_list1_handler(struct crystalhd_hw *hw, uint32_t err_sts) argument 626 crystalhd_tx_isr(struct crystalhd_hw *hw, uint32_t int_sts) argument 843 crystalhd_start_tx_dma_engine(struct crystalhd_hw *hw) argument 862 crystalhd_stop_tx_dma_engine(struct crystalhd_hw *hw) argument 919 crystalhd_get_pib_avail_cnt(struct crystalhd_hw *hw) argument 953 crystalhd_get_addr_from_pib_Q(struct crystalhd_hw *hw) argument 989 crystalhd_rel_addr_to_pib_Q(struct crystalhd_hw *hw, uint32_t addr_to_rel) argument 1046 crystalhd_hw_proc_pib(struct crystalhd_hw *hw) argument 1095 crystalhd_start_rx_dma_engine(struct crystalhd_hw *hw) argument 1114 crystalhd_stop_rx_dma_engine(struct crystalhd_hw *hw) argument 1171 crystalhd_hw_prog_rxdma(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt *rx_pkt) argument 1231 crystalhd_hw_post_cap_buff(struct crystalhd_hw *hw, struct crystalhd_rx_dma_pkt *rx_pkt) argument 1243 crystalhd_get_dnsz(struct crystalhd_hw *hw, uint32_t list_index, uint32_t *y_dw_dnsz, uint32_t *uv_dw_dnsz) argument 1265 crystalhd_hw_finalize_pause(struct crystalhd_hw *hw) argument 1290 crystalhd_rx_pkt_done(struct crystalhd_hw *hw, uint32_t list_index, enum BC_STATUS comp_sts) argument 1327 crystalhd_rx_list0_handler(struct crystalhd_hw *hw, uint32_t int_sts, uint32_t y_err_sts, uint32_t uv_err_sts) argument 1395 crystalhd_rx_list1_handler(struct crystalhd_hw *hw, uint32_t int_sts, uint32_t y_err_sts, uint32_t uv_err_sts) argument 1466 crystalhd_rx_isr(struct crystalhd_hw *hw, uint32_t intr_sts) argument 1538 crystalhd_fw_cmd_post_proc(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd) argument 1564 crystalhd_put_ddr2sleep(struct crystalhd_hw *hw) argument 1716 crystalhd_do_fw_cmd(struct crystalhd_hw *hw, struct BC_FW_CMD *fw_cmd) argument 1796 crystalhd_hw_interrupt(struct crystalhd_adp *adp, struct crystalhd_hw *hw) argument 1855 crystalhd_hw_open(struct crystalhd_hw *hw, struct crystalhd_adp *adp) argument 1887 crystalhd_hw_close(struct crystalhd_hw *hw) argument 1904 crystalhd_hw_setup_dma_rings(struct crystalhd_hw *hw) argument 1978 crystalhd_hw_free_dma_rings(struct crystalhd_hw *hw) argument 2016 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 2123 crystalhd_hw_cancel_tx(struct crystalhd_hw *hw, uint32_t list_id) argument 2136 crystalhd_hw_add_cap_buffer(struct crystalhd_hw *hw, struct crystalhd_dio_req *ioreq, bool en_post) argument 2176 crystalhd_hw_get_cap_buffer(struct crystalhd_hw *hw, struct BC_PIC_INFO_BLOCK *pib, struct crystalhd_dio_req **ioreq) argument 2212 crystalhd_hw_start_capture(struct crystalhd_hw *hw) argument 2237 crystalhd_hw_stop_capture(struct crystalhd_hw *hw) argument 2257 crystalhd_hw_pause(struct crystalhd_hw *hw) argument 2269 crystalhd_hw_unpause(struct crystalhd_hw *hw) argument 2285 crystalhd_hw_suspend(struct crystalhd_hw *hw) argument 2308 crystalhd_hw_stats(struct crystalhd_hw *hw, struct crystalhd_hw_stats *stats) argument 2326 crystalhd_hw_set_core_clock(struct crystalhd_hw *hw) argument [all...] |
/drivers/ide/ |
H A D | ide-legacy.c | 5 static void ide_legacy_init_one(struct ide_hw **hws, struct ide_hw *hw, argument 35 ide_std_init_ports(hw, base, ctl); 36 hw->irq = irq; 37 hw->config = config; 39 hws[port_no] = hw; 44 struct ide_hw hw[2], *hws[] = { NULL, NULL }; local 46 memset(&hw, 0, sizeof(hw)); 49 ide_legacy_init_one(hws, &hw[0], 0, d, config); 50 ide_legacy_init_one(hws, &hw[ [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | e1000.h | 45 #include "hw.h" 50 netdev_dbg(hw->adapter->netdev, format, ## arg) 213 u64 dma; /* must be u64 - written to hw */ 372 struct e1000_hw hw; member in struct:e1000_adapter 519 extern char *e1000e_get_hw_dev_name(struct e1000_hw *hw); 533 extern s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, 536 extern s32 e1000e_commit_phy(struct e1000_hw *hw); 538 extern bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw); 540 extern bool e1000e_get_laa_state_82571(struct e1000_hw *hw); 541 extern void e1000e_set_laa_state_82571(struct e1000_hw *hw, boo 666 e1000_phy_hw_reset(struct e1000_hw *hw) argument 671 e1e_rphy(struct e1000_hw *hw, u32 offset, u16 *data) argument 676 e1e_wphy(struct e1000_hw *hw, u32 offset, u16 data) argument 681 e1000_get_cable_length(struct e1000_hw *hw) argument 696 e1000e_read_mac_addr(struct e1000_hw *hw) argument 704 e1000_validate_nvm_checksum(struct e1000_hw *hw) argument 709 e1000e_update_nvm_checksum(struct e1000_hw *hw) argument 714 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 719 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 724 e1000_get_phy_info(struct e1000_hw *hw) argument 733 __er32(struct e1000_hw *hw, unsigned long reg) argument 738 __ew32(struct e1000_hw *hw, unsigned long reg, u32 val) argument [all...] |
H A D | 82571.c | 63 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw); 64 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw); 65 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw); 66 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw); 67 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, 69 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw); 70 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw); 71 static s32 e1000_setup_link_82571(struct e1000_hw *hw); 72 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw); 73 static void e1000_clear_vfta_82571(struct e1000_hw *hw); 88 e1000_init_phy_params_82571(struct e1000_hw *hw) argument 164 e1000_init_nvm_params_82571(struct e1000_hw *hw) argument 238 e1000_init_mac_params_82571(struct e1000_hw *hw) argument 367 struct e1000_hw *hw = &adapter->hw; local 440 e1000_get_phy_id_82571(struct e1000_hw *hw) argument 489 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) argument 549 e1000_put_hw_semaphore_82571(struct e1000_hw *hw) argument 564 e1000_get_hw_semaphore_82573(struct e1000_hw *hw) argument 601 e1000_put_hw_semaphore_82573(struct e1000_hw *hw) argument 619 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) argument 637 e1000_put_hw_semaphore_82574(struct e1000_hw *hw) argument 655 e1000_set_d0_lplu_state_82574(struct e1000_hw *hw, bool active) argument 679 e1000_set_d3_lplu_state_82574(struct e1000_hw *hw, bool active) argument 704 e1000_acquire_nvm_82571(struct e1000_hw *hw) argument 732 e1000_release_nvm_82571(struct e1000_hw *hw) argument 750 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 781 e1000_update_nvm_checksum_82571(struct e1000_hw *hw) argument 842 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw) argument 864 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 906 e1000_get_cfg_done_82571(struct e1000_hw *hw) argument 936 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) argument 1001 e1000_reset_hw_82571(struct e1000_hw *hw) argument 1111 e1000_init_hw_82571(struct e1000_hw *hw) argument 1192 e1000_initialize_hw_bits_82571(struct e1000_hw *hw) argument 1314 e1000_clear_vfta_82571(struct e1000_hw *hw) argument 1362 e1000_check_mng_mode_82574(struct e1000_hw *hw) argument 1376 e1000_led_on_82574(struct e1000_hw *hw) argument 1403 e1000_check_phy_82574(struct e1000_hw *hw) argument 1438 e1000_setup_link_82571(struct e1000_hw *hw) argument 1467 e1000_setup_copper_link_82571(struct e1000_hw *hw) argument 1503 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) argument 1543 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) argument 1702 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data) argument 1735 e1000e_get_laa_state_82571(struct e1000_hw *hw) argument 1750 e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state) argument 1779 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw) argument 1825 e1000_read_mac_addr_82571(struct e1000_hw *hw) argument 1850 e1000_power_down_phy_copper_82571(struct e1000_hw *hw) argument 1869 e1000_clear_hw_cntrs_82571(struct e1000_hw *hw) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192c/ |
H A D | phy_common.h | 39 #define RT_CANNOT_IO(hw) false 190 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, 192 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, 194 u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, 197 bool rtl92c_phy_mac_config(struct ieee80211_hw *hw); 198 bool rtl92c_phy_bb_config(struct ieee80211_hw *hw); 199 bool rtl92c_phy_rf_config(struct ieee80211_hw *hw); 200 bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw, 202 void rtl92c_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); 203 void rtl92c_phy_get_txpower_level(struct ieee80211_hw *hw, [all...] |
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_phy.c | 93 * @hw: Pointer to the HW structure 98 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw) argument 100 struct pch_gbe_phy_info *phy = &hw->phy; 105 ret = pch_gbe_phy_read_reg_miic(hw, PHY_ID1, &phy_id1); 108 ret = pch_gbe_phy_read_reg_miic(hw, PHY_ID2, &phy_id2); 125 * @hw: Pointer to the HW structure 132 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data) argument 134 struct pch_gbe_phy_info *phy = &hw->phy; 140 *data = pch_gbe_mac_ctrl_miim(hw, phy->addr, PCH_GBE_HAL_MIIM_READ, 147 * @hw 154 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data) argument 171 pch_gbe_phy_sw_reset(struct pch_gbe_hw *hw) argument 185 pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw) argument 201 pch_gbe_phy_power_up(struct pch_gbe_hw *hw) argument 218 pch_gbe_phy_power_down(struct pch_gbe_hw *hw) argument 238 pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw) argument 247 pch_gbe_phy_init_setting(struct pch_gbe_hw *hw) argument [all...] |