/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | led.c | 35 static void _rtl92ce_init_led(struct ieee80211_hw *hw, argument 38 pled->hw = hw; 43 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 46 struct rtl_priv *rtlpriv = rtl_priv(hw); 71 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 73 struct rtl_priv *rtlpriv = rtl_priv(hw); 74 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 106 void rtl92ce_init_sw_leds(struct ieee80211_hw *hw) argument 108 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 113 _rtl92ce_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 132 rtl92ce_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | led.c | 35 static void _rtl92ce_init_led(struct ieee80211_hw *hw, argument 38 pled->hw = hw; 43 void rtl92de_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 46 struct rtl_priv *rtlpriv = rtl_priv(hw); 80 void rtl92de_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 82 struct rtl_priv *rtlpriv = rtl_priv(hw); 83 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 115 void rtl92de_init_sw_leds(struct ieee80211_hw *hw) argument 117 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 122 _rtl92ce_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 141 rtl92de_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | led.c | 35 static void _rtl92se_init_led(struct ieee80211_hw *hw, argument 38 pled->hw = hw; 43 void rtl92se_init_sw_leds(struct ieee80211_hw *hw) argument 45 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 46 _rtl92se_init_led(hw, &(pcipriv->ledctl.sw_led0), LED_PIN_LED0); 47 _rtl92se_init_led(hw, &(pcipriv->ledctl.sw_led1), LED_PIN_LED1); 50 void rtl92se_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 53 struct rtl_priv *rtlpriv = rtl_priv(hw); 77 void rtl92se_sw_led_off(struct ieee80211_hw *hw, struc argument 113 _rtl92se_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 132 rtl92se_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
H A D | led.c | 35 static void _rtl8723e_init_led(struct ieee80211_hw *hw, argument 38 pled->hw = hw; 43 void rtl8723e_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 46 struct rtl_priv *rtlpriv = rtl_priv(hw); 72 void rtl8723e_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 74 struct rtl_priv *rtlpriv = rtl_priv(hw); 75 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 114 void rtl8723e_init_sw_leds(struct ieee80211_hw *hw) argument 116 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 121 _rtl8723e_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 140 rtl8723e_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8723be/ |
H A D | led.c | 31 static void _rtl8723be_init_led(struct ieee80211_hw *hw, struct rtl_led *pled, argument 34 pled->hw = hw; 39 void rtl8723be_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 42 struct rtl_priv *rtlpriv = rtl_priv(hw); 67 void rtl8723be_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 69 struct rtl_priv *rtlpriv = rtl_priv(hw); 70 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 109 void rtl8723be_init_sw_leds(struct ieee80211_hw *hw) argument 111 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 116 _rtl8723be_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 135 rtl8723be_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
H A D | phy.c | 39 static bool _rtl8723be_phy_bb8723b_config_parafile(struct ieee80211_hw *hw); 40 static bool _rtl8723be_phy_config_mac_with_headerfile(struct ieee80211_hw *hw); 41 static bool _rtl8723be_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, 43 static bool _rtl8723be_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, 45 static bool _rtl8723be_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, 49 static void rtl8723be_phy_set_rf_on(struct ieee80211_hw *hw); 50 static void rtl8723be_phy_set_io(struct ieee80211_hw *hw); 52 u32 rtl8723be_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, argument 55 struct rtl_priv *rtlpriv = rtl_priv(hw); 65 original_value = rtl8723_phy_rf_serial_read(hw, rfpat 78 rtl8723be_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path path, u32 regaddr, u32 bitmask, u32 data) argument 109 rtl8723be_phy_mac_config(struct ieee80211_hw *hw) argument 118 rtl8723be_phy_bb_config(struct ieee80211_hw *hw) argument 150 rtl8723be_phy_rf_config(struct ieee80211_hw *hw) argument 155 _rtl8723be_check_condition(struct ieee80211_hw *hw, const u32 condition) argument 184 _rtl8723be_config_rf_reg(struct ieee80211_hw *hw, u32 addr, u32 data, enum radio_path rfpath, u32 regaddr) argument 198 _rtl8723be_config_rf_radio_a(struct ieee80211_hw *hw, u32 addr, u32 data) argument 209 _rtl8723be_phy_init_tx_power_by_rate(struct ieee80211_hw *hw) argument 226 _rtl8723be_config_bb_reg(struct ieee80211_hw *hw, u32 addr, u32 data) argument 247 _rtl8723be_phy_set_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 rate_section, u8 txnum, u8 value) argument 290 _rtl8723be_phy_get_txpower_by_rate_base(struct ieee80211_hw *hw, u8 band, u8 path, u8 txnum, u8 rate_section) argument 333 _rtl8723be_phy_store_txpower_by_rate_base(struct ieee80211_hw *hw) argument 405 _rtl8723be_phy_convert_txpower_dbm_to_relative_value( struct ieee80211_hw *hw) argument 454 phy_txpower_by_rate_config(struct ieee80211_hw *hw) argument 460 _rtl8723be_phy_bb8723b_config_parafile(struct ieee80211_hw *hw) argument 496 _rtl8723be_phy_config_mac_with_headerfile(struct ieee80211_hw *hw) argument 513 _rtl8723be_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, u8 configtype) argument 695 _rtl8723be_store_tx_power_by_rate(struct ieee80211_hw *hw, u32 band, u32 rfpath, u32 txnum, u32 regaddr, u32 bitmask, u32 data) argument 723 _rtl8723be_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, u8 configtype) argument 761 rtl8723be_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, enum radio_path rfpath) argument 846 rtl8723be_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw) argument 877 rtl8723be_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel) argument 974 _rtl8723be_get_txpower_by_rate(struct ieee80211_hw *hw, enum band_type band, enum radio_path rfpath, u8 rate) argument 1041 _rtl8723be_get_txpower_index(struct ieee80211_hw *hw, u8 path, u8 rate, u8 bandwidth, u8 channel) argument 1092 _rtl8723be_phy_set_txpower_index(struct ieee80211_hw *hw, u8 power_index, u8 path, u8 rate) argument 1209 rtl8723be_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) argument 1257 rtl8723be_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) argument 1284 rtl8723be_phy_set_bw_mode_callback(struct ieee80211_hw *hw) argument 1353 rtl8723be_phy_set_bw_mode(struct ieee80211_hw *hw, enum nl80211_channel_type ch_type) argument 1374 rtl8723be_phy_sw_chnl_callback(struct ieee80211_hw *hw) argument 1405 rtl8723be_phy_sw_chnl(struct ieee80211_hw *hw) argument 1434 _rtl8723be_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay) argument 1547 _rtl8723be_phy_path_a_iqk(struct ieee80211_hw *hw) argument 1620 _rtl8723be_phy_path_a_rx_iqk(struct ieee80211_hw *hw) argument 1767 _rtl8723be_phy_path_b_iqk(struct ieee80211_hw *hw) argument 1840 _rtl8723be_phy_path_b_rx_iqk(struct ieee80211_hw *hw) argument 1984 _rtl8723be_phy_path_b_fill_iqk_matrix(struct ieee80211_hw *hw, bool b_iqk_ok, long result[][8], u8 final_candidate, bool btxonly) argument 2026 _rtl8723be_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument 2101 _rtl8723be_phy_iq_calibrate(struct ieee80211_hw *hw, long result[][8], u8 t, bool is2t) argument 2280 _rtl8723be_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) argument 2333 _rtl8723be_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain, bool is2t) argument 2348 rtl8723be_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery) argument 2494 rtl8723be_phy_lc_calibrate(struct ieee80211_hw *hw) argument 2516 rtl8723be_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain) argument 2521 rtl8723be_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) argument 2559 rtl8723be_phy_set_io(struct ieee80211_hw *hw) argument 2590 rtl8723be_phy_set_rf_on(struct ieee80211_hw *hw) argument 2601 _rtl8723be_phy_set_rf_sleep(struct ieee80211_hw *hw) argument 2611 _rtl8723be_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument 2744 rtl8723be_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument [all...] |
/drivers/isdn/hisax/ |
H A D | hfc4s8s_l1.c | 151 struct _hfc4s8s_hw *hw; /* pointer to hardware area */ member in struct:hfc4s8s_l1 295 Read_hfc8_stable(hfc4s8s_hw *hw, int reg) argument 299 ref8 = Read_hfc8(hw, reg); 300 while (((in8 = Read_hfc8(hw, reg)) != ref8)) { 307 Read_hfc16_stable(hfc4s8s_hw *hw, int reg) argument 312 ref16 = Read_hfc16(hw, reg); 313 while (((in16 = Read_hfc16(hw, reg)) != ref16)) { 340 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |= 343 schedule_work(&l1->hw->tqueue); 356 Write_hfc8(l1->hw, R_ST_SE 1012 hfc4s8s_hw *hw = container_of(work, hfc4s8s_hw, tqueue); local 1198 hfc4s8s_hw *hw = dev_id; local 1252 chipreset(hfc4s8s_hw *hw) argument 1281 hfc_hardware_enable(hfc4s8s_hw *hw, int enable, int nt_mode) argument 1388 release_pci_ports(hfc4s8s_hw *hw) argument 1399 enable_pci_ports(hfc4s8s_hw *hw) argument 1409 setup_instance(hfc4s8s_hw *hw) argument 1495 hfc4s8s_hw *hw; local 1543 hfc4s8s_hw *hw = pci_get_drvdata(pdev); local [all...] |
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...] |
/drivers/net/ethernet/atheros/alx/ |
H A D | ethtool.c | 47 #include "hw.h" 51 * See hw.h 109 static u32 alx_get_supported_speeds(struct alx_hw *hw) argument 116 if (alx_hw_giga(hw)) 131 struct alx_hw *hw = &alx->hw; local 137 if (alx_hw_giga(hw)) 139 ecmd->supported |= alx_get_supported_speeds(hw); 142 if (hw->adv_cfg & ADVERTISED_Autoneg) 143 ecmd->advertising |= hw 174 struct alx_hw *hw = &alx->hw; local 199 struct alx_hw *hw = &alx->hw; local 212 struct alx_hw *hw = &alx->hw; local 268 struct alx_hw *hw = &alx->hw; local [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_nvm.h | 27 s32 igb_acquire_nvm(struct e1000_hw *hw); 28 void igb_release_nvm(struct e1000_hw *hw); 29 s32 igb_read_mac_addr(struct e1000_hw *hw); 30 s32 igb_read_part_num(struct e1000_hw *hw, u32 *part_num); 31 s32 igb_read_part_string(struct e1000_hw *hw, u8 *part_num, 33 s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 34 s32 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 35 s32 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 36 s32 igb_validate_nvm_checksum(struct e1000_hw *hw); 37 s32 igb_update_nvm_checksum(struct e1000_hw *hw); [all...] |
H A D | e1000_i210.c | 34 static s32 igb_update_flash_i210(struct e1000_hw *hw); 38 * @hw: pointer to the HW structure 42 static s32 igb_get_hw_semaphore_i210(struct e1000_hw *hw) argument 45 s32 timeout = hw->nvm.word_size + 1; 62 if (hw->dev_spec._82575.clear_semaphore_once) { 63 hw->dev_spec._82575.clear_semaphore_once = false; 64 igb_put_hw_semaphore(hw); 95 igb_put_hw_semaphore(hw); 105 * @hw: pointer to the HW structure 112 static s32 igb_acquire_nvm_i210(struct e1000_hw *hw) argument 124 igb_release_nvm_i210(struct e1000_hw *hw) argument 137 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) argument 183 igb_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask) argument 207 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 247 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 307 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 344 igb_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data) argument 385 igb_read_invm_i210(struct e1000_hw *hw, u16 offset, u16 words __always_unused, u16 *data) argument 463 igb_read_invm_version(struct e1000_hw *hw, struct e1000_fw_version *invm_ver) argument 557 igb_validate_nvm_checksum_i210(struct e1000_hw *hw) argument 592 igb_update_nvm_checksum_i210(struct e1000_hw *hw) argument 647 igb_pool_flash_update_done_i210(struct e1000_hw *hw) argument 669 igb_get_flash_presence_i210(struct e1000_hw *hw) argument 686 igb_update_flash_i210(struct e1000_hw *hw) argument 718 igb_valid_led_default_i210(struct e1000_hw *hw, u16 *data) argument 751 __igb_access_xmdio_reg(struct e1000_hw *hw, u16 address, u8 dev_addr, u16 *data, bool read) argument 791 igb_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 *data) argument 803 igb_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 data) argument 812 igb_init_nvm_params_i210(struct e1000_hw *hw) argument 845 igb_pll_workaround_i210(struct e1000_hw *hw) argument [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/clk/mxs/ |
H A D | clk-pll.c | 22 * @hw: clk_hw for the pll 31 struct clk_hw hw; member in struct:clk_pll 37 #define to_clk_pll(_hw) container_of(_hw, struct clk_pll, hw) 39 static int clk_pll_prepare(struct clk_hw *hw) argument 41 struct clk_pll *pll = to_clk_pll(hw); 50 static void clk_pll_unprepare(struct clk_hw *hw) argument 52 struct clk_pll *pll = to_clk_pll(hw); 57 static int clk_pll_enable(struct clk_hw *hw) argument 59 struct clk_pll *pll = to_clk_pll(hw); 66 static void clk_pll_disable(struct clk_hw *hw) argument 73 clk_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) argument [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/wireless/rtlwifi/rtl8192ee/ |
H A D | led.c | 31 static void _rtl92ee_init_led(struct ieee80211_hw *hw, argument 34 pled->hw = hw; 39 void rtl92ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 42 struct rtl_priv *rtlpriv = rtl_priv(hw); 70 void rtl92ee_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 72 struct rtl_priv *rtlpriv = rtl_priv(hw); 100 void rtl92ee_init_sw_leds(struct ieee80211_hw *hw) argument 102 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 104 _rtl92ee_init_led(hw, 108 _rtl92ee_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 128 rtl92ee_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_iov.c | 25 static s32 fm10k_iov_msg_error(struct fm10k_hw *hw, u32 **results, argument 29 struct fm10k_intfc *interface = hw->back; 35 return fm10k_tlv_msg_error(hw, results, mbx); 48 struct fm10k_hw *hw = &interface->hw; local 65 if (!(fm10k_read_reg(hw, FM10K_EICR) & FM10K_EICR_VFLR)) 70 vflre = fm10k_read_reg(hw, FM10K_PFVFLRE(0)); 72 vflre |= fm10k_read_reg(hw, FM10K_PFVFLRE(1)); 74 vflre |= fm10k_read_reg(hw, FM10K_PFVFLRE(0)); 84 hw 123 struct fm10k_hw *hw = &interface->hw; local 190 struct fm10k_hw *hw = &interface->hw; local 214 struct fm10k_hw *hw = &interface->hw; local 266 struct fm10k_hw *hw = &interface->hw; local 307 struct fm10k_hw *hw = &interface->hw; local 426 struct fm10k_hw *hw = &interface->hw; local 457 struct fm10k_hw *hw = &interface->hw; local 496 struct fm10k_hw *hw = &interface->hw; local [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/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_82599.c | 36 * @hw: pointer to hardware structure 44 s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, argument 61 IXGBE_WRITE_REG(hw, IXGBE_RTRPCS, reg); 67 IXGBE_WRITE_REG(hw, IXGBE_RTRUP2TC, reg); 80 IXGBE_WRITE_REG(hw, IXGBE_RTRPT4C(i), reg); 88 IXGBE_WRITE_REG(hw, IXGBE_RTRPCS, reg); 95 * @hw: pointer to hardware structure 103 s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, argument 114 IXGBE_WRITE_REG(hw, IXGBE_RTTDQSEL, i); 115 IXGBE_WRITE_REG(hw, IXGBE_RTTDT1 154 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument 213 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) argument 292 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw) argument 349 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 26 * @hw: pointer to the HW structure 32 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) argument 34 struct e1000_mac_info *mac = &hw->mac; 35 struct e1000_bus_info *bus = &hw->bus; 36 struct e1000_adapter *adapter = hw->adapter; 51 mac->ops.set_lan_id(hw); 59 * @hw: pointer to the HW structure 64 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) argument 66 struct e1000_bus_info *bus = &hw->bus; 78 * @hw 82 e1000_set_lan_id_single_port(struct e1000_hw *hw) argument 96 e1000_clear_vfta_generic(struct e1000_hw *hw) argument 115 e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) argument 130 e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) argument 158 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) argument 214 e1000e_rar_get_count_generic(struct e1000_hw *hw) argument 228 e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) argument 264 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument 333 e1000e_update_mc_addr_list_generic(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument 365 e1000e_clear_hw_cntrs_base(struct e1000_hw *hw) argument 414 e1000e_check_for_copper_link(struct e1000_hw *hw) argument 477 e1000e_check_for_fiber_link(struct e1000_hw *hw) argument 542 e1000e_check_for_serdes_link(struct e1000_hw *hw) argument 646 e1000_set_default_fc_generic(struct e1000_hw *hw) argument 686 e1000e_setup_link_generic(struct e1000_hw *hw) argument 739 e1000_commit_fc_settings_generic(struct e1000_hw *hw) argument 805 e1000_poll_fiber_serdes_link_generic(struct e1000_hw *hw) argument 852 e1000e_setup_fiber_serdes_link(struct e1000_hw *hw) argument 901 e1000e_config_collision_dist_generic(struct e1000_hw *hw) argument 922 e1000e_set_fc_watermarks(struct e1000_hw *hw) argument 959 e1000e_force_mac_fc(struct e1000_hw *hw) argument 1019 e1000e_config_fc_after_link_up(struct e1000_hw *hw) argument 1323 e1000e_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 1357 e1000e_get_speed_and_duplex_fiber_serdes(struct e1000_hw __always_unused *hw, u16 *speed, u16 *duplex) argument 1372 e1000e_get_hw_semaphore(struct e1000_hw *hw) argument 1421 e1000e_put_hw_semaphore(struct e1000_hw *hw) argument 1436 e1000e_get_auto_rd_done(struct e1000_hw *hw) argument 1463 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data) argument 1484 e1000e_id_led_init_generic(struct e1000_hw *hw) argument 1550 e1000e_setup_led_generic(struct e1000_hw *hw) argument 1580 e1000e_cleanup_led_generic(struct e1000_hw *hw) argument 1592 e1000e_blink_led_generic(struct e1000_hw *hw) argument 1637 e1000e_led_on_generic(struct e1000_hw *hw) argument 1664 e1000e_led_off_generic(struct e1000_hw *hw) argument 1692 e1000e_set_pcie_no_snoop(struct e1000_hw *hw, u32 no_snoop) argument 1715 e1000e_disable_pcie_master(struct e1000_hw *hw) argument 1745 e1000e_reset_adaptive(struct e1000_hw *hw) argument 1771 e1000e_update_adaptive(struct e1000_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/wireless/rtlwifi/ |
H A D | efuse.h | 102 void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf); 103 void efuse_initialize(struct ieee80211_hw *hw); 104 u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address); 105 int efuse_one_byte_read(struct ieee80211_hw *hw, u16 addr, u8 *data); 106 void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value); 107 void read_efuse(struct ieee80211_hw *hw, u16 _offset, 109 void efuse_shadow_read(struct ieee80211_hw *hw, u8 type, 111 void efuse_shadow_write(struct ieee80211_hw *hw, u8 type, 113 bool efuse_shadow_update(struct ieee80211_hw *hw); 114 bool efuse_shadow_update_chk(struct ieee80211_hw *hw); [all...] |