/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 116 static s32 e1000_set_phy_type(struct e1000_hw *hw) in e1000_set_phy_type() 155 static void e1000_phy_init_script(struct e1000_hw *hw) in e1000_phy_init_script() 250 s32 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type() 358 void e1000_set_media_type(struct e1000_hw *hw) in e1000_set_media_type() 401 s32 e1000_reset_hw(struct e1000_hw *hw) in e1000_reset_hw() 551 s32 e1000_init_hw(struct e1000_hw *hw) in e1000_init_hw() 669 static s32 e1000_adjust_serdes_amplitude(struct e1000_hw *hw) in e1000_adjust_serdes_amplitude() 712 s32 e1000_setup_link(struct e1000_hw *hw) in e1000_setup_link() 825 static s32 e1000_setup_fiber_serdes_link(struct e1000_hw *hw) in e1000_setup_fiber_serdes_link() 967 static s32 e1000_copper_link_rtl_setup(struct e1000_hw *hw) in e1000_copper_link_rtl_setup() [all …]
|
/drivers/net/ethernet/intel/e1000e/ |
D | 82571.c | 63 static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) in e1000_init_phy_params_82571() 138 static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) in e1000_init_nvm_params_82571() 210 static s32 e1000_init_mac_params_82571(struct e1000_hw *hw) in e1000_init_mac_params_82571() 333 struct e1000_hw *hw = &adapter->hw; in e1000_get_variants_82571() local 406 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw) in e1000_get_phy_id_82571() 452 static s32 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) in e1000_get_hw_semaphore_82571() 511 static void e1000_put_hw_semaphore_82571(struct e1000_hw *hw) in e1000_put_hw_semaphore_82571() 527 static s32 e1000_get_hw_semaphore_82573(struct e1000_hw *hw) in e1000_get_hw_semaphore_82573() 562 static void e1000_put_hw_semaphore_82573(struct e1000_hw *hw) in e1000_put_hw_semaphore_82573() 580 static s32 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) in e1000_get_hw_semaphore_82574() [all …]
|
D | mac.c | 32 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie() 64 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) in e1000_set_lan_id_multi_port_pcie() 82 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port() 96 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic() 115 void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_generic() 130 void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in e1000e_init_rx_addrs() 158 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic() 214 u32 e1000e_rar_get_count_generic(struct e1000_hw *hw) in e1000e_rar_get_count_generic() 228 int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) in e1000e_rar_set_generic() 264 static u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr() [all …]
|
D | phy.c | 61 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic() 77 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id() 116 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp() 136 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic() 199 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic() 264 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88() 289 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88() 314 s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page) in e1000_set_page_igp() 334 static s32 __e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, in __e1000e_read_phy_reg_igp() 372 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp() [all …]
|
D | 80003es2lan.c | 56 static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) in e1000_init_phy_params_80003es2lan() 88 static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) in e1000_init_nvm_params_80003es2lan() 133 static s32 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) in e1000_init_mac_params_80003es2lan() 172 struct e1000_hw *hw = &adapter->hw; in e1000_get_variants_80003es2lan() local 196 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) in e1000_acquire_phy_80003es2lan() 210 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw) in e1000_release_phy_80003es2lan() 225 static s32 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_acquire_mac_csr_80003es2lan() 240 static void e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_release_mac_csr_80003es2lan() 255 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) in e1000_acquire_nvm_80003es2lan() 277 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw) in e1000_release_nvm_80003es2lan() [all …]
|
D | ich8lan.c | 159 static inline u16 __er16flash(struct e1000_hw *hw, unsigned long reg) in __er16flash() 164 static inline u32 __er32flash(struct e1000_hw *hw, unsigned long reg) in __er32flash() 169 static inline void __ew16flash(struct e1000_hw *hw, unsigned long reg, u16 val) in __ew16flash() 174 static inline void __ew32flash(struct e1000_hw *hw, unsigned long reg, u32 val) in __ew32flash() 194 static bool e1000_phy_is_accessible_pchlan(struct e1000_hw *hw) in e1000_phy_is_accessible_pchlan() 265 static void e1000_toggle_lanphypc_pch_lpt(struct e1000_hw *hw) in e1000_toggle_lanphypc_pch_lpt() 306 static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) in e1000_init_phy_workarounds_pchlan() 438 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw) in e1000_init_phy_params_pchlan() 521 static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) in e1000_init_phy_params_ich8lan() 600 static s32 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw) in e1000_init_nvm_params_ich8lan() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hal_btc.c | 35 void rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps(struct ieee80211_hw *hw) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 54 static enum rt_media_status mgnt_link_status_query(struct ieee80211_hw *hw) in mgnt_link_status_query() 66 void rtl_8723e_bt_wifi_media_status_notify(struct ieee80211_hw *hw, in rtl_8723e_bt_wifi_media_status_notify() 99 static bool rtl8723e_dm_bt_is_wifi_busy(struct ieee80211_hw *hw) in rtl8723e_dm_bt_is_wifi_busy() 110 static void rtl8723e_dm_bt_set_fw_3a(struct ieee80211_hw *hw, in rtl8723e_dm_bt_set_fw_3a() 130 static bool rtl8723e_dm_bt_need_to_dec_bt_pwr(struct ieee80211_hw *hw) in rtl8723e_dm_bt_need_to_dec_bt_pwr() 146 static bool rtl8723e_dm_bt_is_same_coexist_state(struct ieee80211_hw *hw) in rtl8723e_dm_bt_is_same_coexist_state() 164 static void rtl8723e_dm_bt_set_coex_table(struct ieee80211_hw *hw, in rtl8723e_dm_bt_set_coex_table() 183 static void rtl8723e_dm_bt_set_hw_pta_mode(struct ieee80211_hw *hw, bool b_mode) in rtl8723e_dm_bt_set_hw_pta_mode() 198 static void rtl8723e_dm_bt_set_sw_rf_rx_lpf_corner(struct ieee80211_hw *hw, in rtl8723e_dm_bt_set_sw_rf_rx_lpf_corner() [all …]
|
D | dm.c | 150 static u8 rtl8723e_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_min_pwdb() 177 static void rtl8723e_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl8723e_dm_false_alarm_counter_statistics() 225 static void rtl92c_dm_ctrl_initgain_by_fa(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_fa() 250 static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_rssi() 288 static void rtl8723e_dm_initial_gain_multi_sta(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_multi_sta() 338 static void rtl8723e_dm_initial_gain_sta(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_sta() 366 static void rtl8723e_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl8723e_dm_cck_packet_detection_thresh() 430 static void rtl8723e_dm_ctrl_initgain_by_twoport(struct ieee80211_hw *hw) in rtl8723e_dm_ctrl_initgain_by_twoport() 452 static void rtl8723e_dm_dig(struct ieee80211_hw *hw) in rtl8723e_dm_dig() 466 static void rtl8723e_dm_dynamic_txpower(struct ieee80211_hw *hw) in rtl8723e_dm_dynamic_txpower() [all …]
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.c | 89 static void igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta_i350() 108 static bool igb_sgmii_uses_mdio_82575(struct e1000_hw *hw) in igb_sgmii_uses_mdio_82575() 139 static s32 igb_check_for_link_media_swap(struct e1000_hw *hw) in igb_check_for_link_media_swap() 198 static s32 igb_init_phy_params_82575(struct e1000_hw *hw) in igb_init_phy_params_82575() 356 static s32 igb_init_nvm_params_82575(struct e1000_hw *hw) in igb_init_nvm_params_82575() 433 static s32 igb_init_mac_params_82575(struct e1000_hw *hw) in igb_init_mac_params_82575() 521 static s32 igb_set_sfp_media_type_82575(struct e1000_hw *hw) in igb_set_sfp_media_type_82575() 583 static s32 igb_get_invariants_82575(struct e1000_hw *hw) in igb_get_invariants_82575() 751 static s32 igb_acquire_phy_82575(struct e1000_hw *hw) in igb_acquire_phy_82575() 772 static void igb_release_phy_82575(struct e1000_hw *hw) in igb_release_phy_82575() [all …]
|
D | e1000_phy.c | 58 s32 igb_check_reset_block(struct e1000_hw *hw) in igb_check_reset_block() 74 s32 igb_get_phy_id(struct e1000_hw *hw) in igb_get_phy_id() 107 static s32 igb_phy_reset_dsp(struct e1000_hw *hw) in igb_phy_reset_dsp() 133 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_mdic() 189 s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_mdic() 246 s32 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_i2c() 291 s32 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_i2c() 350 s32 igb_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) in igb_read_sfp_data_byte() 400 s32 igb_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_igp() 439 s32 igb_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_igp() [all …]
|
D | e1000_mac.c | 45 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) in igb_get_bus_info_pcie() 91 void igb_clear_vfta(struct e1000_hw *hw) in igb_clear_vfta() 108 void igb_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta() 127 void igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in igb_init_rx_addrs() 152 static s32 igb_find_vlvf_slot(struct e1000_hw *hw, u32 vlan, bool vlvf_bypass) in igb_find_vlvf_slot() 193 s32 igb_vfta_set(struct e1000_hw *hw, u32 vlan, u32 vind, in igb_vfta_set() 306 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr() 375 void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) in igb_rar_set() 412 void igb_mta_set(struct e1000_hw *hw, u32 hash_value) in igb_mta_set() 445 static u32 igb_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in igb_hash_mc_addr() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 32 static s32 ixgbe_get_invariants_X550_x(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x() 49 static void ixgbe_setup_mux_ctl(struct ixgbe_hw *hw) in ixgbe_setup_mux_ctl() 70 static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value) in ixgbe_read_cs4227() 84 static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value) in ixgbe_write_cs4227() 98 static s32 ixgbe_read_pe(struct ixgbe_hw *hw, u8 reg, u8 *value) in ixgbe_read_pe() 116 static s32 ixgbe_write_pe(struct ixgbe_hw *hw, u8 reg, u8 value) in ixgbe_write_pe() 134 static s32 ixgbe_reset_cs4227(struct ixgbe_hw *hw) in ixgbe_reset_cs4227() 203 static void ixgbe_check_cs4227(struct ixgbe_hw *hw) in ixgbe_check_cs4227() 273 static s32 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw) in ixgbe_identify_phy_x550em() 313 static s32 ixgbe_read_phy_reg_x550em(struct ixgbe_hw *hw, u32 reg_addr, in ixgbe_read_phy_reg_x550em() [all …]
|
D | ixgbe_common.c | 74 bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) in ixgbe_device_supports_autoneg_fc() 121 s32 ixgbe_setup_fc_generic(struct ixgbe_hw *hw) in ixgbe_setup_fc_generic() 277 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw) in ixgbe_start_hw_generic() 338 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) in ixgbe_start_hw_gen2() 381 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw) in ixgbe_init_hw_generic() 403 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs_generic() 512 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic() 622 s32 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr_generic() 676 s32 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw) in ixgbe_get_bus_info_generic() 700 void ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw) in ixgbe_set_lan_id_multi_port_pcie() [all …]
|
D | ixgbe_phy.c | 59 static s32 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) in ixgbe_out_i2c_byte_ack() 76 static s32 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) in ixgbe_in_i2c_byte_ack() 112 static s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, in ixgbe_read_i2c_combined_generic_int() 189 s32 ixgbe_read_i2c_combined_generic(struct ixgbe_hw *hw, u8 addr, in ixgbe_read_i2c_combined_generic() 204 s32 ixgbe_read_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, u8 addr, in ixgbe_read_i2c_combined_generic_unlocked() 220 static s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, in ixgbe_write_i2c_combined_generic_int() 284 s32 ixgbe_write_i2c_combined_generic(struct ixgbe_hw *hw, in ixgbe_write_i2c_combined_generic() 299 s32 ixgbe_write_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, in ixgbe_write_i2c_combined_generic_unlocked() 311 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) in ixgbe_identify_phy_generic() 365 bool ixgbe_check_reset_blocked(struct ixgbe_hw *hw) in ixgbe_check_reset_blocked() [all …]
|
/drivers/scsi/csiostor/ |
D | csio_hw.c | 106 int csio_is_hw_ready(struct csio_hw *hw) in csio_is_hw_ready() 111 int csio_is_hw_removing(struct csio_hw *hw) in csio_is_hw_removing() 133 csio_hw_wait_op_done_val(struct csio_hw *hw, int reg, uint32_t mask, in csio_hw_wait_op_done_val() 163 csio_hw_tp_wr_bits_indirect(struct csio_hw *hw, unsigned int addr, in csio_hw_tp_wr_bits_indirect() 172 csio_set_reg_field(struct csio_hw *hw, uint32_t reg, uint32_t mask, in csio_set_reg_field() 184 csio_memory_write(struct csio_hw *hw, int mtype, u32 addr, u32 len, u32 *buf) in csio_memory_write() 212 csio_hw_seeprom_read(struct csio_hw *hw, uint32_t addr, uint32_t *data) in csio_hw_seeprom_read() 303 csio_hw_get_vpd_params(struct csio_hw *hw, struct csio_vpd *p) in csio_hw_get_vpd_params() 392 csio_hw_sf1_read(struct csio_hw *hw, uint32_t byte_cnt, int32_t cont, in csio_hw_sf1_read() 424 csio_hw_sf1_write(struct csio_hw *hw, uint32_t byte_cnt, uint32_t cont, in csio_hw_sf1_write() [all …]
|
/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 46 static int alx_wait_mdio_idle(struct alx_hw *hw) in alx_wait_mdio_idle() 61 static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_read_phy_core() 98 static int alx_write_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_write_phy_core() 129 static int __alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) in __alx_read_phy_reg() 134 static int __alx_write_phy_reg(struct alx_hw *hw, u16 reg, u16 phy_data) in __alx_write_phy_reg() 139 static int __alx_read_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 *pdata) in __alx_read_phy_ext() 144 static int __alx_write_phy_ext(struct alx_hw *hw, u8 dev, u16 reg, u16 data) in __alx_write_phy_ext() 149 static int __alx_read_phy_dbg(struct alx_hw *hw, u16 reg, u16 *pdata) in __alx_read_phy_dbg() 160 static int __alx_write_phy_dbg(struct alx_hw *hw, u16 reg, u16 data) in __alx_write_phy_dbg() 171 int alx_read_phy_reg(struct alx_hw *hw, u16 reg, u16 *phy_data) in alx_read_phy_reg() [all …]
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_ee.c | 52 ixgb_raise_clock(struct ixgb_hw *hw, in ixgb_raise_clock() 71 ixgb_lower_clock(struct ixgb_hw *hw, in ixgb_lower_clock() 91 ixgb_shift_out_bits(struct ixgb_hw *hw, in ixgb_shift_out_bits() 139 ixgb_shift_in_bits(struct ixgb_hw *hw) in ixgb_shift_in_bits() 182 ixgb_setup_eeprom(struct ixgb_hw *hw) in ixgb_setup_eeprom() 203 ixgb_standby_eeprom(struct ixgb_hw *hw) in ixgb_standby_eeprom() 240 ixgb_clock_eeprom(struct ixgb_hw *hw) in ixgb_clock_eeprom() 265 ixgb_cleanup_eeprom(struct ixgb_hw *hw) in ixgb_cleanup_eeprom() 290 ixgb_wait_eeprom_command(struct ixgb_hw *hw) in ixgb_wait_eeprom_command() 330 ixgb_validate_eeprom_checksum(struct ixgb_hw *hw) in ixgb_validate_eeprom_checksum() [all …]
|
D | ixgb_hw.c | 72 static u32 ixgb_mac_reset(struct ixgb_hw *hw) in ixgb_mac_reset() 123 ixgb_adapter_stop(struct ixgb_hw *hw) in ixgb_adapter_stop() 186 ixgb_identify_xpak_vendor(struct ixgb_hw *hw) in ixgb_identify_xpak_vendor() 226 ixgb_identify_phy(struct ixgb_hw *hw) in ixgb_identify_phy() 299 ixgb_init_hw(struct ixgb_hw *hw) in ixgb_init_hw() 384 ixgb_init_rx_addrs(struct ixgb_hw *hw) in ixgb_init_rx_addrs() 434 ixgb_mc_addr_list_update(struct ixgb_hw *hw, in ixgb_mc_addr_list_update() 498 ixgb_hash_mc_addr(struct ixgb_hw *hw, in ixgb_hash_mc_addr() 546 ixgb_mta_set(struct ixgb_hw *hw, in ixgb_mta_set() 578 ixgb_rar_set(struct ixgb_hw *hw, in ixgb_rar_set() [all …]
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 49 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs() 70 static i40e_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring() 97 static i40e_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring() 117 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq() 129 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq() 138 static i40e_status i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs() 205 static i40e_status i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs() 245 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs() 264 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs() 289 static i40e_status i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs() [all …]
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 41 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs() 73 static i40e_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring() 100 static i40e_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring() 120 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq() 132 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq() 141 static i40e_status i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs() 208 static i40e_status i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs() 248 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs() 267 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs() 292 static i40e_status i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs() [all …]
|
/drivers/misc/mei/ |
D | hw-txe.c | 72 static inline u32 mei_txe_sec_reg_read_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_read_silent() 88 static inline u32 mei_txe_sec_reg_read(struct mei_txe_hw *hw, in mei_txe_sec_reg_read() 104 static inline void mei_txe_sec_reg_write_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_write_silent() 119 static inline void mei_txe_sec_reg_write(struct mei_txe_hw *hw, in mei_txe_sec_reg_write() 133 static inline u32 mei_txe_br_reg_read(struct mei_txe_hw *hw, in mei_txe_br_reg_read() 146 static inline void mei_txe_br_reg_write(struct mei_txe_hw *hw, in mei_txe_br_reg_write() 169 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_set() local 194 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_req_get() local 211 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_get() local 230 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_poll() local [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 165 void dm_restorepowerindex(struct ieee80211_hw *hw) in dm_restorepowerindex() 176 void dm_writepowerindex(struct ieee80211_hw *hw, u8 value) in dm_writepowerindex() 186 void dm_savepowerindex(struct ieee80211_hw *hw) in dm_savepowerindex() 199 static u8 rtl92c_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw) in rtl92c_dm_initial_gain_min_pwdb() 227 static void rtl92c_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl92c_dm_false_alarm_counter_statistics() 283 static void rtl92c_dm_ctrl_initgain_by_fa(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_fa() 310 static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_rssi() 392 static void rtl92c_dm_initial_gain_multi_sta(struct ieee80211_hw *hw) in rtl92c_dm_initial_gain_multi_sta() 443 static void rtl92c_dm_initial_gain_sta(struct ieee80211_hw *hw) in rtl92c_dm_initial_gain_sta() 472 static void rtl92c_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl92c_dm_cck_packet_detection_thresh() [all …]
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | vf.c | 36 static inline s32 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, in ixgbevf_write_msg_read_ack() 57 static s32 ixgbevf_start_hw_vf(struct ixgbe_hw *hw) in ixgbevf_start_hw_vf() 72 static s32 ixgbevf_init_hw_vf(struct ixgbe_hw *hw) in ixgbevf_init_hw_vf() 88 static s32 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_reset_hw_vf() 150 static s32 ixgbevf_hv_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_hv_reset_hw_vf() 176 static s32 ixgbevf_stop_hw_vf(struct ixgbe_hw *hw) in ixgbevf_stop_hw_vf() 230 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector() 261 static s32 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbevf_get_mac_addr_vf() 268 static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_set_uc_addr_vf() 299 static s32 ixgbevf_hv_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_hv_set_uc_addr_vf() [all …]
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 32 int atl1c_check_eeprom_exist(struct atl1c_hw *hw) in atl1c_check_eeprom_exist() 46 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw, u8 *mac_addr) in atl1c_hw_set_mac_addr() 66 static bool atl1c_read_current_addr(struct atl1c_hw *hw, u8 *eth_addr) in atl1c_read_current_addr() 83 static int atl1c_get_permanent_address(struct atl1c_hw *hw) in atl1c_get_permanent_address() 153 bool atl1c_read_eeprom(struct atl1c_hw *hw, u32 offset, u32 *p_value) in atl1c_read_eeprom() 196 int atl1c_read_mac_addr(struct atl1c_hw *hw) in atl1c_read_mac_addr() 216 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr) in atl1c_hash_mc_addr() 234 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) in atl1c_hash_set() 263 bool atl1c_wait_mdio_idle(struct atl1c_hw *hw) in atl1c_wait_mdio_idle() 278 void atl1c_stop_phy_polling(struct atl1c_hw *hw) in atl1c_stop_phy_polling() [all …]
|
/drivers/clk/at91/ |
D | clk-main.c | 31 struct clk_hw hw; member 35 #define to_clk_main_osc(hw) container_of(hw, struct clk_main_osc, hw) argument 38 struct clk_hw hw; member 44 #define to_clk_main_rc_osc(hw) container_of(hw, struct clk_main_rc_osc, hw) argument 47 struct clk_hw hw; member 51 #define to_clk_rm9200_main(hw) container_of(hw, struct clk_rm9200_main, hw) argument 54 struct clk_hw hw; member 59 #define to_clk_sam9x5_main(hw) container_of(hw, struct clk_sam9x5_main, hw) argument 70 static int clk_main_osc_prepare(struct clk_hw *hw) in clk_main_osc_prepare() 93 static void clk_main_osc_unprepare(struct clk_hw *hw) in clk_main_osc_unprepare() [all …]
|