/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_prototype.h | 19 enum iavf_status iavf_init_adminq(struct iavf_hw *hw); 20 enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw); 21 void iavf_adminq_init_ring_data(struct iavf_hw *hw); 22 enum iavf_status iavf_clean_arq_element(struct iavf_hw *hw, 25 enum iavf_status iavf_asq_send_command(struct iavf_hw *hw, 30 bool iavf_asq_done(struct iavf_hw *hw); 33 void iavf_debug_aq(struct iavf_hw *hw, enum iavf_debug_mask mask, 36 void iavf_idle_aq(struct iavf_hw *hw); 37 void iavf_resume_aq(struct iavf_hw *hw); 38 bool iavf_check_asq_alive(struct iavf_hw *hw); [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | phy.h | 13 #define RT_CANNOT_IO(hw) false 55 bool rtl92c_phy_bb_config(struct ieee80211_hw *hw); 56 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); 57 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, 59 u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 61 void rtl92ce_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, 63 bool rtl92c_phy_mac_config(struct ieee80211_hw *hw); 64 bool rtl92ce_phy_bb_config(struct ieee80211_hw *hw); 65 bool rtl92c_phy_rf_config(struct ieee80211_hw *hw); 66 bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw, [all...] |
H A D | rf.h | 10 void rtl92ce_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth); 11 void rtl92ce_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 13 void rtl92ce_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 15 bool rtl92ce_phy_rf6052_config(struct ieee80211_hw *hw);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.c | 12 static void ixgbe_i2c_start(struct ixgbe_hw *hw); 13 static void ixgbe_i2c_stop(struct ixgbe_hw *hw); 14 static int ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data); 15 static int ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data); 16 static int ixgbe_get_i2c_ack(struct ixgbe_hw *hw); 17 static int ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data); 18 static int ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data); 19 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 20 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl); 21 static int ixgbe_set_i2c_data(struct ixgbe_hw *hw, u3 35 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) argument 52 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) argument 88 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val, bool lock) argument 166 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val, bool lock) argument 228 ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) argument 263 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) argument 313 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) argument 335 ixgbe_get_phy_id(struct ixgbe_hw *hw) argument 397 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) argument 473 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument 549 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument 574 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument 647 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument 671 ixgbe_msca_cmd(struct ixgbe_hw *hw, u32 cmd) argument 687 ixgbe_mii_bus_read_generic_c22(struct ixgbe_hw *hw, int addr, int regnum, u32 gssr) argument 721 ixgbe_mii_bus_read_generic_c45(struct ixgbe_hw *hw, int addr, int devad, int regnum, u32 gssr) argument 759 ixgbe_mii_bus_write_generic_c22(struct ixgbe_hw *hw, int addr, int regnum, u16 val, u32 gssr) argument 790 ixgbe_mii_bus_write_generic_c45(struct ixgbe_hw *hw, int addr, int devad, int regnum, u16 val, u32 gssr) argument 827 struct ixgbe_hw *hw = &adapter->hw; local 844 struct ixgbe_hw *hw = &adapter->hw; local 861 struct ixgbe_hw *hw = &adapter->hw; local 879 struct ixgbe_hw *hw = &adapter->hw; local 896 struct ixgbe_hw *hw = &adapter->hw; local 914 struct ixgbe_hw *hw = &adapter->hw; local 932 struct ixgbe_hw *hw = &adapter->hw; local 951 struct ixgbe_hw *hw = &adapter->hw; local 990 ixgbe_x550em_a_has_mii(struct ixgbe_hw *hw) argument 1026 ixgbe_mii_bus_init(struct ixgbe_hw *hw) argument 1098 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) argument 1176 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument 1217 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) argument 1256 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 1279 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument 1329 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) argument 1402 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) argument 1509 ixgbe_identify_module_generic(struct ixgbe_hw *hw) argument 1530 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) argument 1817 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) argument 2000 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) argument 2092 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument 2108 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) argument 2124 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument 2138 ixgbe_is_sfp_probe(struct ixgbe_hw *hw, u8 offset, u8 addr) argument 2158 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) argument 2248 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2265 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument 2283 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) argument 2351 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 2368 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument 2382 ixgbe_i2c_start(struct ixgbe_hw *hw) argument 2415 ixgbe_i2c_stop(struct ixgbe_hw *hw) argument 2449 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) argument 2470 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) argument 2501 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) argument 2552 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) argument 2586 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) argument 2619 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument 2652 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument 2674 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) argument 2716 ixgbe_get_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl) argument 2739 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) argument 2775 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) argument 2796 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) argument [all...] |
H A D | ixgbe_mbx.c | 11 * @hw: pointer to the HW structure 18 int ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 20 struct ixgbe_mbx_info *mbx = &hw->mbx; 29 return mbx->ops->read(hw, msg, size, mbx_id); 34 * @hw: pointer to the HW structure 41 int ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 43 struct ixgbe_mbx_info *mbx = &hw->mbx; 51 return mbx->ops->write(hw, msg, size, mbx_id); 56 * @hw: pointer to the HW structure 61 int ixgbe_check_for_msg(struct ixgbe_hw *hw, u1 argument 78 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument 95 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) argument 112 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) argument 137 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument 165 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 192 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 211 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) argument 230 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) argument 251 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) argument 272 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) argument 308 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) argument 332 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument 371 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument 402 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument [all...] |
H A D | ixgbe_common.h | 10 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw); 11 int ixgbe_init_hw_generic(struct ixgbe_hw *hw); 12 int ixgbe_start_hw_generic(struct ixgbe_hw *hw); 13 int ixgbe_start_hw_gen2(struct ixgbe_hw *hw); 14 int ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw); 15 int ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, 17 int ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr); 20 int ixgbe_get_bus_info_generic(struct ixgbe_hw *hw); 21 void ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw); 22 int ixgbe_stop_adapter_generic(struct ixgbe_hw *hw); 143 ixgbe_write_reg(struct ixgbe_hw *hw, u32 reg, u32 value) argument 162 ixgbe_write_reg64(struct ixgbe_hw *hw, u32 reg, u64 value) argument [all...] |
/linux-master/drivers/clk/qcom/ |
H A D | clk-rpmh.c | 37 * @hw: handle between common and hardware-specific interfaces 51 struct clk_hw hw; member in struct:clk_rpmh 84 .hw.init = &(struct clk_init_data){ \ 102 .hw.init = &(struct clk_init_data){ \ 126 .hw.init = &(struct clk_init_data){ \ 134 return container_of(_hw, struct clk_rpmh, hw); 213 static int clk_rpmh_prepare(struct clk_hw *hw) argument 215 struct clk_rpmh *c = to_clk_rpmh(hw); 225 static void clk_rpmh_unprepare(struct clk_hw *hw) argument 227 struct clk_rpmh *c = to_clk_rpmh(hw); 234 clk_rpmh_recalc_rate(struct clk_hw *hw, unsigned long prate) argument 289 clk_rpmh_bcm_prepare(struct clk_hw *hw) argument 296 clk_rpmh_bcm_unprepare(struct clk_hw *hw) argument 303 clk_rpmh_bcm_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) argument 319 clk_rpmh_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *parent_rate) argument 325 clk_rpmh_bcm_recalc_rate(struct clk_hw *hw, unsigned long prate) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbevf/ |
H A D | mbx.c | 9 * @hw: pointer to the HW structure 13 static s32 ixgbevf_poll_for_msg(struct ixgbe_hw *hw) argument 15 struct ixgbe_mbx_info *mbx = &hw->mbx; 21 while (countdown && mbx->ops.check_for_msg(hw)) { 31 * @hw: pointer to the HW structure 35 static s32 ixgbevf_poll_for_ack(struct ixgbe_hw *hw) argument 37 struct ixgbe_mbx_info *mbx = &hw->mbx; 43 while (countdown && mbx->ops.check_for_ack(hw)) { 53 * @hw: pointer to the HW structure 58 static u32 ixgbevf_read_mailbox_vf(struct ixgbe_hw *hw) argument 74 ixgbevf_clear_msg_vf(struct ixgbe_hw *hw) argument 90 ixgbevf_clear_ack_vf(struct ixgbe_hw *hw) argument 107 ixgbevf_clear_rst_vf(struct ixgbe_hw *hw) argument 126 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) argument 143 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) argument 161 ixgbevf_check_for_ack_vf(struct ixgbe_hw *hw) argument 180 ixgbevf_check_for_rst_vf(struct ixgbe_hw *hw) argument 200 ixgbevf_obtain_mbx_lock_vf(struct ixgbe_hw *hw) argument 236 ixgbevf_release_mbx_lock_vf(struct ixgbe_hw *hw) argument 250 ixgbevf_release_mbx_lock_vf_legacy(struct ixgbe_hw *__always_unused hw) argument 262 ixgbevf_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 306 ixgbevf_write_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 344 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 380 ixgbevf_read_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 410 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *hw) argument 439 ixgbevf_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 468 ixgbevf_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) argument [all...] |
/linux-master/drivers/clk/meson/ |
H A D | g12a.c | 65 .hw.init = &(struct clk_init_data){ 82 .hw.init = &(struct clk_init_data){ 86 &g12a_fixed_pll_dco.hw 130 .hw.init = &(struct clk_init_data){ 149 .hw.init = &(struct clk_init_data){ 153 &g12a_sys_pll_dco.hw 189 .hw.init = &(struct clk_init_data){ 208 .hw.init = &(struct clk_init_data){ 212 &g12b_sys1_pll_dco.hw 224 .hw [all...] |
H A D | meson8b.c | 92 .hw.init = &(struct clk_init_data){ 111 .hw.init = &(struct clk_init_data){ 115 &meson8b_fixed_pll_dco.hw 128 .hw.init = &(struct clk_init_data){ 211 .hw.init = &(struct clk_init_data){ 216 &hdmi_pll_dco_in.hw 229 .hw.init = &(struct clk_init_data){ 233 &meson8b_hdmi_pll_dco.hw 247 .hw.init = &(struct clk_init_data){ 251 &meson8b_hdmi_pll_dco.hw [all...] |
H A D | axg-audio.c | 31 .hw.init = &(struct clk_init_data) { \ 47 .hw.init = &(struct clk_init_data){ \ 63 .hw.init = &(struct clk_init_data){ \ 77 .hw.init = &(struct clk_init_data) { \ 99 .hw.init = &(struct clk_init_data) { \ 127 .hw.init = &(struct clk_init_data) { \ 144 .hw.init = &(struct clk_init_data) { \ 167 .hw.init = &(struct clk_init_data) { \ 646 .hw.init = &(struct clk_init_data) { 662 .hw 1751 struct clk_hw *hw; local [all...] |
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_init.c | 68 struct csio_hw *hw = file->private_data - mem; local 83 ret = hw->chip_ops->chip_mc_read(hw, 0, pos, 86 ret = hw->chip_ops->chip_edc_read(hw, mem, pos, 112 void csio_add_debugfs_mem(struct csio_hw *hw, const char *name, argument 115 debugfs_create_file_size(name, S_IRUSR, hw->debugfs_root, 116 (void *)hw + idx, &csio_mem_debugfs_fops, 120 static int csio_setup_debugfs(struct csio_hw *hw) argument 124 if (IS_ERR_OR_NULL(hw 142 csio_dfs_create(struct csio_hw *hw) argument 157 csio_dfs_destroy(struct csio_hw *hw) argument 244 csio_hw_init_workers(struct csio_hw *hw) argument 250 csio_hw_exit_workers(struct csio_hw *hw) argument 256 csio_create_queues(struct csio_hw *hw) argument 333 csio_config_queues(struct csio_hw *hw) argument 461 csio_resource_alloc(struct csio_hw *hw) argument 498 csio_resource_free(struct csio_hw *hw) argument 517 struct csio_hw *hw; local 569 csio_hw_free(struct csio_hw *hw) argument 593 csio_shost_init(struct csio_hw *hw, struct device *dev, bool probe, struct csio_lnode *pln) argument 666 struct csio_hw *hw = csio_lnode_to_hw(ln); local 686 csio_lnode_alloc(struct csio_hw *hw) argument 692 csio_lnodes_block_request(struct csio_hw *hw) argument 731 csio_lnodes_unblock_request(struct csio_hw *hw) argument 769 csio_lnodes_block_by_port(struct csio_hw *hw, uint8_t portid) argument 810 csio_lnodes_unblock_by_port(struct csio_hw *hw, uint8_t portid) argument 850 csio_lnodes_exit(struct csio_hw *hw, bool npiv) argument 945 struct csio_hw *hw; local 1032 struct csio_hw *hw = pci_get_drvdata(pdev); local 1059 struct csio_hw *hw = pci_get_drvdata(pdev); local 1086 struct csio_hw *hw = pci_get_drvdata(pdev); local 1122 struct csio_hw *hw = pci_get_drvdata(pdev); local [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | rf.h | 9 void rtl88e_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, 11 void rtl88e_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 13 void rtl88e_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 18 bool rtl88e_phy_rf6052_config(struct ieee80211_hw *hw);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | rf.h | 9 void rtl92s_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, 11 bool rtl92s_phy_rf6052_config(struct ieee80211_hw *hw) ; 12 void rtl92s_phy_rf6052_set_ccktxpower(struct ieee80211_hw *hw, 14 void rtl92s_phy_rf6052_set_ofdmtxpower(struct ieee80211_hw *hw,
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | rf.h | 9 void rtl8723be_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, 11 void rtl8723be_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 13 void rtl8723be_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 18 bool rtl8723be_phy_rf6052_config(struct ieee80211_hw *hw);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | rf.h | 9 void rtl8723e_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, 11 void rtl8723e_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 13 void rtl8723e_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 15 bool rtl8723e_phy_rf6052_config(struct ieee80211_hw *hw);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | rf.h | 9 void rtl8821ae_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, 11 void rtl8821ae_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 13 void rtl8821ae_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 18 bool rtl8821ae_phy_rf6052_config(struct ieee80211_hw *hw);
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.h | 12 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg); 15 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg); 18 #define fm10k_write_reg(hw, reg, val) \ 20 u32 __iomem *hw_addr = READ_ONCE((hw)->hw_addr); \ 26 #define fm10k_write_sw_reg(hw, reg, val) \ 28 u32 __iomem *sw_addr = READ_ONCE((hw)->sw_addr); \ 34 #define fm10k_write_flush(hw) fm10k_read_reg((hw), FM10K_CTRL) 35 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw); 36 s32 fm10k_get_invariants_generic(struct fm10k_hw *hw); [all...] |
H A D | fm10k_common.c | 8 * @hw: pointer to hardware structure 13 s32 fm10k_get_bus_info_generic(struct fm10k_hw *hw) argument 18 link_cap = fm10k_read_pci_cfg_word(hw, FM10K_PCIE_LINK_CAP); 22 hw->bus_caps.width = fm10k_bus_width_pcie_x1; 25 hw->bus_caps.width = fm10k_bus_width_pcie_x2; 28 hw->bus_caps.width = fm10k_bus_width_pcie_x4; 31 hw->bus_caps.width = fm10k_bus_width_pcie_x8; 34 hw->bus_caps.width = fm10k_bus_width_unknown; 40 hw->bus_caps.speed = fm10k_bus_speed_2500; 43 hw 128 fm10k_get_pcie_msix_count_generic(struct fm10k_hw *hw) argument 151 fm10k_get_invariants_generic(struct fm10k_hw *hw) argument 171 fm10k_start_hw_generic(struct fm10k_hw *hw) argument 185 fm10k_disable_queues_generic(struct fm10k_hw *hw, u16 q_cnt) argument 239 fm10k_stop_hw_generic(struct fm10k_hw *hw) argument 253 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) argument 275 fm10k_read_hw_stats_48b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) argument 328 fm10k_update_hw_stats_tx_q(struct fm10k_hw *hw, struct fm10k_hw_stats_q *q, u32 idx) argument 379 fm10k_update_hw_stats_rx_q(struct fm10k_hw *hw, struct fm10k_hw_stats_q *q, u32 idx) argument 436 fm10k_update_hw_stats_q(struct fm10k_hw *hw, struct fm10k_hw_stats_q *q, u32 idx, u32 count) argument 474 fm10k_get_host_state_generic(struct fm10k_hw *hw, bool *host_ready) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | rf.h | 10 void rtl92cu_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth); 11 void rtl92c_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 13 void rtl92c_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 15 bool rtl92cu_phy_rf6052_config(struct ieee80211_hw *hw); 16 bool rtl92cu_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, 18 void rtl92cu_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 20 void rtl92cu_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw,
|
/linux-master/drivers/gpu/host1x/ |
H A D | Makefile | 13 hw/host1x01.o \ 14 hw/host1x02.o \ 15 hw/host1x04.o \ 16 hw/host1x05.o \ 17 hw/host1x06.o \ 18 hw/host1x07.o \ 19 hw/host1x08.o
|
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | nvm.h | 7 s32 e1000e_acquire_nvm(struct e1000_hw *hw); 9 s32 e1000e_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); 10 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw); 11 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, 13 s32 e1000e_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 14 s32 e1000e_valid_led_default(struct e1000_hw *hw, u16 *data); 15 s32 e1000e_validate_nvm_checksum_generic(struct e1000_hw *hw); 16 s32 e1000e_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data); 17 s32 e1000e_update_nvm_checksum_generic(struct e1000_hw *hw); 18 void e1000e_release_nvm(struct e1000_hw *hw); [all...] |
/linux-master/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 19 int atl1e_check_eeprom_exist(struct atl1e_hw *hw) argument 23 value = AT_READ_REG(hw, REG_SPI_FLASH_CTRL); 26 AT_WRITE_REG(hw, REG_SPI_FLASH_CTRL, value); 28 value = AT_READ_REGW(hw, REG_PCIE_CAP_LIST); 32 void atl1e_hw_set_mac_addr(struct atl1e_hw *hw) argument 40 value = (((u32)hw->mac_addr[2]) << 24) | 41 (((u32)hw->mac_addr[3]) << 16) | 42 (((u32)hw->mac_addr[4]) << 8) | 43 (((u32)hw->mac_addr[5])) ; 44 AT_WRITE_REG_ARRAY(hw, REG_MAC_STA_ADD 55 atl1e_get_permanent_address(struct atl1e_hw *hw) argument 97 atl1e_write_eeprom(struct atl1e_hw *hw, u32 offset, u32 value) argument 102 atl1e_read_eeprom(struct atl1e_hw *hw, u32 offset, u32 *p_value) argument 127 atl1e_force_ps(struct atl1e_hw *hw) argument 138 atl1e_read_mac_addr(struct atl1e_hw *hw) argument 154 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr) argument 172 atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value) argument 200 atl1e_read_phy_reg(struct atl1e_hw *hw, u16 reg_addr, u16 *phy_data) argument 234 atl1e_write_phy_reg(struct atl1e_hw *hw, u32 reg_addr, u16 phy_data) argument 265 atl1e_init_pcie(struct atl1e_hw *hw) argument 283 atl1e_phy_setup_autoneg_adv(struct atl1e_hw *hw) argument 374 atl1e_phy_commit(struct atl1e_hw *hw) argument 407 atl1e_phy_init(struct atl1e_hw *hw) argument 502 atl1e_reset_hw(struct atl1e_hw *hw) argument 560 atl1e_init_hw(struct atl1e_hw *hw) argument 583 atl1e_get_speed_and_duplex(struct atl1e_hw *hw, u16 *speed, u16 *duplex) argument 618 atl1e_restart_autoneg(struct atl1e_hw *hw) argument [all...] |
/linux-master/drivers/tty/ipwireless/ |
H A D | hardware.c | 31 static void ipw_send_setup_packet(struct ipw_hardware *hw); 37 static void handle_received_CTRL_packet(struct ipw_hardware *hw, 239 /* Flag if hw is ready to send next packet */ 404 static void do_send_fragment(struct ipw_hardware *hw, unsigned char *data, argument 411 BUG_ON(length > hw->ll_mtu); 416 spin_lock_irqsave(&hw->lock, flags); 418 hw->tx_ready = 0; 421 if (hw->hw_version == HW_VERSION_1) { 422 outw((unsigned short) length, hw->base_port + IODWR); 431 outw(raw_data, hw 459 do_send_packet(struct ipw_hardware *hw, struct ipw_tx_packet *packet) argument 521 ipw_setup_hardware(struct ipw_hardware *hw) argument 555 pool_allocate(struct ipw_hardware *hw, struct ipw_rx_packet *packet, int minimum_free_space) argument 609 pool_free(struct ipw_hardware *hw, struct ipw_rx_packet *packet) argument 619 queue_received_packet(struct ipw_hardware *hw, unsigned int protocol, unsigned int address, const unsigned char *data, int length, int is_last) argument 705 struct ipw_hardware *hw = local 765 handle_received_CTRL_packet(struct ipw_hardware *hw, unsigned int channel_idx, const unsigned char *data, int len) argument 811 handle_received_packet(struct ipw_hardware *hw, const union nl_packet *packet, unsigned short len) argument 842 acknowledge_data_read(struct ipw_hardware *hw) argument 854 do_receive_packet(struct ipw_hardware *hw) argument 914 get_current_packet_priority(struct ipw_hardware *hw) argument 929 get_packets_from_hw(struct ipw_hardware *hw) argument 955 send_pending_packet(struct ipw_hardware *hw, int priority_limit) argument 1011 struct ipw_hardware *hw = from_tasklet(hw, t, tasklet); local 1048 is_card_present(struct ipw_hardware *hw) argument 1057 ipwireless_handle_v1_interrupt(int irq, struct ipw_hardware *hw) argument 1094 acknowledge_pcmcia_interrupt(struct ipw_hardware *hw) argument 1102 ipwireless_handle_v2_v3_interrupt(int irq, struct ipw_hardware *hw) argument 1225 flush_packets_to_hw(struct ipw_hardware *hw) argument 1237 send_packet(struct ipw_hardware *hw, int priority, struct ipw_tx_packet *packet) argument 1294 ipwireless_send_packet(struct ipw_hardware *hw, unsigned int channel_idx, const u8 *data, unsigned int length, void (*callback) (void *cb, unsigned int length), void *callback_data) argument 1314 set_control_line(struct ipw_hardware *hw, int prio, unsigned int channel_idx, int line, int state) argument 1334 set_DTR(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) argument 1345 set_RTS(struct ipw_hardware *hw, int priority, unsigned int channel_idx, int state) argument 1356 ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx, int state) argument 1362 ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx, int state) argument 1399 __handle_setup_get_version_rsp(struct ipw_hardware *hw) argument 1496 handle_setup_get_version_rsp(struct ipw_hardware *hw, unsigned char vers_no) argument 1511 ipw_send_setup_packet(struct ipw_hardware *hw) argument 1529 handle_received_SETUP_packet(struct ipw_hardware *hw, unsigned int address, const unsigned char *data, int len, int is_last) argument 1598 do_close_hardware(struct ipw_hardware *hw) argument 1620 struct ipw_hardware *hw = local 1645 ipwireless_init_hardware_v1(struct ipw_hardware *hw, unsigned int base_port, void __iomem *attr_memory, void __iomem *common_memory, int is_v2_card, void (*reboot_callback) (void *data), void *reboot_callback_data) argument 1668 ipwireless_init_hardware_v2_v3(struct ipw_hardware *hw) argument 1679 struct ipw_hardware *hw = from_timer(hw, t, setup_timer); local 1719 ipwireless_stop_interrupts(struct ipw_hardware *hw) argument 1731 ipwireless_hardware_free(struct ipw_hardware *hw) argument 1766 ipwireless_associate_network(struct ipw_hardware *hw, struct ipw_network *network) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_vlan_mode.c | 8 * @hw: pointer to the HW struct 12 ice_pkg_get_supported_vlan_mode(struct ice_hw *hw, bool *dvm) argument 22 bld = ice_pkg_buf_alloc_single_section(hw, 32 status = ice_aq_upload_section(hw, 50 ice_pkg_buf_free(hw, bld); 57 * @hw: pointer to the HW structure 63 ice_aq_get_vlan_mode(struct ice_hw *hw, argument 74 return ice_aq_send_cmd(hw, &desc, get_params, sizeof(*get_params), 80 * @hw: pointer to the HW structure 89 static bool ice_aq_is_dvm_ena(struct ice_hw *hw) argument 113 ice_is_dvm_ena(struct ice_hw *hw) argument 126 ice_cache_vlan_mode(struct ice_hw *hw) argument 135 ice_pkg_supports_dvm(struct ice_hw *hw) argument 154 ice_fw_supports_dvm(struct ice_hw *hw) argument 182 ice_is_dvm_supported(struct ice_hw *hw) argument 243 ice_dvm_update_dflt_recipes(struct ice_hw *hw) argument 274 ice_aq_set_vlan_mode(struct ice_hw *hw, struct ice_aqc_set_vlan_mode *set_params) argument 308 ice_set_dvm(struct ice_hw *hw) argument 352 ice_set_svm(struct ice_hw *hw) argument 385 ice_set_vlan_mode(struct ice_hw *hw) argument 404 ice_print_dvm_not_supported(struct ice_hw *hw) argument 430 ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw) argument [all...] |