Home
last modified time | relevance | path

Searched defs:hw (Results 1 – 25 of 1349) sorted by relevance

12345678910>>...54

/Linux-v5.4/sound/pci/ctxfi/
Dcthardware.h68 struct hw { struct
69 int (*card_init)(struct hw *hw, struct card_conf *info); argument
70 int (*card_stop)(struct hw *hw); argument
71 int (*pll_init)(struct hw *hw, unsigned int rsr); argument
73 int (*suspend)(struct hw *hw); argument
74 int (*resume)(struct hw *hw, struct card_conf *info); argument
76 int (*is_adc_source_selected)(struct hw *hw, enum ADCSRC source); argument
77 int (*select_adc_source)(struct hw *hw, enum ADCSRC source); argument
78 struct capabilities (*capabilities)(struct hw *hw); argument
79 int (*output_switch_get)(struct hw *hw); argument
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
D82571.c45 static s32 e1000_init_phy_params_82571(struct e1000_hw *hw) in e1000_init_phy_params_82571()
120 static s32 e1000_init_nvm_params_82571(struct e1000_hw *hw) in e1000_init_nvm_params_82571()
192 static s32 e1000_init_mac_params_82571(struct e1000_hw *hw) in e1000_init_mac_params_82571()
315 struct e1000_hw *hw = &adapter->hw; in e1000_get_variants_82571() local
388 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw) in e1000_get_phy_id_82571()
434 static s32 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) in e1000_get_hw_semaphore_82571()
493 static void e1000_put_hw_semaphore_82571(struct e1000_hw *hw) in e1000_put_hw_semaphore_82571()
509 static s32 e1000_get_hw_semaphore_82573(struct e1000_hw *hw) in e1000_get_hw_semaphore_82573()
544 static void e1000_put_hw_semaphore_82573(struct e1000_hw *hw) in e1000_put_hw_semaphore_82573()
562 static s32 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) in e1000_get_hw_semaphore_82574()
[all …]
Dmac.c14 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie()
46 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) in e1000_set_lan_id_multi_port_pcie()
64 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port()
78 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic()
97 void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_generic()
112 void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in e1000e_init_rx_addrs()
140 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic()
196 u32 e1000e_rar_get_count_generic(struct e1000_hw *hw) in e1000e_rar_get_count_generic()
210 int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) in e1000e_rar_set_generic()
246 static u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr()
[all …]
Dphy.c43 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic()
59 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id()
98 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp()
118 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
181 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic()
246 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88()
271 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88()
296 s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page) in e1000_set_page_igp()
316 static s32 __e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, in __e1000e_read_phy_reg_igp()
354 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp()
[all …]
D80003es2lan.c38 static s32 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) in e1000_init_phy_params_80003es2lan()
70 static s32 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) in e1000_init_nvm_params_80003es2lan()
115 static s32 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) in e1000_init_mac_params_80003es2lan()
154 struct e1000_hw *hw = &adapter->hw; in e1000_get_variants_80003es2lan() local
178 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) in e1000_acquire_phy_80003es2lan()
192 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw) in e1000_release_phy_80003es2lan()
207 static s32 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_acquire_mac_csr_80003es2lan()
222 static void e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_release_mac_csr_80003es2lan()
237 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) in e1000_acquire_nvm_80003es2lan()
259 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw) in e1000_release_nvm_80003es2lan()
[all …]
Dich8lan.c141 static inline u16 __er16flash(struct e1000_hw *hw, unsigned long reg) in __er16flash()
146 static inline u32 __er32flash(struct e1000_hw *hw, unsigned long reg) in __er32flash()
151 static inline void __ew16flash(struct e1000_hw *hw, unsigned long reg, u16 val) in __ew16flash()
156 static inline void __ew32flash(struct e1000_hw *hw, unsigned long reg, u32 val) in __ew32flash()
176 static bool e1000_phy_is_accessible_pchlan(struct e1000_hw *hw) in e1000_phy_is_accessible_pchlan()
247 static void e1000_toggle_lanphypc_pch_lpt(struct e1000_hw *hw) in e1000_toggle_lanphypc_pch_lpt()
288 static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) in e1000_init_phy_workarounds_pchlan()
421 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw) in e1000_init_phy_params_pchlan()
505 static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) in e1000_init_phy_params_ich8lan()
584 static s32 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw) in e1000_init_nvm_params_ich8lan()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/e1000/
De1000_hw.c91 static s32 e1000_set_phy_type(struct e1000_hw *hw) in e1000_set_phy_type()
130 static void e1000_phy_init_script(struct e1000_hw *hw) in e1000_phy_init_script()
225 s32 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type()
333 void e1000_set_media_type(struct e1000_hw *hw) in e1000_set_media_type()
376 s32 e1000_reset_hw(struct e1000_hw *hw) in e1000_reset_hw()
526 s32 e1000_init_hw(struct e1000_hw *hw) in e1000_init_hw()
644 static s32 e1000_adjust_serdes_amplitude(struct e1000_hw *hw) in e1000_adjust_serdes_amplitude()
687 s32 e1000_setup_link(struct e1000_hw *hw) in e1000_setup_link()
800 static s32 e1000_setup_fiber_serdes_link(struct e1000_hw *hw) in e1000_setup_fiber_serdes_link()
942 static s32 e1000_copper_link_rtl_setup(struct e1000_hw *hw) in e1000_copper_link_rtl_setup()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c14 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()
33 static enum rt_media_status mgnt_link_status_query(struct ieee80211_hw *hw) in mgnt_link_status_query()
45 void rtl_8723e_bt_wifi_media_status_notify(struct ieee80211_hw *hw, in rtl_8723e_bt_wifi_media_status_notify()
78 static bool rtl8723e_dm_bt_is_wifi_busy(struct ieee80211_hw *hw) in rtl8723e_dm_bt_is_wifi_busy()
89 static void rtl8723e_dm_bt_set_fw_3a(struct ieee80211_hw *hw, in rtl8723e_dm_bt_set_fw_3a()
109 static bool rtl8723e_dm_bt_need_to_dec_bt_pwr(struct ieee80211_hw *hw) in rtl8723e_dm_bt_need_to_dec_bt_pwr()
125 static bool rtl8723e_dm_bt_is_same_coexist_state(struct ieee80211_hw *hw) in rtl8723e_dm_bt_is_same_coexist_state()
143 static void rtl8723e_dm_bt_set_coex_table(struct ieee80211_hw *hw, in rtl8723e_dm_bt_set_coex_table()
162 static void rtl8723e_dm_bt_set_hw_pta_mode(struct ieee80211_hw *hw, bool b_mode) in rtl8723e_dm_bt_set_hw_pta_mode()
177 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 …]
Ddm.c128 static u8 rtl8723e_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_min_pwdb()
161 static void rtl8723e_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl8723e_dm_false_alarm_counter_statistics()
209 static void rtl92c_dm_ctrl_initgain_by_fa(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_fa()
234 static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_rssi()
272 static void rtl8723e_dm_initial_gain_multi_sta(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_multi_sta()
322 static void rtl8723e_dm_initial_gain_sta(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_sta()
350 static void rtl8723e_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl8723e_dm_cck_packet_detection_thresh()
416 static void rtl8723e_dm_ctrl_initgain_by_twoport(struct ieee80211_hw *hw) in rtl8723e_dm_ctrl_initgain_by_twoport()
438 static void rtl8723e_dm_dig(struct ieee80211_hw *hw) in rtl8723e_dm_dig()
452 static void rtl8723e_dm_dynamic_txpower(struct ieee80211_hw *hw) in rtl8723e_dm_dynamic_txpower()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c15 static s32 ixgbe_get_invariants_X550_x(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x()
32 static s32 ixgbe_get_invariants_X550_x_fw(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x_fw()
44 static s32 ixgbe_get_invariants_X550_a(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_a()
58 static s32 ixgbe_get_invariants_X550_a_fw(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_a_fw()
73 static void ixgbe_setup_mux_ctl(struct ixgbe_hw *hw) in ixgbe_setup_mux_ctl()
94 static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value) in ixgbe_read_cs4227()
107 static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value) in ixgbe_write_cs4227()
120 static s32 ixgbe_read_pe(struct ixgbe_hw *hw, u8 reg, u8 *value) in ixgbe_read_pe()
138 static s32 ixgbe_write_pe(struct ixgbe_hw *hw, u8 reg, u8 value) in ixgbe_write_pe()
156 static s32 ixgbe_reset_cs4227(struct ixgbe_hw *hw) in ixgbe_reset_cs4227()
[all …]
Dixgbe_common.c49 bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) in ixgbe_device_supports_autoneg_fc()
114 s32 ixgbe_setup_fc_generic(struct ixgbe_hw *hw) in ixgbe_setup_fc_generic()
270 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw) in ixgbe_start_hw_generic()
333 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) in ixgbe_start_hw_gen2()
357 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw) in ixgbe_init_hw_generic()
383 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs_generic()
492 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic()
602 s32 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr_generic()
656 s32 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw) in ixgbe_get_bus_info_generic()
680 void ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw) in ixgbe_set_lan_id_multi_port_pcie()
[all …]
Dixgbe_phy.c35 static s32 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) in ixgbe_out_i2c_byte_ack()
52 static s32 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) in ixgbe_in_i2c_byte_ack()
88 s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, in ixgbe_read_i2c_combined_generic_int()
166 s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, in ixgbe_write_i2c_combined_generic_int()
228 static bool ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) in ixgbe_probe_phy()
263 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) in ixgbe_identify_phy_generic()
314 bool ixgbe_check_reset_blocked(struct ixgbe_hw *hw) in ixgbe_check_reset_blocked()
336 static s32 ixgbe_get_phy_id(struct ixgbe_hw *hw) in ixgbe_get_phy_id()
395 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) in ixgbe_reset_phy_generic()
471 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, in ixgbe_read_phy_reg_mdi()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/igb/
De1000_82575.c69 static void igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta_i350()
88 static bool igb_sgmii_uses_mdio_82575(struct e1000_hw *hw) in igb_sgmii_uses_mdio_82575()
119 static s32 igb_check_for_link_media_swap(struct e1000_hw *hw) in igb_check_for_link_media_swap()
178 static s32 igb_init_phy_params_82575(struct e1000_hw *hw) in igb_init_phy_params_82575()
327 static s32 igb_init_nvm_params_82575(struct e1000_hw *hw) in igb_init_nvm_params_82575()
404 static s32 igb_init_mac_params_82575(struct e1000_hw *hw) in igb_init_mac_params_82575()
492 static s32 igb_set_sfp_media_type_82575(struct e1000_hw *hw) in igb_set_sfp_media_type_82575()
554 static s32 igb_get_invariants_82575(struct e1000_hw *hw) in igb_get_invariants_82575()
722 static s32 igb_acquire_phy_82575(struct e1000_hw *hw) in igb_acquire_phy_82575()
743 static void igb_release_phy_82575(struct e1000_hw *hw) in igb_release_phy_82575()
[all …]
De1000_phy.c38 s32 igb_check_reset_block(struct e1000_hw *hw) in igb_check_reset_block()
54 s32 igb_get_phy_id(struct e1000_hw *hw) in igb_get_phy_id()
87 static s32 igb_phy_reset_dsp(struct e1000_hw *hw) in igb_phy_reset_dsp()
113 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_mdic()
169 s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_mdic()
226 s32 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_i2c()
271 s32 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_i2c()
330 s32 igb_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) in igb_read_sfp_data_byte()
380 s32 igb_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_igp()
419 s32 igb_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_igp()
[all …]
De1000_mac.c25 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) in igb_get_bus_info_pcie()
71 void igb_clear_vfta(struct e1000_hw *hw) in igb_clear_vfta()
88 void igb_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta()
107 void igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in igb_init_rx_addrs()
132 static s32 igb_find_vlvf_slot(struct e1000_hw *hw, u32 vlan, bool vlvf_bypass) in igb_find_vlvf_slot()
173 s32 igb_vfta_set(struct e1000_hw *hw, u32 vlan, u32 vind, in igb_vfta_set()
286 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr()
355 void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) in igb_rar_set()
392 void igb_mta_set(struct e1000_hw *hw, u32 hash_value) in igb_mta_set()
425 static u32 igb_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in igb_hash_mc_addr()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ixgb/
Dixgb_ee.c27 ixgb_raise_clock(struct ixgb_hw *hw, in ixgb_raise_clock()
46 ixgb_lower_clock(struct ixgb_hw *hw, in ixgb_lower_clock()
66 ixgb_shift_out_bits(struct ixgb_hw *hw, in ixgb_shift_out_bits()
114 ixgb_shift_in_bits(struct ixgb_hw *hw) in ixgb_shift_in_bits()
157 ixgb_setup_eeprom(struct ixgb_hw *hw) in ixgb_setup_eeprom()
178 ixgb_standby_eeprom(struct ixgb_hw *hw) in ixgb_standby_eeprom()
215 ixgb_clock_eeprom(struct ixgb_hw *hw) in ixgb_clock_eeprom()
240 ixgb_cleanup_eeprom(struct ixgb_hw *hw) in ixgb_cleanup_eeprom()
265 ixgb_wait_eeprom_command(struct ixgb_hw *hw) in ixgb_wait_eeprom_command()
305 ixgb_validate_eeprom_checksum(struct ixgb_hw *hw) in ixgb_validate_eeprom_checksum()
[all …]
Dixgb_hw.c47 static u32 ixgb_mac_reset(struct ixgb_hw *hw) in ixgb_mac_reset()
98 ixgb_adapter_stop(struct ixgb_hw *hw) in ixgb_adapter_stop()
161 ixgb_identify_xpak_vendor(struct ixgb_hw *hw) in ixgb_identify_xpak_vendor()
201 ixgb_identify_phy(struct ixgb_hw *hw) in ixgb_identify_phy()
274 ixgb_init_hw(struct ixgb_hw *hw) in ixgb_init_hw()
359 ixgb_init_rx_addrs(struct ixgb_hw *hw) in ixgb_init_rx_addrs()
409 ixgb_mc_addr_list_update(struct ixgb_hw *hw, in ixgb_mc_addr_list_update()
473 ixgb_hash_mc_addr(struct ixgb_hw *hw, in ixgb_hash_mc_addr()
521 ixgb_mta_set(struct ixgb_hw *hw, in ixgb_mta_set()
553 ixgb_rar_set(struct ixgb_hw *hw, in ixgb_rar_set()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_controlq.c32 static void ice_adminq_init_regs(struct ice_hw *hw) in ice_adminq_init_regs()
45 static void ice_mailbox_init_regs(struct ice_hw *hw) in ice_mailbox_init_regs()
59 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_check_sq_alive()
76 ice_alloc_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_sq_ring()
107 ice_alloc_ctrlq_rq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_rq_ring()
128 static void ice_free_cq_ring(struct ice_hw *hw, struct ice_ctl_q_ring *ring) in ice_free_cq_ring()
143 ice_alloc_rq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_rq_bufs()
213 ice_alloc_sq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_sq_bufs()
254 ice_cfg_cq_regs(struct ice_hw *hw, struct ice_ctl_q_ring *ring, u16 num_entries) in ice_cfg_cq_regs()
280 ice_cfg_sq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_sq_regs()
[all …]
/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dhw.c46 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 …]
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_adminq.c16 static void iavf_adminq_init_regs(struct iavf_hw *hw) in iavf_adminq_init_regs()
35 static enum iavf_status iavf_alloc_adminq_asq_ring(struct iavf_hw *hw) in iavf_alloc_adminq_asq_ring()
62 static enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw) in iavf_alloc_adminq_arq_ring()
82 static void iavf_free_adminq_asq(struct iavf_hw *hw) in iavf_free_adminq_asq()
94 static void iavf_free_adminq_arq(struct iavf_hw *hw) in iavf_free_adminq_arq()
103 static enum iavf_status iavf_alloc_arq_bufs(struct iavf_hw *hw) in iavf_alloc_arq_bufs()
171 static enum iavf_status iavf_alloc_asq_bufs(struct iavf_hw *hw) in iavf_alloc_asq_bufs()
212 static void iavf_free_arq_bufs(struct iavf_hw *hw) in iavf_free_arq_bufs()
231 static void iavf_free_asq_bufs(struct iavf_hw *hw) in iavf_free_asq_bufs()
256 static enum iavf_status iavf_config_asq_regs(struct iavf_hw *hw) in iavf_config_asq_regs()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c18 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs()
50 static i40e_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring()
77 static i40e_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring()
97 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
109 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq()
118 static i40e_status i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs()
185 static i40e_status i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs()
225 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs()
244 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs()
269 static i40e_status i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c139 void dm_restorepowerindex(struct ieee80211_hw *hw) in dm_restorepowerindex()
150 void dm_writepowerindex(struct ieee80211_hw *hw, u8 value) in dm_writepowerindex()
160 void dm_savepowerindex(struct ieee80211_hw *hw) in dm_savepowerindex()
173 static u8 rtl92c_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw) in rtl92c_dm_initial_gain_min_pwdb()
201 static void rtl92c_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl92c_dm_false_alarm_counter_statistics()
257 static void rtl92c_dm_ctrl_initgain_by_fa(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_fa()
284 static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_rssi()
366 static void rtl92c_dm_initial_gain_multi_sta(struct ieee80211_hw *hw) in rtl92c_dm_initial_gain_multi_sta()
417 static void rtl92c_dm_initial_gain_sta(struct ieee80211_hw *hw) in rtl92c_dm_initial_gain_sta()
445 static void rtl92c_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl92c_dm_cck_packet_detection_thresh()
[all …]
/Linux-v5.4/drivers/misc/mei/
Dhw-txe.c63 static inline u32 mei_txe_sec_reg_read_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_read_silent()
79 static inline u32 mei_txe_sec_reg_read(struct mei_txe_hw *hw, in mei_txe_sec_reg_read()
95 static inline void mei_txe_sec_reg_write_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_write_silent()
110 static inline void mei_txe_sec_reg_write(struct mei_txe_hw *hw, in mei_txe_sec_reg_write()
124 static inline u32 mei_txe_br_reg_read(struct mei_txe_hw *hw, in mei_txe_br_reg_read()
137 static inline void mei_txe_br_reg_write(struct mei_txe_hw *hw, in mei_txe_br_reg_write()
160 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_set() local
185 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_req_get() local
202 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_get() local
221 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_poll() local
[all …]
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_hw.c106 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 …]
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c19 int atl1e_check_eeprom_exist(struct atl1e_hw *hw) in atl1e_check_eeprom_exist()
32 void atl1e_hw_set_mac_addr(struct atl1e_hw *hw) in atl1e_hw_set_mac_addr()
55 static int atl1e_get_permanent_address(struct atl1e_hw *hw) in atl1e_get_permanent_address()
97 bool atl1e_write_eeprom(struct atl1e_hw *hw, u32 offset, u32 value) in atl1e_write_eeprom()
102 bool atl1e_read_eeprom(struct atl1e_hw *hw, u32 offset, u32 *p_value) in atl1e_read_eeprom()
127 void atl1e_force_ps(struct atl1e_hw *hw) in atl1e_force_ps()
138 int atl1e_read_mac_addr(struct atl1e_hw *hw) in atl1e_read_mac_addr()
154 u32 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr) in atl1e_hash_mc_addr()
172 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value) in atl1e_hash_set()
200 int atl1e_read_phy_reg(struct atl1e_hw *hw, u16 reg_addr, u16 *phy_data) in atl1e_read_phy_reg()
[all …]

12345678910>>...54