/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82598.c | 42 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, 46 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 51 * @hw: pointer to the HW structure 59 static void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) argument 61 struct ixgbe_adapter *adapter = hw->back; 62 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR); 91 IXGBE_WRITE_REG(hw, IXGBE_GCR, gcr); 96 * @hw: pointer to hardware structure 101 static u16 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw) argument 103 struct ixgbe_adapter *adapter = hw 117 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) argument 143 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) argument 204 ixgbe_start_hw_82598(struct ixgbe_hw *hw) argument 245 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument 302 ixgbe_get_media_type_82598(struct ixgbe_hw *hw) argument 354 ixgbe_fc_enable_82598(struct ixgbe_hw *hw, s32 packetbuf_num) argument 495 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument 541 ixgbe_validate_link_ready(struct ixgbe_hw *hw) argument 577 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument 665 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument 717 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument 741 ixgbe_reset_hw_82598(struct ixgbe_hw *hw) argument 875 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 899 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument 929 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on) argument 974 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw) argument 998 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val) argument 1020 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val) argument 1040 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument 1100 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw) argument 1202 ixgbe_set_lan_id_multi_port_pcie_82598(struct ixgbe_hw *hw) argument 1233 ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) argument [all...] |
H A D | ixgbe_mbx.c | 36 * @hw: pointer to the HW structure 43 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 45 struct ixgbe_mbx_info *mbx = &hw->mbx; 53 ret_val = mbx->ops.read(hw, msg, size, mbx_id); 60 * @hw: pointer to the HW structure 67 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 69 struct ixgbe_mbx_info *mbx = &hw->mbx; 76 ret_val = mbx->ops.write(hw, msg, size, mbx_id); 83 * @hw: pointer to the HW structure 88 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u1 argument 106 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument 124 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) argument 142 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) argument 168 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument 197 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 225 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument 245 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) argument 265 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) argument 287 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) argument 309 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) argument 343 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) argument 368 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument 409 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument 441 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument [all...] |
H A D | ixgbe_82599.c | 43 static void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 44 static void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 45 static void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw); 46 static s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, 50 static s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, 54 static s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, 56 static s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, 60 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, 64 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw); 65 static bool ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw); 67 ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) argument 99 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw) argument 168 ixgbe_get_invariants_82599(struct ixgbe_hw *hw) argument 193 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw) argument 235 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *negotiation) argument 331 ixgbe_get_media_type_82599(struct ixgbe_hw *hw) argument 388 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument 437 ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 456 ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 479 ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument 497 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument 653 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument 765 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument 879 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument 903 ixgbe_reset_hw_82599(struct ixgbe_hw *hw) argument 1042 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw) argument 1118 ixgbe_fdir_enable_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument 1158 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument 1182 ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument 1303 ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_hash_dword input, union ixgbe_atr_hash_dword common, u8 queue) argument 1479 ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input_mask) argument 1575 ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id, u8 queue) argument 1632 ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id) argument 1683 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val) argument 1705 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val) argument 1725 ixgbe_start_hw_82599(struct ixgbe_hw *hw) argument 1755 ixgbe_identify_phy_82599(struct ixgbe_hw *hw) argument 1789 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw) argument 1908 ixgbe_enable_rx_dma_82599(struct ixgbe_hw *hw, u32 regval) argument 1935 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw) argument 1980 ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw) argument 2026 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument 2058 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, u16 offset, u16 *data) argument [all...] |
H A D | ixgbe_phy.h | 91 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); 92 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 93 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 94 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 96 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 98 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 99 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, 103 s32 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, 108 s32 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, 111 s32 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw); [all...] |
H A D | ixgbe_dcb_82599.c | 35 * @hw: pointer to hardware structure 43 s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, argument 60 IXGBE_WRITE_REG(hw, IXGBE_RTRPCS, reg); 66 IXGBE_WRITE_REG(hw, IXGBE_RTRUP2TC, reg); 79 IXGBE_WRITE_REG(hw, IXGBE_RTRPT4C(i), reg); 87 IXGBE_WRITE_REG(hw, IXGBE_RTRPCS, reg); 94 * @hw: pointer to hardware structure 102 s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, argument 113 IXGBE_WRITE_REG(hw, IXGBE_RTTDQSEL, i); 114 IXGBE_WRITE_REG(hw, IXGBE_RTTDT1 153 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument 212 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) argument 305 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw) argument 362 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type, u8 *prio_tc) argument [all...] |
/drivers/net/wireless/rtlwifi/ |
H A D | cam.h | 44 extern void rtl_cam_reset_all_entry(struct ieee80211_hw *hw); 45 extern u8 rtl_cam_add_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, 48 int rtl_cam_delete_one_entry(struct ieee80211_hw *hw, u8 *mac_addr, 50 void rtl_cam_mark_invalid(struct ieee80211_hw *hw, u8 uc_index); 51 void rtl_cam_empty_entry(struct ieee80211_hw *hw, u8 uc_index); 52 void rtl_cam_reset_sec_info(struct ieee80211_hw *hw); 53 u8 rtl_cam_get_free_entry(struct ieee80211_hw *hw, u8 *sta_addr); 54 void rtl_cam_del_entry(struct ieee80211_hw *hw, u8 *sta_addr);
|
/drivers/tty/ipwireless/ |
H A D | hardware.h | 36 void ipwireless_hardware_free(struct ipw_hardware *hw); 38 int ipwireless_set_DTR(struct ipw_hardware *hw, unsigned int channel_idx, 40 int ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx, 42 int ipwireless_send_packet(struct ipw_hardware *hw, 49 void ipwireless_associate_network(struct ipw_hardware *hw, 51 void ipwireless_stop_interrupts(struct ipw_hardware *hw); 52 void ipwireless_init_hardware_v1(struct ipw_hardware *hw, 59 void ipwireless_init_hardware_v2_v3(struct ipw_hardware *hw);
|
/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 158 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) argument 162 gma_write16(hw, port, GM_SMI_DATA, val); 163 gma_write16(hw, port, GM_SMI_CTRL, 167 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL); 177 dev_warn(&hw->pdev->dev, "%s: phy write timeout\n", hw->dev[port]->name); 181 dev_err(&hw->pdev->dev, "%s: phy I/O error\n", hw->dev[port]->name); 185 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) argument 189 gma_write16(hw, por 212 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) argument 220 sky2_power_on(struct sky2_hw *hw) argument 269 sky2_power_aux(struct sky2_hw *hw) argument 291 sky2_gmac_reset(struct sky2_hw *hw, unsigned port) argument 333 sky2_phy_init(struct sky2_hw *hw, unsigned port) argument 703 sky2_phy_power_up(struct sky2_hw *hw, unsigned port) argument 724 sky2_phy_power_down(struct sky2_hw *hw, unsigned port) argument 796 struct sky2_hw *hw = sky2->hw; local 817 struct sky2_hw *hw = sky2->hw; local 886 sky2_set_tx_stfwd(struct sky2_hw *hw, unsigned port) argument 905 sky2_mac_init(struct sky2_hw *hw, unsigned port) argument 1044 sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, u32 space) argument 1084 sky2_qset(struct sky2_hw *hw, u16 q) argument 1095 sky2_prefetch_init(struct sky2_hw *hw, u32 qaddr, dma_addr_t addr, u32 last) argument 1133 sky2_put_idx(struct sky2_hw *hw, unsigned q, u16 idx) argument 1302 struct sky2_hw *hw = sky2->hw; local 1340 struct sky2_hw *hw = sky2->hw; local 1383 struct sky2_hw *hw = sky2->hw; local 1420 struct sky2_hw *hw = sky2->hw; local 1445 sky2_rx_pad(const struct sky2_hw *hw) argument 1500 struct sky2_hw *hw = sky2->hw; local 1533 struct sky2_hw *hw = sky2->hw; local 1607 struct sky2_hw *hw = sky2->hw; local 1640 struct sky2_hw *hw = sky2->hw; local 1664 struct sky2_hw *hw = sky2->hw; local 1727 sky2_setup_irq(struct sky2_hw *hw, const char *name) argument 1753 struct sky2_hw *hw = sky2->hw; local 1845 struct sky2_hw *hw = sky2->hw; local 2056 sky2_tx_reset(struct sky2_hw *hw, unsigned port) argument 2082 struct sky2_hw *hw = sky2->hw; local 2131 struct sky2_hw *hw = sky2->hw; local 2166 sky2_phy_speed(const struct sky2_hw *hw, u16 aux) argument 2190 struct sky2_hw *hw = sky2->hw; local 2222 struct sky2_hw *hw = sky2->hw; local 2252 struct sky2_hw *hw = sky2->hw; local 2313 sky2_phy_intr(struct sky2_hw *hw, unsigned port) argument 2354 sky2_qlink_intr(struct sky2_hw *hw) argument 2380 struct sky2_hw *hw = sky2->hw; local 2396 struct sky2_hw *hw = sky2->hw; local 2663 sky2_rx_done(struct sky2_hw *hw, unsigned port, unsigned packets, unsigned bytes) argument 2727 sky2_status_intr(struct sky2_hw *hw, int to_do, u16 idx) argument 2824 sky2_hw_error(struct sky2_hw *hw, unsigned port, u32 status) argument 2864 sky2_hw_intr(struct sky2_hw *hw) argument 2911 sky2_mac_intr(struct sky2_hw *hw, unsigned port) argument 2937 sky2_le_error(struct sky2_hw *hw, unsigned port, u16 q) argument 2952 struct sky2_hw *hw = sky2->hw; local 2984 struct sky2_hw *hw = (struct sky2_hw *) arg; local 3015 sky2_err_intr(struct sky2_hw *hw, u32 status) argument 3044 struct sky2_hw *hw = container_of(napi, struct sky2_hw, napi); local 3077 struct sky2_hw *hw = dev_id; local 3102 sky2_mhz(const struct sky2_hw *hw) argument 3129 sky2_us2clk(const struct sky2_hw *hw, u32 us) argument 3134 sky2_clk2us(const struct sky2_hw *hw, u32 clk) argument 3140 sky2_init(struct sky2_hw *hw) argument 3248 sky2_reset(struct sky2_hw *hw) argument 3465 sky2_all_down(struct sky2_hw *hw) argument 3490 sky2_all_up(struct sky2_hw *hw) argument 3518 struct sky2_hw *hw = container_of(work, struct sky2_hw, restart_work); local 3529 sky2_wol_supported(const struct sky2_hw *hw) argument 3545 struct sky2_hw *hw = sky2->hw; local 3567 sky2_supported_modes(const struct sky2_hw *hw) argument 3587 struct sky2_hw *hw = sky2->hw; local 3612 const struct sky2_hw *hw = sky2->hw; local 3757 struct sky2_hw *hw = sky2->hw; local 3808 struct sky2_hw *hw = sky2->hw; local 3841 struct sky2_hw *hw = sky2->hw; local 3887 struct sky2_hw *hw = sky2->hw; local 3933 struct sky2_hw *hw = sky2->hw; local 4055 struct sky2_hw *hw = sky2->hw; local 4090 struct sky2_hw *hw = sky2->hw; local 4181 sky2_reg_access_ok(struct sky2_hw *hw, unsigned int b) argument 4255 struct sky2_hw *hw = sky2->hw; local 4262 sky2_vpd_wait(const struct sky2_hw *hw, int cap, u16 busy) argument 4278 sky2_vpd_read(struct sky2_hw *hw, int cap, void *data, u16 offset, size_t length) argument 4302 sky2_vpd_write(struct sky2_hw *hw, int cap, const void *data, u16 offset, unsigned int length) argument 4358 const struct sky2_hw *hw = sky2->hw; local 4454 sky2_show_vpd(struct seq_file *seq, struct sky2_hw *hw) argument 4516 struct sky2_hw *hw = sky2->hw; local 4730 sky2_init_netdev(struct sky2_hw *hw, unsigned port, int highmem, int wol) argument 4806 struct sky2_hw *hw = dev_id; local 4823 sky2_test_msi(struct sky2_hw *hw) argument 4889 struct sky2_hw *hw; local 5074 struct sky2_hw *hw = pci_get_drvdata(pdev); local 5118 struct sky2_hw *hw = pci_get_drvdata(pdev); local 5148 struct sky2_hw *hw = pci_get_drvdata(pdev); local [all...] |
/drivers/net/wireless/b43/ |
H A D | rfkill.h | 7 void b43_rfkill_poll(struct ieee80211_hw *hw);
|
/drivers/net/wireless/b43legacy/ |
H A D | rfkill.h | 7 void b43legacy_rfkill_poll(struct ieee80211_hw *hw);
|
/drivers/net/wireless/wl12xx/ |
H A D | testmode.h | 29 int wl1271_tm_cmd(struct ieee80211_hw *hw, void *data, int len);
|
/drivers/net/wireless/orinoco/ |
H A D | hermes.c | 78 #define DMSG(stuff...) do {printk(KERN_DEBUG "hermes @ %p: " , hw->iobase); \ 106 static int hermes_issue_cmd(struct hermes *hw, u16 cmd, u16 param0, argument 113 reg = hermes_read_regn(hw, CMD); 117 reg = hermes_read_regn(hw, CMD); 122 hermes_write_regn(hw, PARAM2, param2); 123 hermes_write_regn(hw, PARAM1, param1); 124 hermes_write_regn(hw, PARAM0, param0); 125 hermes_write_regn(hw, CMD, cmd); 135 static int hermes_doicmd_wait(struct hermes *hw, u16 cmd, argument 143 err = hermes_issue_cmd(hw, cm 188 hermes_struct_init(struct hermes *hw, void __iomem *address, int reg_spacing) argument 199 hermes_init(struct hermes *hw) argument 253 hermes_docmd_wait(struct hermes *hw, u16 cmd, u16 parm0, struct hermes_response *resp) argument 317 hermes_allocate(struct hermes *hw, u16 size, u16 *fid) argument 367 hermes_bap_seek(struct hermes *hw, int bap, u16 id, u16 offset) argument 426 hermes_bap_pread(struct hermes *hw, int bap, void *buf, int len, u16 id, u16 offset) argument 454 hermes_bap_pwrite(struct hermes *hw, int bap, const void *buf, int len, u16 id, u16 offset) argument 482 hermes_read_ltv(struct hermes *hw, int bap, u16 rid, unsigned bufsize, u16 *length, void *buf) argument 527 hermes_write_ltv(struct hermes *hw, int bap, u16 rid, u16 length, const void *value) argument 557 hermes_aux_setaddr(struct hermes *hw, u32 addr) argument 564 hermes_aux_control(struct hermes *hw, int enabled) argument 598 hermesi_program_init(struct hermes *hw, u32 offset) argument 647 hermesi_program_end(struct hermes *hw) argument 676 hermes_program_bytes(struct hermes *hw, const char *data, u32 addr, u32 len) argument 688 hermes_read_pda(struct hermes *hw, __le16 *pda, u32 pda_addr, u16 pda_len) argument [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_phy.h | 44 s32 igb_check_downshift(struct e1000_hw *hw); 45 s32 igb_check_reset_block(struct e1000_hw *hw); 46 s32 igb_copper_link_setup_igp(struct e1000_hw *hw); 47 s32 igb_copper_link_setup_m88(struct e1000_hw *hw); 48 s32 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw); 49 s32 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw); 50 s32 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw); 51 s32 igb_get_cable_length_m88(struct e1000_hw *hw); 52 s32 igb_get_cable_length_m88_gen2(struct e1000_hw *hw); 53 s32 igb_get_cable_length_igp_2(struct e1000_hw *hw); [all...] |
H A D | e1000_82575.c | 67 static s32 igb_set_pcie_completion_timeout(struct e1000_hw *hw); 68 static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw); 69 static s32 igb_validate_nvm_checksum_82580(struct e1000_hw *hw); 70 static s32 igb_update_nvm_checksum_82580(struct e1000_hw *hw); 71 static s32 igb_validate_nvm_checksum_i350(struct e1000_hw *hw); 72 static s32 igb_update_nvm_checksum_i350(struct e1000_hw *hw); 81 * @hw: pointer to the HW structure 86 static bool igb_sgmii_uses_mdio_82575(struct e1000_hw *hw) argument 91 switch (hw->mac.type) { 108 static s32 igb_get_invariants_82575(struct e1000_hw *hw) argument 377 igb_acquire_phy_82575(struct e1000_hw *hw) argument 398 igb_release_phy_82575(struct e1000_hw *hw) argument 421 igb_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 *data) argument 452 igb_write_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 data) argument 482 igb_get_phy_id_82575(struct e1000_hw *hw) argument 574 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *hw) argument 612 igb_set_d0_lplu_state_82575(struct e1000_hw *hw, bool active) argument 685 igb_acquire_nvm_82575(struct e1000_hw *hw) argument 709 igb_release_nvm_82575(struct e1000_hw *hw) argument 723 igb_acquire_swfw_sync_82575(struct e1000_hw *hw, u16 mask) argument 773 igb_release_swfw_sync_82575(struct e1000_hw *hw, u16 mask) argument 797 igb_get_cfg_done_82575(struct e1000_hw *hw) argument 834 igb_check_for_link_82575(struct e1000_hw *hw) argument 859 igb_power_up_serdes_link_82575(struct e1000_hw *hw) argument 892 igb_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 945 igb_shutdown_serdes_link_82575(struct e1000_hw *hw) argument 977 igb_reset_hw_82575(struct e1000_hw *hw) argument 1040 igb_init_hw_82575(struct e1000_hw *hw) argument 1095 igb_setup_copper_link_82575(struct e1000_hw *hw) argument 1155 igb_setup_serdes_link_82575(struct e1000_hw *hw) argument 1279 igb_sgmii_active_82575(struct e1000_hw *hw) argument 1292 igb_reset_init_script_82575(struct e1000_hw *hw) argument 1325 igb_read_mac_addr_82575(struct e1000_hw *hw) argument 1351 igb_power_down_phy_copper_82575(struct e1000_hw *hw) argument 1364 igb_clear_hw_cntrs_82575(struct e1000_hw *hw) argument 1430 igb_rx_fifo_flush_82575(struct e1000_hw *hw) argument 1504 igb_set_pcie_completion_timeout(struct e1000_hw *hw) argument 1553 igb_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf) argument 1585 igb_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable) argument 1621 igb_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable) argument 1642 igb_read_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 *data) argument 1667 igb_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data) argument 1692 igb_reset_mdicnfg_82580(struct e1000_hw *hw) argument 1728 igb_reset_hw_82580(struct e1000_hw *hw) argument 1840 igb_validate_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) argument 1876 igb_update_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) argument 1908 igb_validate_nvm_checksum_82580(struct e1000_hw *hw) argument 1947 igb_update_nvm_checksum_82580(struct e1000_hw *hw) argument 1991 igb_validate_nvm_checksum_i350(struct e1000_hw *hw) argument 2017 igb_update_nvm_checksum_i350(struct e1000_hw *hw) argument 2041 igb_set_eee_i350(struct e1000_hw *hw) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | mac.h | 37 void rtl92c_read_chip_version(struct ieee80211_hw *hw); 38 bool rtl92c_llt_write(struct ieee80211_hw *hw, u32 address, u32 data); 39 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary); 40 void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index, 43 void rtl92c_enable_interrupt(struct ieee80211_hw *hw); 44 void rtl92c_disable_interrupt(struct ieee80211_hw *hw); 45 void rtl92c_set_qos(struct ieee80211_hw *hw, int aci); 51 void rtl92c_set_mac_addr(struct ieee80211_hw *hw, const u8 *addr); 52 void rtl92c_init_interrupt(struct ieee80211_hw *hw); 53 void rtl92c_init_driver_info_size(struct ieee80211_hw *hw, u [all...] |
/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1339 * @hw: Pointer to hardware structure. 1353 struct ksz_hw *hw; member in struct:ksz_port 1403 * @hw: Hardware structure. 1427 struct ksz_hw hw; member in struct:dev_info 1499 static inline void hw_ack_intr(struct ksz_hw *hw, uint interrupt) argument 1501 writel(interrupt, hw->io + KS884X_INTERRUPTS_STATUS); 1504 static inline void hw_dis_intr(struct ksz_hw *hw) argument 1506 hw->intr_blocked = hw->intr_mask; 1507 writel(0, hw 1511 hw_set_intr(struct ksz_hw *hw, uint interrupt) argument 1517 hw_ena_intr(struct ksz_hw *hw) argument 1523 hw_dis_intr_bit(struct ksz_hw *hw, uint bit) argument 1528 hw_turn_off_intr(struct ksz_hw *hw, uint interrupt) argument 1546 hw_turn_on_intr(struct ksz_hw *hw, u32 bit) argument 1554 hw_ena_intr_bit(struct ksz_hw *hw, uint interrupt) argument 1563 hw_read_intr(struct ksz_hw *hw, uint *status) argument 1569 hw_restore_intr(struct ksz_hw *hw, uint interrupt) argument 1583 hw_block_intr(struct ksz_hw *hw) argument 1674 sw_r_table(struct ksz_hw *hw, int table, u16 addr, u32 *data) argument 1701 sw_w_table_64(struct ksz_hw *hw, int table, u16 addr, u32 data_hi, u32 data_lo) argument 1734 sw_w_sta_mac_table(struct ksz_hw *hw, u16 addr, u8 *mac_addr, u8 ports, int override, int valid, int use_fid, u8 fid) argument 1771 sw_r_vlan_table(struct ksz_hw *hw, u16 addr, u16 *vid, u8 *fid, u8 *member) argument 1797 port_r_mib_cnt(struct ksz_hw *hw, int port, u16 addr, u64 *cnt) argument 1835 port_r_mib_pkt(struct ksz_hw *hw, int port, u32 *last, u64 *cnt) argument 1883 port_r_cnt(struct ksz_hw *hw, int port) argument 1908 port_init_cnt(struct ksz_hw *hw, int port) argument 1942 port_chk(struct ksz_hw *hw, int port, int offset, u16 bits) argument 1963 port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, int set) argument 1991 port_chk_shift(struct ksz_hw *hw, int port, u32 addr, int shift) argument 2011 port_cfg_shift(struct ksz_hw *hw, int port, u32 addr, int shift, int set) argument 2035 port_r8(struct ksz_hw *hw, int port, int offset, u8 *data) argument 2053 port_r16(struct ksz_hw *hw, int port, int offset, u16 *data) argument 2071 port_w16(struct ksz_hw *hw, int port, int offset, u16 data) argument 2091 sw_chk(struct ksz_hw *hw, u32 addr, u16 bits) argument 2108 sw_cfg(struct ksz_hw *hw, u32 addr, u16 bits, int set) argument 2122 port_cfg_broad_storm(struct ksz_hw *hw, int p, int set) argument 2128 port_chk_broad_storm(struct ksz_hw *hw, int p) argument 2147 sw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument 2168 sw_get_broad_storm(struct ksz_hw *hw, u8 *percent) argument 2188 sw_dis_broad_storm(struct ksz_hw *hw, int port) argument 2200 sw_ena_broad_storm(struct ksz_hw *hw, int port) argument 2212 sw_init_broad_storm(struct ksz_hw *hw) argument 2231 hw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument 2248 sw_dis_prio_rate(struct ksz_hw *hw, int port) argument 2263 sw_init_prio_rate(struct ksz_hw *hw) argument 2280 port_cfg_back_pressure(struct ksz_hw *hw, int p, int set) argument 2286 port_cfg_force_flow_ctrl(struct ksz_hw *hw, int p, int set) argument 2292 port_chk_back_pressure(struct ksz_hw *hw, int p) argument 2298 port_chk_force_flow_ctrl(struct ksz_hw *hw, int p) argument 2306 port_cfg_dis_learn(struct ksz_hw *hw, int p, int set) argument 2312 port_cfg_rx(struct ksz_hw *hw, int p, int set) argument 2318 port_cfg_tx(struct ksz_hw *hw, int p, int set) argument 2324 sw_cfg_fast_aging(struct ksz_hw *hw, int set) argument 2329 sw_flush_dyn_mac_table(struct ksz_hw *hw) argument 2340 port_cfg_ins_tag(struct ksz_hw *hw, int p, int insert) argument 2346 port_cfg_rmv_tag(struct ksz_hw *hw, int p, int remove) argument 2352 port_chk_ins_tag(struct ksz_hw *hw, int p) argument 2358 port_chk_rmv_tag(struct ksz_hw *hw, int p) argument 2364 port_cfg_dis_non_vid(struct ksz_hw *hw, int p, int set) argument 2370 port_cfg_in_filter(struct ksz_hw *hw, int p, int set) argument 2376 port_chk_dis_non_vid(struct ksz_hw *hw, int p) argument 2382 port_chk_in_filter(struct ksz_hw *hw, int p) argument 2390 port_cfg_mirror_sniffer(struct ksz_hw *hw, int p, int set) argument 2396 port_cfg_mirror_rx(struct ksz_hw *hw, int p, int set) argument 2402 port_cfg_mirror_tx(struct ksz_hw *hw, int p, int set) argument 2408 sw_cfg_mirror_rx_tx(struct ksz_hw *hw, int set) argument 2413 sw_init_mirror(struct ksz_hw *hw) argument 2425 sw_cfg_unk_def_deliver(struct ksz_hw *hw, int set) argument 2431 sw_cfg_chk_unk_def_deliver(struct ksz_hw *hw) argument 2437 sw_cfg_unk_def_port(struct ksz_hw *hw, int port, int set) argument 2442 sw_chk_unk_def_port(struct ksz_hw *hw, int port) argument 2449 port_cfg_diffserv(struct ksz_hw *hw, int p, int set) argument 2455 port_cfg_802_1p(struct ksz_hw *hw, int p, int set) argument 2461 port_cfg_replace_vid(struct ksz_hw *hw, int p, int set) argument 2467 port_cfg_prio(struct ksz_hw *hw, int p, int set) argument 2473 port_chk_diffserv(struct ksz_hw *hw, int p) argument 2479 port_chk_802_1p(struct ksz_hw *hw, int p) argument 2485 port_chk_replace_vid(struct ksz_hw *hw, int p) argument 2491 port_chk_prio(struct ksz_hw *hw, int p) argument 2504 sw_dis_diffserv(struct ksz_hw *hw, int port) argument 2516 sw_dis_802_1p(struct ksz_hw *hw, int port) argument 2527 sw_cfg_replace_null_vid(struct ksz_hw *hw, int set) argument 2543 sw_cfg_replace_vid(struct ksz_hw *hw, int port, int set) argument 2556 sw_cfg_port_based(struct ksz_hw *hw, int port, u8 prio) argument 2579 sw_dis_multi_queue(struct ksz_hw *hw, int port) argument 2590 sw_init_prio(struct ksz_hw *hw) argument 2637 port_get_def_vid(struct ksz_hw *hw, int port, u16 *vid) argument 2652 sw_init_vlan(struct ksz_hw *hw) argument 2680 sw_cfg_port_base_vlan(struct ksz_hw *hw, int port, u8 member) argument 2703 sw_get_addr(struct ksz_hw *hw, u8 *mac_addr) argument 2720 sw_set_addr(struct ksz_hw *hw, u8 *mac_addr) argument 2736 sw_set_global_ctrl(struct ksz_hw *hw) argument 2784 port_set_stp_state(struct ksz_hw *hw, int port, int state) argument 2840 sw_clr_sta_mac_table(struct ksz_hw *hw) argument 2860 sw_init_stp(struct ksz_hw *hw) argument 2886 sw_block_addr(struct ksz_hw *hw) argument 2910 hw_r_phy_ctrl(struct ksz_hw *hw, int phy, u16 *data) argument 2915 hw_w_phy_ctrl(struct ksz_hw *hw, int phy, u16 data) argument 2920 hw_r_phy_link_stat(struct ksz_hw *hw, int phy, u16 *data) argument 2925 hw_r_phy_auto_neg(struct ksz_hw *hw, int phy, u16 *data) argument 2930 hw_w_phy_auto_neg(struct ksz_hw *hw, int phy, u16 data) argument 2935 hw_r_phy_rem_cap(struct ksz_hw *hw, int phy, u16 *data) argument 2940 hw_r_phy_crossover(struct ksz_hw *hw, int phy, u16 *data) argument 2945 hw_w_phy_crossover(struct ksz_hw *hw, int phy, u16 data) argument 2950 hw_r_phy_polarity(struct ksz_hw *hw, int phy, u16 *data) argument 2955 hw_w_phy_polarity(struct ksz_hw *hw, int phy, u16 data) argument 2960 hw_r_phy_link_md(struct ksz_hw *hw, int phy, u16 *data) argument 2965 hw_w_phy_link_md(struct ksz_hw *hw, int phy, u16 data) argument 2979 hw_r_phy(struct ksz_hw *hw, int port, u16 reg, u16 *val) argument 2996 hw_w_phy(struct ksz_hw *hw, int port, u16 reg, u16 val) argument 3020 drop_gpio(struct ksz_hw *hw, u8 gpio) argument 3029 raise_gpio(struct ksz_hw *hw, u8 gpio) argument 3038 state_gpio(struct ksz_hw *hw, u8 gpio) argument 3046 eeprom_clk(struct ksz_hw *hw) argument 3054 spi_r(struct ksz_hw *hw) argument 3071 spi_w(struct ksz_hw *hw, u16 data) argument 3082 spi_reg(struct ksz_hw *hw, u8 data, u8 reg) argument 3125 eeprom_read(struct ksz_hw *hw, u8 reg) argument 3147 eeprom_write(struct ksz_hw *hw, u8 reg, u16 data) argument 3218 set_flow_ctrl(struct ksz_hw *hw, int rx, int tx) argument 3241 determine_flow_ctrl(struct ksz_hw *hw, struct ksz_port *port, u16 local, u16 remote) argument 3269 port_cfg_change(struct ksz_hw *hw, struct ksz_port *port, struct ksz_port_info *info, u16 link_status) argument 3296 struct ksz_hw *hw = port->hw; local 3383 struct ksz_hw *hw = port->hw; local 3436 struct ksz_hw *hw = port->hw; local 3462 struct ksz_hw *hw = port->hw; local 3483 hw_chk_wol_pme_status(struct ksz_hw *hw) argument 3501 hw_clr_wol_pme_status(struct ksz_hw *hw) argument 3523 hw_cfg_wol_pme(struct ksz_hw *hw, int set) argument 3548 hw_cfg_wol(struct ksz_hw *hw, u16 frame, int set) argument 3571 hw_set_wol_frame(struct ksz_hw *hw, int i, uint mask_size, const u8 *mask, uint frame_size, const u8 *pattern) argument 3628 hw_add_wol_arp(struct ksz_hw *hw, const u8 *ip_addr) argument 3651 hw_add_wol_bcast(struct ksz_hw *hw) argument 3669 hw_add_wol_mcast(struct ksz_hw *hw) argument 3687 hw_add_wol_ucast(struct ksz_hw *hw) argument 3702 hw_enable_wol(struct ksz_hw *hw, u32 wol_enable, const u8 *net_addr) argument 3723 hw_init(struct ksz_hw *hw) argument 3759 hw_reset(struct ksz_hw *hw) argument 3776 hw_setup(struct ksz_hw *hw) argument 3812 hw_setup_intr(struct ksz_hw *hw) argument 3875 hw_set_desc_base(struct ksz_hw *hw, u32 tx_addr, u32 rx_addr) argument 3889 hw_resume_rx(struct ksz_hw *hw) argument 3900 hw_start_rx(struct ksz_hw *hw) argument 3922 hw_stop_rx(struct ksz_hw *hw) argument 3935 hw_start_tx(struct ksz_hw *hw) argument 3946 hw_stop_tx(struct ksz_hw *hw) argument 3957 hw_disable(struct ksz_hw *hw) argument 3970 hw_enable(struct ksz_hw *hw) argument 3987 hw_alloc_pkt(struct ksz_hw *hw, int length, int physical) argument 4017 hw_send_pkt(struct ksz_hw *hw) argument 4053 hw_set_addr(struct ksz_hw *hw) argument 4070 hw_read_addr(struct ksz_hw *hw) argument 4090 hw_ena_add_addr(struct ksz_hw *hw, int index, u8 *mac_addr) argument 4113 hw_set_add_addr(struct ksz_hw *hw) argument 4126 hw_add_addr(struct ksz_hw *hw, u8 *mac_addr) argument 4147 hw_del_addr(struct ksz_hw *hw, u8 *mac_addr) argument 4168 hw_clr_multicast(struct ksz_hw *hw) argument 4186 hw_set_grp_addr(struct ksz_hw *hw) argument 4214 hw_set_multicast(struct ksz_hw *hw, u8 multicast) argument 4235 hw_set_promiscuous(struct ksz_hw *hw, u8 prom) argument 4256 sw_enable(struct ksz_hw *hw, int enable) argument 4287 sw_setup(struct ksz_hw *hw) argument 4402 struct ksz_hw *hw = &adapter->hw; local 4471 struct ksz_hw *hw = &adapter->hw; local 4510 struct ksz_hw *hw = &adapter->hw; local 4558 struct ksz_hw *hw = &adapter->hw; local 4626 get_mib_counters(struct ksz_hw *hw, int first, int cnt, u64 *counter) argument 4655 struct ksz_hw *hw = &hw_priv->hw; local 4760 struct ksz_hw *hw = &hw_priv->hw; local 4816 struct ksz_hw *hw = &hw_priv->hw; local 4853 struct ksz_hw *hw = &hw_priv->hw; local 4927 struct ksz_hw *hw = &hw_priv->hw; local 5002 rx_proc(struct net_device *dev, struct ksz_hw* hw, struct ksz_desc *desc, union desc_stat status) argument 5057 struct ksz_hw *hw = &hw_priv->hw; local 5093 struct ksz_hw *hw = &hw_priv->hw; local 5138 struct ksz_hw *hw = &hw_priv->hw; local 5196 struct ksz_hw *hw = &hw_priv->hw; local 5218 struct ksz_hw *hw = &hw_priv->hw; local 5230 handle_rx_stop(struct ksz_hw *hw) argument 5262 struct ksz_hw *hw = &hw_priv->hw; local 5335 bridge_change(struct ksz_hw *hw) argument 5370 struct ksz_hw *hw = &hw_priv->hw; local 5428 hw_cfg_huge_frame(struct dev_info *hw_priv, struct ksz_hw *hw) argument 5456 struct ksz_hw *hw = &hw_priv->hw; local 5506 struct ksz_hw *hw = &hw_priv->hw; local 5611 struct ksz_hw *hw = &priv->adapter->hw; local 5667 struct ksz_hw *hw = &hw_priv->hw; local 5691 dev_set_promiscuous(struct net_device *dev, struct dev_priv *priv, struct ksz_hw *hw, int promiscuous) argument 5726 dev_set_multicast(struct dev_priv *priv, struct ksz_hw *hw, int multicast) argument 5755 struct ksz_hw *hw = &hw_priv->hw; local 5803 struct ksz_hw *hw = &hw_priv->hw; local 5848 struct ksz_hw *hw = &hw_priv->hw; local 5913 struct ksz_hw *hw = port->hw; local 5933 struct ksz_hw *hw = port->hw; local 6144 struct ksz_hw *hw = &hw_priv->hw; local 6339 struct ksz_hw *hw = &hw_priv->hw; local 6372 struct ksz_hw *hw = &hw_priv->hw; local 6417 struct ksz_hw *hw = &hw_priv->hw; local 6480 struct ksz_hw *hw = &hw_priv->hw; local 6500 struct ksz_hw *hw = &hw_priv->hw; local 6523 struct ksz_hw *hw = &hw_priv->hw; local 6592 struct ksz_hw *hw = &hw_priv->hw; local 6651 struct ksz_hw *hw = &hw_priv->hw; local 6722 struct ksz_hw *hw = &hw_priv->hw; local 6900 read_other_addr(struct ksz_hw *hw) argument 6928 struct ksz_hw *hw; local 7180 struct ksz_hw *hw = &hw_priv->hw; local 7206 struct ksz_hw *hw = &hw_priv->hw; local [all...] |
/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 55 static void hfcsusb_ph_command(struct hfcsusb *hw, u_char command); 56 static void release_hw(struct hfcsusb *hw); 57 static void reset_hfcsusb(struct hfcsusb *hw); 58 static void setPortMode(struct hfcsusb *hw); 59 static void hfcsusb_start_endpoint(struct hfcsusb *hw, int channel); 60 static void hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel); 63 static void hfcsusb_ph_info(struct hfcsusb *hw); 67 ctrl_start_transfer(struct hfcsusb *hw) argument 70 printk(KERN_DEBUG "%s: %s\n", hw->name, __func__); 72 if (hw 90 write_reg(struct hfcsusb *hw, __u8 reg, __u8 val) argument 119 struct hfcsusb *hw = (struct hfcsusb *) urb->context; local 136 set_led_bit(struct hfcsusb *hw, signed short led_bits, int set_on) argument 153 handle_led(struct hfcsusb *hw, int event) argument 213 struct hfcsusb *hw = bch->hw; local 266 hfcsusb_ph_info(struct hfcsusb *hw) argument 297 struct hfcsusb *hw = dch->hw; local 384 struct hfcsusb *hw = dch->hw; local 431 open_dchannel(struct hfcsusb *hw, struct mISDNchannel *ch, struct channel_req *rq) argument 485 open_bchannel(struct hfcsusb *hw, struct channel_req *rq) argument 518 channel_ctrl(struct hfcsusb *hw, struct mISDN_ctrl_req *cq) argument 548 struct hfcsusb *hw = dch->hw; local 599 struct hfcsusb *hw = dch->hw; local 640 struct hfcsusb *hw = dch->hw; local 695 struct hfcsusb *hw = dch->hw; local 709 struct hfcsusb *hw = bch->hw; local 781 hfcsusb_ph_command(struct hfcsusb *hw, u_char command) argument 847 struct hfcsusb *hw = fifo->hw; local 1006 struct hfcsusb *hw = fifo->hw; local 1127 struct hfcsusb *hw = fifo->hw; local 1198 struct hfcsusb *hw = fifo->hw; local 1413 struct hfcsusb *hw = fifo->hw; local 1478 struct hfcsusb *hw = fifo->hw; local 1504 struct hfcsusb *hw = fifo->hw; local 1527 struct hfcsusb *hw = fifo->hw; local 1553 setPortMode(struct hfcsusb *hw) argument 1575 reset_hfcsusb(struct hfcsusb *hw) argument 1629 hfcsusb_start_endpoint(struct hfcsusb *hw, int channel) argument 1697 hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel) argument 1725 setup_hfcsusb(struct hfcsusb *hw) argument 1765 release_hw(struct hfcsusb *hw) argument 1804 struct hfcsusb *hw = bch->hw; local 1857 setup_instance(struct hfcsusb *hw, struct device *parent) argument 1933 struct hfcsusb *hw; local 2132 struct hfcsusb *hw = usb_get_intfdata(intf); local [all...] |
/drivers/isdn/hisax/ |
H A D | hfc4s8s_l1.c | 151 struct _hfc4s8s_hw *hw; /* pointer to hardware area */ member in struct:hfc4s8s_l1 316 Read_hfc8_stable(hfc4s8s_hw *hw, int reg) argument 320 ref8 = Read_hfc8(hw, reg); 321 while (((in8 = Read_hfc8(hw, reg)) != ref8)) { 328 Read_hfc16_stable(hfc4s8s_hw *hw, int reg) argument 333 ref16 = Read_hfc16(hw, reg); 334 while (((in16 = Read_hfc16(hw, reg)) != ref16)) { 361 l1->hw->mr.r_irq_fifo_blx[l1->st_num] |= 364 schedule_work(&l1->hw->tqueue); 377 Write_hfc8(l1->hw, R_ST_SE 1089 hfc4s8s_hw *hw = container_of(work, hfc4s8s_hw, tqueue); local 1275 hfc4s8s_hw *hw = dev_id; local 1335 chipreset(hfc4s8s_hw *hw) argument 1364 hfc_hardware_enable(hfc4s8s_hw *hw, int enable, int nt_mode) argument 1471 release_pci_ports(hfc4s8s_hw *hw) argument 1487 enable_pci_ports(hfc4s8s_hw *hw) argument 1501 setup_instance(hfc4s8s_hw *hw) argument 1593 hfc4s8s_hw *hw; local 1646 hfc4s8s_hw *hw = pci_get_drvdata(pdev); local [all...] |
H A D | sedlbauer.c | 156 return (readreg(cs->hw.sedl.adr, cs->hw.sedl.isac, offset)); 162 writereg(cs->hw.sedl.adr, cs->hw.sedl.isac, offset, value); 168 readfifo(cs->hw.sedl.adr, cs->hw.sedl.isac, 0, data, size); 174 writefifo(cs->hw.sedl.adr, cs->hw.sedl.isac, 0, data, size); 180 return (readreg(cs->hw.sedl.adr, cs->hw [all...] |
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | mbx.c | 33 * @hw: pointer to the HW structure 37 static s32 ixgbevf_poll_for_msg(struct ixgbe_hw *hw) argument 39 struct ixgbe_mbx_info *mbx = &hw->mbx; 42 while (countdown && mbx->ops.check_for_msg(hw)) { 56 * @hw: pointer to the HW structure 60 static s32 ixgbevf_poll_for_ack(struct ixgbe_hw *hw) argument 62 struct ixgbe_mbx_info *mbx = &hw->mbx; 65 while (countdown && mbx->ops.check_for_ack(hw)) { 79 * @hw: pointer to the HW structure 86 static s32 ixgbevf_read_posted_mbx(struct ixgbe_hw *hw, u3 argument 109 ixgbevf_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 131 ixgbevf_read_v2p_mailbox(struct ixgbe_hw *hw) argument 149 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) argument 168 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) argument 186 ixgbevf_check_for_ack_vf(struct ixgbe_hw *hw) argument 204 ixgbevf_check_for_rst_vf(struct ixgbe_hw *hw) argument 223 ixgbevf_obtain_mbx_lock_vf(struct ixgbe_hw *hw) argument 245 ixgbevf_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 282 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument 312 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *hw) argument [all...] |
/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 31 static s32 e1000_check_for_link_vf(struct e1000_hw *hw); 32 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, 34 static s32 e1000_init_hw_vf(struct e1000_hw *hw); 35 static s32 e1000_reset_hw_vf(struct e1000_hw *hw); 37 static void e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *, 45 * @hw: pointer to the HW structure 47 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw) argument 49 struct e1000_mac_info *mac = &hw->mac; 59 /* hw initialization */ 79 * @hw 81 e1000_init_function_pointers_vf(struct e1000_hw *hw) argument 96 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 124 e1000_reset_hw_vf(struct e1000_hw *hw) argument 172 e1000_init_hw_vf(struct e1000_hw *hw) argument 189 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) argument 223 e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, u32 rar_used_count, u32 rar_count) argument 261 e1000_set_vfta_vf(struct e1000_hw *hw, u16 vid, bool set) argument 290 e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) argument 307 e1000_rar_set_vf(struct e1000_hw *hw, u8 * addr, u32 index) argument 334 e1000_read_mac_addr_vf(struct e1000_hw *hw) argument 349 e1000_check_for_link_vf(struct e1000_hw *hw) argument [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | 80003es2lan.c | 108 static s32 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw); 109 static s32 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask); 110 static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask); 111 static void e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw); 112 static void e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw); 113 static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw); 114 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex); 115 static s32 e1000_cfg_on_link_up_80003es2lan(struct e1000_hw *hw); 116 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, 118 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u3 126 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) argument 158 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) argument 204 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) argument 245 struct e1000_hw *hw = &adapter->hw; local 269 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) argument 283 e1000_release_phy_80003es2lan(struct e1000_hw *hw) argument 298 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) argument 313 e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) argument 328 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) argument 350 e1000_release_nvm_80003es2lan(struct e1000_hw *hw) argument 364 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument 410 e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument 432 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument 503 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument 575 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 588 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw) argument 617 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw) argument 709 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw) argument 740 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument 765 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) argument 812 e1000_init_hw_80003es2lan(struct e1000_hw *hw) argument 913 e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw) argument 949 e1000_copper_link_setup_gg82563_80003es2lan(struct e1000_hw *hw) argument 1099 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw) argument 1155 e1000_cfg_on_link_up_80003es2lan(struct e1000_hw *hw) argument 1184 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) argument 1230 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw) argument 1276 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument 1311 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument 1337 e1000_read_mac_addr_80003es2lan(struct e1000_hw *hw) argument 1360 e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw) argument 1374 e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | led.c | 35 static void _rtl92ce_init_led(struct ieee80211_hw *hw, argument 38 pled->hw = hw; 43 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 46 struct rtl_priv *rtlpriv = rtl_priv(hw); 71 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 73 struct rtl_priv *rtlpriv = rtl_priv(hw); 74 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 106 void rtl92ce_init_sw_leds(struct ieee80211_hw *hw) argument 108 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 113 _rtl92ce_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 132 rtl92ce_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | led.c | 35 static void _rtl92ce_init_led(struct ieee80211_hw *hw, argument 38 pled->hw = hw; 43 void rtl92de_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 46 struct rtl_priv *rtlpriv = rtl_priv(hw); 80 void rtl92de_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) argument 82 struct rtl_priv *rtlpriv = rtl_priv(hw); 83 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 115 void rtl92de_init_sw_leds(struct ieee80211_hw *hw) argument 117 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 122 _rtl92ce_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 141 rtl92de_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |
/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | led.c | 35 static void _rtl92se_init_led(struct ieee80211_hw *hw, argument 38 pled->hw = hw; 43 void rtl92se_init_sw_leds(struct ieee80211_hw *hw) argument 45 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); 46 _rtl92se_init_led(hw, &(pcipriv->ledctl.sw_led0), LED_PIN_LED0); 47 _rtl92se_init_led(hw, &(pcipriv->ledctl.sw_led1), LED_PIN_LED1); 50 void rtl92se_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument 53 struct rtl_priv *rtlpriv = rtl_priv(hw); 77 void rtl92se_sw_led_off(struct ieee80211_hw *hw, struc argument 113 _rtl92se_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument 132 rtl92se_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument [all...] |