/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 155 static bool ixgbe_check_cfg_remove(struct ixgbe_hw *hw, struct pci_dev *pdev); 176 ixgbe_check_cfg_remove(&adapter->hw, parent_dev)) 183 struct ixgbe_hw *hw = &adapter->hw; local 187 hw->bus.type = ixgbe_bus_type_pci_express; 198 hw->bus.width = ixgbe_convert_bus_width(link_status); 199 hw->bus.speed = ixgbe_convert_bus_speed(link_status); 206 * @hw: hw specific details 213 static inline bool ixgbe_pcie_from_parent(struct ixgbe_hw *hw) argument 292 ixgbe_remove_adapter(struct ixgbe_hw *hw) argument 304 ixgbe_check_remove(struct ixgbe_hw *hw, u32 reg) argument 336 ixgbe_read_reg(struct ixgbe_hw *hw, u32 reg) argument 349 ixgbe_check_cfg_remove(struct ixgbe_hw *hw, struct pci_dev *pdev) argument 361 ixgbe_read_pci_cfg_word(struct ixgbe_hw *hw, u32 reg) argument 376 ixgbe_read_pci_cfg_dword(struct ixgbe_hw *hw, u32 reg) argument 391 ixgbe_write_pci_cfg_word(struct ixgbe_hw *hw, u32 reg, u16 value) argument 450 ixgbe_regdump(struct ixgbe_hw *hw, struct ixgbe_reg_info *reginfo) argument 535 struct ixgbe_hw *hw = &adapter->hw; local 824 struct ixgbe_hw *hw = &adapter->hw; local 908 struct ixgbe_hw *hw = &adapter->hw; local 937 struct ixgbe_hw *hw = &adapter->hw; local 987 struct ixgbe_hw *hw; local 1158 struct ixgbe_hw *hw = &adapter->hw; local 1213 struct ixgbe_hw *hw = &adapter->hw; local 1247 struct ixgbe_hw *hw = &adapter->hw; local 2256 struct ixgbe_hw *hw = &adapter->hw; local 2322 struct ixgbe_hw *hw = &adapter->hw; local 2377 struct ixgbe_hw *hw = &adapter->hw; local 2422 struct ixgbe_hw *hw = &adapter->hw; local 2445 struct ixgbe_hw *hw = &adapter->hw; local 2461 struct ixgbe_hw *hw = &adapter->hw; local 2487 struct ixgbe_hw *hw = &adapter->hw; local 2564 struct ixgbe_hw *hw = &adapter->hw; local 2780 struct ixgbe_hw *hw = &adapter->hw; local 2954 struct ixgbe_hw *hw = &adapter->hw; local 3035 struct ixgbe_hw *hw = &adapter->hw; local 3089 struct ixgbe_hw *hw = &adapter->hw; local 3110 struct ixgbe_hw *hw = &adapter->hw; local 3122 struct ixgbe_hw *hw = &adapter->hw; local 3167 struct ixgbe_hw *hw = &adapter->hw; local 3195 struct ixgbe_hw *hw = &adapter->hw; local 3279 struct ixgbe_hw *hw = &adapter->hw; local 3301 struct ixgbe_hw *hw = &adapter->hw; local 3327 struct ixgbe_hw *hw = &adapter->hw; local 3359 struct ixgbe_hw *hw = &adapter->hw; local 3401 struct ixgbe_hw *hw = &adapter->hw; local 3426 struct ixgbe_hw *hw = &adapter->hw; local 3486 struct ixgbe_hw *hw = &adapter->hw; local 3533 struct ixgbe_hw *hw = &adapter->hw; local 3576 struct ixgbe_hw *hw = &adapter->hw; local 3620 struct ixgbe_hw *hw = &adapter->hw; local 3633 struct ixgbe_hw *hw = &adapter->hw; local 3648 struct ixgbe_hw *hw = &adapter->hw; local 3682 struct ixgbe_hw *hw = &adapter->hw; local 3732 struct ixgbe_hw *hw = &adapter->hw; local 3752 struct ixgbe_hw *hw = &adapter->hw; local 3769 struct ixgbe_hw *hw = &adapter->hw; local 3791 struct ixgbe_hw *hw = &adapter->hw; local 3804 struct ixgbe_hw *hw = &adapter->hw; local 3818 struct ixgbe_hw *hw = &adapter->hw; local 3831 struct ixgbe_hw *hw = &adapter->hw; local 3854 struct ixgbe_hw *hw = &adapter->hw; local 3913 struct ixgbe_hw *hw = &adapter->hw; local 4036 struct ixgbe_hw *hw = &adapter->hw; local 4096 struct ixgbe_hw *hw = &adapter->hw; local 4154 struct ixgbe_hw *hw = &adapter->hw; local 4189 struct ixgbe_hw *hw = &adapter->hw; local 4211 struct ixgbe_hw *hw = &adapter->hw; local 4227 struct ixgbe_hw *hw = &adapter->hw; local 4252 struct ixgbe_hw *hw = &adapter->hw; local 4276 struct ixgbe_hw *hw = &adapter->hw; local 4463 struct ixgbe_hw *hw = &adapter->hw; local 4515 ixgbe_is_sfp(struct ixgbe_hw *hw) argument 4565 ixgbe_non_sfp_link_config(struct ixgbe_hw *hw) argument 4592 struct ixgbe_hw *hw = &adapter->hw; local 4667 struct ixgbe_hw *hw = &adapter->hw; local 4752 struct ixgbe_hw *hw = &adapter->hw; local 4880 struct ixgbe_hw *hw = &adapter->hw; local 5001 struct ixgbe_hw *hw = &adapter->hw; local 5623 struct ixgbe_hw *hw = &adapter->hw; local 5734 struct ixgbe_hw *hw = &adapter->hw; local 5945 struct ixgbe_hw *hw = &adapter->hw; local 5986 struct ixgbe_hw *hw = &adapter->hw; local 6031 struct ixgbe_hw *hw = &adapter->hw; local 6092 struct ixgbe_hw *hw = &adapter->hw; local 6176 struct ixgbe_hw *hw = &adapter->hw; local 6215 struct ixgbe_hw *hw = &adapter->hw; local 6311 struct ixgbe_hw *hw = &adapter->hw; local 6378 struct ixgbe_hw *hw = &adapter->hw; local 6414 struct ixgbe_hw *hw = &adapter->hw; local 7228 struct ixgbe_hw *hw = &adapter->hw; local 7247 struct ixgbe_hw *hw = &adapter->hw; local 7263 struct ixgbe_hw *hw = &adapter->hw; local 7295 struct ixgbe_hw *hw = &adapter->hw; local 7414 struct ixgbe_hw *hw = &adapter->hw; local 7476 struct ixgbe_hw *hw = &adapter->hw; local 7915 struct ixgbe_hw *hw = &adapter->hw; local 7982 struct ixgbe_hw *hw; local 8477 struct ixgbe_hw *hw = &adapter->hw; local [all...] |
/drivers/clk/hisilicon/ |
H A D | clkgate-separated.c | 41 struct clk_hw hw; member in struct:clkgate_separated 48 static int clkgate_separated_enable(struct clk_hw *hw) argument 54 sclk = container_of(hw, struct clkgate_separated, hw); 65 static void clkgate_separated_disable(struct clk_hw *hw) argument 71 sclk = container_of(hw, struct clkgate_separated, hw); 81 static int clkgate_separated_is_enabled(struct clk_hw *hw) argument 86 sclk = container_of(hw, struct clkgate_separated, hw); [all...] |
/drivers/net/wireless/rtlwifi/ |
H A D | core.h | 41 void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, 43 void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data); 44 bool rtl_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb);
|
H A D | core.c | 55 void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, argument 71 rtl_set_rfreg(hw, rfpath, addr, mask, data); 77 void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data) argument 92 rtl_set_bbreg(hw, addr, MASKDWORD, data); 100 struct ieee80211_hw *hw = context; local 101 struct rtl_priv *rtlpriv = rtl_priv(hw); 135 static int rtl_op_start(struct ieee80211_hw *hw) argument 138 struct rtl_priv *rtlpriv = rtl_priv(hw); 139 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); 146 err = rtlpriv->intf_ops->adapter_start(hw); 153 rtl_op_stop(struct ieee80211_hw *hw) argument 191 rtl_op_tx(struct ieee80211_hw *hw, struct ieee80211_tx_control *control, struct sk_buff *skb) argument 215 rtl_op_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 314 rtl_op_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 347 rtl_op_change_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum nl80211_iftype new_type, bool p2p) argument 412 _rtl_add_wowlan_patterns(struct ieee80211_hw *hw, struct cfg80211_wowlan *wow) argument 521 rtl_op_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wow) argument 549 rtl_op_resume(struct ieee80211_hw *hw) argument 574 rtl_op_config(struct ieee80211_hw *hw, u32 changed) argument 785 rtl_op_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) argument 863 rtl_op_sta_add(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 909 rtl_op_sta_remove(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_sta *sta) argument 955 rtl_op_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *param) argument 979 rtl_op_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) argument 1281 rtl_op_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1290 rtl_op_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) argument 1301 rtl_op_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument 1309 rtl_op_sta_notify(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum sta_notify_cmd cmd, struct ieee80211_sta *sta) argument 1324 rtl_op_ampdu_action(struct ieee80211_hw *hw, struct ieee80211_vif *vif, enum ieee80211_ampdu_mlme_action action, struct ieee80211_sta *sta, u16 tid, u16 *ssn, u8 buf_size) argument 1364 rtl_op_sw_scan_start(struct ieee80211_hw *hw) argument 1399 rtl_op_sw_scan_complete(struct ieee80211_hw *hw) argument 1432 rtl_op_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument 1627 rtl_op_rfkill_poll(struct ieee80211_hw *hw) argument 1663 rtl_op_flush(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 queues, bool drop) argument 1772 rtl_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb) argument [all...] |
H A D | efuse.c | 49 static void efuse_shadow_read_1byte(struct ieee80211_hw *hw, u16 offset, 51 static void efuse_shadow_read_2byte(struct ieee80211_hw *hw, u16 offset, 53 static void efuse_shadow_read_4byte(struct ieee80211_hw *hw, u16 offset, 55 static void efuse_shadow_write_1byte(struct ieee80211_hw *hw, u16 offset, 57 static void efuse_shadow_write_2byte(struct ieee80211_hw *hw, u16 offset, 59 static void efuse_shadow_write_4byte(struct ieee80211_hw *hw, u16 offset, 61 static int efuse_one_byte_write(struct ieee80211_hw *hw, u16 addr, 63 static void efuse_read_all_map(struct ieee80211_hw *hw, u8 *efuse); 64 static int efuse_pg_packet_read(struct ieee80211_hw *hw, u8 offset, 66 static int efuse_pg_packet_write(struct ieee80211_hw *hw, u 77 efuse_initialize(struct ieee80211_hw *hw) argument 101 efuse_read_1byte(struct ieee80211_hw *hw, u16 address) argument 147 efuse_write_1byte(struct ieee80211_hw *hw, u16 address, u8 value) argument 195 read_efuse_byte(struct ieee80211_hw *hw, u16 _offset, u8 *pbuf) argument 227 read_efuse(struct ieee80211_hw *hw, u16 _offset, u16 _size_byte, u8 *pbuf) argument 378 efuse_shadow_update_chk(struct ieee80211_hw *hw) argument 419 efuse_shadow_read(struct ieee80211_hw *hw, u8 type, u16 offset, u32 *value) argument 432 efuse_shadow_write(struct ieee80211_hw *hw, u8 type, u16 offset, u32 value) argument 444 efuse_shadow_update(struct ieee80211_hw *hw) argument 518 rtl_efuse_shadow_map_update(struct ieee80211_hw *hw) argument 536 efuse_force_write_vendor_Id(struct ieee80211_hw *hw) argument 548 efuse_re_pg_section(struct ieee80211_hw *hw, u8 section_idx) argument 552 efuse_shadow_read_1byte(struct ieee80211_hw *hw, u16 offset, u8 *value) argument 559 efuse_shadow_read_2byte(struct ieee80211_hw *hw, u16 offset, u16 *value) argument 569 efuse_shadow_read_4byte(struct ieee80211_hw *hw, u16 offset, u32 *value) argument 580 efuse_shadow_write_1byte(struct ieee80211_hw *hw, u16 offset, u8 value) argument 588 efuse_shadow_write_2byte(struct ieee80211_hw *hw, u16 offset, u16 value) argument 598 efuse_shadow_write_4byte(struct ieee80211_hw *hw, u16 offset, u32 value) argument 614 efuse_one_byte_read(struct ieee80211_hw *hw, u16 addr, u8 *data) argument 647 efuse_one_byte_write(struct ieee80211_hw *hw, u16 addr, u8 data) argument 676 efuse_read_all_map(struct ieee80211_hw *hw, u8 *efuse) argument 684 efuse_read_data_case1(struct ieee80211_hw *hw, u16 *efuse_addr, u8 efuse_data, u8 offset, u8 *tmpdata, u8 *readstate) argument 721 efuse_pg_packet_read(struct ieee80211_hw *hw, u8 offset, u8 *data) argument 766 efuse_write_data_case1(struct ieee80211_hw *hw, u16 *efuse_addr, u8 efuse_data, u8 offset, int *continual, u8 *write_state, struct pgpkt_struct *target_pkt, int *repeat_times, int *result, u8 word_en) argument 875 efuse_write_data_case2(struct ieee80211_hw *hw, u16 *efuse_addr, int *continual, u8 *write_state, struct pgpkt_struct target_pkt, int *repeat_times, int *result) argument 942 efuse_pg_packet_write(struct ieee80211_hw *hw, u8 offset, u8 word_en, u8 *data) argument 1063 enable_efuse_data_write(struct ieee80211_hw *hw, u16 efuse_addr, u8 word_en, u8 *data) argument 1123 efuse_power_switch(struct ieee80211_hw *hw, u8 write, u8 pwrstate) argument 1210 efuse_get_current_size(struct ieee80211_hw *hw) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
H A D | hw.c | 39 #include "hw.h" 44 static void _rtl88ee_set_bcn_ctrl_reg(struct ieee80211_hw *hw, argument 47 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); 48 struct rtl_priv *rtlpriv = rtl_priv(hw); 56 static void _rtl88ee_stop_tx_beacon(struct ieee80211_hw *hw) argument 58 struct rtl_priv *rtlpriv = rtl_priv(hw); 69 static void _rtl88ee_resume_tx_beacon(struct ieee80211_hw *hw) argument 71 struct rtl_priv *rtlpriv = rtl_priv(hw); 82 static void _rtl88ee_enable_bcn_sub_func(struct ieee80211_hw *hw) argument 84 _rtl88ee_set_bcn_ctrl_reg(hw, 87 _rtl88ee_return_beacon_queue_skb(struct ieee80211_hw *hw) argument 109 _rtl88ee_disable_bcn_sub_func(struct ieee80211_hw *hw) argument 114 _rtl88ee_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val, bool b_need_turn_off_ckk) argument 184 _rtl88ee_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) argument 240 _rtl88ee_set_fw_ps_rf_on(struct ieee80211_hw *hw) argument 248 _rtl88ee_set_fw_ps_rf_off_low_power(struct ieee80211_hw *hw) argument 256 struct ieee80211_hw *hw = (struct ieee80211_hw *)data; local 261 _rtl88ee_fwlps_leave(struct ieee80211_hw *hw) argument 287 _rtl88ee_fwlps_enter(struct ieee80211_hw *hw) argument 313 rtl88ee_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 364 rtl88ee_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 742 _rtl88ee_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) argument 769 _rtl88ee_llt_table_init(struct ieee80211_hw *hw) argument 817 _rtl88ee_gen_refresh_led_state(struct ieee80211_hw *hw) argument 835 _rtl88ee_init_mac(struct ieee80211_hw *hw) argument 948 _rtl88ee_hw_configure(struct ieee80211_hw *hw) argument 963 _rtl88ee_enable_aspm_back_door(struct ieee80211_hw *hw) argument 1023 rtl88ee_enable_hw_security_config(struct ieee80211_hw *hw) argument 1056 rtl88ee_hw_init(struct ieee80211_hw *hw) argument 1193 _rtl88ee_read_chip_version(struct ieee80211_hw *hw) argument 1218 _rtl88ee_set_media_status(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1289 rtl88ee_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid) argument 1312 rtl88ee_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1334 rtl88ee_set_qos(struct ieee80211_hw *hw, int aci) argument 1356 rtl88ee_clear_interrupt(struct ieee80211_hw *hw) argument 1371 rtl88ee_enable_interrupt(struct ieee80211_hw *hw) argument 1393 rtl88ee_disable_interrupt(struct ieee80211_hw *hw) argument 1404 _rtl88ee_poweroff_adapter(struct ieee80211_hw *hw) argument 1463 rtl88ee_card_disable(struct ieee80211_hw *hw) argument 1488 rtl88ee_interrupt_recognized(struct ieee80211_hw *hw, u32 *p_inta, u32 *p_intb) argument 1502 rtl88ee_set_beacon_related_registers(struct ieee80211_hw *hw) argument 1523 rtl88ee_set_beacon_interval(struct ieee80211_hw *hw) argument 1536 rtl88ee_update_interrupt_mask(struct ieee80211_hw *hw, u32 add_msr, u32 rm_msr) argument 1594 read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwrinfo24g, struct txpower_info_5g *pwrinfo5g, bool autoload_fail, u8 *hwinfo) argument 1784 _rtl88ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 1848 _rtl88ee_read_adapter_info(struct ieee80211_hw *hw) argument 1996 _rtl88ee_hal_customized_behavior(struct ieee80211_hw *hw) argument 2021 rtl88ee_read_eeprom_info(struct ieee80211_hw *hw) argument 2055 rtl88ee_update_hal_rate_table(struct ieee80211_hw *hw, struct ieee80211_sta *sta) argument 2145 rtl88ee_update_hal_rate_mask(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2276 rtl88ee_update_hal_rate_tbl(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2287 rtl88ee_update_channel_access_setting(struct ieee80211_hw *hw) argument 2301 rtl88ee_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 *valid) argument 2364 rtl88ee_set_key(struct ieee80211_hw *hw, u32 key_index, u8 *p_macaddr, bool is_group, u8 enc_algo, bool is_wepkey, bool clear_all) argument 2493 rtl8188ee_bt_var_init(struct ieee80211_hw *hw) argument 2530 rtl8188ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument 2558 rtl8188ee_bt_reg_init(struct ieee80211_hw *hw) argument 2570 rtl8188ee_bt_hw_init(struct ieee80211_hw *hw) argument 2608 rtl88ee_suspend(struct ieee80211_hw *hw) argument 2612 rtl88ee_resume(struct ieee80211_hw *hw) argument [all...] |
/drivers/net/ethernet/atheros/alx/ |
H A D | main.c | 49 #include "hw.h" 60 dma_unmap_single(&alx->hw.pdev->dev, 92 dma = dma_map_single(&alx->hw.pdev->dev, 95 if (dma_mapping_error(&alx->hw.pdev->dev, dma)) { 124 alx_write_mem16(&alx->hw, ALX_RFD_PIDX, cur); 147 hw_read_idx = alx_read_mem16(&alx->hw, ALX_TPD_PRI0_CIDX); 210 dma_unmap_single(&alx->hw.pdev->dev, 267 struct alx_hw *hw = &alx->hw; local 282 alx_write_mem32(hw, ALX_IM 292 struct alx_hw *hw = &alx->hw; local 348 struct alx_hw *hw = &alx->hw; local 361 struct alx_hw *hw = &alx->hw; local 449 alx_add_mc_addr(struct alx_hw *hw, const u8 *addr, u32 *mc_hash) argument 463 struct alx_hw *hw = &alx->hw; local 492 struct alx_hw *hw = &alx->hw; local 602 struct alx_hw *hw = &alx->hw; local 611 struct alx_hw *hw = &alx->hw; local 621 struct alx_hw *hw = &alx->hw; local 633 struct alx_hw *hw = &alx->hw; local 675 struct alx_hw *hw = &alx->hw; local 689 struct alx_hw *hw = &alx->hw; local 757 struct alx_hw *hw = &alx->hw; local 773 struct alx_hw *hw = &alx->hw; local 873 alx_speed_desc(struct alx_hw *hw) argument 893 struct alx_hw *hw = &alx->hw; local 1115 struct alx_hw *hw = &alx->hw; local 1136 struct alx_hw *hw = &alx->hw; local 1239 struct alx_hw *hw; local 1400 struct alx_hw *hw = &alx->hw; local 1436 struct alx_hw *hw = &alx->hw; local 1482 struct alx_hw *hw = &alx->hw; local [all...] |
H A D | Makefile | 2 alx-objs := main.o ethtool.o hw.o
|
/drivers/clk/ |
H A D | clk-max-gen.c | 38 struct clk_hw hw; member in struct:max_gen_clk 41 static struct max_gen_clk *to_max_gen_clk(struct clk_hw *hw) argument 43 return container_of(hw, struct max_gen_clk, hw); 46 static int max_gen_clk_prepare(struct clk_hw *hw) argument 48 struct max_gen_clk *max_gen = to_max_gen_clk(hw); 54 static void max_gen_clk_unprepare(struct clk_hw *hw) argument 56 struct max_gen_clk *max_gen = to_max_gen_clk(hw); 62 static int max_gen_clk_is_prepared(struct clk_hw *hw) argument 64 struct max_gen_clk *max_gen = to_max_gen_clk(hw); 76 max_gen_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) argument 94 struct clk_hw *hw = &max_gen->hw; local [all...] |
/drivers/net/wireless/rtlwifi/rtl8723be/ |
H A D | hw.c | 42 #include "hw.h" 49 static void _rtl8723be_return_beacon_queue_skb(struct ieee80211_hw *hw) argument 51 struct rtl_priv *rtlpriv = rtl_priv(hw); 52 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); 71 static void _rtl8723be_set_bcn_ctrl_reg(struct ieee80211_hw *hw, argument 74 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); 75 struct rtl_priv *rtlpriv = rtl_priv(hw); 83 static void _rtl8723be_stop_tx_beacon(struct ieee80211_hw *hw) argument 85 struct rtl_priv *rtlpriv = rtl_priv(hw); 96 static void _rtl8723be_resume_tx_beacon(struct ieee80211_hw *hw) argument 109 _rtl8723be_enable_bcn_sub_func(struct ieee80211_hw *hw) argument 114 _rtl8723be_disable_bcn_sub_func(struct ieee80211_hw *hw) argument 119 _rtl8723be_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val, bool b_need_turn_off_ckk) argument 188 _rtl8723be_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) argument 243 _rtl8723be_set_fw_ps_rf_on(struct ieee80211_hw *hw) argument 250 _rtl8723be_fwlps_leave(struct ieee80211_hw *hw) argument 278 _rtl8723be_fwlps_enter(struct ieee80211_hw *hw) argument 306 rtl8723be_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 358 _rtl8723be_download_rsvd_page(struct ieee80211_hw *hw) argument 408 rtl8723be_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 732 _rtl8723be_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) argument 759 _rtl8723be_llt_table_init(struct ieee80211_hw *hw) argument 808 _rtl8723be_gen_refresh_led_state(struct ieee80211_hw *hw) argument 826 _rtl8723be_init_mac(struct ieee80211_hw *hw) argument 951 _rtl8723be_hw_configure(struct ieee80211_hw *hw) argument 1082 _rtl8723be_enable_aspm_back_door(struct ieee80211_hw *hw) argument 1135 rtl8723be_enable_hw_security_config(struct ieee80211_hw *hw) argument 1168 _rtl8723be_poweroff_adapter(struct ieee80211_hw *hw) argument 1344 rtl8723be_hw_init(struct ieee80211_hw *hw) argument 1468 _rtl8723be_read_chip_version(struct ieee80211_hw *hw) argument 1500 _rtl8723be_set_media_status(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1570 rtl8723be_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid) argument 1593 rtl8723be_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1614 rtl8723be_set_qos(struct ieee80211_hw *hw, int aci) argument 1637 rtl8723be_clear_interrupt(struct ieee80211_hw *hw) argument 1652 rtl8723be_enable_interrupt(struct ieee80211_hw *hw) argument 1667 rtl8723be_disable_interrupt(struct ieee80211_hw *hw) argument 1678 rtl8723be_card_disable(struct ieee80211_hw *hw) argument 1698 rtl8723be_interrupt_recognized(struct ieee80211_hw *hw, u32 *p_inta, u32 *p_intb) argument 1712 rtl8723be_set_beacon_related_registers(struct ieee80211_hw *hw) argument 1730 rtl8723be_set_beacon_interval(struct ieee80211_hw *hw) argument 1743 rtl8723be_update_interrupt_mask(struct ieee80211_hw *hw, u32 add_msr, u32 rm_msr) argument 1773 _rtl8723be_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pw2g, struct txpower_info_5g *pw5g, bool autoload_fail, u8 *hwinfo) argument 1972 _rtl8723be_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 2040 _rtl8723be_read_adapter_info(struct ieee80211_hw *hw, bool pseudo_test) argument 2254 _rtl8723be_hal_customized_behavior(struct ieee80211_hw *hw) argument 2278 rtl8723be_read_eeprom_info(struct ieee80211_hw *hw) argument 2312 _rtl8723be_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index) argument 2343 rtl8723be_update_hal_rate_mask(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2479 rtl8723be_update_hal_rate_tbl(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2488 rtl8723be_update_channel_access_setting(struct ieee80211_hw *hw) argument 2502 rtl8723be_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 *valid) argument 2572 rtl8723be_set_key(struct ieee80211_hw *hw, u32 key_index, u8 *p_macaddr, bool is_group, u8 enc_algo, bool is_wepkey, bool clear_all) argument 2700 rtl8723be_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument 2724 rtl8723be_bt_reg_init(struct ieee80211_hw *hw) argument 2736 rtl8723be_bt_hw_init(struct ieee80211_hw *hw) argument 2745 rtl8723be_suspend(struct ieee80211_hw *hw) argument 2749 rtl8723be_resume(struct ieee80211_hw *hw) argument [all...] |
/drivers/regulator/ |
H A D | tps6524x-regulator.c | 143 static int __read_reg(struct tps6524x *hw, int reg) argument 169 error = spi_sync(hw->spi, &m); 173 dev_dbg(hw->dev, "read reg %d, data %x, status %x\n", 185 static int read_reg(struct tps6524x *hw, int reg) argument 189 mutex_lock(&hw->lock); 190 ret = __read_reg(hw, reg); 191 mutex_unlock(&hw->lock); 196 static int __write_reg(struct tps6524x *hw, int reg, int val) argument 222 error = spi_sync(hw->spi, &m); 226 dev_dbg(hw 238 __rmw_reg(struct tps6524x *hw, int reg, int mask, int val) argument 254 rmw_protect(struct tps6524x *hw, int reg, int mask, int val) argument 282 read_field(struct tps6524x *hw, const struct field *field) argument 293 write_field(struct tps6524x *hw, const struct field *field, int val) argument 460 struct tps6524x *hw; local 474 struct tps6524x *hw; local 496 struct tps6524x *hw; local 517 struct tps6524x *hw; local 538 struct tps6524x *hw; local 549 struct tps6524x *hw; local 560 struct tps6524x *hw; local 582 struct tps6524x *hw; local [all...] |
/drivers/net/wireless/rtlwifi/rtl8192ee/ |
H A D | hw.c | 39 #include "hw.h" 45 static void _rtl92ee_set_bcn_ctrl_reg(struct ieee80211_hw *hw, argument 48 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); 49 struct rtl_priv *rtlpriv = rtl_priv(hw); 57 static void _rtl92ee_stop_tx_beacon(struct ieee80211_hw *hw) argument 59 struct rtl_priv *rtlpriv = rtl_priv(hw); 70 static void _rtl92ee_resume_tx_beacon(struct ieee80211_hw *hw) argument 72 struct rtl_priv *rtlpriv = rtl_priv(hw); 83 static void _rtl92ee_enable_bcn_sub_func(struct ieee80211_hw *hw) argument 85 _rtl92ee_set_bcn_ctrl_reg(hw, 88 _rtl92ee_return_beacon_queue_skb(struct ieee80211_hw *hw) argument 111 _rtl92ee_disable_bcn_sub_func(struct ieee80211_hw *hw) argument 116 _rtl92ee_set_fw_clock_on(struct ieee80211_hw *hw, u8 rpwm_val, bool b_need_turn_off_ckk) argument 187 _rtl92ee_set_fw_clock_off(struct ieee80211_hw *hw, u8 rpwm_val) argument 242 _rtl92ee_set_fw_ps_rf_on(struct ieee80211_hw *hw) argument 250 _rtl92ee_set_fw_ps_rf_off_low_power(struct ieee80211_hw *hw) argument 260 struct ieee80211_hw *hw = (struct ieee80211_hw *)data; local 265 _rtl92ee_fwlps_leave(struct ieee80211_hw *hw) argument 292 _rtl92ee_fwlps_enter(struct ieee80211_hw *hw) argument 319 rtl92ee_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 371 _rtl92ee_download_rsvd_page(struct ieee80211_hw *hw) argument 453 rtl92ee_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 719 _rtl92ee_llt_table_init(struct ieee80211_hw *hw) argument 758 _rtl92ee_gen_refresh_led_state(struct ieee80211_hw *hw) argument 776 _rtl92ee_init_mac(struct ieee80211_hw *hw) argument 956 _rtl92ee_hw_configure(struct ieee80211_hw *hw) argument 1043 _rtl92ee_enable_aspm_back_door(struct ieee80211_hw *hw) argument 1131 rtl92ee_enable_hw_security_config(struct ieee80211_hw *hw) argument 1166 rtl92ee_hw_init(struct ieee80211_hw *hw) argument 1316 _rtl92ee_read_chip_version(struct ieee80211_hw *hw) argument 1338 _rtl92ee_set_media_status(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1408 rtl92ee_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid) argument 1430 rtl92ee_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1449 rtl92ee_set_qos(struct ieee80211_hw *hw, int aci) argument 1473 rtl92ee_clear_interrupt(struct ieee80211_hw *hw) argument 1488 rtl92ee_enable_interrupt(struct ieee80211_hw *hw) argument 1500 rtl92ee_disable_interrupt(struct ieee80211_hw *hw) argument 1511 _rtl92ee_poweroff_adapter(struct ieee80211_hw *hw) argument 1552 rtl92ee_card_disable(struct ieee80211_hw *hw) argument 1578 rtl92ee_interrupt_recognized(struct ieee80211_hw *hw, u32 *p_inta, u32 *p_intb) argument 1591 rtl92ee_set_beacon_related_registers(struct ieee80211_hw *hw) argument 1611 rtl92ee_set_beacon_interval(struct ieee80211_hw *hw) argument 1622 rtl92ee_update_interrupt_mask(struct ieee80211_hw *hw, u32 add_msr, u32 rm_msr) argument 1687 _rtl8192ee_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwr2g, struct txpower_info_5g *pwr5g, bool autoload_fail, u8 *hwinfo) argument 1917 _rtl92ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 2011 _rtl92ee_read_adapter_info(struct ieee80211_hw *hw) argument 2126 _rtl92ee_hal_customized_behavior(struct ieee80211_hw *hw) argument 2138 rtl92ee_read_eeprom_info(struct ieee80211_hw *hw) argument 2177 _rtl92ee_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index) argument 2208 rtl92ee_update_hal_rate_mask(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2343 rtl92ee_update_hal_rate_tbl(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2352 rtl92ee_update_channel_access_setting(struct ieee80211_hw *hw) argument 2367 rtl92ee_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 *valid) argument 2373 rtl92ee_set_key(struct ieee80211_hw *hw, u32 key_index, u8 *p_macaddr, bool is_group, u8 enc_algo, bool is_wepkey, bool clear_all) argument 2501 rtl92ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument 2523 rtl92ee_bt_reg_init(struct ieee80211_hw *hw) argument 2535 rtl92ee_bt_hw_init(struct ieee80211_hw *hw) argument 2543 rtl92ee_suspend(struct ieee80211_hw *hw) argument 2547 rtl92ee_resume(struct ieee80211_hw *hw) argument 2552 rtl92ee_allow_all_destaddr(struct ieee80211_hw *hw, bool allow_all_da, bool write_into_reg) argument [all...] |
/drivers/clk/at91/ |
H A D | clk-slow.c | 41 struct clk_hw hw; member in struct:clk_slow_osc 46 #define to_clk_slow_osc(hw) container_of(hw, struct clk_slow_osc, hw) 49 struct clk_hw hw; member in struct:clk_slow_rc_osc 56 #define to_clk_slow_rc_osc(hw) container_of(hw, struct clk_slow_rc_osc, hw) 59 struct clk_hw hw; member in struct:clk_sam9260_slow 63 #define to_clk_sam9260_slow(hw) container_o 66 struct clk_hw hw; member in struct:clk_sam9x5_slow 74 clk_slow_osc_prepare(struct clk_hw *hw) argument 90 clk_slow_osc_unprepare(struct clk_hw *hw) argument 102 clk_slow_osc_is_prepared(struct clk_hw *hw) argument 181 clk_slow_rc_osc_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) argument 189 clk_slow_rc_osc_recalc_accuracy(struct clk_hw *hw, unsigned long parent_acc) argument 197 clk_slow_rc_osc_prepare(struct clk_hw *hw) argument 209 clk_slow_rc_osc_unprepare(struct clk_hw *hw) argument 217 clk_slow_rc_osc_is_prepared(struct clk_hw *hw) argument 291 clk_sam9x5_slow_set_parent(struct clk_hw *hw, u8 index) argument 318 clk_sam9x5_slow_get_parent(struct clk_hw *hw) argument 393 clk_sam9260_slow_get_parent(struct clk_hw *hw) argument [all...] |
/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 213 struct csio_hw *hw = csio_lnode_to_hw(ln); local 215 spin_lock_irq(&hw->lock); 217 spin_unlock_irq(&hw->lock); 229 struct csio_hw *hw = csio_lnode_to_hw(ln); local 231 spin_lock_irq(&hw->lock); 236 spin_unlock_irq(&hw->lock); 248 struct csio_hw *hw = csio_lnode_to_hw(ln); local 251 spin_lock_irq(&hw->lock); 261 spin_unlock_irq(&hw->lock); 273 struct csio_hw *hw local 300 struct csio_hw *hw = csio_lnode_to_hw(ln); local 320 struct csio_hw *hw = csio_lnode_to_hw(ln); local 405 csio_fcoe_alloc_vnp(struct csio_hw *hw, struct csio_lnode *ln) argument 486 csio_fcoe_free_vnp(struct csio_hw *hw, struct csio_lnode *ln) argument 548 struct csio_hw *hw = csio_lnode_to_hw(pln); local 609 struct csio_hw *hw = csio_lnode_to_hw(ln); local 642 struct csio_hw *hw = csio_lnode_to_hw(ln); local 675 struct csio_hw *hw; local [all...] |
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | hw.c | 44 #include "hw.h" 45 #include "../rtl8192ce/hw.h" 50 static void _rtl92cu_phy_param_tab_init(struct ieee80211_hw *hw) argument 52 struct rtl_priv *rtlpriv = rtl_priv(hw); 124 static void _rtl92cu_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, argument 128 struct rtl_priv *rtlpriv = rtl_priv(hw); 129 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); 326 static void _rtl92cu_read_board_type(struct ieee80211_hw *hw, u8 *contents) argument 328 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); 329 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); 345 _rtl92cu_read_adapter_info(struct ieee80211_hw *hw) argument 422 _rtl92cu_hal_customized_behavior(struct ieee80211_hw *hw) argument 445 rtl92cu_read_eeprom_info(struct ieee80211_hw *hw) argument 468 _rtl92cu_init_power_on(struct ieee80211_hw *hw) argument 545 _rtl92cu_init_queue_reserved_page(struct ieee80211_hw *hw, bool wmm_enable, u8 out_ep_num, u8 queue_sel) argument 609 _rtl92c_init_trx_buffer(struct ieee80211_hw *hw, bool wmm_enable) argument 632 _rtl92c_init_chipN_reg_priority(struct ieee80211_hw *hw, u16 beQ, u16 bkQ, u16 viQ, u16 voQ, u16 mgtQ, u16 hiQ) argument 645 _rtl92cu_init_chipN_one_out_ep_priority(struct ieee80211_hw *hw, bool wmm_enable, u8 queue_sel) argument 670 _rtl92cu_init_chipN_two_out_ep_priority(struct ieee80211_hw *hw, bool wmm_enable, u8 queue_sel) argument 714 _rtl92cu_init_chipN_three_out_ep_priority(struct ieee80211_hw *hw, bool wmm_enable, u8 queue_sel) argument 741 _rtl92cu_init_chipN_queue_priority(struct ieee80211_hw *hw, bool wmm_enable, u8 out_ep_num, u8 queue_sel) argument 765 _rtl92cu_init_chipT_queue_priority(struct ieee80211_hw *hw, bool wmm_enable, u8 out_ep_num, u8 queue_sel) argument 801 _rtl92cu_init_queue_priority(struct ieee80211_hw *hw, bool wmm_enable, u8 out_ep_num, u8 queue_sel) argument 815 _rtl92cu_init_usb_aggregation(struct ieee80211_hw *hw) argument 819 _rtl92cu_init_wmac_setting(struct ieee80211_hw *hw) argument 843 _rtl92cu_init_mac(struct ieee80211_hw *hw) argument 896 rtl92cu_enable_hw_security_config(struct ieee80211_hw *hw) argument 924 _rtl92cu_hw_configure(struct ieee80211_hw *hw) argument 943 _InitPABias(struct ieee80211_hw *hw) argument 971 _update_mac_setting(struct ieee80211_hw *hw) argument 982 rtl92cu_hw_init(struct ieee80211_hw *hw) argument 1056 _DisableRFAFEAndResetBB(struct ieee80211_hw *hw) argument 1079 _ResetDigitalProcedure1(struct ieee80211_hw *hw, bool bWithoutHWSM) argument 1146 _ResetDigitalProcedure2(struct ieee80211_hw *hw) argument 1158 _DisableGPIO(struct ieee80211_hw *hw) argument 1188 _DisableAnalog(struct ieee80211_hw *hw, bool bWithoutHWSM) argument 1217 _CardDisableHWSM(struct ieee80211_hw *hw) argument 1229 _CardDisableWithoutHWSM(struct ieee80211_hw *hw) argument 1243 _rtl92cu_set_bcn_ctrl_reg(struct ieee80211_hw *hw, u8 set_bits, u8 clear_bits) argument 1254 _rtl92cu_stop_tx_beacon(struct ieee80211_hw *hw) argument 1273 _rtl92cu_resume_tx_beacon(struct ieee80211_hw *hw) argument 1293 _rtl92cu_enable_bcn_sub_func(struct ieee80211_hw *hw) argument 1304 _rtl92cu_disable_bcn_sub_func(struct ieee80211_hw *hw) argument 1315 _rtl92cu_set_media_status(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1375 rtl92cu_card_disable(struct ieee80211_hw *hw) argument 1394 rtl92cu_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid) argument 1435 rtl92cu_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type) argument 1452 _InitBeaconParameters(struct ieee80211_hw *hw) argument 1471 _beacon_function_enable(struct ieee80211_hw *hw, bool Enable, bool Linked) argument 1480 rtl92cu_set_beacon_related_registers(struct ieee80211_hw *hw) argument 1519 rtl92cu_set_beacon_interval(struct ieee80211_hw *hw) argument 1530 rtl92cu_update_interrupt_mask(struct ieee80211_hw *hw, u32 add_msr, u32 rm_msr) argument 1535 rtl92cu_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 1595 usb_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb) argument 1609 rtl92cu_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) argument 2009 rtl92cu_update_hal_rate_table(struct ieee80211_hw *hw, struct ieee80211_sta *sta) argument 2098 rtl92cu_update_hal_rate_mask(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2245 rtl92cu_update_hal_rate_tbl(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 rssi_level) argument 2257 rtl92cu_update_channel_access_setting(struct ieee80211_hw *hw) argument 2272 rtl92cu_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 * valid) argument [all...] |
/drivers/isdn/hisax/ |
H A D | bkm_a4t.c | 76 return (readreg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset)); 82 writereg(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, offset, value); 88 readfifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); 94 writefifo(cs->hw.ax.isac_ale, cs->hw.ax.isac_adr, 0, data, size); 100 return (readreg(cs->hw.ax.jade_ale, cs->hw [all...] |
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
H A D | hal_bt_coexist.c | 36 void rtl8723e_dm_bt_reject_ap_aggregated_packet(struct ieee80211_hw *hw, argument 41 void _rtl8723_dm_bt_check_wifi_state(struct ieee80211_hw *hw) argument 43 struct rtl_priv *rtlpriv = rtl_priv(hw); 101 u8 rtl8723e_dm_bt_check_coex_rssi_state1(struct ieee80211_hw *hw, argument 106 struct rtl_priv *rtlpriv = rtl_priv(hw); 110 undecoratedsmoothed_pwdb = rtl8723e_dm_bt_get_rx_ss(hw); 229 u8 rtl8723e_dm_bt_check_coex_rssi_state(struct ieee80211_hw *hw, argument 234 struct rtl_priv *rtlpriv = rtl_priv(hw); 238 undecoratedsmoothed_pwdb = rtl8723e_dm_bt_get_rx_ss(hw); 355 long rtl8723e_dm_bt_get_rx_ss(struct ieee80211_hw *hw) argument 374 rtl8723e_dm_bt_balance(struct ieee80211_hw *hw, bool balance_on, u8 ms0, u8 ms1) argument 401 rtl8723e_dm_bt_agc_table(struct ieee80211_hw *hw, u8 type) argument 448 rtl8723e_dm_bt_bb_back_off_level(struct ieee80211_hw *hw, u8 type) argument 464 rtl8723e_dm_bt_fw_coex_all_off(struct ieee80211_hw *hw) argument 479 rtl8723e_dm_bt_sw_coex_all_off(struct ieee80211_hw *hw) argument 495 rtl8723e_dm_bt_hw_coex_all_off(struct ieee80211_hw *hw) argument 512 rtl8723e_btdm_coex_all_off(struct ieee80211_hw *hw) argument 519 rtl8723e_dm_bt_is_coexist_state_changed(struct ieee80211_hw *hw) argument 530 rtl8723e_dm_bt_is_wifi_up_link(struct ieee80211_hw *hw) argument [all...] |
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 282 static inline void pch_gbe_mac_load_mac_addr(struct pch_gbe_hw *hw) argument 284 iowrite32(0x01, &hw->reg->MAC_ADDR_LOAD); 289 * @hw: Pointer to the HW structure 293 s32 pch_gbe_mac_read_mac_addr(struct pch_gbe_hw *hw) argument 295 struct pch_gbe_adapter *adapter = pch_gbe_hw_to_adapter(hw); 298 adr1a = ioread32(&hw->reg->mac_adr[0].high); 299 adr1b = ioread32(&hw->reg->mac_adr[0].low); 301 hw->mac.addr[0] = (u8)(adr1a & 0xFF); 302 hw->mac.addr[1] = (u8)((adr1a >> 8) & 0xFF); 303 hw 335 pch_gbe_mac_mar_set(struct pch_gbe_hw *hw, u8 * addr, u32 index) argument 367 pch_gbe_mac_reset_hw(struct pch_gbe_hw *hw) argument 381 pch_gbe_disable_mac_rx(struct pch_gbe_hw *hw) argument 389 pch_gbe_enable_mac_rx(struct pch_gbe_hw *hw) argument 402 pch_gbe_mac_init_rx_addrs(struct pch_gbe_hw *hw, u16 mar_count) argument 428 pch_gbe_mac_mc_addr_list_update(struct pch_gbe_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, u32 mar_used_count, u32 mar_total_num) argument 464 pch_gbe_mac_force_mac_fc(struct pch_gbe_hw *hw) argument 510 pch_gbe_mac_set_wol_event(struct pch_gbe_hw *hw, u32 wu_evt) argument 545 pch_gbe_mac_ctrl_miim(struct pch_gbe_hw *hw, u32 addr, u32 dir, u32 reg, u16 data) argument 586 pch_gbe_mac_set_pause_packet(struct pch_gbe_hw *hw) argument 713 struct pch_gbe_hw *hw = &adapter->hw; local 730 struct pch_gbe_hw *hw = &adapter->hw; local 797 struct pch_gbe_hw *hw = &adapter->hw; local 814 struct pch_gbe_hw *hw = &adapter->hw; local 831 struct pch_gbe_hw *hw = &adapter->hw; local 854 struct pch_gbe_hw *hw = &adapter->hw; local 880 struct pch_gbe_hw *hw = &adapter->hw; local 902 struct pch_gbe_hw *hw = &adapter->hw; local 979 struct pch_gbe_hw *hw = &adapter->hw; local 1012 struct pch_gbe_hw *hw = &adapter->hw; local 1038 struct pch_gbe_hw *hw = &adapter->hw; local 1067 struct pch_gbe_hw *hw = &adapter->hw; local 1099 struct pch_gbe_hw *hw = &adapter->hw; local 1151 struct pch_gbe_hw *hw = &adapter->hw; local 1305 pch_gbe_disable_dma_rx(struct pch_gbe_hw *hw) argument 1315 pch_gbe_enable_dma_rx(struct pch_gbe_hw *hw) argument 1337 struct pch_gbe_hw *hw = &adapter->hw; local 1413 struct pch_gbe_hw *hw = &adapter->hw; local 2036 struct pch_gbe_hw *hw = &adapter->hw; local 2077 struct pch_gbe_hw *hw = &adapter->hw; local 2116 struct pch_gbe_hw *hw = &adapter->hw; local 2177 struct pch_gbe_hw *hw = &adapter->hw; local 2467 struct pch_gbe_hw *hw = &adapter->hw; local 2502 struct pch_gbe_hw *hw = &adapter->hw; local 2540 struct pch_gbe_hw *hw = &adapter->hw; local [all...] |
/drivers/ide/ |
H A D | q40ide.c | 55 static void q40_ide_setup_ports(struct ide_hw *hw, unsigned long base, int irq) argument 57 memset(hw, 0, sizeof(*hw)); 60 hw->io_ports.data_addr = Q40_ISA_IO_W(base); 61 hw->io_ports.error_addr = Q40_ISA_IO_B(base + 1); 62 hw->io_ports.nsect_addr = Q40_ISA_IO_B(base + 2); 63 hw->io_ports.lbal_addr = Q40_ISA_IO_B(base + 3); 64 hw->io_ports.lbam_addr = Q40_ISA_IO_B(base + 4); 65 hw->io_ports.lbah_addr = Q40_ISA_IO_B(base + 5); 66 hw 136 struct ide_hw hw[Q40IDE_NUM_HWIFS], *hws[] = { NULL, NULL }; local [all...] |
/drivers/media/pci/cx18/ |
H A D | cx18-gpio.h | 25 int cx18_gpio_register(struct cx18 *cx, u32 hw);
|
/drivers/misc/ |
H A D | hpilo.c | 67 static int fifo_enqueue(struct ilo_hwinfo *hw, char *fifobar, int entry) argument 73 spin_lock_irqsave(&hw->fifo_lock, flags); 81 spin_unlock_irqrestore(&hw->fifo_lock, flags); 86 static int fifo_dequeue(struct ilo_hwinfo *hw, char *fifobar, int *entry) argument 93 spin_lock_irqsave(&hw->fifo_lock, flags); 104 spin_unlock_irqrestore(&hw->fifo_lock, flags); 109 static int fifo_check_recv(struct ilo_hwinfo *hw, char *fifobar) argument 116 spin_lock_irqsave(&hw->fifo_lock, flags); 120 spin_unlock_irqrestore(&hw->fifo_lock, flags); 125 static int ilo_pkt_enqueue(struct ilo_hwinfo *hw, struc argument 140 ilo_pkt_dequeue(struct ilo_hwinfo *hw, struct ccb *ccb, int dir, int *id, int *len, void **pkt) argument 169 ilo_pkt_recv(struct ilo_hwinfo *hw, struct ccb *ccb) argument 258 ilo_ccb_setup(struct ilo_hwinfo *hw, struct ccb_data *data, int slot) argument 323 ilo_ccb_open(struct ilo_hwinfo *hw, struct ccb_data *data, int slot) argument 348 ilo_ccb_verify(struct ilo_hwinfo *hw, struct ccb_data *data) argument 382 get_device_outbound(struct ilo_hwinfo *hw) argument 392 is_device_reset(struct ilo_hwinfo *hw) argument 398 clear_pending_db(struct ilo_hwinfo *hw, int clr) argument 403 clear_device(struct ilo_hwinfo *hw) argument 409 ilo_enable_interrupts(struct ilo_hwinfo *hw) argument 414 ilo_disable_interrupts(struct ilo_hwinfo *hw) argument 420 ilo_set_reset(struct ilo_hwinfo *hw) argument 441 struct ilo_hwinfo *hw = data->ilo_hw; local 491 struct ilo_hwinfo *hw = data->ilo_hw; local 536 struct ilo_hwinfo *hw; local 567 struct ilo_hwinfo *hw; local 649 struct ilo_hwinfo *hw = data; local 682 ilo_unmap_device(struct pci_dev *pdev, struct ilo_hwinfo *hw) argument 689 ilo_map_device(struct pci_dev *pdev, struct ilo_hwinfo *hw) argument [all...] |
/drivers/misc/mei/ |
H A D | hw-txe.h | 22 #include "hw.h" 23 #include "hw-txe-regs.h" 58 #define to_txe_hw(dev) (struct mei_txe_hw *)((dev)->hw) 60 static inline struct mei_device *hw_txe_to_mei(struct mei_txe_hw *hw) argument 62 return container_of((void *)hw, struct mei_device, hw);
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | manage.h | 25 bool e1000e_check_mng_mode_generic(struct e1000_hw *hw); 26 bool e1000e_enable_tx_pkt_filtering(struct e1000_hw *hw); 27 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length); 28 bool e1000e_enable_mng_pass_thru(struct e1000_hw *hw);
|
/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ethtool.c | 85 FM10K_STAT("swapi_status", hw.swapi.status), 86 FM10K_STAT("mac_rules_used", hw.swapi.mac.used), 87 FM10K_STAT("mac_rules_avail", hw.swapi.mac.avail), 89 FM10K_STAT("mbx_tx_busy", hw.mbx.tx_busy), 90 FM10K_STAT("mbx_tx_dropped", hw.mbx.tx_dropped), 91 FM10K_STAT("mbx_tx_messages", hw.mbx.tx_messages), 92 FM10K_STAT("mbx_tx_dwords", hw.mbx.tx_dwords), 93 FM10K_STAT("mbx_rx_messages", hw.mbx.rx_messages), 94 FM10K_STAT("mbx_rx_dwords", hw.mbx.rx_dwords), 95 FM10K_STAT("mbx_rx_parse_err", hw 213 fm10k_get_reg_q(struct fm10k_hw *hw, u32 *buff, int i) argument 253 fm10k_get_reg_vsi(struct fm10k_hw *hw, u32 *buff, int i) argument 270 struct fm10k_hw *hw = &interface->hw; local 348 struct fm10k_hw *hw = &interface->hw; local 393 struct fm10k_hw *hw = &interface->hw; local 741 struct fm10k_hw *hw = &interface->hw; local 786 struct fm10k_hw *hw = &interface->hw; local 839 struct fm10k_hw *hw = &interface->hw; local 882 struct fm10k_hw *hw = &interface->hw; local 938 struct fm10k_hw *hw = &interface->hw; local 975 struct fm10k_hw *hw = &interface->hw; local 993 struct fm10k_hw *hw = &interface->hw; local [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00pci.c | 78 struct ieee80211_hw *hw; local 106 hw = ieee80211_alloc_hw(sizeof(struct rt2x00_dev), ops->hw); 107 if (!hw) { 113 pci_set_drvdata(pci_dev, hw); 115 rt2x00dev = hw->priv; 118 rt2x00dev->hw = hw; 149 ieee80211_free_hw(hw); 163 struct ieee80211_hw *hw local 184 struct ieee80211_hw *hw = pci_get_drvdata(pci_dev); local 200 struct ieee80211_hw *hw = pci_get_drvdata(pci_dev); local [all...] |