/linux/sound/pci/ctxfi/ |
H A D | cthardware.h | 69 struct hw { struct 70 int (*card_init)(struct hw *hw, struct card_conf *info); argument 71 int (*card_stop)(struct hw *hw); argument 72 int (*pll_init)(struct hw *hw, unsigned int rsr); argument 74 int (*suspend)(struct hw *hw); argument 75 int (*resume)(struct hw *hw, struct card_conf *info); argument 77 int (*is_adc_source_selected)(struct hw *hw, enum ADCSRC source); argument 78 int (*select_adc_source)(struct hw *hw, enum ADCSRC source); argument 79 struct capabilities (*capabilities)(struct hw *hw); argument 80 int (*output_switch_get)(struct hw *hw); argument [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.c | 30 static int aq_mss_mdio_sem_get(struct aq_hw_s *hw) in aq_mss_mdio_sem_get() 38 static void aq_mss_mdio_sem_put(struct aq_hw_s *hw) in aq_mss_mdio_sem_put() 43 static int aq_mss_mdio_read(struct aq_hw_s *hw, u16 mmd, u16 addr, u16 *data) in aq_mss_mdio_read() 49 static int aq_mss_mdio_write(struct aq_hw_s *hw, u16 mmd, u16 addr, u16 data) in aq_mss_mdio_write() 59 static int set_raw_ingress_record(struct aq_hw_s *hw, u16 *packed_record, in set_raw_ingress_record() 120 static int get_raw_ingress_record(struct aq_hw_s *hw, u16 *packed_record, in get_raw_ingress_record() 169 static int set_raw_egress_record(struct aq_hw_s *hw, u16 *packed_record, in set_raw_egress_record() 213 static int get_raw_egress_record(struct aq_hw_s *hw, u16 *packed_record, in get_raw_egress_record() 262 set_ingress_prectlf_record(struct aq_hw_s *hw, in set_ingress_prectlf_record() 286 int aq_mss_set_ingress_prectlf_record(struct aq_hw_s *hw, in aq_mss_set_ingress_prectlf_record() [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 92 static s32 e1000_set_phy_type(struct e1000_hw *hw) in e1000_set_phy_type() 131 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() 525 s32 e1000_init_hw(struct e1000_hw *hw) in e1000_init_hw() 643 static s32 e1000_adjust_serdes_amplitude(struct e1000_hw *hw) in e1000_adjust_serdes_amplitude() 686 s32 e1000_setup_link(struct e1000_hw *hw) in e1000_setup_link() 799 static s32 e1000_setup_fiber_serdes_link(struct e1000_hw *hw) in e1000_setup_fiber_serdes_link() 941 static s32 e1000_copper_link_rtl_setup(struct e1000_hw *hw) in e1000_copper_link_rtl_setup() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | 82571.c | 45 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() 191 static s32 e1000_init_mac_params_82571(struct e1000_hw *hw) in e1000_init_mac_params_82571() 314 struct e1000_hw *hw = &adapter->hw; in e1000_get_variants_82571() local 387 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw) in e1000_get_phy_id_82571() 433 static s32 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) in e1000_get_hw_semaphore_82571() 492 static void e1000_put_hw_semaphore_82571(struct e1000_hw *hw) in e1000_put_hw_semaphore_82571() 508 static s32 e1000_get_hw_semaphore_82573(struct e1000_hw *hw) in e1000_get_hw_semaphore_82573() 543 static void e1000_put_hw_semaphore_82573(struct e1000_hw *hw) in e1000_put_hw_semaphore_82573() 561 static s32 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) in e1000_get_hw_semaphore_82574() [all …]
|
H A D | mac.c | 16 s32 e1000e_get_bus_info_pcie(struct e1000_hw *hw) in e1000e_get_bus_info_pcie() 44 void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) in e1000_set_lan_id_multi_port_pcie() 62 void e1000_set_lan_id_single_port(struct e1000_hw *hw) in e1000_set_lan_id_single_port() 76 void e1000_clear_vfta_generic(struct e1000_hw *hw) in e1000_clear_vfta_generic() 95 void e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta_generic() 110 void e1000e_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in e1000e_init_rx_addrs() 138 s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) in e1000_check_alt_mac_addr_generic() 194 u32 e1000e_rar_get_count_generic(struct e1000_hw *hw) in e1000e_rar_get_count_generic() 208 int e1000e_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) in e1000e_rar_set_generic() 244 static u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr() [all …]
|
H A D | phy.c | 44 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw) in e1000e_check_reset_block_generic() 60 s32 e1000e_get_phy_id(struct e1000_hw *hw) in e1000e_get_phy_id() 99 s32 e1000e_phy_reset_dsp(struct e1000_hw *hw) in e1000e_phy_reset_dsp() 110 void e1000e_disable_phy_retry(struct e1000_hw *hw) in e1000e_disable_phy_retry() 115 void e1000e_enable_phy_retry(struct e1000_hw *hw) in e1000e_enable_phy_retry() 129 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic() 208 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic() 288 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88() 313 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88() 338 s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page) in e1000_set_page_igp() [all …]
|
H A D | 80003es2lan.c | 38 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() 114 static s32 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) in e1000_init_mac_params_80003es2lan() 153 struct e1000_hw *hw = &adapter->hw; in e1000_get_variants_80003es2lan() local 177 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) in e1000_acquire_phy_80003es2lan() 191 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw) in e1000_release_phy_80003es2lan() 206 static s32 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_acquire_mac_csr_80003es2lan() 221 static void e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) in e1000_release_mac_csr_80003es2lan() 236 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) in e1000_acquire_nvm_80003es2lan() 258 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw) in e1000_release_nvm_80003es2lan() [all …]
|
H A D | ich8lan.c | 141 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() 254 static void e1000_toggle_lanphypc_pch_lpt(struct e1000_hw *hw) in e1000_toggle_lanphypc_pch_lpt() 296 static s32 e1000_reconfigure_k1_exit_timeout(struct e1000_hw *hw) in e1000_reconfigure_k1_exit_timeout() 334 static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) in e1000_init_phy_workarounds_pchlan() 501 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw) in e1000_init_phy_params_pchlan() 596 static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) in e1000_init_phy_params_ich8lan() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hal_btc.c | 14 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() 79 static bool rtl8723e_dm_bt_is_wifi_busy(struct ieee80211_hw *hw) in rtl8723e_dm_bt_is_wifi_busy() 90 static void rtl8723e_dm_bt_set_fw_3a(struct ieee80211_hw *hw, in rtl8723e_dm_bt_set_fw_3a() 110 static bool rtl8723e_dm_bt_need_to_dec_bt_pwr(struct ieee80211_hw *hw) in rtl8723e_dm_bt_need_to_dec_bt_pwr() 126 static bool rtl8723e_dm_bt_is_same_coexist_state(struct ieee80211_hw *hw) in rtl8723e_dm_bt_is_same_coexist_state() 144 static void rtl8723e_dm_bt_set_coex_table(struct ieee80211_hw *hw, in rtl8723e_dm_bt_set_coex_table() 163 static void rtl8723e_dm_bt_set_hw_pta_mode(struct ieee80211_hw *hw, bool b_mode) in rtl8723e_dm_bt_set_hw_pta_mode() 178 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 …]
|
H A D | dm.c | 16 static u8 rtl8723e_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_min_pwdb() 49 static void rtl8723e_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl8723e_dm_false_alarm_counter_statistics() 97 static void rtl92c_dm_ctrl_initgain_by_fa(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_fa() 122 static void rtl92c_dm_ctrl_initgain_by_rssi(struct ieee80211_hw *hw) in rtl92c_dm_ctrl_initgain_by_rssi() 160 static void rtl8723e_dm_initial_gain_multi_sta(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_multi_sta() 210 static void rtl8723e_dm_initial_gain_sta(struct ieee80211_hw *hw) in rtl8723e_dm_initial_gain_sta() 238 static void rtl8723e_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl8723e_dm_cck_packet_detection_thresh() 304 static void rtl8723e_dm_ctrl_initgain_by_twoport(struct ieee80211_hw *hw) in rtl8723e_dm_ctrl_initgain_by_twoport() 326 static void rtl8723e_dm_dig(struct ieee80211_hw *hw) in rtl8723e_dm_dig() 340 static void rtl8723e_dm_dynamic_txpower(struct ieee80211_hw *hw) in rtl8723e_dm_dynamic_txpower() [all …]
|
/linux/drivers/clk/sophgo/ |
H A D | clk-cv18xx-ip.c | 14 static inline struct cv1800_clk_gate *hw_to_cv1800_clk_gate(struct clk_hw *hw) in hw_to_cv1800_clk_gate() 21 static int gate_enable(struct clk_hw *hw) in gate_enable() 28 static void gate_disable(struct clk_hw *hw) in gate_disable() 35 static int gate_is_enabled(struct clk_hw *hw) in gate_is_enabled() 42 static unsigned long gate_recalc_rate(struct clk_hw *hw, in gate_recalc_rate() 48 static long gate_round_rate(struct clk_hw *hw, unsigned long rate, in gate_round_rate() 54 static int gate_set_rate(struct clk_hw *hw, unsigned long rate, in gate_set_rate() 79 static inline struct cv1800_clk_div *hw_to_cv1800_clk_div(struct clk_hw *hw) in hw_to_cv1800_clk_div() 86 static int div_enable(struct clk_hw *hw) in div_enable() 93 static void div_disable(struct clk_hw *hw) in div_disable() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_82575.c | 69 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() 326 static s32 igb_init_nvm_params_82575(struct e1000_hw *hw) in igb_init_nvm_params_82575() 402 static s32 igb_init_mac_params_82575(struct e1000_hw *hw) in igb_init_mac_params_82575() 490 static s32 igb_set_sfp_media_type_82575(struct e1000_hw *hw) in igb_set_sfp_media_type_82575() 552 static s32 igb_get_invariants_82575(struct e1000_hw *hw) in igb_get_invariants_82575() 716 static s32 igb_acquire_phy_82575(struct e1000_hw *hw) in igb_acquire_phy_82575() 737 static void igb_release_phy_82575(struct e1000_hw *hw) in igb_release_phy_82575() [all …]
|
H A D | e1000_phy.c | 38 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 …]
|
H A D | e1000_mac.c | 26 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() 174 s32 igb_vfta_set(struct e1000_hw *hw, u32 vlan, u32 vind, in igb_vfta_set() 287 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr() 356 void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) in igb_rar_set() 393 void igb_mta_set(struct e1000_hw *hw, u32 hash_value) in igb_mta_set() 426 static u32 igb_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in igb_hash_mc_addr() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_controlq.c | 34 static void ice_adminq_init_regs(struct ice_hw *hw) in ice_adminq_init_regs() 47 static void ice_mailbox_init_regs(struct ice_hw *hw) in ice_mailbox_init_regs() 60 static void ice_sb_init_regs(struct ice_hw *hw) in ice_sb_init_regs() 74 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_check_sq_alive() 91 ice_alloc_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_sq_ring() 111 ice_alloc_ctrlq_rq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_rq_ring() 132 static void ice_free_cq_ring(struct ice_hw *hw, struct ice_ctl_q_ring *ring) in ice_free_cq_ring() 147 ice_alloc_rq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_rq_bufs() 219 ice_alloc_sq_bufs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_sq_bufs() 262 ice_cfg_cq_regs(struct ice_hw *hw, struct ice_ctl_q_ring *ring, u16 num_entries) in ice_cfg_cq_regs() [all …]
|
/linux/drivers/net/ethernet/atheros/alx/ |
H A 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 …]
|
/linux/drivers/vdpa/ifcvf/ |
H A D | ifcvf_base.c | 13 u16 ifcvf_set_vq_vector(struct ifcvf_hw *hw, u16 qid, int vector) in ifcvf_set_vq_vector() 23 u16 ifcvf_set_config_vector(struct ifcvf_hw *hw, int vector) in ifcvf_set_config_vector() 32 static void __iomem *get_cap_addr(struct ifcvf_hw *hw, in get_cap_addr() 72 u16 ifcvf_get_vq_size(struct ifcvf_hw *hw, u16 qid) in ifcvf_get_vq_size() 85 u16 ifcvf_get_max_vq_size(struct ifcvf_hw *hw) in ifcvf_get_max_vq_size() 102 int ifcvf_init_hw(struct ifcvf_hw *hw, struct pci_dev *pdev) in ifcvf_init_hw() 194 u8 ifcvf_get_status(struct ifcvf_hw *hw) in ifcvf_get_status() 199 void ifcvf_set_status(struct ifcvf_hw *hw, u8 status) in ifcvf_set_status() 204 void ifcvf_reset(struct ifcvf_hw *hw) in ifcvf_reset() 211 u64 ifcvf_get_hw_features(struct ifcvf_hw *hw) in ifcvf_get_hw_features() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H A D | dm_common.c | 139 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/drivers/scsi/csiostor/ |
H A 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 …]
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 19 int atl1c_check_eeprom_exist(struct atl1c_hw *hw) in atl1c_check_eeprom_exist() 33 void atl1c_hw_set_mac_addr(struct atl1c_hw *hw, u8 *mac_addr) in atl1c_hw_set_mac_addr() 53 static bool atl1c_read_current_addr(struct atl1c_hw *hw, u8 *eth_addr) in atl1c_read_current_addr() 70 static int atl1c_get_permanent_address(struct atl1c_hw *hw) in atl1c_get_permanent_address() 140 bool atl1c_read_eeprom(struct atl1c_hw *hw, u32 offset, u32 *p_value) in atl1c_read_eeprom() 183 int atl1c_read_mac_addr(struct atl1c_hw *hw) in atl1c_read_mac_addr() 203 u32 atl1c_hash_mc_addr(struct atl1c_hw *hw, u8 *mc_addr) in atl1c_hash_mc_addr() 221 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) in atl1c_hash_set() 250 bool atl1c_wait_mdio_idle(struct atl1c_hw *hw) in atl1c_wait_mdio_idle() 265 void atl1c_stop_phy_polling(struct atl1c_hw *hw) in atl1c_stop_phy_polling() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
H A D | hw.c | 19 static void _rtl92du_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl92du_set_bcn_ctrl_reg() 30 static void _rtl92du_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92du_enable_bcn_sub_func() 35 static void _rtl92du_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92du_disable_bcn_sub_func() 40 void rtl92du_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92du_get_hw_reg() 54 void rtl92du_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92du_set_hw_reg() 176 static void _rtl92du_init_queue_reserved_page(struct ieee80211_hw *hw, in _rtl92du_init_queue_reserved_page() 232 static void _rtl92du_init_tx_buffer_boundary(struct ieee80211_hw *hw, in _rtl92du_init_tx_buffer_boundary() 249 static bool _rtl92du_llt_table_init(struct ieee80211_hw *hw, u8 txpktbuf_bndy) in _rtl92du_llt_table_init() 291 static void _rtl92du_init_chipn_reg_priority(struct ieee80211_hw *hw, u16 beq, in _rtl92du_init_chipn_reg_priority() 308 static void _rtl92du_init_chipn_one_out_ep_priority(struct ieee80211_hw *hw, in _rtl92du_init_chipn_one_out_ep_priority() [all …]
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adminq.c | 14 static enum iavf_status iavf_alloc_adminq_asq_ring(struct iavf_hw *hw) in iavf_alloc_adminq_asq_ring() 41 static enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw) in iavf_alloc_adminq_arq_ring() 61 static void iavf_free_adminq_asq(struct iavf_hw *hw) in iavf_free_adminq_asq() 73 static void iavf_free_adminq_arq(struct iavf_hw *hw) in iavf_free_adminq_arq() 82 static enum iavf_status iavf_alloc_arq_bufs(struct iavf_hw *hw) in iavf_alloc_arq_bufs() 150 static enum iavf_status iavf_alloc_asq_bufs(struct iavf_hw *hw) in iavf_alloc_asq_bufs() 191 static void iavf_free_arq_bufs(struct iavf_hw *hw) in iavf_free_arq_bufs() 210 static void iavf_free_asq_bufs(struct iavf_hw *hw) in iavf_free_asq_bufs() 235 static enum iavf_status iavf_config_asq_regs(struct iavf_hw *hw) in iavf_config_asq_regs() 264 static enum iavf_status iavf_config_arq_regs(struct iavf_hw *hw) in iavf_config_arq_regs() [all …]
|
/linux/drivers/clk/at91/ |
H A D | clk-main.c | 29 struct clk_hw hw; member 34 #define to_clk_main_osc(hw) container_of(hw, struct clk_main_osc, hw) argument 37 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 60 #define to_clk_sam9x5_main(hw) container_of(hw, struct clk_sam9x5_main, hw) argument 71 static int clk_main_osc_prepare(struct clk_hw *hw) in clk_main_osc_prepare() 94 static void clk_main_osc_unprepare(struct clk_hw *hw) in clk_main_osc_unprepare() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | hw.c | 23 static void _rtl92ee_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl92ee_set_bcn_ctrl_reg() 35 static void _rtl92ee_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl92ee_stop_tx_beacon() 48 static void _rtl92ee_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl92ee_resume_tx_beacon() 61 static void _rtl92ee_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92ee_enable_bcn_sub_func() 66 static void _rtl92ee_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92ee_disable_bcn_sub_func() 71 static void _rtl92ee_set_fw_clock_on(struct ieee80211_hw *hw, in _rtl92ee_set_fw_clock_on() 142 static void _rtl92ee_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl92ee_set_fw_clock_off() 197 static void _rtl92ee_set_fw_ps_rf_on(struct ieee80211_hw *hw) in _rtl92ee_set_fw_ps_rf_on() 205 static void _rtl92ee_set_fw_ps_rf_off_low_power(struct ieee80211_hw *hw) in _rtl92ee_set_fw_ps_rf_off_low_power() 215 struct ieee80211_hw *hw = (struct ieee80211_hw *)data; in rtl92ee_fw_clk_off_timer_callback() local [all …]
|
/linux/drivers/clk/mediatek/ |
H A D | clk-gate.c | 18 struct clk_hw hw; member 26 static inline struct mtk_clk_gate *to_mtk_clk_gate(struct clk_hw *hw) in to_mtk_clk_gate() 31 static u32 mtk_get_clockgating(struct clk_hw *hw) in mtk_get_clockgating() 41 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared() 46 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set() 51 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit() 58 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit() 65 static void mtk_cg_set_bit_no_setclr(struct clk_hw *hw) in mtk_cg_set_bit_no_setclr() 72 static void mtk_cg_clr_bit_no_setclr(struct clk_hw *hw) in mtk_cg_clr_bit_no_setclr() 79 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable() [all …]
|