| /linux/sound/pci/ctxfi/ |
| H A D | cthardware.h | 71 struct hw { argument 72 int (*card_init)(struct hw *hw, struct card_conf *info); argument 74 int (*pll_init)(struct hw *hw, unsigned int rsr); argument 77 int (*resume)(struct hw *h argument 69 struct hw { global() struct 70 card_inithw global() argument 75 resumehw global() argument 78 select_adc_sourcehw global() argument 79 capabilitieshw global() argument 80 output_switch_gethw global() argument 81 output_switch_puthw global() argument 82 mic_source_switch_gethw global() argument 83 mic_source_switch_puthw global() argument 108 src_commit_writehw global() argument 109 src_get_cahw global() argument 120 src_mgr_commit_writehw global() argument 129 srcimp_mgr_commit_writehw global() argument 144 amixer_commit_writehw global() argument 157 dai_commit_writehw global() argument 161 dao_commit_writehw global() argument 164 daio_mgr_get_ctrl_blkhw global() argument 175 daio_mgr_commit_writehw global() argument 177 set_timer_irqhw global() argument 178 set_timer_tickhw global() argument 179 get_wchw global() argument 195 modelhw global() 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/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() 298 static s32 e1000_reconfigure_k1_params(struct e1000_hw *hw) in e1000_reconfigure_k1_params() 341 static s32 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) in e1000_init_phy_workarounds_pchlan() 508 static s32 e1000_init_phy_params_pchlan(struct e1000_hw *hw) in e1000_init_phy_params_pchlan() 603 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/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 …]
|
| H A D | ice_common.c | 97 ice_dump_phy_type(struct ice_hw *hw, u64 low, u64 high, const char *prefix) in ice_dump_phy_type() 123 static int ice_set_mac_type(struct ice_hw *hw) in ice_set_mac_type() 200 bool ice_is_generic_mac(struct ice_hw *hw) in ice_is_generic_mac() 213 int ice_clear_pf_cfg(struct ice_hw *hw) in ice_clear_pf_cfg() 238 ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size, in ice_aq_manage_mac_read() 299 struct ice_hw *hw; in ice_aq_get_phy_caps() local 418 ice_aq_get_netlist_node(struct ice_hw *hw, struct ice_aqc_get_link_topo *cmd, in ice_aq_get_netlist_node() 458 static int ice_find_netlist_node(struct ice_hw *hw, u8 node_type, u8 ctx, in ice_find_netlist_node() 628 static u16 ice_get_link_status_datalen(struct ice_hw *hw) in ice_get_link_status_datalen() 659 struct ice_hw *hw; in ice_aq_get_link_info() local [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/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_e610.c | 58 static int ixgbe_aci_send_cmd_execute(struct ixgbe_hw *hw, in ixgbe_aci_send_cmd_execute() 210 int ixgbe_aci_send_cmd(struct ixgbe_hw *hw, struct libie_aq_desc *desc, in ixgbe_aci_send_cmd() 265 bool ixgbe_aci_check_event_pending(struct ixgbe_hw *hw) in ixgbe_aci_check_event_pending() 286 int ixgbe_aci_get_event(struct ixgbe_hw *hw, struct ixgbe_aci_event *e, in ixgbe_aci_get_event() 354 static int ixgbe_aci_get_fw_ver(struct ixgbe_hw *hw) in ixgbe_aci_get_fw_ver() 396 static int ixgbe_aci_req_res(struct ixgbe_hw *hw, enum libie_aq_res_id res, in ixgbe_aci_req_res() 436 static int ixgbe_aci_release_res(struct ixgbe_hw *hw, enum libie_aq_res_id res, in ixgbe_aci_release_res() 468 int ixgbe_acquire_res(struct ixgbe_hw *hw, enum libie_aq_res_id res, in ixgbe_acquire_res() 517 void ixgbe_release_res(struct ixgbe_hw *hw, enum libie_aq_res_id res) in ixgbe_release_res() 548 static bool ixgbe_parse_e610_caps(struct ixgbe_hw *hw, in ixgbe_parse_e610_caps() [all …]
|
| /linux/drivers/clk/mediatek/ |
| H A D | clk-gate.c | 20 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() 73 static void mtk_cg_clr_bit_no_setclr(struct clk_hw *hw) in mtk_cg_clr_bit_no_setclr() 81 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable() [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| 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/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/intel/i40e/ |
| H A D | i40e_adminq.c | 15 static int i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring() 41 static int i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring() 60 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq() 72 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq() 81 static int i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs() 147 static int i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs() 186 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs() 205 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs() 230 static int i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs() 259 static int i40e_config_arq_regs(struct i40e_hw *hw) in i40e_config_arq_regs() [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/ethernet/intel/ixgbevf/ |
| H A D | vf.c | 13 static inline s32 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, in ixgbevf_write_msg_read_ack() 33 static s32 ixgbevf_start_hw_vf(struct ixgbe_hw *hw) in ixgbevf_start_hw_vf() 48 static s32 ixgbevf_init_hw_vf(struct ixgbe_hw *hw) in ixgbevf_init_hw_vf() 64 static s32 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_reset_hw_vf() 132 static s32 ixgbevf_hv_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_hv_reset_hw_vf() 158 static s32 ixgbevf_stop_hw_vf(struct ixgbe_hw *hw) in ixgbevf_stop_hw_vf() 212 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector() 243 static s32 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbevf_get_mac_addr_vf() 250 static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_set_uc_addr_vf() 281 static s32 ixgbevf_hv_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_hv_set_uc_addr_vf() [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 …]
|