Home
last modified time | relevance | path

Searched defs:hw (Results 1 – 200 of 967) sorted by relevance

12345

/linux-4.4.14/sound/pci/ctxfi/
Dcthardware.h72 struct hw { struct
73 int (*card_init)(struct hw *hw, struct card_conf *info); argument
74 int (*card_stop)(struct hw *hw); argument
75 int (*pll_init)(struct hw *hw, unsigned int rsr); argument
77 int (*suspend)(struct hw *hw); argument
78 int (*resume)(struct hw *hw, struct card_conf *info); argument
80 int (*is_adc_source_selected)(struct hw *hw, enum ADCSRC source); argument
81 int (*select_adc_source)(struct hw *hw, enum ADCSRC source); argument
82 struct capabilities (*capabilities)(struct hw *hw); argument
83 int (*output_switch_get)(struct hw *hw); argument
[all …]
Dctsrc.c40 struct hw *hw; in src_set_state() local
50 struct hw *hw; in src_set_bm() local
60 struct hw *hw; in src_set_sf() local
70 struct hw *hw; in src_set_pm() local
80 struct hw *hw; in src_set_rom() local
90 struct hw *hw; in src_set_vo() local
100 struct hw *hw; in src_set_st() local
110 struct hw *hw; in src_set_bp() local
120 struct hw *hw; in src_set_cisz() local
130 struct hw *hw; in src_set_ca() local
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
D82571.c63 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 …]
Dmac.c32 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 …]
Dphy.c61 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 …]
D80003es2lan.c56 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 …]
Dich8lan.c159 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 …]
Dnvm.c31 static void e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_raise_eec_clk()
46 static void e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in e1000_lower_eec_clk()
64 static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in e1000_shift_out_eec_bits()
106 static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in e1000_shift_in_eec_bits()
140 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in e1000e_poll_eerd_eewr_done()
168 s32 e1000e_acquire_nvm(struct e1000_hw *hw) in e1000e_acquire_nvm()
200 static void e1000_standby_nvm(struct e1000_hw *hw) in e1000_standby_nvm()
224 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
242 void e1000e_release_nvm(struct e1000_hw *hw) in e1000e_release_nvm()
259 static s32 e1000_ready_nvm_eeprom(struct e1000_hw *hw) in e1000_ready_nvm_eeprom()
[all …]
Dmanage.c56 static s32 e1000_mng_enable_host_if(struct e1000_hw *hw) in e1000_mng_enable_host_if()
95 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw) in e1000e_check_mng_mode_generic()
110 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw) in e1000e_enable_tx_pkt_filtering()
168 static s32 e1000_mng_write_cmd_header(struct e1000_hw *hw, in e1000_mng_write_cmd_header()
199 static s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write()
267 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length) in e1000e_mng_write_dhcp_info()
309 bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw) in e1000e_enable_mng_pass_thru()
Dnetdev.c139 s32 __ew32_prepare(struct e1000_hw *hw) in __ew32_prepare()
149 void __ew32(struct e1000_hw *hw, unsigned long reg, u32 val) in __ew32()
162 static void e1000_regdump(struct e1000_hw *hw, struct e1000_reg_info *reginfo) in e1000_regdump()
216 struct e1000_hw *hw = &adapter->hw; in e1000e_dump() local
539 struct e1000_hw *hw = &adapter->hw; in e1000e_rx_hwtstamp() local
626 struct e1000_hw *hw = &adapter->hw; in e1000e_update_rdt_wa() local
643 struct e1000_hw *hw = &adapter->hw; in e1000e_update_tdt_wa() local
930 struct e1000_hw *hw = &adapter->hw; in e1000_clean_rx_irq() local
1103 struct e1000_hw *hw = &adapter->hw; in e1000_print_hw_hang() local
1182 struct e1000_hw *hw = &adapter->hw; in e1000e_tx_hwtstamp_work() local
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_hw.c116 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()
713 s32 e1000_setup_link(struct e1000_hw *hw) in e1000_setup_link()
826 static s32 e1000_setup_fiber_serdes_link(struct e1000_hw *hw) in e1000_setup_fiber_serdes_link()
968 static s32 e1000_copper_link_rtl_setup(struct e1000_hw *hw) in e1000_copper_link_rtl_setup()
[all …]
De1000_ethtool.c110 struct e1000_hw *hw = &adapter->hw; in e1000_get_settings() local
192 struct e1000_hw *hw = &adapter->hw; in e1000_set_settings() local
272 struct e1000_hw *hw = &adapter->hw; in e1000_get_pauseparam() local
291 struct e1000_hw *hw = &adapter->hw; in e1000_set_pauseparam() local
349 struct e1000_hw *hw = &adapter->hw; in e1000_get_regs() local
436 struct e1000_hw *hw = &adapter->hw; in e1000_get_eeprom_len() local
445 struct e1000_hw *hw = &adapter->hw; in e1000_get_eeprom() local
492 struct e1000_hw *hw = &adapter->hw; in e1000_set_eeprom() local
568 struct e1000_hw *hw = &adapter->hw; in e1000_get_ringparam() local
585 struct e1000_hw *hw = &adapter->hw; in e1000_set_ringparam() local
[all …]
De1000_main.c237 struct net_device *e1000_get_hw_dev(struct e1000_hw *hw) in e1000_get_hw_dev()
311 struct e1000_hw *hw = &adapter->hw; in e1000_irq_disable() local
324 struct e1000_hw *hw = &adapter->hw; in e1000_irq_enable() local
332 struct e1000_hw *hw = &adapter->hw; in e1000_update_mng_vlan() local
360 struct e1000_hw *hw = &adapter->hw; in e1000_init_manageability() local
374 struct e1000_hw *hw = &adapter->hw; in e1000_release_manageability() local
416 struct e1000_hw *hw = &adapter->hw; in e1000_up() local
444 struct e1000_hw *hw = &adapter->hw; in e1000_power_up_phy() local
460 struct e1000_hw *hw = &adapter->hw; in e1000_power_down_phy() local
520 struct e1000_hw *hw = &adapter->hw; in e1000_down() local
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_ee.c52 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 …]
Dixgb_hw.c72 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 …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c35 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 …]
Ddm.c150 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 …]
Dhal_bt_coexist.c36 void rtl8723e_dm_bt_reject_ap_aggregated_packet(struct ieee80211_hw *hw, in rtl8723e_dm_bt_reject_ap_aggregated_packet()
41 void _rtl8723_dm_bt_check_wifi_state(struct ieee80211_hw *hw) in _rtl8723_dm_bt_check_wifi_state()
101 u8 rtl8723e_dm_bt_check_coex_rssi_state1(struct ieee80211_hw *hw, in rtl8723e_dm_bt_check_coex_rssi_state1()
229 u8 rtl8723e_dm_bt_check_coex_rssi_state(struct ieee80211_hw *hw, in rtl8723e_dm_bt_check_coex_rssi_state()
355 long rtl8723e_dm_bt_get_rx_ss(struct ieee80211_hw *hw) in rtl8723e_dm_bt_get_rx_ss()
374 void rtl8723e_dm_bt_balance(struct ieee80211_hw *hw, in rtl8723e_dm_bt_balance()
401 void rtl8723e_dm_bt_agc_table(struct ieee80211_hw *hw, u8 type) in rtl8723e_dm_bt_agc_table()
448 void rtl8723e_dm_bt_bb_back_off_level(struct ieee80211_hw *hw, u8 type) in rtl8723e_dm_bt_bb_back_off_level()
464 void rtl8723e_dm_bt_fw_coex_all_off(struct ieee80211_hw *hw) in rtl8723e_dm_bt_fw_coex_all_off()
479 void rtl8723e_dm_bt_sw_coex_all_off(struct ieee80211_hw *hw) in rtl8723e_dm_bt_sw_coex_all_off()
[all …]
Dphy.c55 u32 rtl8723e_phy_query_rf_reg(struct ieee80211_hw *hw, in rtl8723e_phy_query_rf_reg()
87 void rtl8723e_phy_set_rf_reg(struct ieee80211_hw *hw, in rtl8723e_phy_set_rf_reg()
132 static void _rtl8723e_phy_fw_rf_serial_write(struct ieee80211_hw *hw, in _rtl8723e_phy_fw_rf_serial_write()
139 static void _rtl8723e_phy_bb_config_1t(struct ieee80211_hw *hw) in _rtl8723e_phy_bb_config_1t()
153 bool rtl8723e_phy_mac_config(struct ieee80211_hw *hw) in rtl8723e_phy_mac_config()
161 bool rtl8723e_phy_bb_config(struct ieee80211_hw *hw) in rtl8723e_phy_bb_config()
200 bool rtl8723e_phy_rf_config(struct ieee80211_hw *hw) in rtl8723e_phy_rf_config()
205 static bool _rtl8723e_phy_bb8192c_config_parafile(struct ieee80211_hw *hw) in _rtl8723e_phy_bb8192c_config_parafile()
246 static bool _rtl8723e_phy_config_mac_with_headerfile(struct ieee80211_hw *hw) in _rtl8723e_phy_config_mac_with_headerfile()
264 static bool _rtl8723e_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, in _rtl8723e_phy_config_bb_with_headerfile()
[all …]
Dhw.c49 static void _rtl8723e_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl8723e_set_bcn_ctrl_reg()
61 static void _rtl8723e_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl8723e_stop_tx_beacon()
74 static void _rtl8723e_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl8723e_resume_tx_beacon()
87 static void _rtl8723e_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8723e_enable_bcn_sub_func()
92 static void _rtl8723e_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8723e_disable_bcn_sub_func()
97 void rtl8723e_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl8723e_get_hw_reg()
151 void rtl8723e_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl8723e_set_hw_reg()
554 static bool _rtl8723e_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) in _rtl8723e_llt_write()
581 static bool _rtl8723e_llt_table_init(struct ieee80211_hw *hw) in _rtl8723e_llt_table_init()
662 static void _rtl8723e_gen_refresh_led_state(struct ieee80211_hw *hw) in _rtl8723e_gen_refresh_led_state()
[all …]
Dled.c35 static void _rtl8723e_init_led(struct ieee80211_hw *hw, in _rtl8723e_init_led()
43 void rtl8723e_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723e_sw_led_on()
72 void rtl8723e_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723e_sw_led_off()
114 void rtl8723e_init_sw_leds(struct ieee80211_hw *hw) in rtl8723e_init_sw_leds()
121 static void _rtl8723e_sw_led_control(struct ieee80211_hw *hw, in _rtl8723e_sw_led_control()
140 void rtl8723e_led_control(struct ieee80211_hw *hw, in rtl8723e_led_control()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c29 static s32 ixgbe_get_invariants_X550_x(struct ixgbe_hw *hw) in ixgbe_get_invariants_X550_x()
46 static void ixgbe_setup_mux_ctl(struct ixgbe_hw *hw) in ixgbe_setup_mux_ctl()
67 static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value) in ixgbe_read_cs4227()
81 static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value) in ixgbe_write_cs4227()
96 static s32 ixgbe_check_cs4227_reg(struct ixgbe_hw *hw, u16 reg) in ixgbe_check_cs4227_reg()
129 static s32 ixgbe_get_cs4227_status(struct ixgbe_hw *hw) in ixgbe_get_cs4227_status()
168 static s32 ixgbe_read_pe(struct ixgbe_hw *hw, u8 reg, u8 *value) in ixgbe_read_pe()
186 static s32 ixgbe_write_pe(struct ixgbe_hw *hw, u8 reg, u8 value) in ixgbe_write_pe()
204 static s32 ixgbe_reset_cs4227(struct ixgbe_hw *hw) in ixgbe_reset_cs4227()
273 static void ixgbe_check_cs4227(struct ixgbe_hw *hw) in ixgbe_check_cs4227()
[all …]
Dixgbe_common.c74 bool ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) in ixgbe_device_supports_autoneg_fc()
119 static s32 ixgbe_setup_fc(struct ixgbe_hw *hw) in ixgbe_setup_fc()
275 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw) in ixgbe_start_hw_generic()
319 s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) in ixgbe_start_hw_gen2()
362 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw) in ixgbe_init_hw_generic()
384 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs_generic()
493 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, in ixgbe_read_pba_string_generic()
603 s32 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr_generic()
657 s32 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw) in ixgbe_get_bus_info_generic()
681 void ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw) in ixgbe_set_lan_id_multi_port_pcie()
[all …]
Dixgbe_phy.c59 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 …]
Dixgbe_mbx.c43 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx()
66 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx()
86 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_msg()
103 s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_ack()
120 s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_check_for_rst()
137 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_msg()
162 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) in ixgbe_poll_for_ack()
190 static s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_posted_mbx()
217 static s32 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_posted_mbx()
236 static s32 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) in ixgbe_check_for_bit_pf()
[all …]
Dixgbe_82599.c69 bool ixgbe_mng_enabled(struct ixgbe_hw *hw) in ixgbe_mng_enabled()
88 static void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_mac_link_ops_82599()
126 static s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw) in ixgbe_setup_sfp_modules_82599()
201 static s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, in prot_autoc_read_82599()
231 static s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 autoc, bool locked) in prot_autoc_write_82599()
265 static s32 ixgbe_get_invariants_82599(struct ixgbe_hw *hw) in ixgbe_get_invariants_82599()
291 static s32 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_phy_ops_82599()
352 static s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, in ixgbe_get_link_capabilities_82599()
453 static enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw) in ixgbe_get_media_type_82599()
507 static void ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw) in ixgbe_stop_mac_link_on_d3_82599()
[all …]
Dixgbe_x540.c49 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw) in ixgbe_get_media_type_X540()
54 s32 ixgbe_get_invariants_X540(struct ixgbe_hw *hw) in ixgbe_get_invariants_X540()
80 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, in ixgbe_setup_mac_link_X540()
95 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) in ixgbe_reset_hw_X540()
182 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw) in ixgbe_start_hw_X540()
200 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) in ixgbe_init_eeprom_params_X540()
231 static s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) in ixgbe_read_eerd_X540()
253 static s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, in ixgbe_read_eerd_buffer_X540()
275 static s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data) in ixgbe_write_eewr_X540()
297 static s32 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, in ixgbe_write_eewr_buffer_X540()
[all …]
Dixgbe_82598.c59 static void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) in ixgbe_set_pcie_completion_timeout()
94 static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) in ixgbe_get_invariants_82598()
121 static s32 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) in ixgbe_init_phy_ops_82598()
178 static s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw) in ixgbe_start_hw_82598()
222 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, in ixgbe_get_link_capabilities_82598()
277 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw) in ixgbe_get_media_type_82598()
323 static s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw) in ixgbe_fc_enable_82598()
462 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, in ixgbe_start_mac_link_82598()
508 static s32 ixgbe_validate_link_ready(struct ixgbe_hw *hw) in ixgbe_validate_link_ready()
544 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, in ixgbe_check_mac_link_82598()
[all …]
Dixgbe_main.c206 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_parent_bus_info() local
236 static inline bool ixgbe_pcie_from_parent(struct ixgbe_hw *hw) in ixgbe_pcie_from_parent()
250 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_check_minimum_link() local
322 static void ixgbe_remove_adapter(struct ixgbe_hw *hw) in ixgbe_remove_adapter()
334 static void ixgbe_check_remove(struct ixgbe_hw *hw, u32 reg) in ixgbe_check_remove()
366 u32 ixgbe_read_reg(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_reg()
379 static bool ixgbe_check_cfg_remove(struct ixgbe_hw *hw, struct pci_dev *pdev) in ixgbe_check_cfg_remove()
391 u16 ixgbe_read_pci_cfg_word(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_pci_cfg_word()
406 static u32 ixgbe_read_pci_cfg_dword(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_pci_cfg_dword()
421 void ixgbe_write_pci_cfg_word(struct ixgbe_hw *hw, u32 reg, u16 value) in ixgbe_write_pci_cfg_word()
[all …]
Dixgbe_sriov.c51 struct ixgbe_hw *hw = &adapter->hw; in __ixgbe_enable_sriov() local
187 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_disable_sriov() local
334 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_multicasts() local
375 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_restore_vf_multicasts() local
418 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_lpe() local
502 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr()
515 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_clear_vmvir() local
521 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_vf_reset_event() local
639 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_write_qde() local
660 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_vf_reset_msg() local
[all …]
Dixgbe_dcb_82598.c41 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_rx_arbiter_82598()
98 s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_desc_arbiter_82598()
144 s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_data_arbiter_82598()
191 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) in ixgbe_dcb_config_pfc_82598()
244 static s32 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82598()
276 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82598()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.c49 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 …]
Di40e_common.c39 i40e_status i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
90 const char *i40evf_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40evf_aq_str()
150 const char *i40evf_stat_str(struct i40e_hw *hw, i40e_status stat_err) in i40evf_stat_str()
301 void i40evf_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40evf_debug_aq()
348 bool i40evf_check_asq_alive(struct i40e_hw *hw) in i40evf_check_asq_alive()
365 i40e_status i40evf_aq_queue_shutdown(struct i40e_hw *hw, in i40evf_aq_queue_shutdown()
394 static i40e_status i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
447 i40e_status i40evf_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40evf_aq_get_rss_lut()
464 i40e_status i40evf_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40evf_aq_set_rss_lut()
479 static i40e_status i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/igb/
De1000_82575.c83 static bool igb_sgmii_uses_mdio_82575(struct e1000_hw *hw) in igb_sgmii_uses_mdio_82575()
114 static s32 igb_check_for_link_media_swap(struct e1000_hw *hw) in igb_check_for_link_media_swap()
173 static s32 igb_init_phy_params_82575(struct e1000_hw *hw) in igb_init_phy_params_82575()
316 static s32 igb_init_nvm_params_82575(struct e1000_hw *hw) in igb_init_nvm_params_82575()
393 static s32 igb_init_mac_params_82575(struct e1000_hw *hw) in igb_init_mac_params_82575()
474 static s32 igb_set_sfp_media_type_82575(struct e1000_hw *hw) in igb_set_sfp_media_type_82575()
536 static s32 igb_get_invariants_82575(struct e1000_hw *hw) in igb_get_invariants_82575()
704 static s32 igb_acquire_phy_82575(struct e1000_hw *hw) in igb_acquire_phy_82575()
725 static void igb_release_phy_82575(struct e1000_hw *hw) in igb_release_phy_82575()
748 static s32 igb_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, in igb_read_phy_reg_sgmii_82575()
[all …]
De1000_mac.c45 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()
110 static void igb_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta()
128 void igb_clear_vfta_i350(struct e1000_hw *hw) in igb_clear_vfta_i350()
150 static void igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) in igb_write_vfta_i350()
169 void igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) in igb_init_rx_addrs()
194 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add) in igb_vfta_set()
233 s32 igb_check_alt_mac_addr(struct e1000_hw *hw) in igb_check_alt_mac_addr()
302 void igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) in igb_rar_set()
339 void igb_mta_set(struct e1000_hw *hw, u32 hash_value) in igb_mta_set()
[all …]
De1000_phy.c58 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()
103 static s32 igb_phy_reset_dsp(struct e1000_hw *hw) in igb_phy_reset_dsp()
129 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_mdic()
185 s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_mdic()
242 s32 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_i2c()
287 s32 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_i2c()
346 s32 igb_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) in igb_read_sfp_data_byte()
396 s32 igb_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in igb_read_phy_reg_igp()
435 s32 igb_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in igb_write_phy_reg_igp()
[all …]
De1000_mbx.c35 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_read_mbx()
59 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx()
80 s32 igb_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_msg()
98 s32 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_ack()
116 s32 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in igb_check_for_rst()
134 static s32 igb_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_msg()
163 static s32 igb_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) in igb_poll_for_ack()
195 static s32 igb_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, in igb_read_posted_mbx()
222 static s32 igb_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, in igb_write_posted_mbx()
242 static s32 igb_check_for_bit_pf(struct e1000_hw *hw, u32 mask) in igb_check_for_bit_pf()
[all …]
De1000_i210.c42 static s32 igb_get_hw_semaphore_i210(struct e1000_hw *hw) in igb_get_hw_semaphore_i210()
112 static s32 igb_acquire_nvm_i210(struct e1000_hw *hw) in igb_acquire_nvm_i210()
124 static void igb_release_nvm_i210(struct e1000_hw *hw) in igb_release_nvm_i210()
137 s32 igb_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in igb_acquire_swfw_sync_i210()
183 void igb_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask) in igb_release_swfw_sync_i210()
207 static s32 igb_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_read_nvm_srrd_i210()
247 static s32 igb_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr()
307 static s32 igb_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, in igb_write_nvm_srwr_i210()
344 static s32 igb_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data) in igb_read_invm_word_i210()
385 static s32 igb_read_invm_i210(struct e1000_hw *hw, u16 offset, in igb_read_invm_i210()
[all …]
De1000_nvm.c36 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_raise_eec_clk()
51 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) in igb_lower_eec_clk()
69 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in igb_shift_out_eec_bits()
111 static u16 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in igb_shift_in_eec_bits()
146 static s32 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) in igb_poll_eerd_eewr_done()
177 s32 igb_acquire_nvm(struct e1000_hw *hw) in igb_acquire_nvm()
211 static void igb_standby_nvm(struct e1000_hw *hw) in igb_standby_nvm()
235 static void e1000_stop_nvm(struct e1000_hw *hw) in e1000_stop_nvm()
253 void igb_release_nvm(struct e1000_hw *hw) in igb_release_nvm()
270 static s32 igb_ready_nvm_eeprom(struct e1000_hw *hw) in igb_ready_nvm_eeprom()
[all …]
Digb_main.c298 static void igb_regdump(struct e1000_hw *hw, struct igb_reg_info *reginfo) in igb_regdump()
367 struct e1000_hw *hw = &adapter->hw; in igb_dump() local
574 struct e1000_hw *hw = &adapter->hw; in igb_get_i2c_data() local
590 struct e1000_hw *hw = &adapter->hw; in igb_set_i2c_data() local
615 struct e1000_hw *hw = &adapter->hw; in igb_set_i2c_clk() local
638 struct e1000_hw *hw = &adapter->hw; in igb_get_i2c_clk() local
659 struct net_device *igb_get_hw_dev(struct e1000_hw *hw) in igb_get_hw_dev()
746 u32 igb_rd32(struct e1000_hw *hw, u32 reg) in igb_rd32()
780 static void igb_write_ivar(struct e1000_hw *hw, int msix_vector, in igb_write_ivar()
798 struct e1000_hw *hw = &adapter->hw; in igb_assign_vector() local
[all …]
/linux-4.4.14/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 …]
Dmain.c268 struct alx_hw *hw = &alx->hw; in alx_poll() local
294 struct alx_hw *hw = &alx->hw; in alx_intr_handle() local
350 struct alx_hw *hw = &alx->hw; in alx_intr_legacy() local
363 struct alx_hw *hw = &alx->hw; in alx_init_ring_ptrs() local
451 static void alx_add_mc_addr(struct alx_hw *hw, const u8 *addr, u32 *mc_hash) in alx_add_mc_addr()
465 struct alx_hw *hw = &alx->hw; in __alx_set_rx_mode() local
494 struct alx_hw *hw = &alx->hw; in alx_set_mac_address() local
604 struct alx_hw *hw = &alx->hw; in alx_config_vector_mapping() local
613 struct alx_hw *hw = &alx->hw; in alx_irq_enable() local
623 struct alx_hw *hw = &alx->hw; in alx_irq_disable() local
[all …]
/linux-4.4.14/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 …]
Dcsio_init.c69 struct csio_hw *hw = file->private_data - mem; in csio_mem_read() local
113 void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, in csio_add_debugfs_mem()
121 static int csio_setup_debugfs(struct csio_hw *hw) in csio_setup_debugfs()
143 csio_dfs_create(struct csio_hw *hw) in csio_dfs_create()
158 csio_dfs_destroy(struct csio_hw *hw) in csio_dfs_destroy()
252 csio_hw_init_workers(struct csio_hw *hw) in csio_hw_init_workers()
258 csio_hw_exit_workers(struct csio_hw *hw) in csio_hw_exit_workers()
265 csio_create_queues(struct csio_hw *hw) in csio_create_queues()
342 csio_config_queues(struct csio_hw *hw) in csio_config_queues()
470 csio_resource_alloc(struct csio_hw *hw) in csio_resource_alloc()
[all …]
Dcsio_isr.c47 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_nondata_isr() local
81 csio_fwevt_handler(struct csio_hw *hw) in csio_fwevt_handler()
110 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fwevt_isr() local
131 csio_fwevt_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, in csio_fwevt_intx_handler()
146 csio_process_scsi_cmpl(struct csio_hw *hw, void *wr, uint32_t len, in csio_process_scsi_cmpl()
214 struct csio_hw *hw = (struct csio_hw *)iq->owner; in csio_scsi_isr_handler() local
259 struct csio_hw *hw; in csio_scsi_isr() local
285 csio_scsi_intx_handler(struct csio_hw *hw, void *wr, uint32_t len, in csio_scsi_intx_handler()
304 struct csio_hw *hw = (struct csio_hw *) dev_id; in csio_fcoe_isr() local
352 csio_add_msix_desc(struct csio_hw *hw) in csio_add_msix_desc()
[all …]
Dcsio_wr.c57 csio_get_flbuf_size(struct csio_hw *hw, struct csio_sge *sge, uint32_t reg) in csio_get_flbuf_size()
72 csio_wr_qstat_pgsz(struct csio_hw *hw) in csio_wr_qstat_pgsz()
79 csio_wr_ring_fldb(struct csio_hw *hw, struct csio_q *flq) in csio_wr_ring_fldb()
96 csio_wr_sge_intr_enable(struct csio_hw *hw, uint16_t iqid) in csio_wr_sge_intr_enable()
114 csio_wr_fill_fl(struct csio_hw *hw, struct csio_q *flq) in csio_wr_fill_fl()
150 csio_wr_update_fl(struct csio_hw *hw, struct csio_q *flq, uint16_t n) in csio_wr_update_fl()
185 csio_wr_alloc_q(struct csio_hw *hw, uint32_t qsize, uint32_t wrsize, in csio_wr_alloc_q()
336 csio_wr_iq_create_rsp(struct csio_hw *hw, struct csio_mb *mbp, int iq_idx) in csio_wr_iq_create_rsp()
414 csio_wr_iq_create(struct csio_hw *hw, void *priv, int iq_idx, in csio_wr_iq_create()
516 csio_wr_eq_cfg_rsp(struct csio_hw *hw, struct csio_mb *mbp, int eq_idx) in csio_wr_eq_cfg_rsp()
[all …]
Dcsio_scsi.c203 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_cmd_wr() local
258 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_cmd() local
290 csio_scsi_init_ultptx_dsgl(struct csio_hw *hw, struct csio_ioreq *req, in csio_scsi_init_ultptx_dsgl()
362 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_read_wr() local
415 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_write_wr() local
483 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_read() local
520 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_write() local
556 struct csio_hw *hw = req->lnode->hwp; in csio_setup_ddp() local
649 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_init_abrt_cls_wr() local
677 struct csio_hw *hw = req->lnode->hwp; in csio_scsi_abrt_cls() local
[all …]
Dcsio_mb.c76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello()
108 csio_mb_process_hello_rsp(struct csio_hw *hw, struct csio_mb *mbp, in csio_mb_process_hello_rsp()
140 csio_mb_bye(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_bye()
162 csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_reset()
193 csio_mb_params(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_params()
240 csio_mb_process_read_params_rsp(struct csio_hw *hw, struct csio_mb *mbp, in csio_mb_process_read_params_rsp()
264 csio_mb_ldst(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, int reg) in csio_mb_ldst()
300 csio_mb_caps_config(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_caps_config()
346 csio_mb_port(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_port()
392 csio_mb_process_read_port_rsp(struct csio_hw *hw, struct csio_mb *mbp, in csio_mb_process_read_port_rsp()
[all …]
Dcsio_attr.c213 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_port_id() local
229 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_port_type() local
248 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_port_state() local
273 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_speed() local
300 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_host_fabric_name() local
320 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_get_stats() local
405 csio_fcoe_alloc_vnp(struct csio_hw *hw, struct csio_lnode *ln) in csio_fcoe_alloc_vnp()
486 csio_fcoe_free_vnp(struct csio_hw *hw, struct csio_lnode *ln) in csio_fcoe_free_vnp()
548 struct csio_hw *hw = csio_lnode_to_hw(pln); in csio_vport_create() local
609 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_vport_delete() local
[all …]
Dcsio_lnode.c115 csio_ln_lookup_by_portid(struct csio_hw *hw, uint8_t portid) in csio_ln_lookup_by_portid()
138 csio_ln_lookup_by_vnpi(struct csio_hw *hw, uint32_t vnp_id) in csio_ln_lookup_by_vnpi()
178 csio_lnode_lookup_by_wwpn(struct csio_hw *hw, uint8_t *wwpn) in csio_lnode_lookup_by_wwpn()
258 csio_ln_fdmi_done(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_done()
282 csio_ln_fdmi_rhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_rhba_cbfn()
387 csio_ln_fdmi_dprt_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dprt_cbfn()
494 csio_ln_fdmi_dhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dhba_cbfn()
597 csio_ln_vnp_read_cbfn(struct csio_hw *hw, struct csio_mb *mbp) in csio_ln_vnp_read_cbfn()
665 struct csio_hw *hw = ln->hwp; in csio_ln_vnp_read() local
702 struct csio_hw *hw = ln->hwp; in csio_fcoe_enable_link() local
[all …]
Dcsio_hw_t5.c38 csio_t5_set_mem_win(struct csio_hw *hw, uint32_t win) in csio_t5_set_mem_win()
72 csio_t5_pcie_intr_handler(struct csio_hw *hw) in csio_t5_pcie_intr_handler()
155 csio_t5_flash_cfg_addr(struct csio_hw *hw) in csio_t5_flash_cfg_addr()
173 csio_t5_mc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_mc_read()
221 csio_t5_edc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, in csio_t5_edc_read()
282 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw()
372 csio_t5_dfs_create_ext_mem(struct csio_hw *hw) in csio_t5_dfs_create_ext_mem()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_adminq.c51 static void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs()
83 static i40e_status i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_asq_ring()
110 static i40e_status i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) in i40e_alloc_adminq_arq_ring()
130 static void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
142 static void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq()
151 static i40e_status i40e_alloc_arq_bufs(struct i40e_hw *hw) in i40e_alloc_arq_bufs()
218 static i40e_status i40e_alloc_asq_bufs(struct i40e_hw *hw) in i40e_alloc_asq_bufs()
258 static void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs()
277 static void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs()
302 static i40e_status i40e_config_asq_regs(struct i40e_hw *hw) in i40e_config_asq_regs()
[all …]
Di40e_common.c39 static i40e_status i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
90 const char *i40e_aq_str(struct i40e_hw *hw, enum i40e_admin_queue_err aq_err) in i40e_aq_str()
150 const char *i40e_stat_str(struct i40e_hw *hw, i40e_status stat_err) in i40e_stat_str()
301 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq()
348 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
365 i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, in i40e_aq_queue_shutdown()
394 static i40e_status i40e_aq_get_set_rss_lut(struct i40e_hw *hw, in i40e_aq_get_set_rss_lut()
447 i40e_status i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_get_rss_lut()
464 i40e_status i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id, in i40e_aq_set_rss_lut()
479 static i40e_status i40e_aq_get_set_rss_key(struct i40e_hw *hw, in i40e_aq_get_set_rss_key()
[all …]
Di40e_nvm.c39 i40e_status i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm()
78 i40e_status i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm()
135 void i40e_release_nvm(struct i40e_hw *hw) in i40e_release_nvm()
147 static i40e_status i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) in i40e_poll_sr_srctl_done_bit()
174 static i40e_status i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_srctl()
225 static i40e_status i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, in i40e_read_nvm_aq()
271 static i40e_status i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word_aq()
290 i40e_status i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_word()
318 static i40e_status i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_buffer_srctl()
349 static i40e_status i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset, in i40e_read_nvm_buffer_aq()
[all …]
/linux-4.4.14/drivers/misc/mei/
Dhw-txe.c68 static inline u32 mei_txe_sec_reg_read_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_read_silent()
84 static inline u32 mei_txe_sec_reg_read(struct mei_txe_hw *hw, in mei_txe_sec_reg_read()
100 static inline void mei_txe_sec_reg_write_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_write_silent()
115 static inline void mei_txe_sec_reg_write(struct mei_txe_hw *hw, in mei_txe_sec_reg_write()
129 static inline u32 mei_txe_br_reg_read(struct mei_txe_hw *hw, in mei_txe_br_reg_read()
142 static inline void mei_txe_br_reg_write(struct mei_txe_hw *hw, in mei_txe_br_reg_write()
165 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_set() local
190 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_req_get() local
207 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_get() local
226 struct mei_txe_hw *hw = to_txe_hw(dev); in mei_txe_aliveness_poll() local
[all …]
Dhw-me.c38 static inline u32 mei_me_reg_read(const struct mei_me_hw *hw, in mei_me_reg_read()
52 static inline void mei_me_reg_write(const struct mei_me_hw *hw, in mei_me_reg_write()
182 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_fw_status() local
209 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_hw_config() local
239 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_pg_state() local
561 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_pg_set() local
580 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_pg_unset() local
603 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_pg_legacy_enter_sync() local
640 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_pg_legacy_exit_sync() local
706 struct mei_me_hw *hw = to_me_hw(dev); in mei_me_pg_is_enabled() local
[all …]
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c32 int atl1e_check_eeprom_exist(struct atl1e_hw *hw) in atl1e_check_eeprom_exist()
45 void atl1e_hw_set_mac_addr(struct atl1e_hw *hw) in atl1e_hw_set_mac_addr()
68 static int atl1e_get_permanent_address(struct atl1e_hw *hw) in atl1e_get_permanent_address()
110 bool atl1e_write_eeprom(struct atl1e_hw *hw, u32 offset, u32 value) in atl1e_write_eeprom()
115 bool atl1e_read_eeprom(struct atl1e_hw *hw, u32 offset, u32 *p_value) in atl1e_read_eeprom()
140 void atl1e_force_ps(struct atl1e_hw *hw) in atl1e_force_ps()
151 int atl1e_read_mac_addr(struct atl1e_hw *hw) in atl1e_read_mac_addr()
167 u32 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr) in atl1e_hash_mc_addr()
185 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value) in atl1e_hash_set()
213 int atl1e_read_phy_reg(struct atl1e_hw *hw, u16 reg_addr, u16 *phy_data) in atl1e_read_phy_reg()
[all …]
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c32 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 …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Ddm_common.c165 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 …]
Dphy_common.c38 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92c_phy_query_bb_reg()
57 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, in rtl92c_phy_set_bb_reg()
81 u32 _rtl92c_phy_fw_rf_serial_read(struct ieee80211_hw *hw, in _rtl92c_phy_fw_rf_serial_read()
89 void _rtl92c_phy_fw_rf_serial_write(struct ieee80211_hw *hw, in _rtl92c_phy_fw_rf_serial_write()
97 u32 _rtl92c_phy_rf_serial_read(struct ieee80211_hw *hw, in _rtl92c_phy_rf_serial_read()
148 void _rtl92c_phy_rf_serial_write(struct ieee80211_hw *hw, in _rtl92c_phy_rf_serial_write()
184 static void _rtl92c_phy_bb_config_1t(struct ieee80211_hw *hw) in _rtl92c_phy_bb_config_1t()
198 bool rtl92c_phy_rf_config(struct ieee80211_hw *hw) in rtl92c_phy_rf_config()
206 bool _rtl92c_phy_bb8192c_config_parafile(struct ieee80211_hw *hw) in _rtl92c_phy_bb8192c_config_parafile()
246 void _rtl92c_store_pwrIndex_diffrate_offset(struct ieee80211_hw *hw, in _rtl92c_store_pwrIndex_diffrate_offset()
[all …]
Dfw_common.c36 static void _rtl92c_enable_fw_download(struct ieee80211_hw *hw, bool enable) in _rtl92c_enable_fw_download()
71 static void _rtl92c_fw_block_write(struct ieee80211_hw *hw, in _rtl92c_fw_block_write()
99 static void _rtl92c_fw_page_write(struct ieee80211_hw *hw, in _rtl92c_fw_page_write()
128 static void _rtl92c_write_fw(struct ieee80211_hw *hw, in _rtl92c_write_fw()
170 static int _rtl92c_fw_free_to_go(struct ieee80211_hw *hw) in _rtl92c_fw_free_to_go()
220 int rtl92c_download_fw(struct ieee80211_hw *hw) in rtl92c_download_fw()
265 static bool _rtl92c_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl92c_check_fw_read_last_h2c()
279 static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw, in _rtl92c_fill_h2c_command()
481 void rtl92c_fill_h2c_cmd(struct ieee80211_hw *hw, in rtl92c_fill_h2c_cmd()
501 void rtl92c_firmware_selfreset(struct ieee80211_hw *hw) in rtl92c_firmware_selfreset()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dmbx.c35 static s32 e1000_poll_for_msg(struct e1000_hw *hw) in e1000_poll_for_msg()
61 static s32 e1000_poll_for_ack(struct e1000_hw *hw) in e1000_poll_for_ack()
90 static s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_read_posted_mbx()
116 static s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size) in e1000_write_posted_mbx()
142 static u32 e1000_read_v2p_mailbox(struct e1000_hw *hw) in e1000_read_v2p_mailbox()
160 static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) in e1000_check_for_bit_vf()
179 static s32 e1000_check_for_msg_vf(struct e1000_hw *hw) in e1000_check_for_msg_vf()
197 static s32 e1000_check_for_ack_vf(struct e1000_hw *hw) in e1000_check_for_ack_vf()
215 static s32 e1000_check_for_rst_vf(struct e1000_hw *hw) in e1000_check_for_rst_vf()
234 static s32 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) in e1000_obtain_mbx_lock_vf()
[all …]
Dvf.c45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw) in e1000_init_mac_params_vf()
79 void e1000_init_function_pointers_vf(struct e1000_hw *hw) in e1000_init_function_pointers_vf()
94 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, in e1000_get_link_up_info_vf()
122 static s32 e1000_reset_hw_vf(struct e1000_hw *hw) in e1000_reset_hw_vf()
171 static s32 e1000_init_hw_vf(struct e1000_hw *hw) in e1000_init_hw_vf()
188 static u32 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr_vf()
221 static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw, in e1000_update_mc_addr_list_vf()
259 static s32 e1000_set_vfta_vf(struct e1000_hw *hw, u16 vid, bool set) in e1000_set_vfta_vf()
289 void e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) in e1000_rlpml_set_vf()
306 static void e1000_rar_set_vf(struct e1000_hw *hw, u8 *addr, u32 index) in e1000_rar_set_vf()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dmbx.c36 static s32 ixgbevf_poll_for_msg(struct ixgbe_hw *hw) in ixgbevf_poll_for_msg()
59 static s32 ixgbevf_poll_for_ack(struct ixgbe_hw *hw) in ixgbevf_poll_for_ack()
85 static s32 ixgbevf_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_read_posted_mbx()
111 static s32 ixgbevf_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) in ixgbevf_write_posted_mbx()
137 static u32 ixgbevf_read_v2p_mailbox(struct ixgbe_hw *hw) in ixgbevf_read_v2p_mailbox()
155 static s32 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) in ixgbevf_check_for_bit_vf()
174 static s32 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) in ixgbevf_check_for_msg_vf()
192 static s32 ixgbevf_check_for_ack_vf(struct ixgbe_hw *hw) in ixgbevf_check_for_ack_vf()
210 static s32 ixgbevf_check_for_rst_vf(struct ixgbe_hw *hw) in ixgbevf_check_for_rst_vf()
229 static s32 ixgbevf_obtain_mbx_lock_vf(struct ixgbe_hw *hw) in ixgbevf_obtain_mbx_lock_vf()
[all …]
Dvf.c39 static s32 ixgbevf_start_hw_vf(struct ixgbe_hw *hw) in ixgbevf_start_hw_vf()
54 static s32 ixgbevf_init_hw_vf(struct ixgbe_hw *hw) in ixgbevf_init_hw_vf()
70 static s32 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_reset_hw_vf()
135 static s32 ixgbevf_stop_hw_vf(struct ixgbe_hw *hw) in ixgbevf_stop_hw_vf()
189 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector()
220 static s32 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbevf_get_mac_addr_vf()
227 static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_set_uc_addr_vf()
270 int ixgbevf_get_reta_locked(struct ixgbe_hw *hw, u32 *reta, int num_rx_queues) in ixgbevf_get_reta_locked()
338 int ixgbevf_get_rss_key_locked(struct ixgbe_hw *hw, u8 *rss_key) in ixgbevf_get_rss_key_locked()
389 static s32 ixgbevf_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, in ixgbevf_set_rar_vf()
[all …]
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_api.c53 static void pch_gbe_plat_get_bus_info(struct pch_gbe_hw *hw) in pch_gbe_plat_get_bus_info()
67 static s32 pch_gbe_plat_init_hw(struct pch_gbe_hw *hw) in pch_gbe_plat_init_hw()
102 static void pch_gbe_plat_init_function_pointers(struct pch_gbe_hw *hw) in pch_gbe_plat_init_function_pointers()
117 s32 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw) in pch_gbe_hal_setup_init_funcs()
133 void pch_gbe_hal_get_bus_info(struct pch_gbe_hw *hw) in pch_gbe_hal_get_bus_info()
151 s32 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw) in pch_gbe_hal_init_hw()
171 s32 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, in pch_gbe_hal_read_phy_reg()
188 s32 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, in pch_gbe_hal_write_phy_reg()
200 void pch_gbe_hal_phy_hw_reset(struct pch_gbe_hw *hw) in pch_gbe_hal_phy_hw_reset()
215 void pch_gbe_hal_phy_sw_reset(struct pch_gbe_hw *hw) in pch_gbe_hal_phy_sw_reset()
[all …]
Dpch_gbe_phy.c106 s32 pch_gbe_phy_get_id(struct pch_gbe_hw *hw) in pch_gbe_phy_get_id()
142 s32 pch_gbe_phy_read_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 *data) in pch_gbe_phy_read_reg_miic()
167 s32 pch_gbe_phy_write_reg_miic(struct pch_gbe_hw *hw, u32 offset, u16 data) in pch_gbe_phy_write_reg_miic()
187 void pch_gbe_phy_sw_reset(struct pch_gbe_hw *hw) in pch_gbe_phy_sw_reset()
201 void pch_gbe_phy_hw_reset(struct pch_gbe_hw *hw) in pch_gbe_phy_hw_reset()
217 void pch_gbe_phy_power_up(struct pch_gbe_hw *hw) in pch_gbe_phy_power_up()
234 void pch_gbe_phy_power_down(struct pch_gbe_hw *hw) in pch_gbe_phy_power_down()
254 void pch_gbe_phy_set_rgmii(struct pch_gbe_hw *hw) in pch_gbe_phy_set_rgmii()
266 static int pch_gbe_phy_tx_clk_delay(struct pch_gbe_hw *hw) in pch_gbe_phy_tx_clk_delay()
308 void pch_gbe_phy_init_setting(struct pch_gbe_hw *hw) in pch_gbe_phy_init_setting()
[all …]
Dpch_gbe_main.c282 static inline void pch_gbe_mac_load_mac_addr(struct pch_gbe_hw *hw) in pch_gbe_mac_load_mac_addr()
293 s32 pch_gbe_mac_read_mac_addr(struct pch_gbe_hw *hw) in pch_gbe_mac_read_mac_addr()
335 static void pch_gbe_mac_mar_set(struct pch_gbe_hw *hw, u8 * addr, u32 index) in pch_gbe_mac_mar_set()
367 static void pch_gbe_mac_reset_hw(struct pch_gbe_hw *hw) in pch_gbe_mac_reset_hw()
381 static void pch_gbe_disable_mac_rx(struct pch_gbe_hw *hw) in pch_gbe_disable_mac_rx()
389 static void pch_gbe_enable_mac_rx(struct pch_gbe_hw *hw) in pch_gbe_enable_mac_rx()
402 static void pch_gbe_mac_init_rx_addrs(struct pch_gbe_hw *hw, u16 mar_count) in pch_gbe_mac_init_rx_addrs()
428 static void pch_gbe_mac_mc_addr_list_update(struct pch_gbe_hw *hw, in pch_gbe_mac_mc_addr_list_update()
464 s32 pch_gbe_mac_force_mac_fc(struct pch_gbe_hw *hw) in pch_gbe_mac_force_mac_fc()
510 static void pch_gbe_mac_set_wol_event(struct pch_gbe_hw *hw, u32 wu_evt) in pch_gbe_mac_set_wol_event()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Ddm.c155 static void rtl92ee_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl92ee_dm_false_alarm_counter_statistics()
241 static void rtl92ee_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl92ee_dm_cck_packet_detection_thresh()
268 static void rtl92ee_dm_dig(struct ieee80211_hw *hw) in rtl92ee_dm_dig()
408 void rtl92ee_dm_write_cck_cca_thres(struct ieee80211_hw *hw, u8 cur_thres) in rtl92ee_dm_write_cck_cca_thres()
420 void rtl92ee_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi) in rtl92ee_dm_write_dig()
437 static void rtl92ee_rssi_dump_to_register(struct ieee80211_hw *hw) in rtl92ee_rssi_dump_to_register()
467 static void rtl92ee_dm_find_minimum_rssi(struct ieee80211_hw *hw) in rtl92ee_dm_find_minimum_rssi()
507 static void rtl92ee_dm_check_rssi_monitor(struct ieee80211_hw *hw) in rtl92ee_dm_check_rssi_monitor()
572 static void rtl92ee_dm_init_primary_cca_check(struct ieee80211_hw *hw) in rtl92ee_dm_init_primary_cca_check()
587 static bool rtl92ee_dm_is_edca_turbo_disable(struct ieee80211_hw *hw) in rtl92ee_dm_is_edca_turbo_disable()
[all …]
Dhw.c45 static void _rtl92ee_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl92ee_set_bcn_ctrl_reg()
57 static void _rtl92ee_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl92ee_stop_tx_beacon()
70 static void _rtl92ee_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl92ee_resume_tx_beacon()
83 static void _rtl92ee_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92ee_enable_bcn_sub_func()
88 static void _rtl92ee_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92ee_disable_bcn_sub_func()
93 static void _rtl92ee_set_fw_clock_on(struct ieee80211_hw *hw, in _rtl92ee_set_fw_clock_on()
164 static void _rtl92ee_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl92ee_set_fw_clock_off()
219 static void _rtl92ee_set_fw_ps_rf_on(struct ieee80211_hw *hw) in _rtl92ee_set_fw_ps_rf_on()
227 static void _rtl92ee_set_fw_ps_rf_off_low_power(struct ieee80211_hw *hw) in _rtl92ee_set_fw_ps_rf_off_low_power()
237 struct ieee80211_hw *hw = (struct ieee80211_hw *)data; in rtl92ee_fw_clk_off_timer_callback() local
[all …]
Dphy.c63 u32 rtl92ee_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92ee_phy_query_bb_reg()
81 void rtl92ee_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl92ee_phy_set_bb_reg()
104 u32 rtl92ee_phy_query_rf_reg(struct ieee80211_hw *hw, in rtl92ee_phy_query_rf_reg()
130 void rtl92ee_phy_set_rf_reg(struct ieee80211_hw *hw, in rtl92ee_phy_set_rf_reg()
159 static u32 _rtl92ee_phy_rf_serial_read(struct ieee80211_hw *hw, in _rtl92ee_phy_rf_serial_read()
206 static void _rtl92ee_phy_rf_serial_write(struct ieee80211_hw *hw, in _rtl92ee_phy_rf_serial_write()
240 bool rtl92ee_phy_mac_config(struct ieee80211_hw *hw) in rtl92ee_phy_mac_config()
245 bool rtl92ee_phy_bb_config(struct ieee80211_hw *hw) in rtl92ee_phy_bb_config()
276 bool rtl92ee_phy_rf_config(struct ieee80211_hw *hw) in rtl92ee_phy_rf_config()
281 static bool _check_condition(struct ieee80211_hw *hw, in _check_condition()
[all …]
Dfw.c35 static void _rtl92ee_enable_fw_download(struct ieee80211_hw *hw, bool enable) in _rtl92ee_enable_fw_download()
51 static void _rtl92ee_fw_block_write(struct ieee80211_hw *hw, in _rtl92ee_fw_block_write()
80 static void _rtl92ee_fw_page_write(struct ieee80211_hw *hw, u32 page, in _rtl92ee_fw_page_write()
109 static void _rtl92ee_write_fw(struct ieee80211_hw *hw, in _rtl92ee_write_fw()
145 static int _rtl92ee_fw_free_to_go(struct ieee80211_hw *hw) in _rtl92ee_fw_free_to_go()
197 int rtl92ee_download_fw(struct ieee80211_hw *hw, bool buse_wake_on_wlan_fw) in rtl92ee_download_fw()
254 static bool _rtl92ee_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl92ee_check_fw_read_last_h2c()
266 static void _rtl92ee_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, in _rtl92ee_fill_h2c_command()
458 void rtl92ee_fill_h2c_cmd(struct ieee80211_hw *hw, in rtl92ee_fill_h2c_cmd()
475 void rtl92ee_firmware_selfreset(struct ieee80211_hw *hw) in rtl92ee_firmware_selfreset()
[all …]
Dled.c31 static void _rtl92ee_init_led(struct ieee80211_hw *hw, in _rtl92ee_init_led()
39 void rtl92ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ee_sw_led_on()
70 void rtl92ee_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ee_sw_led_off()
100 void rtl92ee_init_sw_leds(struct ieee80211_hw *hw) in rtl92ee_init_sw_leds()
108 static void _rtl92ee_sw_led_control(struct ieee80211_hw *hw, in _rtl92ee_sw_led_control()
128 void rtl92ee_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) in rtl92ee_led_control()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c28 static s32 fm10k_stop_hw_vf(struct fm10k_hw *hw) in fm10k_stop_hw_vf()
71 static s32 fm10k_reset_hw_vf(struct fm10k_hw *hw) in fm10k_reset_hw_vf()
100 static s32 fm10k_init_hw_vf(struct fm10k_hw *hw) in fm10k_init_hw_vf()
154 static s32 fm10k_update_vlan_vf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_vf()
187 s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_mac_vlan_vf()
214 static s32 fm10k_read_mac_addr_vf(struct fm10k_hw *hw) in fm10k_read_mac_addr_vf()
257 static s32 fm10k_update_uc_addr_vf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_vf()
299 static s32 fm10k_update_mc_addr_vf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_vf()
333 static void fm10k_update_int_moderator_vf(struct fm10k_hw *hw) in fm10k_update_int_moderator_vf()
362 s32 fm10k_msg_lport_state_vf(struct fm10k_hw *hw, u32 **results, in fm10k_msg_lport_state_vf()
[all …]
Dfm10k_pf.c31 static s32 fm10k_reset_hw_pf(struct fm10k_hw *hw) in fm10k_reset_hw_pf()
90 static bool fm10k_is_ari_hierarchy_pf(struct fm10k_hw *hw) in fm10k_is_ari_hierarchy_pf()
102 static s32 fm10k_init_hw_pf(struct fm10k_hw *hw) in fm10k_init_hw_pf()
205 static s32 fm10k_update_vlan_pf(struct fm10k_hw *hw, u32 vid, u8 vsi, bool set) in fm10k_update_vlan_pf()
258 static s32 fm10k_read_mac_addr_pf(struct fm10k_hw *hw) in fm10k_read_mac_addr_pf()
299 bool fm10k_glort_valid_pf(struct fm10k_hw *hw, u16 glort) in fm10k_glort_valid_pf()
318 static s32 fm10k_update_xc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_xc_addr_pf()
365 static s32 fm10k_update_uc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_uc_addr_pf()
386 static s32 fm10k_update_mc_addr_pf(struct fm10k_hw *hw, u16 glort, in fm10k_update_mc_addr_pf()
406 static s32 fm10k_update_xcast_mode_pf(struct fm10k_hw *hw, u16 glort, u8 mode) in fm10k_update_xcast_mode_pf()
[all …]
Dfm10k_common.c30 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw) in fm10k_get_bus_info_generic()
145 static u16 fm10k_get_pcie_msix_count_generic(struct fm10k_hw *hw) in fm10k_get_pcie_msix_count_generic()
168 s32 fm10k_get_invariants_generic(struct fm10k_hw *hw) in fm10k_get_invariants_generic()
188 s32 fm10k_start_hw_generic(struct fm10k_hw *hw) in fm10k_start_hw_generic()
202 s32 fm10k_disable_queues_generic(struct fm10k_hw *hw, u16 q_cnt) in fm10k_disable_queues_generic()
253 s32 fm10k_stop_hw_generic(struct fm10k_hw *hw) in fm10k_stop_hw_generic()
266 u32 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, in fm10k_read_hw_stats_32b()
287 static u64 fm10k_read_hw_stats_48b(struct fm10k_hw *hw, u32 addr, in fm10k_read_hw_stats_48b()
340 static void fm10k_update_hw_stats_tx_q(struct fm10k_hw *hw, in fm10k_update_hw_stats_tx_q()
391 static void fm10k_update_hw_stats_rx_q(struct fm10k_hw *hw, in fm10k_update_hw_stats_rx_q()
[all …]
Dfm10k_pci.c48 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg) in fm10k_read_pci_cfg_word()
63 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg) in fm10k_read_reg()
86 struct fm10k_hw *hw = &interface->hw; in fm10k_hw_ready() local
142 struct fm10k_hw *hw = &interface->hw; in fm10k_reinit() local
222 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_swpri_map() local
244 struct fm10k_hw *hw = &interface->hw; in fm10k_watchdog_update_host_state() local
330 struct fm10k_hw *hw = &interface->hw; in fm10k_update_stats() local
541 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_tx_ring() local
596 struct fm10k_hw *hw = &interface->hw; in fm10k_enable_tx_ring() local
645 struct fm10k_hw *hw = &interface->hw; in fm10k_configure_rx_ring() local
[all …]
Dfm10k_mbx.c345 static void fm10k_mbx_write_copy(struct fm10k_hw *hw, in fm10k_mbx_write_copy()
395 static void fm10k_mbx_pull_head(struct fm10k_hw *hw, in fm10k_mbx_pull_head()
436 static void fm10k_mbx_read_copy(struct fm10k_hw *hw, in fm10k_mbx_read_copy()
482 static s32 fm10k_mbx_push_tail(struct fm10k_hw *hw, in fm10k_mbx_push_tail()
713 static u16 fm10k_mbx_dequeue_rx(struct fm10k_hw *hw, in fm10k_mbx_dequeue_rx()
750 static s32 fm10k_mbx_enqueue_tx(struct fm10k_hw *hw, in fm10k_mbx_enqueue_tx()
798 static s32 fm10k_mbx_read(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx) in fm10k_mbx_read()
825 static void fm10k_mbx_write(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx) in fm10k_mbx_write()
1028 static s32 fm10k_mbx_create_reply(struct fm10k_hw *hw, in fm10k_mbx_create_reply()
1157 static s32 fm10k_mbx_process_connect(struct fm10k_hw *hw, in fm10k_mbx_process_connect()
[all …]
Dfm10k_iov.c25 static s32 fm10k_iov_msg_error(struct fm10k_hw *hw, u32 **results, in fm10k_iov_msg_error()
48 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_event() local
97 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_mbx() local
174 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_suspend() local
198 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_resume() local
247 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_update_pvid() local
288 struct fm10k_hw *hw = &interface->hw; in fm10k_iov_alloc_data() local
406 struct fm10k_hw *hw = &interface->hw; in fm10k_reset_vf_info() local
452 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_vlan() local
485 struct fm10k_hw *hw = &interface->hw; in fm10k_ndo_set_vf_bw() local
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c46 static void _rtl8821ae_return_beacon_queue_skb(struct ieee80211_hw *hw) in _rtl8821ae_return_beacon_queue_skb()
68 static void _rtl8821ae_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl8821ae_set_bcn_ctrl_reg()
80 void _rtl8821ae_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl8821ae_stop_tx_beacon()
93 void _rtl8821ae_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl8821ae_resume_tx_beacon()
106 static void _rtl8821ae_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8821ae_enable_bcn_sub_func()
111 static void _rtl8821ae_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8821ae_disable_bcn_sub_func()
116 static void _rtl8821ae_set_fw_clock_on(struct ieee80211_hw *hw, in _rtl8821ae_set_fw_clock_on()
186 static void _rtl8821ae_set_fw_clock_off(struct ieee80211_hw *hw, in _rtl8821ae_set_fw_clock_off()
242 static void _rtl8821ae_set_fw_ps_rf_on(struct ieee80211_hw *hw) in _rtl8821ae_set_fw_ps_rf_on()
250 static void _rtl8821ae_fwlps_leave(struct ieee80211_hw *hw) in _rtl8821ae_fwlps_leave()
[all …]
Dphy.c68 static void rtl8812ae_fixspur(struct ieee80211_hw *hw, in rtl8812ae_fixspur()
115 u32 rtl8821ae_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl8821ae_phy_query_bb_reg()
134 void rtl8821ae_phy_set_bb_reg(struct ieee80211_hw *hw, in rtl8821ae_phy_set_bb_reg()
158 u32 rtl8821ae_phy_query_rf_reg(struct ieee80211_hw *hw, in rtl8821ae_phy_query_rf_reg()
185 void rtl8821ae_phy_set_rf_reg(struct ieee80211_hw *hw, in rtl8821ae_phy_set_rf_reg()
215 static u32 _rtl8821ae_phy_rf_serial_read(struct ieee80211_hw *hw, in _rtl8821ae_phy_rf_serial_read()
276 static void _rtl8821ae_phy_rf_serial_write(struct ieee80211_hw *hw, in _rtl8821ae_phy_rf_serial_write()
311 bool rtl8821ae_phy_mac_config(struct ieee80211_hw *hw) in rtl8821ae_phy_mac_config()
320 bool rtl8821ae_phy_bb_config(struct ieee80211_hw *hw) in rtl8821ae_phy_bb_config()
357 bool rtl8821ae_phy_rf_config(struct ieee80211_hw *hw) in rtl8821ae_phy_rf_config()
[all …]
Ddm.c402 void rtl8821ae_dm_txpower_track_adjust(struct ieee80211_hw *hw, in rtl8821ae_dm_txpower_track_adjust()
441 void rtl8821ae_dm_clear_txpower_tracking_state(struct ieee80211_hw *hw) in rtl8821ae_dm_clear_txpower_tracking_state()
474 static u8 rtl8821ae_dm_get_swing_index(struct ieee80211_hw *hw) in rtl8821ae_dm_get_swing_index()
491 struct ieee80211_hw *hw) in rtl8821ae_dm_initialize_txpower_tracking_thermalmeter()
523 void rtl8821ae_dm_init_edca_turbo(struct ieee80211_hw *hw) in rtl8821ae_dm_init_edca_turbo()
532 void rtl8821ae_dm_init_rate_adaptive_mask(struct ieee80211_hw *hw) in rtl8821ae_dm_init_rate_adaptive_mask()
550 static void rtl8821ae_dm_init_dynamic_atc_switch(struct ieee80211_hw *hw) in rtl8821ae_dm_init_dynamic_atc_switch()
560 static void rtl8821ae_dm_common_info_self_init(struct ieee80211_hw *hw) in rtl8821ae_dm_common_info_self_init()
578 void rtl8821ae_dm_init(struct ieee80211_hw *hw) in rtl8821ae_dm_init()
597 static void rtl8821ae_dm_find_minimum_rssi(struct ieee80211_hw *hw) in rtl8821ae_dm_find_minimum_rssi()
[all …]
Dled.c31 static void _rtl8821ae_init_led(struct ieee80211_hw *hw, in _rtl8821ae_init_led()
40 void rtl8821ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8821ae_sw_led_on()
69 void rtl8812ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8812ae_sw_led_on()
101 void rtl8821ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8821ae_sw_led_off()
142 void rtl8812ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8812ae_sw_led_off()
183 void rtl8821ae_init_sw_leds(struct ieee80211_hw *hw) in rtl8821ae_init_sw_leds()
191 static void _rtl8821ae_sw_led_control(struct ieee80211_hw *hw, in _rtl8821ae_sw_led_control()
218 void rtl8821ae_led_control(struct ieee80211_hw *hw, in rtl8821ae_led_control()
Dfw.c35 static void _rtl8821ae_enable_fw_download(struct ieee80211_hw *hw, bool enable) in _rtl8821ae_enable_fw_download()
54 static void _rtl8821ae_fw_block_write(struct ieee80211_hw *hw, in _rtl8821ae_fw_block_write()
82 static void _rtl8821ae_fw_page_write(struct ieee80211_hw *hw, in _rtl8821ae_fw_page_write()
111 static void _rtl8821ae_write_fw(struct ieee80211_hw *hw, in _rtl8821ae_write_fw()
146 static int _rtl8821ae_fw_free_to_go(struct ieee80211_hw *hw) in _rtl8821ae_fw_free_to_go()
209 int rtl8821ae_download_fw(struct ieee80211_hw *hw, bool buse_wake_on_wlan_fw) in rtl8821ae_download_fw()
285 void rtl8821ae_set_fw_related_for_wowlan(struct ieee80211_hw *hw, in rtl8821ae_set_fw_related_for_wowlan()
311 static bool _rtl8821ae_check_fw_read_last_h2c(struct ieee80211_hw *hw, in _rtl8821ae_check_fw_read_last_h2c()
324 static void _rtl8821ae_fill_h2c_command(struct ieee80211_hw *hw, in _rtl8821ae_fill_h2c_command()
506 void rtl8821ae_fill_h2c_cmd(struct ieee80211_hw *hw, in rtl8821ae_fill_h2c_cmd()
[all …]
Dtrx.c81 static void query_rxphystatus(struct ieee80211_hw *hw, in query_rxphystatus()
298 static void translate_rx_signal_stuff(struct ieee80211_hw *hw, in translate_rx_signal_stuff()
412 static bool rtl8821ae_get_rxdesc_is_ht(struct ieee80211_hw *hw, u8 *pdesc) in rtl8821ae_get_rxdesc_is_ht()
426 static bool rtl8821ae_get_rxdesc_is_vht(struct ieee80211_hw *hw, u8 *pdesc) in rtl8821ae_get_rxdesc_is_vht()
440 static u8 rtl8821ae_get_rx_vht_nss(struct ieee80211_hw *hw, u8 *pdesc) in rtl8821ae_get_rx_vht_nss()
456 bool rtl8821ae_rx_query_desc(struct ieee80211_hw *hw, in rtl8821ae_rx_query_desc()
578 static u8 rtl8821ae_bw_mapping(struct ieee80211_hw *hw, in rtl8821ae_bw_mapping()
608 static u8 rtl8821ae_sc_mapping(struct ieee80211_hw *hw, in rtl8821ae_sc_mapping()
683 void rtl8821ae_tx_fill_desc(struct ieee80211_hw *hw, in rtl8821ae_tx_fill_desc()
846 void rtl8821ae_tx_fill_cmddesc(struct ieee80211_hw *hw, in rtl8821ae_tx_fill_cmddesc()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c54 void rtl92c_read_chip_version(struct ieee80211_hw *hw) in rtl92c_read_chip_version()
150 bool rtl92c_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) in rtl92c_llt_write()
181 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary) in rtl92c_init_llt_table()
219 void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl92c_set_key()
353 u32 rtl92c_get_txdma_status(struct ieee80211_hw *hw) in rtl92c_get_txdma_status()
360 void rtl92c_enable_interrupt(struct ieee80211_hw *hw) in rtl92c_enable_interrupt()
380 void rtl92c_init_interrupt(struct ieee80211_hw *hw) in rtl92c_init_interrupt()
385 void rtl92c_disable_interrupt(struct ieee80211_hw *hw) in rtl92c_disable_interrupt()
393 void rtl92c_set_qos(struct ieee80211_hw *hw, int aci) in rtl92c_set_qos()
401 void rtl92c_init_driver_info_size(struct ieee80211_hw *hw, u8 size) in rtl92c_init_driver_info_size()
[all …]
Dhw.c50 static void _rtl92cu_phy_param_tab_init(struct ieee80211_hw *hw) in _rtl92cu_phy_param_tab_init()
124 static void _rtl92cu_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, in _rtl92cu_read_txpower_info_from_hwpg()
326 static void _rtl92cu_read_board_type(struct ieee80211_hw *hw, u8 *contents) in _rtl92cu_read_board_type()
345 static void _rtl92cu_read_adapter_info(struct ieee80211_hw *hw) in _rtl92cu_read_adapter_info()
422 static void _rtl92cu_hal_customized_behavior(struct ieee80211_hw *hw) in _rtl92cu_hal_customized_behavior()
445 void rtl92cu_read_eeprom_info(struct ieee80211_hw *hw) in rtl92cu_read_eeprom_info()
468 static int _rtl92cu_init_power_on(struct ieee80211_hw *hw) in _rtl92cu_init_power_on()
545 static void _rtl92cu_init_queue_reserved_page(struct ieee80211_hw *hw, in _rtl92cu_init_queue_reserved_page()
609 static void _rtl92c_init_trx_buffer(struct ieee80211_hw *hw, bool wmm_enable) in _rtl92c_init_trx_buffer()
632 static void _rtl92c_init_chipN_reg_priority(struct ieee80211_hw *hw, u16 beQ, in _rtl92c_init_chipN_reg_priority()
[all …]
Dtrx.c43 static int _ConfigVerTOutEP(struct ieee80211_hw *hw) in _ConfigVerTOutEP()
76 static int _ConfigVerNOutEP(struct ieee80211_hw *hw) in _ConfigVerNOutEP()
105 static void _TwoOutEpMapping(struct ieee80211_hw *hw, bool bIsChipB, in _TwoOutEpMapping()
133 static void _ThreeOutEpMapping(struct ieee80211_hw *hw, bool bwificfg, in _ThreeOutEpMapping()
160 static void _OneOutEpMapping(struct ieee80211_hw *hw, struct rtl_ep_map *ep_map) in _OneOutEpMapping()
170 static int _out_ep_mapping(struct ieee80211_hw *hw) in _out_ep_mapping()
204 int rtl8192cu_endpoint_mapping(struct ieee80211_hw *hw) in rtl8192cu_endpoint_mapping()
256 static enum rtl_desc_qsel _rtl8192cu_mq_to_descq(struct ieee80211_hw *hw, in _rtl8192cu_mq_to_descq()
304 bool rtl92cu_rx_query_desc(struct ieee80211_hw *hw, in rtl92cu_rx_query_desc()
358 static void _rtl_rx_process(struct ieee80211_hw *hw, struct sk_buff *skb) in _rtl_rx_process()
[all …]
Dled.c33 static void _rtl92cu_init_led(struct ieee80211_hw *hw, in _rtl92cu_init_led()
45 void rtl92cu_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92cu_sw_led_on()
71 void rtl92cu_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92cu_sw_led_off()
104 void rtl92cu_init_sw_leds(struct ieee80211_hw *hw) in rtl92cu_init_sw_leds()
111 void rtl92cu_deinit_sw_leds(struct ieee80211_hw *hw) in rtl92cu_deinit_sw_leds()
118 static void _rtl92cu_sw_led_control(struct ieee80211_hw *hw, in _rtl92cu_sw_led_control()
123 void rtl92cu_led_control(struct ieee80211_hw *hw, in rtl92cu_led_control()
Dphy.c44 u32 rtl92cu_phy_query_rf_reg(struct ieee80211_hw *hw, in rtl92cu_phy_query_rf_reg()
69 void rtl92cu_phy_set_rf_reg(struct ieee80211_hw *hw, in rtl92cu_phy_set_rf_reg()
108 bool rtl92cu_phy_mac_config(struct ieee80211_hw *hw) in rtl92cu_phy_mac_config()
116 bool rtl92cu_phy_bb_config(struct ieee80211_hw *hw) in rtl92cu_phy_bb_config()
142 bool _rtl92cu_phy_config_mac_with_headerfile(struct ieee80211_hw *hw) in _rtl92cu_phy_config_mac_with_headerfile()
159 bool _rtl92cu_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, in _rtl92cu_phy_config_bb_with_headerfile()
206 bool _rtl92cu_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, in _rtl92cu_phy_config_bb_with_pgheaderfile()
233 bool rtl92cu_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, in rtl92cu_phy_config_rf_with_headerfile()
293 void rtl92cu_phy_set_bw_mode_callback(struct ieee80211_hw *hw) in rtl92cu_phy_set_bw_mode_callback()
355 void rtl92cu_bb_block_on(struct ieee80211_hw *hw) in rtl92cu_bb_block_on()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c45 static void _rtl88ee_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl88ee_set_bcn_ctrl_reg()
57 static void _rtl88ee_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl88ee_stop_tx_beacon()
70 static void _rtl88ee_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl88ee_resume_tx_beacon()
83 static void _rtl88ee_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl88ee_enable_bcn_sub_func()
88 static void _rtl88ee_return_beacon_queue_skb(struct ieee80211_hw *hw) in _rtl88ee_return_beacon_queue_skb()
110 static void _rtl88ee_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl88ee_disable_bcn_sub_func()
115 static void _rtl88ee_set_fw_clock_on(struct ieee80211_hw *hw, in _rtl88ee_set_fw_clock_on()
185 static void _rtl88ee_set_fw_clock_off(struct ieee80211_hw *hw, in _rtl88ee_set_fw_clock_off()
241 static void _rtl88ee_set_fw_ps_rf_on(struct ieee80211_hw *hw) in _rtl88ee_set_fw_ps_rf_on()
249 static void _rtl88ee_set_fw_ps_rf_off_low_power(struct ieee80211_hw *hw) in _rtl88ee_set_fw_ps_rf_off_low_power()
[all …]
Ddm.c168 static void rtl88e_set_iqk_matrix(struct ieee80211_hw *hw, in rtl88e_set_iqk_matrix()
234 void rtl88e_dm_txpower_track_adjust(struct ieee80211_hw *hw, in rtl88e_dm_txpower_track_adjust()
270 static void dm_tx_pwr_track_set_pwr(struct ieee80211_hw *hw, in dm_tx_pwr_track_set_pwr()
345 static u8 rtl88e_dm_initial_gain_min_pwdb(struct ieee80211_hw *hw) in rtl88e_dm_initial_gain_min_pwdb()
372 static void rtl88e_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl88e_dm_false_alarm_counter_statistics()
452 static void rtl88e_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl88e_dm_cck_packet_detection_thresh()
488 static void rtl88e_dm_dig(struct ieee80211_hw *hw) in rtl88e_dm_dig()
622 static void rtl88e_dm_init_dynamic_txpower(struct ieee80211_hw *hw) in rtl88e_dm_init_dynamic_txpower()
632 static void rtl92c_dm_dynamic_txpower(struct ieee80211_hw *hw) in rtl92c_dm_dynamic_txpower()
710 void rtl88e_dm_write_dig(struct ieee80211_hw *hw) in rtl88e_dm_write_dig()
[all …]
Dphy.c63 u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl88e_phy_query_bb_reg()
82 void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw, in rtl88e_phy_set_bb_reg()
105 u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw, in rtl88e_phy_query_rf_reg()
131 void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw, in rtl88e_phy_set_rf_reg()
165 static u32 _rtl88e_phy_rf_serial_read(struct ieee80211_hw *hw, in _rtl88e_phy_rf_serial_read()
212 static void _rtl88e_phy_rf_serial_write(struct ieee80211_hw *hw, in _rtl88e_phy_rf_serial_write()
246 bool rtl88e_phy_mac_config(struct ieee80211_hw *hw) in rtl88e_phy_mac_config()
255 bool rtl88e_phy_bb_config(struct ieee80211_hw *hw) in rtl88e_phy_bb_config()
278 bool rtl88e_phy_rf_config(struct ieee80211_hw *hw) in rtl88e_phy_rf_config()
283 static bool _rtl88e_check_condition(struct ieee80211_hw *hw, in _rtl88e_check_condition()
[all …]
Dled.c35 static void _rtl88ee_init_led(struct ieee80211_hw *hw, in _rtl88ee_init_led()
43 void rtl88ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl88ee_sw_led_on()
71 void rtl88ee_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl88ee_sw_led_off()
109 void rtl88ee_init_sw_leds(struct ieee80211_hw *hw) in rtl88ee_init_sw_leds()
116 static void _rtl88ee_sw_led_control(struct ieee80211_hw *hw, in _rtl88ee_sw_led_control()
135 void rtl88ee_led_control(struct ieee80211_hw *hw, in rtl88ee_led_control()
Dfw.c34 static void _rtl88e_enable_fw_download(struct ieee80211_hw *hw, bool enable) in _rtl88e_enable_fw_download()
56 static void _rtl88e_fw_block_write(struct ieee80211_hw *hw, in _rtl88e_fw_block_write()
84 static void _rtl88e_fw_page_write(struct ieee80211_hw *hw, in _rtl88e_fw_page_write()
113 static void _rtl88e_write_fw(struct ieee80211_hw *hw, in _rtl88e_write_fw()
147 static int _rtl88e_fw_free_to_go(struct ieee80211_hw *hw) in _rtl88e_fw_free_to_go()
198 int rtl88e_download_fw(struct ieee80211_hw *hw, in rtl88e_download_fw()
248 static bool _rtl88e_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl88e_check_fw_read_last_h2c()
259 static void _rtl88e_fill_h2c_command(struct ieee80211_hw *hw, in _rtl88e_fill_h2c_command()
430 void rtl88e_fill_h2c_cmd(struct ieee80211_hw *hw, in rtl88e_fill_h2c_cmd()
449 void rtl88e_firmware_selfreset(struct ieee80211_hw *hw) in rtl88e_firmware_selfreset()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddm.c72 static void _rtl92s_dm_check_edca_turbo(struct ieee80211_hw *hw) in _rtl92s_dm_check_edca_turbo()
162 struct ieee80211_hw *hw) in _rtl92s_dm_txpowertracking_callback_thermalmeter()
199 struct ieee80211_hw *hw) in _rtl92s_dm_check_txpowertracking_thermalmeter()
227 static void _rtl92s_dm_refresh_rateadaptive_mask(struct ieee80211_hw *hw) in _rtl92s_dm_refresh_rateadaptive_mask()
310 static void _rtl92s_dm_switch_baseband_mrc(struct ieee80211_hw *hw) in _rtl92s_dm_switch_baseband_mrc()
370 void rtl92s_dm_init_edca_turbo(struct ieee80211_hw *hw) in rtl92s_dm_init_edca_turbo()
379 static void _rtl92s_dm_init_rate_adaptive_mask(struct ieee80211_hw *hw) in _rtl92s_dm_init_rate_adaptive_mask()
398 struct ieee80211_hw *hw) in _rtl92s_dm_init_txpowertracking_thermalmeter()
407 static void _rtl92s_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in _rtl92s_dm_false_alarm_counter_statistics()
433 static void rtl92s_backoff_enable_flag(struct ieee80211_hw *hw) in rtl92s_backoff_enable_flag()
[all …]
Dhw.c45 void rtl92se_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92se_get_hw_reg()
88 void rtl92se_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92se_set_hw_reg()
442 void rtl92se_enable_hw_security_config(struct ieee80211_hw *hw) in rtl92se_enable_hw_security_config()
472 static u8 _rtl92se_halset_sysclk(struct ieee80211_hw *hw, u8 data) in _rtl92se_halset_sysclk()
515 void rtl8192se_gpiobit3_cfg_inputmode(struct ieee80211_hw *hw) in rtl8192se_gpiobit3_cfg_inputmode()
530 static u8 _rtl92se_rf_onoff_detect(struct ieee80211_hw *hw) in _rtl92se_rf_onoff_detect()
555 static void _rtl92se_macconfig_before_fwdownload(struct ieee80211_hw *hw) in _rtl92se_macconfig_before_fwdownload()
772 static void _rtl92se_macconfig_after_fwdownload(struct ieee80211_hw *hw) in _rtl92se_macconfig_after_fwdownload()
909 static void _rtl92se_hw_configure(struct ieee80211_hw *hw) in _rtl92se_hw_configure()
948 int rtl92se_hw_init(struct ieee80211_hw *hw) in rtl92se_hw_init()
[all …]
Dphy.c55 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92s_phy_query_bb_reg()
74 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, in rtl92s_phy_set_bb_reg()
98 static u32 _rtl92s_phy_rf_serial_read(struct ieee80211_hw *hw, in _rtl92s_phy_rf_serial_read()
159 static void _rtl92s_phy_rf_serial_write(struct ieee80211_hw *hw, in _rtl92s_phy_rf_serial_write()
180 u32 rtl92s_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl92s_phy_query_rf_reg()
206 void rtl92s_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl92s_phy_set_rf_reg()
239 void rtl92s_phy_scan_operation_backup(struct ieee80211_hw *hw, in rtl92s_phy_scan_operation_backup()
261 void rtl92s_phy_set_bw_mode(struct ieee80211_hw *hw, in rtl92s_phy_set_bw_mode()
353 static bool _rtl92s_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, in _rtl92s_phy_sw_chnl_step_by_step()
457 u8 rtl92s_phy_sw_chnl(struct ieee80211_hw *hw) in rtl92s_phy_sw_chnl()
[all …]
Dled.c35 static void _rtl92se_init_led(struct ieee80211_hw *hw, in _rtl92se_init_led()
43 void rtl92se_init_sw_leds(struct ieee80211_hw *hw) in rtl92se_init_sw_leds()
50 void rtl92se_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92se_sw_led_on()
77 void rtl92se_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92se_sw_led_off()
113 static void _rtl92se_sw_led_control(struct ieee80211_hw *hw, in _rtl92se_sw_led_control()
132 void rtl92se_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) in rtl92se_led_control()
Dfw.c37 static void _rtl92s_fw_set_rqpn(struct ieee80211_hw *hw) in _rtl92s_fw_set_rqpn()
47 static bool _rtl92s_firmware_enable_cpu(struct ieee80211_hw *hw) in _rtl92s_firmware_enable_cpu()
107 static u8 _rtl92s_firmware_header_map_rftype(struct ieee80211_hw *hw) in _rtl92s_firmware_header_map_rftype()
127 static void _rtl92s_firmwareheader_priveupdate(struct ieee80211_hw *hw, in _rtl92s_firmwareheader_priveupdate()
136 static bool _rtl92s_cmd_send_packet(struct ieee80211_hw *hw, in _rtl92s_cmd_send_packet()
160 static bool _rtl92s_firmware_downloadcode(struct ieee80211_hw *hw, in _rtl92s_firmware_downloadcode()
219 static bool _rtl92s_firmware_checkready(struct ieee80211_hw *hw, in _rtl92s_firmware_checkready()
351 int rtl92s_download_fw(struct ieee80211_hw *hw) in rtl92s_download_fw()
536 static bool _rtl92s_firmware_set_h2c_cmd(struct ieee80211_hw *hw, u8 h2c_cmd, in _rtl92s_firmware_set_h2c_cmd()
589 void rtl92s_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 Mode) in rtl92s_set_fw_pwrmode_cmd()
[all …]
Dsw.c46 static void rtl92s_init_aspm_vars(struct ieee80211_hw *hw) in rtl92s_init_aspm_vars()
89 struct ieee80211_hw *hw = context; in rtl92se_fw_cb() local
114 static int rtl92s_init_sw_vars(struct ieee80211_hw *hw) in rtl92s_init_sw_vars()
231 static void rtl92s_deinit_sw_vars(struct ieee80211_hw *hw) in rtl92s_deinit_sw_vars()
241 static bool rtl92se_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, in rtl92se_is_tx_desc_closed()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c58 ath5k_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control, in ath5k_tx()
74 ath5k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in ath5k_add_interface()
158 ath5k_remove_interface(struct ieee80211_hw *hw, in ath5k_remove_interface()
195 ath5k_config(struct ieee80211_hw *hw, u32 changed) in ath5k_config()
252 ath5k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in ath5k_bss_info_changed()
320 ath5k_prepare_multicast(struct ieee80211_hw *hw, in ath5k_prepare_multicast()
368 ath5k_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, in ath5k_configure_filter()
473 ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, in ath5k_set_key()
539 ath5k_sw_scan_start(struct ieee80211_hw *hw, in ath5k_sw_scan_start()
550 ath5k_sw_scan_complete(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in ath5k_sw_scan_complete()
[all …]
/linux-4.4.14/drivers/net/fjes/
Dfjes_hw.c37 u32 fjes_hw_rd32(struct fjes_hw *hw, u32 reg) in fjes_hw_rd32()
47 static u8 *fjes_hw_iomap(struct fjes_hw *hw) in fjes_hw_iomap()
62 static void fjes_hw_iounmap(struct fjes_hw *hw) in fjes_hw_iounmap()
68 int fjes_hw_reset(struct fjes_hw *hw) in fjes_hw_reset()
88 static int fjes_hw_get_max_epid(struct fjes_hw *hw) in fjes_hw_get_max_epid()
97 static int fjes_hw_get_my_epid(struct fjes_hw *hw) in fjes_hw_get_my_epid()
106 static int fjes_hw_alloc_shared_status_region(struct fjes_hw *hw) in fjes_hw_alloc_shared_status_region()
121 static void fjes_hw_free_shared_status_region(struct fjes_hw *hw) in fjes_hw_free_shared_status_region()
185 fjes_hw_init_command_registers(struct fjes_hw *hw, in fjes_hw_init_command_registers()
212 static int fjes_hw_setup(struct fjes_hw *hw) in fjes_hw_setup()
[all …]
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcsusb.c67 ctrl_start_transfer(struct hfcsusb *hw) in ctrl_start_transfer()
90 static int write_reg(struct hfcsusb *hw, __u8 reg, __u8 val) in write_reg()
119 struct hfcsusb *hw = (struct hfcsusb *) urb->context; in ctrl_complete() local
136 set_led_bit(struct hfcsusb *hw, signed short led_bits, int set_on) in set_led_bit()
153 handle_led(struct hfcsusb *hw, int event) in handle_led()
213 struct hfcsusb *hw = bch->hw; in hfcusb_l2l1B() local
259 hfcsusb_ph_info(struct hfcsusb *hw) in hfcsusb_ph_info()
290 struct hfcsusb *hw = dch->hw; in hfcusb_l2l1D() local
377 struct hfcsusb *hw = dch->hw; in hfc_l1callback() local
424 open_dchannel(struct hfcsusb *hw, struct mISDNchannel *ch, in open_dchannel()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c49 static void _rtl92ce_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl92ce_set_bcn_ctrl_reg()
61 static void _rtl92ce_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl92ce_stop_tx_beacon()
74 static void _rtl92ce_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl92ce_resume_tx_beacon()
87 static void _rtl92ce_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92ce_enable_bcn_sub_func()
92 static void _rtl92ce_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92ce_disable_bcn_sub_func()
97 void rtl92ce_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92ce_get_hw_reg()
151 void rtl92ce_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92ce_set_hw_reg()
561 static bool _rtl92ce_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) in _rtl92ce_llt_write()
588 static bool _rtl92ce_llt_table_init(struct ieee80211_hw *hw) in _rtl92ce_llt_table_init()
661 static void _rtl92ce_gen_refresh_led_state(struct ieee80211_hw *hw) in _rtl92ce_gen_refresh_led_state()
[all …]
Dphy.c47 u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, in rtl92c_phy_query_rf_reg()
80 bool rtl92c_phy_mac_config(struct ieee80211_hw *hw) in rtl92c_phy_mac_config()
94 bool rtl92c_phy_bb_config(struct ieee80211_hw *hw) in rtl92c_phy_bb_config()
120 void rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw, in rtl92ce_phy_set_rf_reg()
166 static bool _rtl92c_phy_config_mac_with_headerfile(struct ieee80211_hw *hw) in _rtl92c_phy_config_mac_with_headerfile()
182 bool _rtl92ce_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, in _rtl92ce_phy_config_bb_with_headerfile()
228 bool _rtl92ce_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, in _rtl92ce_phy_config_bb_with_pgheaderfile()
256 bool rtl92c_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, in rtl92c_phy_config_rf_with_headerfile()
316 void rtl92ce_phy_set_bw_mode_callback(struct ieee80211_hw *hw) in rtl92ce_phy_set_bw_mode_callback()
384 void _rtl92ce_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) in _rtl92ce_phy_lc_calibrate()
[all …]
Dled.c35 static void _rtl92ce_init_led(struct ieee80211_hw *hw, in _rtl92ce_init_led()
43 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ce_sw_led_on()
71 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ce_sw_led_off()
106 void rtl92ce_init_sw_leds(struct ieee80211_hw *hw) in rtl92ce_init_sw_leds()
113 static void _rtl92ce_sw_led_control(struct ieee80211_hw *hw, in _rtl92ce_sw_led_control()
132 void rtl92ce_led_control(struct ieee80211_hw *hw, in rtl92ce_led_control()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00mac.c100 void rt2x00mac_tx(struct ieee80211_hw *hw, in rt2x00mac_tx()
176 int rt2x00mac_start(struct ieee80211_hw *hw) in rt2x00mac_start()
187 void rt2x00mac_stop(struct ieee80211_hw *hw) in rt2x00mac_stop()
198 int rt2x00mac_add_interface(struct ieee80211_hw *hw, in rt2x00mac_add_interface()
266 void rt2x00mac_remove_interface(struct ieee80211_hw *hw, in rt2x00mac_remove_interface()
302 int rt2x00mac_config(struct ieee80211_hw *hw, u32 changed) in rt2x00mac_config()
345 void rt2x00mac_configure_filter(struct ieee80211_hw *hw, in rt2x00mac_configure_filter()
413 int rt2x00mac_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, in rt2x00mac_set_tim()
450 int rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, in rt2x00mac_set_key()
534 int rt2x00mac_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in rt2x00mac_sta_add()
[all …]
/linux-4.4.14/sound/isa/sb/
Demu8000_callback.c85 snd_emu8000_ops_setup(struct snd_emu8000 *hw) in snd_emu8000_ops_setup()
99 struct snd_emu8000 *hw; in release_voice() local
114 struct snd_emu8000 *hw; in terminate_voice() local
126 struct snd_emu8000 *hw; in update_voice() local
161 struct snd_emu8000 *hw; in get_voice() local
240 struct snd_emu8000 *hw; in start_voice() local
318 struct snd_emu8000 *hw; in trigger_voice() local
338 struct snd_emu8000 *hw; in reset_voice() local
349 set_pitch(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_pitch()
358 set_volume(struct snd_emu8000 *hw, struct snd_emux_voice *vp) in set_volume()
[all …]
/linux-4.4.14/drivers/staging/wlan-ng/
Dhfa384x_usb.c288 static inline hfa384x_usbctlx_t *get_active_ctlx(hfa384x_t *hw) in get_active_ctlx()
332 static int submit_rx_urb(hfa384x_t *hw, gfp_t memflags) in submit_rx_urb()
394 static int submit_tx_urb(hfa384x_t *hw, struct urb *tx_urb, gfp_t memflags) in submit_tx_urb()
439 hfa384x_t *hw = container_of(data, struct hfa384x, usb_work); in hfa384x_usb_defer() local
531 void hfa384x_create(hfa384x_t *hw, struct usb_device *usb) in hfa384x_create()
602 void hfa384x_destroy(hfa384x_t *hw) in hfa384x_destroy()
805 static void hfa384x_cb_status(hfa384x_t *hw, const hfa384x_usbctlx_t *ctlx) in hfa384x_cb_status()
842 static void hfa384x_cb_rrid(hfa384x_t *hw, const hfa384x_usbctlx_t *ctlx) in hfa384x_cb_rrid()
859 static inline int hfa384x_docmd_wait(hfa384x_t *hw, hfa384x_metacmd_t *cmd) in hfa384x_docmd_wait()
865 hfa384x_docmd_async(hfa384x_t *hw, in hfa384x_docmd_async()
[all …]
Dprism2sta.c245 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_txframe() local
282 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_mlmerequest() local
412 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_ifstate() local
586 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_getcardinfo() local
914 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_globalsetup() local
924 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_setmulticast() local
988 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_inf_tallies() local
1035 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_inf_scanresults() local
1090 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_inf_hostscanresults() local
1131 hfa384x_t *hw = (hfa384x_t *) wlandev->priv; in prism2sta_inf_chinforesults() local
[all …]
Dprism2mgmt.c119 hfa384x_t *hw = wlandev->priv; in prism2mgmt_scan() local
373 hfa384x_t *hw = wlandev->priv; in prism2mgmt_scan_results() local
531 hfa384x_t *hw = wlandev->priv; in prism2mgmt_start() local
713 hfa384x_t *hw = wlandev->priv; in prism2mgmt_readpda() local
779 hfa384x_t *hw = wlandev->priv; in prism2mgmt_ramdl_state() local
834 hfa384x_t *hw = wlandev->priv; in prism2mgmt_ramdl_write() local
896 hfa384x_t *hw = wlandev->priv; in prism2mgmt_flashdl_state() local
966 hfa384x_t *hw = wlandev->priv; in prism2mgmt_flashdl_write() local
1026 hfa384x_t *hw = wlandev->priv; in prism2mgmt_autojoin() local
1100 hfa384x_t *hw = wlandev->priv; in prism2mgmt_wlansniff() local
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c46 u32 rtl92de_read_dword_dbi(struct ieee80211_hw *hw, u16 offset, u8 direct) in rtl92de_read_dword_dbi()
58 void rtl92de_write_dword_dbi(struct ieee80211_hw *hw, in rtl92de_write_dword_dbi()
68 static void _rtl92de_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl92de_set_bcn_ctrl_reg()
79 static void _rtl92de_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl92de_stop_tx_beacon()
93 static void _rtl92de_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl92de_resume_tx_beacon()
107 static void _rtl92de_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92de_enable_bcn_sub_func()
112 static void _rtl92de_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92de_disable_bcn_sub_func()
117 void rtl92de_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92de_get_hw_reg()
174 void rtl92de_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92de_set_hw_reg()
510 static bool _rtl92de_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) in _rtl92de_llt_write()
[all …]
Dphy.c201 u32 rtl92d_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) in rtl92d_phy_query_bb_reg()
231 void rtl92d_phy_set_bb_reg(struct ieee80211_hw *hw, in rtl92d_phy_set_bb_reg()
267 static u32 _rtl92d_phy_rf_serial_read(struct ieee80211_hw *hw, in _rtl92d_phy_rf_serial_read()
313 static void _rtl92d_phy_rf_serial_write(struct ieee80211_hw *hw, in _rtl92d_phy_rf_serial_write()
331 u32 rtl92d_phy_query_rf_reg(struct ieee80211_hw *hw, in rtl92d_phy_query_rf_reg()
352 void rtl92d_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl92d_phy_set_rf_reg()
382 bool rtl92d_phy_mac_config(struct ieee80211_hw *hw) in rtl92d_phy_mac_config()
408 static void _rtl92d_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw) in _rtl92d_phy_init_bb_rf_register_definition()
535 static bool _rtl92d_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, in _rtl92d_phy_config_bb_with_headerfile()
635 static void _rtl92d_store_pwrindex_diffrate_offset(struct ieee80211_hw *hw, in _rtl92d_store_pwrindex_diffrate_offset()
[all …]
Ddm.c159 static void rtl92d_dm_false_alarm_counter_statistics(struct ieee80211_hw *hw) in rtl92d_dm_false_alarm_counter_statistics()
240 static void rtl92d_dm_find_minimum_rssi(struct ieee80211_hw *hw) in rtl92d_dm_find_minimum_rssi()
279 static void rtl92d_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) in rtl92d_dm_cck_packet_detection_thresh()
327 void rtl92d_dm_write_dig(struct ieee80211_hw *hw) in rtl92d_dm_write_dig()
374 static void rtl92d_dm_dig(struct ieee80211_hw *hw) in rtl92d_dm_dig()
482 static void rtl92d_dm_init_dynamic_txpower(struct ieee80211_hw *hw) in rtl92d_dm_init_dynamic_txpower()
491 static void rtl92d_dm_dynamic_txpower(struct ieee80211_hw *hw) in rtl92d_dm_dynamic_txpower()
586 static void rtl92d_dm_pwdb_monitor(struct ieee80211_hw *hw) in rtl92d_dm_pwdb_monitor()
608 void rtl92d_dm_init_edca_turbo(struct ieee80211_hw *hw) in rtl92d_dm_init_edca_turbo()
617 static void rtl92d_dm_check_edca_turbo(struct ieee80211_hw *hw) in rtl92d_dm_check_edca_turbo()
[all …]
Dled.c35 static void _rtl92ce_init_led(struct ieee80211_hw *hw, in _rtl92ce_init_led()
43 void rtl92de_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92de_sw_led_on()
80 void rtl92de_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92de_sw_led_off()
115 void rtl92de_init_sw_leds(struct ieee80211_hw *hw) in rtl92de_init_sw_leds()
122 static void _rtl92ce_sw_led_control(struct ieee80211_hw *hw, in _rtl92ce_sw_led_control()
141 void rtl92de_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) in rtl92de_led_control()
Dtrx.c76 static long _rtl92de_translate_todbm(struct ieee80211_hw *hw, in _rtl92de_translate_todbm()
86 static long _rtl92de_signal_scale_mapping(struct ieee80211_hw *hw, long currsig) in _rtl92de_signal_scale_mapping()
113 static void _rtl92de_query_rxphystatus(struct ieee80211_hw *hw, in _rtl92de_query_rxphystatus()
262 static void rtl92d_loop_over_paths(struct ieee80211_hw *hw, in rtl92d_loop_over_paths()
295 static void _rtl92de_process_ui_rssi(struct ieee80211_hw *hw, in _rtl92de_process_ui_rssi()
327 static void _rtl92de_update_rxsignalstatistics(struct ieee80211_hw *hw, in _rtl92de_update_rxsignalstatistics()
343 static void _rtl92de_process_pwdb(struct ieee80211_hw *hw, in _rtl92de_process_pwdb()
374 static void rtl92d_loop_over_streams(struct ieee80211_hw *hw, in rtl92d_loop_over_streams()
395 static void _rtl92de_process_ui_link_quality(struct ieee80211_hw *hw, in _rtl92de_process_ui_link_quality()
428 static void _rtl92de_process_phyinfo(struct ieee80211_hw *hw, in _rtl92de_process_phyinfo()
[all …]
Dfw.c44 static void _rtl92d_enable_fw_download(struct ieee80211_hw *hw, bool enable) in _rtl92d_enable_fw_download()
66 static void _rtl92d_fw_block_write(struct ieee80211_hw *hw, in _rtl92d_fw_block_write()
92 static void _rtl92d_fw_page_write(struct ieee80211_hw *hw, in _rtl92d_fw_page_write()
118 static void _rtl92d_write_fw(struct ieee80211_hw *hw, in _rtl92d_write_fw()
149 static int _rtl92d_fw_free_to_go(struct ieee80211_hw *hw) in _rtl92d_fw_free_to_go()
173 void rtl92d_firmware_selfreset(struct ieee80211_hw *hw) in rtl92d_firmware_selfreset()
194 static int _rtl92d_fw_init(struct ieee80211_hw *hw) in _rtl92d_fw_init()
242 int rtl92d_download_fw(struct ieee80211_hw *hw) in rtl92d_download_fw()
345 static bool _rtl92d_check_fw_read_last_h2c(struct ieee80211_hw *hw, u8 boxnum) in _rtl92d_check_fw_read_last_h2c()
357 static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw, in _rtl92d_fill_h2c_command()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c49 static void _rtl8723be_return_beacon_queue_skb(struct ieee80211_hw *hw) in _rtl8723be_return_beacon_queue_skb()
71 static void _rtl8723be_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl8723be_set_bcn_ctrl_reg()
83 static void _rtl8723be_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl8723be_stop_tx_beacon()
96 static void _rtl8723be_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl8723be_resume_tx_beacon()
109 static void _rtl8723be_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8723be_enable_bcn_sub_func()
114 static void _rtl8723be_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl8723be_disable_bcn_sub_func()
119 static void _rtl8723be_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val, in _rtl8723be_set_fw_clock_on()
188 static void _rtl8723be_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) in _rtl8723be_set_fw_clock_off()
243 static void _rtl8723be_set_fw_ps_rf_on(struct ieee80211_hw *hw) in _rtl8723be_set_fw_ps_rf_on()
250 static void _rtl8723be_fwlps_leave(struct ieee80211_hw *hw) in _rtl8723be_fwlps_leave()
[all …]
Dphy.c52 u32 rtl8723be_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, in rtl8723be_phy_query_rf_reg()
78 void rtl8723be_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path path, in rtl8723be_phy_set_rf_reg()
109 bool rtl8723be_phy_mac_config(struct ieee80211_hw *hw) in rtl8723be_phy_mac_config()
118 bool rtl8723be_phy_bb_config(struct ieee80211_hw *hw) in rtl8723be_phy_bb_config()
150 bool rtl8723be_phy_rf_config(struct ieee80211_hw *hw) in rtl8723be_phy_rf_config()
155 static bool _rtl8723be_check_condition(struct ieee80211_hw *hw, in _rtl8723be_check_condition()
184 static void _rtl8723be_config_rf_reg(struct ieee80211_hw *hw, u32 addr, in _rtl8723be_config_rf_reg()
198 static void _rtl8723be_config_rf_radio_a(struct ieee80211_hw *hw, in _rtl8723be_config_rf_radio_a()
209 static void _rtl8723be_phy_init_tx_power_by_rate(struct ieee80211_hw *hw) in _rtl8723be_phy_init_tx_power_by_rate()
226 static void _rtl8723be_config_bb_reg(struct ieee80211_hw *hw, in _rtl8723be_config_bb_reg()
[all …]
Ddm.c179 void rtl8723be_dm_txpower_track_adjust(struct ieee80211_hw *hw, u8 type, in rtl8723be_dm_txpower_track_adjust()
215 void rtl8723be_dm_init_rate_adaptive_mask(struct ieee80211_hw *hw) in rtl8723be_dm_init_rate_adaptive_mask()
232 static void rtl8723be_dm_init_txpower_tracking(struct ieee80211_hw *hw) in rtl8723be_dm_init_txpower_tracking()
255 static void rtl8723be_dm_init_dynamic_atc_switch(struct ieee80211_hw *hw) in rtl8723be_dm_init_dynamic_atc_switch()
265 void rtl8723be_dm_init(struct ieee80211_hw *hw) in rtl8723be_dm_init()
280 static void rtl8723be_dm_find_minimum_rssi(struct ieee80211_hw *hw) in rtl8723be_dm_find_minimum_rssi()
319 static void rtl8723be_dm_check_rssi_monitor(struct ieee80211_hw *hw) in rtl8723be_dm_check_rssi_monitor()
377 void rtl8723be_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi) in rtl8723be_dm_write_dig()
395 static void rtl8723be_dm_dig(struct ieee80211_hw *hw) in rtl8723be_dm_dig()
532 struct ieee80211_hw *hw) in rtl8723be_dm_false_alarm_counter_statistics()
[all …]
Dled.c31 static void _rtl8723be_init_led(struct ieee80211_hw *hw, struct rtl_led *pled, in _rtl8723be_init_led()
39 void rtl8723be_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723be_sw_led_on()
67 void rtl8723be_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723be_sw_led_off()
109 void rtl8723be_init_sw_leds(struct ieee80211_hw *hw) in rtl8723be_init_sw_leds()
116 static void _rtl8723be_sw_led_control(struct ieee80211_hw *hw, in _rtl8723be_sw_led_control()
135 void rtl8723be_led_control(struct ieee80211_hw *hw, in rtl8723be_led_control()
Dfw.c35 static bool _rtl8723be_check_fw_read_last_h2c(struct ieee80211_hw *hw, in _rtl8723be_check_fw_read_last_h2c()
48 static void _rtl8723be_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, in _rtl8723be_fill_h2c_command()
220 void rtl8723be_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id, in rtl8723be_fill_h2c_cmd()
239 void rtl8723be_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 mode) in rtl8723be_set_fw_pwrmode_cmd()
269 void rtl8723be_set_fw_media_status_rpt_cmd(struct ieee80211_hw *hw, u8 mstatus) in rtl8723be_set_fw_media_status_rpt_cmd()
401 void rtl8723be_set_fw_rsvdpagepkt(struct ieee80211_hw *hw, in rtl8723be_set_fw_rsvdpagepkt()
489 static void rtl8723be_set_p2p_ctw_period_cmd(struct ieee80211_hw *hw, in rtl8723be_set_p2p_ctw_period_cmd()
498 void rtl8723be_set_p2p_ps_offload_cmd(struct ieee80211_hw *hw, in rtl8723be_set_p2p_ps_offload_cmd()
589 static void _rtl8723be_c2h_content_parsing(struct ieee80211_hw *hw, in _rtl8723be_c2h_content_parsing()
621 void rtl8723be_c2h_packet_handler(struct ieee80211_hw *hw, u8 *buffer, u8 len) in rtl8723be_c2h_packet_handler()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c35 static void dwmac1000_core_init(struct mac_device_info *hw, int mtu) in dwmac1000_core_init()
56 static int dwmac1000_rx_ipc_enable(struct mac_device_info *hw) in dwmac1000_rx_ipc_enable()
73 static void dwmac1000_dump_regs(struct mac_device_info *hw) in dwmac1000_dump_regs()
86 static void dwmac1000_set_umac_addr(struct mac_device_info *hw, in dwmac1000_set_umac_addr()
95 static void dwmac1000_get_umac_addr(struct mac_device_info *hw, in dwmac1000_get_umac_addr()
131 static void dwmac1000_set_filter(struct mac_device_info *hw, in dwmac1000_set_filter()
200 static void dwmac1000_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, in dwmac1000_flow_ctrl()
227 static void dwmac1000_pmt(struct mac_device_info *hw, unsigned long mode) in dwmac1000_pmt()
244 static int dwmac1000_irq_status(struct mac_device_info *hw, in dwmac1000_irq_status()
312 static void dwmac1000_set_eee_mode(struct mac_device_info *hw) in dwmac1000_set_eee_mode()
[all …]
Ddwmac100_core.c35 static void dwmac100_core_init(struct mac_device_info *hw, int mtu) in dwmac100_core_init()
47 static void dwmac100_dump_mac_regs(struct mac_device_info *hw) in dwmac100_dump_mac_regs()
71 static int dwmac100_rx_ipc_enable(struct mac_device_info *hw) in dwmac100_rx_ipc_enable()
76 static int dwmac100_irq_status(struct mac_device_info *hw, in dwmac100_irq_status()
82 static void dwmac100_set_umac_addr(struct mac_device_info *hw, in dwmac100_set_umac_addr()
90 static void dwmac100_get_umac_addr(struct mac_device_info *hw, in dwmac100_get_umac_addr()
98 static void dwmac100_set_filter(struct mac_device_info *hw, in dwmac100_set_filter()
147 static void dwmac100_flow_ctrl(struct mac_device_info *hw, unsigned int duplex, in dwmac100_flow_ctrl()
159 static void dwmac100_pmt(struct mac_device_info *hw, unsigned long mode) in dwmac100_pmt()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dpci.c61 static u8 _rtl_mac_to_hwqueue(struct ieee80211_hw *hw, in _rtl_mac_to_hwqueue()
80 static void _rtl_pci_update_default_setting(struct ieee80211_hw *hw) in _rtl_pci_update_default_setting()
195 struct ieee80211_hw *hw, in _rtl_pci_platform_switch_device_pci_aspm()
210 static void _rtl_pci_switch_clk_req(struct ieee80211_hw *hw, u8 value) in _rtl_pci_switch_clk_req()
222 static void rtl_pci_disable_aspm(struct ieee80211_hw *hw) in rtl_pci_disable_aspm()
276 static void rtl_pci_enable_aspm(struct ieee80211_hw *hw) in rtl_pci_enable_aspm()
335 static bool rtl_pci_get_amd_l1_patch(struct ieee80211_hw *hw) in rtl_pci_get_amd_l1_patch()
356 static bool rtl_pci_check_buddy_priv(struct ieee80211_hw *hw, in rtl_pci_check_buddy_priv()
399 static void rtl_pci_get_linkcontrol_field(struct ieee80211_hw *hw) in rtl_pci_get_linkcontrol_field()
416 struct ieee80211_hw *hw) in rtl_pci_parse_configuration()
[all …]
Dps.c32 bool rtl_ps_enable_nic(struct ieee80211_hw *hw) in rtl_ps_enable_nic()
61 bool rtl_ps_disable_nic(struct ieee80211_hw *hw) in rtl_ps_disable_nic()
79 bool rtl_ps_set_rf_state(struct ieee80211_hw *hw, in rtl_ps_set_rf_state()
175 static void _rtl_ps_inactive_ps(struct ieee80211_hw *hw) in _rtl_ps_inactive_ps()
212 struct ieee80211_hw *hw = rtlworks->hw; in rtl_ips_nic_off_wq_callback() local
274 void rtl_ips_nic_off(struct ieee80211_hw *hw) in rtl_ips_nic_off()
289 void rtl_ips_nic_on(struct ieee80211_hw *hw) in rtl_ips_nic_on()
325 static bool rtl_get_fwlps_doze(struct ieee80211_hw *hw) in rtl_get_fwlps_doze()
351 void rtl_lps_set_psmode(struct ieee80211_hw *hw, u8 rt_psmode) in rtl_lps_set_psmode()
418 void rtl_lps_enter(struct ieee80211_hw *hw) in rtl_lps_enter()
[all …]
Dbase.c174 static void _rtl_init_hw_ht_capab(struct ieee80211_hw *hw, in _rtl_init_hw_ht_capab()
242 static void _rtl_init_hw_vht_capab(struct ieee80211_hw *hw, in _rtl_init_hw_vht_capab()
319 static void _rtl_init_mac80211(struct ieee80211_hw *hw) in _rtl_init_mac80211()
457 static void _rtl_init_deferred_work(struct ieee80211_hw *hw) in _rtl_init_deferred_work()
482 void rtl_deinit_deferred_work(struct ieee80211_hw *hw) in rtl_deinit_deferred_work()
496 void rtl_init_rfkill(struct ieee80211_hw *hw) in rtl_init_rfkill()
524 void rtl_deinit_rfkill(struct ieee80211_hw *hw) in rtl_deinit_rfkill()
530 int rtl_init_core(struct ieee80211_hw *hw) in rtl_init_core()
577 void rtl_deinit_core(struct ieee80211_hw *hw) in rtl_deinit_core()
582 void rtl_init_rx_config(struct ieee80211_hw *hw) in rtl_init_rx_config()
[all …]
Dcore.c55 void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, in rtl_rfreg_delay()
77 void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data) in rtl_bb_delay()
101 struct ieee80211_hw *hw = context; in rtl_fw_do_work() local
155 static int rtl_op_start(struct ieee80211_hw *hw) in rtl_op_start()
173 static void rtl_op_stop(struct ieee80211_hw *hw) in rtl_op_stop()
211 static void rtl_op_tx(struct ieee80211_hw *hw, in rtl_op_tx()
235 static int rtl_op_add_interface(struct ieee80211_hw *hw, in rtl_op_add_interface()
334 static void rtl_op_remove_interface(struct ieee80211_hw *hw, in rtl_op_remove_interface()
367 static int rtl_op_change_interface(struct ieee80211_hw *hw, in rtl_op_change_interface()
432 static void _rtl_add_wowlan_patterns(struct ieee80211_hw *hw, in _rtl_add_wowlan_patterns()
[all …]
Defuse.c77 void efuse_initialize(struct ieee80211_hw *hw) in efuse_initialize()
101 u8 efuse_read_1byte(struct ieee80211_hw *hw, u16 address) in efuse_read_1byte()
147 void efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value) in efuse_write_1byte()
195 void read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf) in read_efuse_byte()
227 void read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf) in read_efuse()
378 bool efuse_shadow_update_chk(struct ieee80211_hw *hw) in efuse_shadow_update_chk()
419 void efuse_shadow_read(struct ieee80211_hw *hw, u8 type, in efuse_shadow_read()
432 void efuse_shadow_write(struct ieee80211_hw *hw, u8 type, u16 offset, in efuse_shadow_write()
444 bool efuse_shadow_update(struct ieee80211_hw *hw) in efuse_shadow_update()
518 void rtl_efuse_shadow_map_update(struct ieee80211_hw *hw) in rtl_efuse_shadow_map_update()
[all …]
Dusb.c244 struct ieee80211_hw *hw) in _rtl_usb_io_handler_init()
259 static void _rtl_usb_io_handler_release(struct ieee80211_hw *hw) in _rtl_usb_io_handler_release()
270 static struct sk_buff *_none_usb_tx_aggregate_hdl(struct ieee80211_hw *hw, in _none_usb_tx_aggregate_hdl()
279 static int _rtl_usb_init_tx(struct ieee80211_hw *hw) in _rtl_usb_init_tx()
320 static int _rtl_usb_init_rx(struct ieee80211_hw *hw) in _rtl_usb_init_rx()
345 static int _rtl_usb_init(struct ieee80211_hw *hw) in _rtl_usb_init()
386 static void rtl_usb_init_sw(struct ieee80211_hw *hw) in rtl_usb_init_sw()
425 static int _rtl_prep_rx_urb(struct ieee80211_hw *hw, struct rtl_usb *rtlusb, in _rtl_prep_rx_urb()
447 static void _rtl_usb_rx_process_agg(struct ieee80211_hw *hw, in _rtl_usb_rx_process_agg()
489 static void _rtl_usb_rx_process_noagg(struct ieee80211_hw *hw, in _rtl_usb_rx_process_noagg()
[all …]
Dcam.c29 void rtl_cam_reset_sec_info(struct ieee80211_hw *hw) in rtl_cam_reset_sec_info()
41 static void rtl_cam_program_entry(struct ieee80211_hw *hw, u32 entry_no, in rtl_cam_program_entry()
118 u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, in rtl_cam_add_one_entry()
151 int rtl_cam_delete_one_entry(struct ieee80211_hw *hw, in rtl_cam_delete_one_entry()
175 void rtl_cam_reset_all_entry(struct ieee80211_hw *hw) in rtl_cam_reset_all_entry()
185 void rtl_cam_mark_invalid(struct ieee80211_hw *hw, u8 uc_index) in rtl_cam_mark_invalid()
226 void rtl_cam_empty_entry(struct ieee80211_hw *hw, u8 uc_index) in rtl_cam_empty_entry()
280 u8 rtl_cam_get_free_entry(struct ieee80211_hw *hw, u8 *sta_addr) in rtl_cam_get_free_entry()
315 void rtl_cam_del_entry(struct ieee80211_hw *hw, u8 *sta_addr) in rtl_cam_del_entry()
Dstats.c51 static long rtl_translate_todbm(struct ieee80211_hw *hw, in rtl_translate_todbm()
61 long rtl_signal_scale_mapping(struct ieee80211_hw *hw, long currsig) in rtl_signal_scale_mapping()
90 static void rtl_process_ui_rssi(struct ieee80211_hw *hw, in rtl_process_ui_rssi()
156 static void rtl_update_rxsignalstatistics(struct ieee80211_hw *hw, in rtl_update_rxsignalstatistics()
172 static void rtl_process_pwdb(struct ieee80211_hw *hw, struct rtl_stats *pstatus) in rtl_process_pwdb()
214 static void rtl_process_ui_link_quality(struct ieee80211_hw *hw, in rtl_process_ui_link_quality()
257 void rtl_process_phyinfo(struct ieee80211_hw *hw, u8 *buffer, in rtl_process_phyinfo()
/linux-4.4.14/drivers/clk/mediatek/
Dclk-gate.c26 static int mtk_cg_bit_is_cleared(struct clk_hw *hw) in mtk_cg_bit_is_cleared()
38 static int mtk_cg_bit_is_set(struct clk_hw *hw) in mtk_cg_bit_is_set()
50 static void mtk_cg_set_bit(struct clk_hw *hw) in mtk_cg_set_bit()
57 static void mtk_cg_clr_bit(struct clk_hw *hw) in mtk_cg_clr_bit()
64 static int mtk_cg_enable(struct clk_hw *hw) in mtk_cg_enable()
71 static void mtk_cg_disable(struct clk_hw *hw) in mtk_cg_disable()
76 static int mtk_cg_enable_inv(struct clk_hw *hw) in mtk_cg_enable_inv()
83 static void mtk_cg_disable_inv(struct clk_hw *hw) in mtk_cg_disable_inv()
Dclk-apmixed.c28 struct clk_hw hw; member
32 static inline struct mtk_ref2usb_tx *to_mtk_ref2usb_tx(struct clk_hw *hw) in to_mtk_ref2usb_tx()
37 static int mtk_ref2usb_tx_is_prepared(struct clk_hw *hw) in mtk_ref2usb_tx_is_prepared()
44 static int mtk_ref2usb_tx_prepare(struct clk_hw *hw) in mtk_ref2usb_tx_prepare()
64 static void mtk_ref2usb_tx_unprepare(struct clk_hw *hw) in mtk_ref2usb_tx_unprepare()
/linux-4.4.14/drivers/irqchip/
Dirq-metag-ext.c54 static unsigned int meta_intc_offset(irq_hw_number_t hw) in meta_intc_offset()
65 static unsigned int meta_intc_bank(irq_hw_number_t hw) in meta_intc_bank()
77 static void __iomem *meta_intc_stat_addr(irq_hw_number_t hw) in meta_intc_stat_addr()
90 static void __iomem *meta_intc_level_addr(irq_hw_number_t hw) in meta_intc_level_addr()
103 static void __iomem *meta_intc_mask_addr(irq_hw_number_t hw) in meta_intc_mask_addr()
116 static inline void __iomem *meta_intc_vec_addr(irq_hw_number_t hw) in meta_intc_vec_addr()
132 irq_hw_number_t hw = data->hwirq; in meta_intc_startup_irq() local
157 irq_hw_number_t hw = data->hwirq; in meta_intc_shutdown_irq() local
178 irq_hw_number_t hw = data->hwirq; in meta_intc_ack_irq() local
200 irq_hw_number_t hw = data->hwirq; in record_irq_is_masked() local
[all …]
Dirq-metag.c66 static inline void __iomem *metag_hwvec_addr(irq_hw_number_t hw) in metag_hwvec_addr()
124 irq_hw_number_t hw = data->hwirq; in metag_internal_irq_ack() local
141 irq_hw_number_t hw = data->hwirq; in metag_internal_irq_mask() local
160 irq_hw_number_t hw = data->hwirq; in metag_internal_irq_unmask() local
196 irq_hw_number_t hw = data->hwirq; in metag_internal_irq_set_affinity() local
226 irq_hw_number_t hw; in metag_internal_irq_demux() local
267 int internal_irq_map(unsigned int hw) in internal_irq_map()
303 irq_hw_number_t hw) in metag_internal_intc_map()
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c196 struct ieee80211_hw *hw = adapter->hw; in rsi_mac80211_detach() local
240 static void rsi_mac80211_tx(struct ieee80211_hw *hw, in rsi_mac80211_tx()
258 static int rsi_mac80211_start(struct ieee80211_hw *hw) in rsi_mac80211_start()
276 static void rsi_mac80211_stop(struct ieee80211_hw *hw) in rsi_mac80211_stop()
294 static int rsi_mac80211_add_interface(struct ieee80211_hw *hw, in rsi_mac80211_add_interface()
328 static void rsi_mac80211_remove_interface(struct ieee80211_hw *hw, in rsi_mac80211_remove_interface()
351 static int rsi_channel_change(struct ieee80211_hw *hw) in rsi_channel_change()
405 static int rsi_mac80211_config(struct ieee80211_hw *hw, in rsi_mac80211_config()
452 static void rsi_mac80211_bss_info_changed(struct ieee80211_hw *hw, in rsi_mac80211_bss_info_changed()
491 static void rsi_mac80211_conf_filter(struct ieee80211_hw *hw, in rsi_mac80211_conf_filter()
[all …]
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dmain.c20 static int mt7601u_start(struct ieee80211_hw *hw) in mt7601u_start()
40 static void mt7601u_stop(struct ieee80211_hw *hw) in mt7601u_stop()
53 static int mt7601u_add_interface(struct ieee80211_hw *hw, in mt7601u_add_interface()
77 static void mt7601u_remove_interface(struct ieee80211_hw *hw, in mt7601u_remove_interface()
87 static int mt7601u_config(struct ieee80211_hw *hw, u32 changed) in mt7601u_config()
106 mt76_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, in mt76_configure_filter()
140 mt7601u_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_bss_info_changed()
215 mt7601u_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_sta_add()
246 mt7601u_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_sta_remove()
265 mt7601u_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, in mt7601u_sta_notify()
[all …]
/linux-4.4.14/drivers/net/ethernet/marvell/
Dskge.c126 static inline bool is_genesis(const struct skge_hw *hw) in is_genesis()
160 static u32 wol_supported(const struct skge_hw *hw) in wol_supported()
173 struct skge_hw *hw = skge->hw; in skge_wol_init() local
256 struct skge_hw *hw = skge->hw; in skge_set_wol() local
272 static u32 skge_supported_modes(const struct skge_hw *hw) in skge_supported_modes()
307 struct skge_hw *hw = skge->hw; in skge_get_settings() local
328 const struct skge_hw *hw = skge->hw; in skge_set_settings() local
599 static inline u32 hwkhz(const struct skge_hw *hw) in hwkhz()
605 static inline u32 skge_clk2usec(const struct skge_hw *hw, u32 ticks) in skge_clk2usec()
611 static inline u32 skge_usecs2clk(const struct skge_hw *hw, u32 usec) in skge_usecs2clk()
[all …]
Dsky2.c161 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) in gm_phy_write()
188 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) in __gm_phy_read()
215 static inline u16 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) in gm_phy_read()
223 static void sky2_power_on(struct sky2_hw *hw) in sky2_power_on()
272 static void sky2_power_aux(struct sky2_hw *hw) in sky2_power_aux()
294 static void sky2_gmac_reset(struct sky2_hw *hw, unsigned port) in sky2_gmac_reset()
336 static void sky2_phy_init(struct sky2_hw *hw, unsigned port) in sky2_phy_init()
706 static void sky2_phy_power_up(struct sky2_hw *hw, unsigned port) in sky2_phy_power_up()
727 static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port) in sky2_phy_power_down()
799 struct sky2_hw *hw = sky2->hw; in sky2_enable_rx_tx() local
[all …]
/linux-4.4.14/drivers/clk/
Dclk-wm831x.c33 static int wm831x_xtal_is_prepared(struct clk_hw *hw) in wm831x_xtal_is_prepared()
41 static unsigned long wm831x_xtal_recalc_rate(struct clk_hw *hw, in wm831x_xtal_recalc_rate()
75 static int wm831x_fll_is_prepared(struct clk_hw *hw) in wm831x_fll_is_prepared()
92 static int wm831x_fll_prepare(struct clk_hw *hw) in wm831x_fll_prepare()
109 static void wm831x_fll_unprepare(struct clk_hw *hw) in wm831x_fll_unprepare()
121 static unsigned long wm831x_fll_recalc_rate(struct clk_hw *hw, in wm831x_fll_recalc_rate()
144 static long wm831x_fll_round_rate(struct clk_hw *hw, unsigned long rate, in wm831x_fll_round_rate()
158 static int wm831x_fll_set_rate(struct clk_hw *hw, unsigned long rate, in wm831x_fll_set_rate()
184 static u8 wm831x_fll_get_parent(struct clk_hw *hw) in wm831x_fll_get_parent()
239 static int wm831x_clkout_is_prepared(struct clk_hw *hw) in wm831x_clkout_is_prepared()
[all …]
Dclk-si5351.c47 struct clk_hw hw; member
222 static int si5351_xtal_prepare(struct clk_hw *hw) in si5351_xtal_prepare()
231 static void si5351_xtal_unprepare(struct clk_hw *hw) in si5351_xtal_unprepare()
247 static int si5351_clkin_prepare(struct clk_hw *hw) in si5351_clkin_prepare()
256 static void si5351_clkin_unprepare(struct clk_hw *hw) in si5351_clkin_unprepare()
269 static unsigned long si5351_clkin_recalc_rate(struct clk_hw *hw, in si5351_clkin_recalc_rate()
310 static int si5351_vxco_prepare(struct clk_hw *hw) in si5351_vxco_prepare()
320 static void si5351_vxco_unprepare(struct clk_hw *hw) in si5351_vxco_unprepare()
324 static unsigned long si5351_vxco_recalc_rate(struct clk_hw *hw, in si5351_vxco_recalc_rate()
330 static int si5351_vxco_set_rate(struct clk_hw *hw, unsigned long rate, in si5351_vxco_set_rate()
[all …]
Dclk-max-gen.c40 struct clk_hw hw; member
43 static struct max_gen_clk *to_max_gen_clk(struct clk_hw *hw) in to_max_gen_clk()
48 static int max_gen_clk_prepare(struct clk_hw *hw) in max_gen_clk_prepare()
56 static void max_gen_clk_unprepare(struct clk_hw *hw) in max_gen_clk_unprepare()
64 static int max_gen_clk_is_prepared(struct clk_hw *hw) in max_gen_clk_is_prepared()
78 static unsigned long max_gen_recalc_rate(struct clk_hw *hw, in max_gen_recalc_rate()
96 struct clk_hw *hw = &max_gen->hw; in max_gen_clk_register() local
Dclk-mb86s7x.c48 struct clk_hw hw; member
52 static int crg_gate_control(struct clk_hw *hw, int en) in crg_gate_control()
92 static int crg_port_prepare(struct clk_hw *hw) in crg_port_prepare()
97 static void crg_port_unprepare(struct clk_hw *hw) in crg_port_unprepare()
103 crg_rate_control(struct clk_hw *hw, int set, unsigned long *rate) in crg_rate_control()
147 crg_port_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in crg_port_recalc_rate()
157 crg_port_round_rate(struct clk_hw *hw, in crg_port_round_rate()
164 crg_port_set_rate(struct clk_hw *hw, in crg_port_set_rate()
251 struct clk_hw hw; member
263 static void mhu_cluster_rate(struct clk_hw *hw, unsigned long *rate, int get) in mhu_cluster_rate()
[all …]
Dclk-composite.c24 static u8 clk_composite_get_parent(struct clk_hw *hw) in clk_composite_get_parent()
35 static int clk_composite_set_parent(struct clk_hw *hw, u8 index) in clk_composite_set_parent()
46 static unsigned long clk_composite_recalc_rate(struct clk_hw *hw, in clk_composite_recalc_rate()
58 static int clk_composite_determine_rate(struct clk_hw *hw, in clk_composite_determine_rate()
132 static long clk_composite_round_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_round_rate()
144 static int clk_composite_set_rate(struct clk_hw *hw, unsigned long rate, in clk_composite_set_rate()
156 static int clk_composite_is_enabled(struct clk_hw *hw) in clk_composite_is_enabled()
167 static int clk_composite_enable(struct clk_hw *hw) in clk_composite_enable()
178 static void clk_composite_disable(struct clk_hw *hw) in clk_composite_disable()
Dclk-cdce706.c75 struct clk_hw hw; member
148 static int cdce706_clkin_set_parent(struct clk_hw *hw, u8 index) in cdce706_clkin_set_parent()
156 static u8 cdce706_clkin_get_parent(struct clk_hw *hw) in cdce706_clkin_get_parent()
168 static unsigned long cdce706_pll_recalc_rate(struct clk_hw *hw, in cdce706_pll_recalc_rate()
191 static long cdce706_pll_round_rate(struct clk_hw *hw, unsigned long rate, in cdce706_pll_round_rate()
217 static int cdce706_pll_set_rate(struct clk_hw *hw, unsigned long rate, in cdce706_pll_set_rate()
263 static int cdce706_divider_set_parent(struct clk_hw *hw, u8 index) in cdce706_divider_set_parent()
276 static u8 cdce706_divider_get_parent(struct clk_hw *hw) in cdce706_divider_get_parent()
283 static unsigned long cdce706_divider_recalc_rate(struct clk_hw *hw, in cdce706_divider_recalc_rate()
296 static long cdce706_divider_round_rate(struct clk_hw *hw, unsigned long rate, in cdce706_divider_round_rate()
[all …]
Dclk-pwm.c18 struct clk_hw hw; member
23 static inline struct clk_pwm *to_clk_pwm(struct clk_hw *hw) in to_clk_pwm()
28 static int clk_pwm_prepare(struct clk_hw *hw) in clk_pwm_prepare()
35 static void clk_pwm_unprepare(struct clk_hw *hw) in clk_pwm_unprepare()
42 static unsigned long clk_pwm_recalc_rate(struct clk_hw *hw, in clk_pwm_recalc_rate()
Dclk-gate.c44 static void clk_gate_endisable(struct clk_hw *hw, int enable) in clk_gate_endisable()
79 static int clk_gate_enable(struct clk_hw *hw) in clk_gate_enable()
86 static void clk_gate_disable(struct clk_hw *hw) in clk_gate_disable()
91 static int clk_gate_is_enabled(struct clk_hw *hw) in clk_gate_is_enabled()
171 struct clk_hw *hw; in clk_unregister_gate() local
/linux-4.4.14/drivers/clk/qcom/
Dclk-rcg2.c50 static int clk_rcg2_is_enabled(struct clk_hw *hw) in clk_rcg2_is_enabled()
63 static u8 clk_rcg2_get_parent(struct clk_hw *hw) in clk_rcg2_get_parent()
91 struct clk_hw *hw = &rcg->clkr.hw; in update_config() local
113 static int clk_rcg2_set_parent(struct clk_hw *hw, u8 index) in clk_rcg2_set_parent()
153 clk_rcg2_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_rcg2_recalc_rate()
179 static int _freq_tbl_determine_rate(struct clk_hw *hw, in _freq_tbl_determine_rate()
219 static int clk_rcg2_determine_rate(struct clk_hw *hw, in clk_rcg2_determine_rate()
230 struct clk_hw *hw = &rcg->clkr.hw; in clk_rcg2_configure() local
268 static int __clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate) in __clk_rcg2_set_rate()
280 static int clk_rcg2_set_rate(struct clk_hw *hw, unsigned long rate, in clk_rcg2_set_rate()
[all …]
Dclk-rcg.c45 static u8 clk_rcg_get_parent(struct clk_hw *hw) in clk_rcg_get_parent()
72 static u8 clk_dyn_rcg_get_parent(struct clk_hw *hw) in clk_dyn_rcg_get_parent()
102 static int clk_rcg_set_parent(struct clk_hw *hw, u8 index) in clk_rcg_set_parent()
217 struct clk_hw *hw = &rcg->clkr.hw; in configure_bank() local
299 static int clk_dyn_rcg_set_parent(struct clk_hw *hw, u8 index) in clk_dyn_rcg_set_parent()
350 clk_rcg_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_rcg_recalc_rate()
375 clk_dyn_rcg_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_dyn_rcg_recalc_rate()
407 static int _freq_tbl_determine_rate(struct clk_hw *hw, const struct freq_tbl *f, in _freq_tbl_determine_rate()
443 static int clk_rcg_determine_rate(struct clk_hw *hw, in clk_rcg_determine_rate()
452 static int clk_dyn_rcg_determine_rate(struct clk_hw *hw, in clk_dyn_rcg_determine_rate()
[all …]
/linux-4.4.14/drivers/spi/
Dspi-nuc900.c72 struct nuc900_spi *hw = to_hw(spi); in nuc900_slave_select() local
119 static void nuc900_spi_setup_txnum(struct nuc900_spi *hw, unsigned int txnum) in nuc900_spi_setup_txnum()
137 static void nuc900_spi_setup_txbitlen(struct nuc900_spi *hw, in nuc900_spi_setup_txbitlen()
154 static void nuc900_spi_gobusy(struct nuc900_spi *hw) in nuc900_spi_gobusy()
170 static inline unsigned int hw_txbyte(struct nuc900_spi *hw, int count) in hw_txbyte()
177 struct nuc900_spi *hw = to_hw(spi); in nuc900_spi_txrx() local
195 struct nuc900_spi *hw = dev; in nuc900_spi_irq() local
223 static void nuc900_tx_edge(struct nuc900_spi *hw, unsigned int edge) in nuc900_tx_edge()
241 static void nuc900_rx_edge(struct nuc900_spi *hw, unsigned int edge) in nuc900_rx_edge()
259 static void nuc900_send_first(struct nuc900_spi *hw, unsigned int lsb) in nuc900_send_first()
[all …]
Dspi-au1550.c111 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) in au1550_spi_baudcfg()
134 static inline void au1550_spi_mask_ack_all(struct au1550_spi *hw) in au1550_spi_mask_ack_all()
149 static void au1550_spi_reset_fifos(struct au1550_spi *hw) in au1550_spi_reset_fifos()
172 struct au1550_spi *hw = spi_master_get_devdata(spi->master); in au1550_spi_chipsel() local
232 struct au1550_spi *hw = spi_master_get_devdata(spi->master); in au1550_spi_setupxfer() local
288 static int au1550_spi_dma_rxtmp_alloc(struct au1550_spi *hw, unsigned size) in au1550_spi_dma_rxtmp_alloc()
305 static void au1550_spi_dma_rxtmp_free(struct au1550_spi *hw) in au1550_spi_dma_rxtmp_free()
316 struct au1550_spi *hw = spi_master_get_devdata(spi->master); in au1550_spi_dma_txrxb() local
421 static irqreturn_t au1550_spi_dma_irq_callback(struct au1550_spi *hw) in au1550_spi_dma_irq_callback()
515 struct au1550_spi *hw = spi_master_get_devdata(spi->master); in au1550_spi_pio_txrxb() local
[all …]
Dspi-s3c24xx.c100 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_chipsel() local
122 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_update_state() local
167 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_setupxfer() local
180 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_setup() local
211 static inline unsigned int hw_txbyte(struct s3c24xx_spi *hw, int count) in hw_txbyte()
263 static void s3c24xx_spi_tryfiq(struct s3c24xx_spi *hw) in s3c24xx_spi_tryfiq()
338 struct s3c24xx_spi *hw = pw; in s3c24xx_spi_fiqop() local
363 static inline void s3c24xx_spi_initfiq(struct s3c24xx_spi *hw) in s3c24xx_spi_initfiq()
377 static inline bool s3c24xx_spi_usefiq(struct s3c24xx_spi *hw) in s3c24xx_spi_usefiq()
404 struct s3c24xx_spi *hw = to_hw(spi); in s3c24xx_spi_txrx() local
[all …]
Dspi-oc-tiny.c67 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_baud() local
74 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_chipselect() local
85 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_setup_transfer() local
99 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_setup() local
109 static inline void tiny_spi_wait_txr(struct tiny_spi *hw) in tiny_spi_wait_txr()
116 static inline void tiny_spi_wait_txe(struct tiny_spi *hw) in tiny_spi_wait_txe()
125 struct tiny_spi *hw = tiny_spi_to_hw(spi); in tiny_spi_txrx_bufs() local
176 struct tiny_spi *hw = dev; in tiny_spi_irq() local
207 struct tiny_spi *hw = platform_get_drvdata(pdev); in tiny_spi_of_probe() local
244 struct tiny_spi *hw; in tiny_spi_probe() local
[all …]
/linux-4.4.14/drivers/clk/at91/
Dclk-main.c36 struct clk_hw hw; member
42 #define to_clk_main_osc(hw) container_of(hw, struct clk_main_osc, hw) argument
45 struct clk_hw hw; member
53 #define to_clk_main_rc_osc(hw) container_of(hw, struct clk_main_rc_osc, hw) argument
56 struct clk_hw hw; member
60 #define to_clk_rm9200_main(hw) container_of(hw, struct clk_rm9200_main, hw) argument
63 struct clk_hw hw; member
70 #define to_clk_sam9x5_main(hw) container_of(hw, struct clk_sam9x5_main, hw) argument
82 static int clk_main_osc_prepare(struct clk_hw *hw) in clk_main_osc_prepare()
106 static void clk_main_osc_unprepare(struct clk_hw *hw) in clk_main_osc_unprepare()
[all …]
Dclk-slow.c43 struct clk_hw hw; member
48 #define to_clk_slow_osc(hw) container_of(hw, struct clk_slow_osc, hw) argument
51 struct clk_hw hw; member
58 #define to_clk_slow_rc_osc(hw) container_of(hw, struct clk_slow_rc_osc, hw) argument
61 struct clk_hw hw; member
65 #define to_clk_sam9260_slow(hw) container_of(hw, struct clk_sam9260_slow, hw) argument
68 struct clk_hw hw; member
73 #define to_clk_sam9x5_slow(hw) container_of(hw, struct clk_sam9x5_slow, hw) argument
77 static int clk_slow_osc_prepare(struct clk_hw *hw) in clk_slow_osc_prepare()
93 static void clk_slow_osc_unprepare(struct clk_hw *hw) in clk_slow_osc_unprepare()
[all …]
Dclk-usb.c29 struct clk_hw hw; member
33 #define to_at91sam9x5_clk_usb(hw) \ argument
37 struct clk_hw hw; member
42 #define to_at91rm9200_clk_usb(hw) \ argument
45 static unsigned long at91sam9x5_clk_usb_recalc_rate(struct clk_hw *hw, in at91sam9x5_clk_usb_recalc_rate()
59 static int at91sam9x5_clk_usb_determine_rate(struct clk_hw *hw, in at91sam9x5_clk_usb_determine_rate()
110 static int at91sam9x5_clk_usb_set_parent(struct clk_hw *hw, u8 index) in at91sam9x5_clk_usb_set_parent()
125 static u8 at91sam9x5_clk_usb_get_parent(struct clk_hw *hw) in at91sam9x5_clk_usb_get_parent()
133 static int at91sam9x5_clk_usb_set_rate(struct clk_hw *hw, unsigned long rate, in at91sam9x5_clk_usb_set_rate()
163 static int at91sam9n12_clk_usb_enable(struct clk_hw *hw) in at91sam9n12_clk_usb_enable()
[all …]
Dclk-generated.c30 struct clk_hw hw; member
38 #define to_clk_generated(hw) \ argument
41 static int clk_generated_enable(struct clk_hw *hw) in clk_generated_enable()
62 static void clk_generated_disable(struct clk_hw *hw) in clk_generated_disable()
75 static int clk_generated_is_enabled(struct clk_hw *hw) in clk_generated_is_enabled()
90 clk_generated_recalc_rate(struct clk_hw *hw, in clk_generated_recalc_rate()
98 static int clk_generated_determine_rate(struct clk_hw *hw, in clk_generated_determine_rate()
155 static int clk_generated_set_parent(struct clk_hw *hw, u8 index) in clk_generated_set_parent()
166 static u8 clk_generated_get_parent(struct clk_hw *hw) in clk_generated_get_parent()
174 static int clk_generated_set_rate(struct clk_hw *hw, in clk_generated_set_rate()
Dclk-peripheral.c35 struct clk_hw hw; member
40 #define to_clk_peripheral(hw) container_of(hw, struct clk_peripheral, hw) argument
43 struct clk_hw hw; member
51 #define to_clk_sam9x5_peripheral(hw) \ argument
54 static int clk_peripheral_enable(struct clk_hw *hw) in clk_peripheral_enable()
69 static void clk_peripheral_disable(struct clk_hw *hw) in clk_peripheral_disable()
83 static int clk_peripheral_is_enabled(struct clk_hw *hw) in clk_peripheral_is_enabled()
160 static int clk_sam9x5_peripheral_enable(struct clk_hw *hw) in clk_sam9x5_peripheral_enable()
179 static void clk_sam9x5_peripheral_disable(struct clk_hw *hw) in clk_sam9x5_peripheral_disable()
195 static int clk_sam9x5_peripheral_is_enabled(struct clk_hw *hw) in clk_sam9x5_peripheral_is_enabled()
[all …]
Dclk-smd.c26 struct clk_hw hw; member
30 #define to_at91sam9x5_clk_smd(hw) \ argument
33 static unsigned long at91sam9x5_clk_smd_recalc_rate(struct clk_hw *hw, in at91sam9x5_clk_smd_recalc_rate()
46 static long at91sam9x5_clk_smd_round_rate(struct clk_hw *hw, unsigned long rate, in at91sam9x5_clk_smd_round_rate()
68 static int at91sam9x5_clk_smd_set_parent(struct clk_hw *hw, u8 index) in at91sam9x5_clk_smd_set_parent()
83 static u8 at91sam9x5_clk_smd_get_parent(struct clk_hw *hw) in at91sam9x5_clk_smd_get_parent()
91 static int at91sam9x5_clk_smd_set_rate(struct clk_hw *hw, unsigned long rate, in at91sam9x5_clk_smd_set_rate()
Dclk-h32mx.c33 struct clk_hw hw; member
37 #define to_clk_sama5d4_h32mx(hw) container_of(hw, struct clk_sama5d4_h32mx, hw) argument
39 static unsigned long clk_sama5d4_h32mx_recalc_rate(struct clk_hw *hw, in clk_sama5d4_h32mx_recalc_rate()
52 static long clk_sama5d4_h32mx_round_rate(struct clk_hw *hw, unsigned long rate, in clk_sama5d4_h32mx_round_rate()
69 static int clk_sama5d4_h32mx_set_rate(struct clk_hw *hw, unsigned long rate, in clk_sama5d4_h32mx_set_rate()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
Dphy_common.c33 u32 rtl8723_phy_query_bb_reg(struct ieee80211_hw *hw, in rtl8723_phy_query_bb_reg()
52 void rtl8723_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, in rtl8723_phy_set_bb_reg()
88 u32 rtl8723_phy_rf_serial_read(struct ieee80211_hw *hw, in rtl8723_phy_rf_serial_read()
139 void rtl8723_phy_rf_serial_write(struct ieee80211_hw *hw, in rtl8723_phy_rf_serial_write()
164 long rtl8723_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw, in rtl8723_phy_txpwr_idx_to_dbm()
188 void rtl8723_phy_init_bb_rf_reg_def(struct ieee80211_hw *hw) in rtl8723_phy_init_bb_rf_reg_def()
302 void rtl8723_phy_path_a_fill_iqk_matrix(struct ieee80211_hw *hw, in rtl8723_phy_path_a_fill_iqk_matrix()
345 void rtl8723_save_adda_registers(struct ieee80211_hw *hw, u32 *addareg, in rtl8723_save_adda_registers()
355 void rtl8723_phy_save_mac_registers(struct ieee80211_hw *hw, in rtl8723_phy_save_mac_registers()
367 void rtl8723_phy_reload_adda_registers(struct ieee80211_hw *hw, in rtl8723_phy_reload_adda_registers()
[all …]
Dfw_common.c32 void rtl8723_enable_fw_download(struct ieee80211_hw *hw, bool enable) in rtl8723_enable_fw_download()
56 void rtl8723_fw_block_write(struct ieee80211_hw *hw, in rtl8723_fw_block_write()
85 void rtl8723_fw_page_write(struct ieee80211_hw *hw, in rtl8723_fw_page_write()
115 void rtl8723_write_fw(struct ieee80211_hw *hw, in rtl8723_write_fw()
151 void rtl8723ae_firmware_selfreset(struct ieee80211_hw *hw) in rtl8723ae_firmware_selfreset()
175 void rtl8723be_firmware_selfreset(struct ieee80211_hw *hw) in rtl8723be_firmware_selfreset()
198 int rtl8723_fw_free_to_go(struct ieee80211_hw *hw, bool is_8723be, in rtl8723_fw_free_to_go()
251 int rtl8723_download_fw(struct ieee80211_hw *hw, in rtl8723_download_fw()
307 bool rtl8723_cmd_send_packet(struct ieee80211_hw *hw, in rtl8723_cmd_send_packet()
/linux-4.4.14/drivers/clk/ux500/
Dclk-prcmu.c20 struct clk_hw hw; member
29 static int clk_prcmu_prepare(struct clk_hw *hw) in clk_prcmu_prepare()
41 static void clk_prcmu_unprepare(struct clk_hw *hw) in clk_prcmu_unprepare()
51 static int clk_prcmu_is_prepared(struct clk_hw *hw) in clk_prcmu_is_prepared()
57 static int clk_prcmu_enable(struct clk_hw *hw) in clk_prcmu_enable()
64 static void clk_prcmu_disable(struct clk_hw *hw) in clk_prcmu_disable()
70 static int clk_prcmu_is_enabled(struct clk_hw *hw) in clk_prcmu_is_enabled()
76 static unsigned long clk_prcmu_recalc_rate(struct clk_hw *hw, in clk_prcmu_recalc_rate()
83 static long clk_prcmu_round_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_round_rate()
90 static int clk_prcmu_set_rate(struct clk_hw *hw, unsigned long rate, in clk_prcmu_set_rate()
[all …]
/linux-4.4.14/arch/mips/alchemy/common/
Dclock.c117 static unsigned long alchemy_clk_cpu_recalc(struct clk_hw *hw, in alchemy_clk_cpu_recalc()
172 struct clk_hw hw; member
178 static unsigned long alchemy_clk_aux_recalc(struct clk_hw *hw, in alchemy_clk_aux_recalc()
186 static int alchemy_clk_aux_setr(struct clk_hw *hw, in alchemy_clk_aux_setr()
206 static long alchemy_clk_aux_roundr(struct clk_hw *hw, in alchemy_clk_aux_roundr()
358 struct clk_hw hw; member
393 static int alchemy_clk_fgcs_detr(struct clk_hw *hw, in alchemy_clk_fgcs_detr()
483 static int alchemy_clk_fgv1_en(struct clk_hw *hw) in alchemy_clk_fgv1_en()
497 static int alchemy_clk_fgv1_isen(struct clk_hw *hw) in alchemy_clk_fgv1_isen()
505 static void alchemy_clk_fgv1_dis(struct clk_hw *hw) in alchemy_clk_fgv1_dis()
[all …]
/linux-4.4.14/drivers/staging/vt6656/
Dmain_usb.c505 static void vnt_tx_80211(struct ieee80211_hw *hw, in vnt_tx_80211()
514 static int vnt_start(struct ieee80211_hw *hw) in vnt_start()
551 static void vnt_stop(struct ieee80211_hw *hw) in vnt_stop()
584 static int vnt_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in vnt_add_interface()
619 static void vnt_remove_interface(struct ieee80211_hw *hw, in vnt_remove_interface()
649 static int vnt_config(struct ieee80211_hw *hw, u32 changed) in vnt_config()
691 static void vnt_bss_info_changed(struct ieee80211_hw *hw, in vnt_bss_info_changed()
777 static u64 vnt_prepare_multicast(struct ieee80211_hw *hw, in vnt_prepare_multicast()
796 static void vnt_configure(struct ieee80211_hw *hw, in vnt_configure()
839 static int vnt_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, in vnt_set_key()
[all …]
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c1353 struct ksz_hw *hw; member
1427 struct ksz_hw hw; member
1499 static inline void hw_ack_intr(struct ksz_hw *hw, uint interrupt) in hw_ack_intr()
1504 static inline void hw_dis_intr(struct ksz_hw *hw) in hw_dis_intr()
1511 static inline void hw_set_intr(struct ksz_hw *hw, uint interrupt) in hw_set_intr()
1517 static inline void hw_ena_intr(struct ksz_hw *hw) in hw_ena_intr()
1523 static inline void hw_dis_intr_bit(struct ksz_hw *hw, uint bit) in hw_dis_intr_bit()
1528 static inline void hw_turn_off_intr(struct ksz_hw *hw, uint interrupt) in hw_turn_off_intr()
1546 static void hw_turn_on_intr(struct ksz_hw *hw, u32 bit) in hw_turn_on_intr()
1554 static inline void hw_ena_intr_bit(struct ksz_hw *hw, uint interrupt) in hw_ena_intr_bit()
[all …]
/linux-4.4.14/drivers/misc/
Dhpilo.c67 static int fifo_enqueue(struct ilo_hwinfo *hw, char *fifobar, int entry) in fifo_enqueue()
86 static int fifo_dequeue(struct ilo_hwinfo *hw, char *fifobar, int *entry) in fifo_dequeue()
109 static int fifo_check_recv(struct ilo_hwinfo *hw, char *fifobar) in fifo_check_recv()
125 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_enqueue()
140 static int ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, in ilo_pkt_dequeue()
169 static int ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) in ilo_pkt_recv()
258 static int ilo_ccb_setup(struct ilo_hwinfo *hw, struct ccb_data *data, int slot) in ilo_ccb_setup()
323 static void ilo_ccb_open(struct ilo_hwinfo *hw, struct ccb_data *data, int slot) in ilo_ccb_open()
348 static int ilo_ccb_verify(struct ilo_hwinfo *hw, struct ccb_data *data) in ilo_ccb_verify()
382 static inline int get_device_outbound(struct ilo_hwinfo *hw) in get_device_outbound()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Dmain.c235 static int wcn36xx_start(struct ieee80211_hw *hw) in wcn36xx_start()
319 static void wcn36xx_stop(struct ieee80211_hw *hw) in wcn36xx_stop()
336 static int wcn36xx_config(struct ieee80211_hw *hw, u32 changed) in wcn36xx_config()
361 static void wcn36xx_configure_filter(struct ieee80211_hw *hw, in wcn36xx_configure_filter()
370 static void wcn36xx_tx(struct ieee80211_hw *hw, in wcn36xx_tx()
384 static int wcn36xx_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, in wcn36xx_set_key()
499 static void wcn36xx_sw_scan_start(struct ieee80211_hw *hw, in wcn36xx_sw_scan_start()
509 static void wcn36xx_sw_scan_complete(struct ieee80211_hw *hw, in wcn36xx_sw_scan_complete()
584 static void wcn36xx_bss_info_changed(struct ieee80211_hw *hw, in wcn36xx_bss_info_changed()
747 static int wcn36xx_set_rts_threshold(struct ieee80211_hw *hw, u32 value) in wcn36xx_set_rts_threshold()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dmac80211.c101 struct ieee80211_hw *hw = priv->hw; in iwlagn_mac_setup_register() local
291 static int iwlagn_mac_start(struct ieee80211_hw *hw) in iwlagn_mac_start()
318 static void iwlagn_mac_stop(struct ieee80211_hw *hw) in iwlagn_mac_stop()
340 static void iwlagn_mac_set_rekey_data(struct ieee80211_hw *hw, in iwlagn_mac_set_rekey_data()
368 static int iwlagn_mac_suspend(struct ieee80211_hw *hw, in iwlagn_mac_suspend()
433 static int iwlagn_mac_resume(struct ieee80211_hw *hw) in iwlagn_mac_resume()
580 static void iwlagn_mac_set_wakeup(struct ieee80211_hw *hw, bool enabled) in iwlagn_mac_set_wakeup()
588 static void iwlagn_mac_tx(struct ieee80211_hw *hw, in iwlagn_mac_tx()
598 static void iwlagn_mac_update_tkip_key(struct ieee80211_hw *hw, in iwlagn_mac_update_tkip_key()
609 static int iwlagn_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, in iwlagn_mac_set_key()
[all …]
/linux-4.4.14/drivers/net/wireless/orinoco/
Dhermes.c105 static int hermes_issue_cmd(struct hermes *hw, u16 cmd, u16 param0, in hermes_issue_cmd()
134 static int hermes_doicmd_wait(struct hermes *hw, u16 cmd, in hermes_doicmd_wait()
187 void hermes_struct_init(struct hermes *hw, void __iomem *address, in hermes_struct_init()
198 static int hermes_init(struct hermes *hw) in hermes_init()
252 static int hermes_docmd_wait(struct hermes *hw, u16 cmd, u16 parm0, in hermes_docmd_wait()
316 static int hermes_allocate(struct hermes *hw, u16 size, u16 *fid) in hermes_allocate()
366 static int hermes_bap_seek(struct hermes *hw, int bap, u16 id, u16 offset) in hermes_bap_seek()
425 static int hermes_bap_pread(struct hermes *hw, int bap, void *buf, int len, in hermes_bap_pread()
453 static int hermes_bap_pwrite(struct hermes *hw, int bap, const void *buf, in hermes_bap_pwrite()
481 static int hermes_read_ltv(struct hermes *hw, int bap, u16 rid, in hermes_read_ltv()
[all …]
Dhw.c74 struct hermes *hw = &priv->hw; in determine_fw_capabilities() local
283 struct hermes *hw = &priv->hw; in orinoco_hw_read_card_settings() local
413 struct hermes *hw = &priv->hw; in orinoco_hw_allocate_fid() local
461 struct hermes *hw = &priv->hw; in orinoco_hw_program_rids() local
692 struct hermes *hw = &priv->hw; in orinoco_hw_get_tkip_iv() local
709 struct hermes *hw = &priv->hw; in __orinoco_hw_set_bitrate() local
740 struct hermes *hw = &priv->hw; in orinoco_hw_get_act_bitrate() local
789 struct hermes *hw = &priv->hw; in __orinoco_hw_set_wap() local
821 struct hermes *hw = &priv->hw; in __orinoco_hw_setup_wepkeys() local
905 struct hermes *hw = &priv->hw; in __orinoco_hw_setup_enc() local
[all …]
/linux-4.4.14/sound/pci/emu10k1/
Demu10k1_callback.c92 snd_emu10k1_synth_get_voice(struct snd_emu10k1 *hw) in snd_emu10k1_synth_get_voice()
132 struct snd_emu10k1 *hw; in release_voice() local
148 struct snd_emu10k1 *hw; in terminate_voice() local
168 struct snd_emu10k1 *hw; in free_voice() local
194 struct snd_emu10k1 *hw; in update_voice() local
221 lookup_voices(struct snd_emux *emu, struct snd_emu10k1 *hw, in lookup_voices()
289 struct snd_emu10k1 *hw; in get_voice() local
326 struct snd_emu10k1 *hw; in start_voice() local
479 struct snd_emu10k1 *hw; in trigger_voice() local
508 set_fmmod(struct snd_emu10k1 *hw, struct snd_emux_voice *vp) in set_fmmod()
[all …]
/linux-4.4.14/drivers/clk/imx/
Dclk-pllv3.c41 struct clk_hw hw; member
72 static int clk_pllv3_prepare(struct clk_hw *hw) in clk_pllv3_prepare()
87 static void clk_pllv3_unprepare(struct clk_hw *hw) in clk_pllv3_unprepare()
100 static unsigned long clk_pllv3_recalc_rate(struct clk_hw *hw, in clk_pllv3_recalc_rate()
109 static long clk_pllv3_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_round_rate()
118 static int clk_pllv3_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_set_rate()
147 static unsigned long clk_pllv3_sys_recalc_rate(struct clk_hw *hw, in clk_pllv3_sys_recalc_rate()
156 static long clk_pllv3_sys_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_round_rate()
173 static int clk_pllv3_sys_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pllv3_sys_set_rate()
201 static unsigned long clk_pllv3_av_recalc_rate(struct clk_hw *hw, in clk_pllv3_av_recalc_rate()
[all …]
Dclk-pfd.c30 struct clk_hw hw; member
41 static int clk_pfd_enable(struct clk_hw *hw) in clk_pfd_enable()
50 static void clk_pfd_disable(struct clk_hw *hw) in clk_pfd_disable()
57 static unsigned long clk_pfd_recalc_rate(struct clk_hw *hw, in clk_pfd_recalc_rate()
70 static long clk_pfd_round_rate(struct clk_hw *hw, unsigned long rate, in clk_pfd_round_rate()
90 static int clk_pfd_set_rate(struct clk_hw *hw, unsigned long rate, in clk_pfd_set_rate()
111 static int clk_pfd_is_enabled(struct clk_hw *hw) in clk_pfd_is_enabled()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dmain.c647 static int ath9k_start(struct ieee80211_hw *hw) in ath9k_start()
745 static void ath9k_tx(struct ieee80211_hw *hw, in ath9k_tx()
822 static void ath9k_stop(struct ieee80211_hw *hw) in ath9k_stop()
1214 static void ath9k_assign_hw_queues(struct ieee80211_hw *hw, in ath9k_assign_hw_queues()
1232 static int ath9k_add_interface(struct ieee80211_hw *hw, in ath9k_add_interface()
1279 static int ath9k_change_interface(struct ieee80211_hw *hw, in ath9k_change_interface()
1315 static void ath9k_remove_interface(struct ieee80211_hw *hw, in ath9k_remove_interface()
1388 static int ath9k_config(struct ieee80211_hw *hw, u32 changed) in ath9k_config()
1461 static void ath9k_configure_filter(struct ieee80211_hw *hw, in ath9k_configure_filter()
1490 static int ath9k_sta_add(struct ieee80211_hw *hw, in ath9k_sta_add()
[all …]
Dhtc_drv_main.c241 struct ieee80211_hw *hw, in ath9k_htc_set_channel()
865 static void ath9k_htc_tx(struct ieee80211_hw *hw, in ath9k_htc_tx()
910 static int ath9k_htc_start(struct ieee80211_hw *hw) in ath9k_htc_start()
979 static void ath9k_htc_stop(struct ieee80211_hw *hw) in ath9k_htc_stop()
1037 static int ath9k_htc_add_interface(struct ieee80211_hw *hw, in ath9k_htc_add_interface()
1120 static void ath9k_htc_remove_interface(struct ieee80211_hw *hw, in ath9k_htc_remove_interface()
1178 static int ath9k_htc_config(struct ieee80211_hw *hw, u32 changed) in ath9k_htc_config()
1259 static void ath9k_htc_configure_filter(struct ieee80211_hw *hw, in ath9k_htc_configure_filter()
1319 static int ath9k_htc_sta_add(struct ieee80211_hw *hw, in ath9k_htc_sta_add()
1341 static int ath9k_htc_sta_remove(struct ieee80211_hw *hw, in ath9k_htc_sta_remove()
[all …]
/linux-4.4.14/drivers/clk/shmobile/
Dclk-div6.c32 struct clk_hw hw; member
42 static int cpg_div6_clock_enable(struct clk_hw *hw) in cpg_div6_clock_enable()
54 static void cpg_div6_clock_disable(struct clk_hw *hw) in cpg_div6_clock_disable()
72 static int cpg_div6_clock_is_enabled(struct clk_hw *hw) in cpg_div6_clock_is_enabled()
79 static unsigned long cpg_div6_clock_recalc_rate(struct clk_hw *hw, in cpg_div6_clock_recalc_rate()
100 static long cpg_div6_clock_round_rate(struct clk_hw *hw, unsigned long rate, in cpg_div6_clock_round_rate()
108 static int cpg_div6_clock_set_rate(struct clk_hw *hw, unsigned long rate, in cpg_div6_clock_set_rate()
125 static u8 cpg_div6_clock_get_parent(struct clk_hw *hw) in cpg_div6_clock_get_parent()
146 static int cpg_div6_clock_set_parent(struct clk_hw *hw, u8 index) in cpg_div6_clock_set_parent()
/linux-4.4.14/drivers/clk/mxs/
Dclk-pll.c30 struct clk_hw hw; member
38 static int clk_pll_prepare(struct clk_hw *hw) in clk_pll_prepare()
49 static void clk_pll_unprepare(struct clk_hw *hw) in clk_pll_unprepare()
56 static int clk_pll_enable(struct clk_hw *hw) in clk_pll_enable()
65 static void clk_pll_disable(struct clk_hw *hw) in clk_pll_disable()
72 static unsigned long clk_pll_recalc_rate(struct clk_hw *hw, in clk_pll_recalc_rate()
Dclk-ref.c30 struct clk_hw hw; member
37 static int clk_ref_enable(struct clk_hw *hw) in clk_ref_enable()
46 static void clk_ref_disable(struct clk_hw *hw) in clk_ref_disable()
53 static unsigned long clk_ref_recalc_rate(struct clk_hw *hw, in clk_ref_recalc_rate()
66 static long clk_ref_round_rate(struct clk_hw *hw, unsigned long rate, in clk_ref_round_rate()
89 static int clk_ref_set_rate(struct clk_hw *hw, unsigned long rate, in clk_ref_set_rate()
/linux-4.4.14/drivers/clk/berlin/
Dberlin2-div.c65 struct clk_hw hw; member
71 #define to_berlin2_div(hw) container_of(hw, struct berlin2_div, hw) argument
75 static int berlin2_div_is_enabled(struct clk_hw *hw) in berlin2_div_is_enabled()
93 static int berlin2_div_enable(struct clk_hw *hw) in berlin2_div_enable()
112 static void berlin2_div_disable(struct clk_hw *hw) in berlin2_div_disable()
129 static int berlin2_div_set_parent(struct clk_hw *hw, u8 index) in berlin2_div_set_parent()
160 static u8 berlin2_div_get_parent(struct clk_hw *hw) in berlin2_div_get_parent()
186 static unsigned long berlin2_div_recalc_rate(struct clk_hw *hw, in berlin2_div_recalc_rate()
/linux-4.4.14/drivers/clk/zte/
Dclk.c64 static unsigned long zx_pll_recalc_rate(struct clk_hw *hw, in zx_pll_recalc_rate()
77 static long zx_pll_round_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_round_rate()
88 static int zx_pll_set_rate(struct clk_hw *hw, unsigned long rate, in zx_pll_set_rate()
105 static int zx_pll_enable(struct clk_hw *hw) in zx_pll_enable()
117 static void zx_pll_disable(struct clk_hw *hw) in zx_pll_disable()
126 static int zx_pll_is_enabled(struct clk_hw *hw) in zx_pll_is_enabled()
220 static unsigned long zx_audio_recalc_rate(struct clk_hw *hw, in zx_audio_recalc_rate()
230 static long zx_audio_round_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_round_rate()
242 static int zx_audio_set_rate(struct clk_hw *hw, unsigned long rate, in zx_audio_set_rate()
255 static int zx_audio_enable(struct clk_hw *hw) in zx_audio_enable()
[all …]
/linux-4.4.14/sound/core/
Dhwdep.c58 struct snd_hwdep *hw = file->private_data; in snd_hwdep_llseek() local
67 struct snd_hwdep *hw = file->private_data; in snd_hwdep_read() local
76 struct snd_hwdep *hw = file->private_data; in snd_hwdep_write() local
85 struct snd_hwdep *hw; in snd_hwdep_open() local
163 struct snd_hwdep *hw = file->private_data; in snd_hwdep_release() local
181 struct snd_hwdep *hw = file->private_data; in snd_hwdep_poll() local
187 static int snd_hwdep_info(struct snd_hwdep *hw, in snd_hwdep_info()
202 static int snd_hwdep_dsp_status(struct snd_hwdep *hw, in snd_hwdep_dsp_status()
219 static int snd_hwdep_dsp_load(struct snd_hwdep *hw, in snd_hwdep_dsp_load()
245 struct snd_hwdep *hw = file->private_data; in snd_hwdep_ioctl() local
[all …]
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_DAC1064.c103 struct matrox_hw_state *hw = &minfo->hw; in DAC1064_setmclk() local
168 struct matrox_hw_state *hw = &minfo->hw; in g450_set_plls() local
258 struct matrox_hw_state *hw = &minfo->hw; in DAC1064_global_init() local
332 struct matrox_hw_state *hw = &minfo->hw; in DAC1064_global_restore() local
350 struct matrox_hw_state *hw = &minfo->hw; in DAC1064_init_1() local
387 struct matrox_hw_state *hw = &minfo->hw; in DAC1064_init_2() local
430 struct matrox_hw_state *hw = &minfo->hw; in DAC1064_restore_1() local
537 struct matrox_hw_state *hw = &minfo->hw; in MGA1064_init() local
560 struct matrox_hw_state *hw = &minfo->hw; in MGAG100_init() local
673 struct matrox_hw_state *hw = &minfo->hw; in MGA1064_preinit() local
[all …]
/linux-4.4.14/drivers/clk/ti/
Dapll.c40 static int dra7_apll_enable(struct clk_hw *hw) in dra7_apll_enable()
91 static void dra7_apll_disable(struct clk_hw *hw) in dra7_apll_disable()
108 static int dra7_apll_is_enabled(struct clk_hw *hw) in dra7_apll_is_enabled()
124 static u8 dra7_init_apll_parent(struct clk_hw *hw) in dra7_init_apll_parent()
136 static void __init omap_clk_register_apll(struct clk_hw *hw, in omap_clk_register_apll()
227 static int omap2_apll_is_enabled(struct clk_hw *hw) in omap2_apll_is_enabled()
241 static unsigned long omap2_apll_recalc(struct clk_hw *hw, in omap2_apll_recalc()
252 static int omap2_apll_enable(struct clk_hw *hw) in omap2_apll_enable()
283 static void omap2_apll_disable(struct clk_hw *hw) in omap2_apll_disable()
Dfapll.c66 struct clk_hw hw; member
76 struct clk_hw hw; member
137 static int ti_fapll_enable(struct clk_hw *hw) in ti_fapll_enable()
149 static void ti_fapll_disable(struct clk_hw *hw) in ti_fapll_disable()
158 static int ti_fapll_is_enabled(struct clk_hw *hw) in ti_fapll_is_enabled()
166 static unsigned long ti_fapll_recalc_rate(struct clk_hw *hw, in ti_fapll_recalc_rate()
190 static u8 ti_fapll_get_parent(struct clk_hw *hw) in ti_fapll_get_parent()
223 static long ti_fapll_round_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_round_rate()
243 static int ti_fapll_set_rate(struct clk_hw *hw, unsigned long rate, in ti_fapll_set_rate()
281 static int ti_fapll_synth_enable(struct clk_hw *hw) in ti_fapll_synth_enable()
[all …]
Ddpll3xxx.c393 unsigned long omap3_dpll_recalc(struct clk_hw *hw, unsigned long parent_rate) in omap3_dpll_recalc()
416 int omap3_noncore_dpll_enable(struct clk_hw *hw) in omap3_noncore_dpll_enable()
458 void omap3_noncore_dpll_disable(struct clk_hw *hw) in omap3_noncore_dpll_disable()
479 int omap3_noncore_dpll_determine_rate(struct clk_hw *hw, in omap3_noncore_dpll_determine_rate()
514 int omap3_noncore_dpll_set_parent(struct clk_hw *hw, u8 index) in omap3_noncore_dpll_set_parent()
541 int omap3_noncore_dpll_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_noncore_dpll_set_rate()
589 int omap3_noncore_dpll_set_rate_and_parent(struct clk_hw *hw, in omap3_noncore_dpll_set_rate_and_parent()
703 static struct clk_hw_omap *omap3_find_clkoutx2_dpll(struct clk_hw *hw) in omap3_find_clkoutx2_dpll()
733 unsigned long omap3_clkoutx2_recalc(struct clk_hw *hw, in omap3_clkoutx2_recalc()
779 int omap3_dpll4_set_rate(struct clk_hw *hw, unsigned long rate, in omap3_dpll4_set_rate()
[all …]
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dmain.c230 static void lbtf_op_tx(struct ieee80211_hw *hw, in lbtf_op_tx()
302 static int lbtf_op_start(struct ieee80211_hw *hw) in lbtf_op_start()
339 static void lbtf_op_stop(struct ieee80211_hw *hw) in lbtf_op_stop()
368 static int lbtf_op_add_interface(struct ieee80211_hw *hw, in lbtf_op_add_interface()
394 static void lbtf_op_remove_interface(struct ieee80211_hw *hw, in lbtf_op_remove_interface()
409 static int lbtf_op_config(struct ieee80211_hw *hw, u32 changed) in lbtf_op_config()
423 static u64 lbtf_op_prepare_multicast(struct ieee80211_hw *hw, in lbtf_op_prepare_multicast()
443 static void lbtf_op_configure_filter(struct ieee80211_hw *hw, in lbtf_op_configure_filter()
486 static void lbtf_op_bss_info_changed(struct ieee80211_hw *hw, in lbtf_op_bss_info_changed()
528 static int lbtf_op_get_survey(struct ieee80211_hw *hw, int idx, in lbtf_op_get_survey()
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c334 struct ieee80211_hw *hw = bcma_get_drvdata(pdev); in brcms_remove() local
403 static void brcms_ops_tx(struct ieee80211_hw *hw, in brcms_ops_tx()
422 static int brcms_ops_start(struct ieee80211_hw *hw) in brcms_ops_start()
462 static void brcms_ops_stop(struct ieee80211_hw *hw) in brcms_ops_stop()
490 brcms_ops_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in brcms_ops_add_interface()
520 brcms_ops_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) in brcms_ops_remove_interface()
524 static int brcms_ops_config(struct ieee80211_hw *hw, u32 changed) in brcms_ops_config()
579 brcms_ops_bss_info_changed(struct ieee80211_hw *hw, in brcms_ops_bss_info_changed()
735 brcms_ops_configure_filter(struct ieee80211_hw *hw, in brcms_ops_configure_filter()
764 static void brcms_ops_sw_scan_start(struct ieee80211_hw *hw, in brcms_ops_sw_scan_start()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c310 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in iwl_mvm_get_regdomain() local
416 struct ieee80211_hw *hw = mvm->hw; in iwl_mvm_mac_setup_register() local
713 static void iwl_mvm_mac_tx(struct ieee80211_hw *hw, in iwl_mvm_mac_tx()
827 static int iwl_mvm_mac_ampdu_action(struct ieee80211_hw *hw, in iwl_mvm_mac_ampdu_action()
1448 static int iwl_mvm_mac_start(struct ieee80211_hw *hw) in iwl_mvm_mac_start()
1512 iwl_mvm_mac_reconfig_complete(struct ieee80211_hw *hw, in iwl_mvm_mac_reconfig_complete()
1589 static void iwl_mvm_mac_stop(struct ieee80211_hw *hw) in iwl_mvm_mac_stop()
1643 static int iwl_mvm_mac_add_interface(struct ieee80211_hw *hw, in iwl_mvm_mac_add_interface()
1837 static void iwl_mvm_mac_remove_interface(struct ieee80211_hw *hw, in iwl_mvm_mac_remove_interface()
1890 static int iwl_mvm_mac_config(struct ieee80211_hw *hw, u32 changed) in iwl_mvm_mac_config()
[all …]
/linux-4.4.14/drivers/net/ieee802154/
Dfakelb.c39 struct ieee802154_hw *hw; member
50 static int fakelb_hw_ed(struct ieee802154_hw *hw, u8 *level) in fakelb_hw_ed()
58 static int fakelb_hw_channel(struct ieee802154_hw *hw, u8 page, u8 channel) in fakelb_hw_channel()
69 static int fakelb_hw_xmit(struct ieee802154_hw *hw, struct sk_buff *skb) in fakelb_hw_xmit()
93 static int fakelb_hw_start(struct ieee802154_hw *hw) in fakelb_hw_start()
105 static void fakelb_hw_stop(struct ieee802154_hw *hw) in fakelb_hw_stop()
130 struct ieee802154_hw *hw; in fakelb_add_one() local
/linux-4.4.14/drivers/clk/pistachio/
Dclk-pll.c75 struct clk_hw hw; member
103 static inline struct pistachio_clk_pll *to_pistachio_pll(struct clk_hw *hw) in to_pistachio_pll()
108 static inline enum pll_mode pll_frac_get_mode(struct clk_hw *hw) in pll_frac_get_mode()
117 static inline void pll_frac_set_mode(struct clk_hw *hw, enum pll_mode mode) in pll_frac_set_mode()
145 static long pll_round_rate(struct clk_hw *hw, unsigned long rate, in pll_round_rate()
160 static int pll_gf40lp_frac_enable(struct clk_hw *hw) in pll_gf40lp_frac_enable()
179 static void pll_gf40lp_frac_disable(struct clk_hw *hw) in pll_gf40lp_frac_disable()
189 static int pll_gf40lp_frac_is_enabled(struct clk_hw *hw) in pll_gf40lp_frac_is_enabled()
196 static int pll_gf40lp_frac_set_rate(struct clk_hw *hw, unsigned long rate, in pll_gf40lp_frac_set_rate()
272 static unsigned long pll_gf40lp_frac_recalc_rate(struct clk_hw *hw, in pll_gf40lp_frac_recalc_rate()
[all …]
/linux-4.4.14/drivers/tty/ipwireless/
Dhardware.c403 static void do_send_fragment(struct ipw_hardware *hw, unsigned char *data, in do_send_fragment()
458 static void do_send_packet(struct ipw_hardware *hw, struct ipw_tx_packet *packet) in do_send_packet()
520 static void ipw_setup_hardware(struct ipw_hardware *hw) in ipw_setup_hardware()
554 static struct ipw_rx_packet *pool_allocate(struct ipw_hardware *hw, in pool_allocate()
608 static void pool_free(struct ipw_hardware *hw, struct ipw_rx_packet *packet) in pool_free()
618 static void queue_received_packet(struct ipw_hardware *hw, in queue_received_packet()
704 struct ipw_hardware *hw = in ipw_receive_data_work() local
764 static void handle_received_CTRL_packet(struct ipw_hardware *hw, in handle_received_CTRL_packet()
810 static void handle_received_packet(struct ipw_hardware *hw, in handle_received_packet()
841 static void acknowledge_data_read(struct ipw_hardware *hw) in acknowledge_data_read()
[all …]
/linux-4.4.14/drivers/clk/st/
Dclk-flexgen.c19 struct clk_hw hw; member
35 static int flexgen_enable(struct clk_hw *hw) in flexgen_enable()
52 static void flexgen_disable(struct clk_hw *hw) in flexgen_disable()
65 static int flexgen_is_enabled(struct clk_hw *hw) in flexgen_is_enabled()
78 static u8 flexgen_get_parent(struct clk_hw *hw) in flexgen_get_parent()
88 static int flexgen_set_parent(struct clk_hw *hw, u8 index) in flexgen_set_parent()
104 static long flexgen_round_rate(struct clk_hw *hw, unsigned long rate, in flexgen_round_rate()
120 static unsigned long flexgen_recalc_rate(struct clk_hw *hw, in flexgen_recalc_rate()
136 static int flexgen_set_rate(struct clk_hw *hw, unsigned long rate, in flexgen_set_rate()
/linux-4.4.14/drivers/clk/sunxi/
Dclk-sun6i-ar100.c27 struct clk_hw hw; member
31 static inline struct ar100_clk *to_ar100_clk(struct clk_hw *hw) in to_ar100_clk()
36 static unsigned long ar100_recalc_rate(struct clk_hw *hw, in ar100_recalc_rate()
47 static int ar100_determine_rate(struct clk_hw *hw, in ar100_determine_rate()
116 static int ar100_set_parent(struct clk_hw *hw, u8 index) in ar100_set_parent()
131 static u8 ar100_get_parent(struct clk_hw *hw) in ar100_get_parent()
138 static int ar100_set_rate(struct clk_hw *hw, unsigned long rate, in ar100_set_rate()
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/
Datl2.c87 struct atl2_hw *hw = &adapter->hw; in atl2_sw_init() local
137 struct atl2_hw *hw = &adapter->hw; in atl2_set_multi() local
187 struct atl2_hw *hw = &adapter->hw; in atl2_configure() local
606 struct atl2_hw *hw = &adapter->hw; in atl2_intr() local
926 struct atl2_hw *hw = &adapter->hw; in atl2_change_mtu() local
1063 struct atl2_hw *hw = &adapter->hw; in atl2_phy_config() local
1131 struct atl2_hw *hw = &adapter->hw; in atl2_setup_mac_ctrl() local
1170 struct atl2_hw *hw = &adapter->hw; in atl2_check_link() local
1517 struct atl2_hw *hw = &adapter->hw; in atl2_suspend() local
1730 static void atl2_read_pci_cfg(struct atl2_hw *hw, u32 reg, u16 *value) in atl2_read_pci_cfg()
[all …]
/linux-4.4.14/drivers/clk/sirf/
Dclk-common.c35 struct clk_hw hw; member
42 struct clk_hw hw; member
50 struct clk_hw hw; member
74 static unsigned long pll_clk_recalc_rate(struct clk_hw *hw, in pll_clk_recalc_rate()
96 static long pll_clk_round_rate(struct clk_hw *hw, unsigned long rate, in pll_clk_round_rate()
127 static int pll_clk_set_rate(struct clk_hw *hw, unsigned long rate, in pll_clk_set_rate()
163 static long cpu_clk_round_rate(struct clk_hw *hw, unsigned long rate, in cpu_clk_round_rate()
176 static unsigned long cpu_clk_recalc_rate(struct clk_hw *hw, in cpu_clk_recalc_rate()
243 static int usb_pll_clk_enable(struct clk_hw *hw) in usb_pll_clk_enable()
262 static unsigned long usb_pll_clk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in usb_pll_clk_recalc_rate()
[all …]
/linux-4.4.14/drivers/clk/tegra/
Dclk-periph.c24 static u8 clk_periph_get_parent(struct clk_hw *hw) in clk_periph_get_parent()
35 static int clk_periph_set_parent(struct clk_hw *hw, u8 index) in clk_periph_set_parent()
46 static unsigned long clk_periph_recalc_rate(struct clk_hw *hw, in clk_periph_recalc_rate()
58 static long clk_periph_round_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_round_rate()
70 static int clk_periph_set_rate(struct clk_hw *hw, unsigned long rate, in clk_periph_set_rate()
82 static int clk_periph_is_enabled(struct clk_hw *hw) in clk_periph_is_enabled()
93 static int clk_periph_enable(struct clk_hw *hw) in clk_periph_enable()
104 static void clk_periph_disable(struct clk_hw *hw) in clk_periph_disable()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dmain.c358 static void wl1251_op_tx(struct ieee80211_hw *hw, in wl1251_op_tx()
388 static int wl1251_op_start(struct ieee80211_hw *hw) in wl1251_op_start()
438 static void wl1251_op_stop(struct ieee80211_hw *hw) in wl1251_op_stop()
496 static int wl1251_op_add_interface(struct ieee80211_hw *hw, in wl1251_op_add_interface()
542 static void wl1251_op_remove_interface(struct ieee80211_hw *hw, in wl1251_op_remove_interface()
608 static int wl1251_op_config(struct ieee80211_hw *hw, u32 changed) in wl1251_op_config()
734 static u64 wl1251_op_prepare_multicast(struct ieee80211_hw *hw, in wl1251_op_prepare_multicast()
773 static void wl1251_op_configure_filter(struct ieee80211_hw *hw, in wl1251_op_configure_filter()
882 static int wl1251_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, in wl1251_op_set_key()
988 static int wl1251_op_hw_scan(struct ieee80211_hw *hw, in wl1251_op_hw_scan()
[all …]

12345