Searched refs:hw (Results 101 - 125 of 1222) sorted by relevance

1234567891011>>

/drivers/misc/mei/
H A Dhw-txe.c26 #include "hw-txe.h"
60 * @hw: the txe hardware structure
67 static inline u32 mei_txe_sec_reg_read_silent(struct mei_txe_hw *hw, argument
70 return mei_txe_reg_read(hw->mem_addr[SEC_BAR], offset);
76 * @hw: the txe hardware structure
83 static inline u32 mei_txe_sec_reg_read(struct mei_txe_hw *hw, argument
86 WARN(!hw->aliveness, "sec read: aliveness not asserted\n");
87 return mei_txe_sec_reg_read_silent(hw, offset);
93 * @hw: the txe hardware structure
99 static inline void mei_txe_sec_reg_write_silent(struct mei_txe_hw *hw, argument
114 mei_txe_sec_reg_write(struct mei_txe_hw *hw, unsigned long offset, u32 value) argument
128 mei_txe_br_reg_read(struct mei_txe_hw *hw, unsigned long offset) argument
141 mei_txe_br_reg_write(struct mei_txe_hw *hw, unsigned long offset, u32 value) argument
164 struct mei_txe_hw *hw = to_txe_hw(dev); local
189 struct mei_txe_hw *hw = to_txe_hw(dev); local
206 struct mei_txe_hw *hw = to_txe_hw(dev); local
225 struct mei_txe_hw *hw = to_txe_hw(dev); local
259 struct mei_txe_hw *hw = to_txe_hw(dev); local
326 struct mei_txe_hw *hw = to_txe_hw(dev); local
338 struct mei_txe_hw *hw = to_txe_hw(dev); local
352 mei_txe_input_doorbell_set(struct mei_txe_hw *hw) argument
364 mei_txe_output_ready_set(struct mei_txe_hw *hw) argument
380 struct mei_txe_hw *hw = to_txe_hw(dev); local
394 struct mei_txe_hw *hw = to_txe_hw(dev); local
409 struct mei_txe_hw *hw = to_txe_hw(dev); local
421 struct mei_txe_hw *hw = to_txe_hw(dev); local
441 struct mei_txe_hw *hw = to_txe_hw(dev); local
469 struct mei_txe_hw *hw = to_txe_hw(dev); local
487 struct mei_txe_hw *hw = to_txe_hw(dev); local
502 struct mei_txe_hw *hw = to_txe_hw(dev); local
516 struct mei_txe_hw *hw = to_txe_hw(dev); local
531 struct mei_txe_hw *hw = to_txe_hw(dev); local
573 struct mei_txe_hw *hw = to_txe_hw(dev); local
651 struct mei_txe_hw *hw = to_txe_hw(dev); local
677 struct mei_txe_hw *hw = to_txe_hw(dev); local
754 struct mei_txe_hw *hw = to_txe_hw(dev); local
797 struct mei_txe_hw *hw = to_txe_hw(dev); local
837 struct mei_txe_hw *hw = to_txe_hw(dev); local
891 struct mei_txe_hw *hw = to_txe_hw(dev); local
948 struct mei_txe_hw *hw = to_txe_hw(dev); local
1024 struct mei_txe_hw *hw = to_txe_hw(dev); local
1171 struct mei_txe_hw *hw; local
1198 struct mei_txe_hw *hw = to_txe_hw(dev); local
[all...]
/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c33 * @hw: pointer to hardware structure
40 static s32 ixgbevf_start_hw_vf(struct ixgbe_hw *hw) argument
43 hw->adapter_stopped = false;
50 * @hw: pointer to hardware structure
55 static s32 ixgbevf_init_hw_vf(struct ixgbe_hw *hw) argument
57 s32 status = hw->mac.ops.start_hw(hw);
59 hw->mac.ops.get_mac_addr(hw, hw
71 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw) argument
135 ixgbevf_stop_hw_vf(struct ixgbe_hw *hw) argument
190 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) argument
221 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) argument
228 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) argument
268 ixgbevf_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq) argument
294 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
312 ixgbevf_update_mc_addr_list_vf(struct ixgbe_hw *hw, struct net_device *netdev) argument
357 ixgbevf_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on) argument
398 ixgbevf_setup_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg, bool autoneg_wait_to_complete) argument
414 ixgbevf_check_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool autoneg_wait_to_complete) argument
496 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size) argument
510 ixgbevf_negotiate_api_version(struct ixgbe_hw *hw, int api) argument
539 ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, unsigned int *default_tc) argument
[all...]
H A Dmbx.c33 * @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
112 ixgbevf_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
138 ixgbevf_read_v2p_mailbox(struct ixgbe_hw *hw) argument
156 ixgbevf_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) argument
175 ixgbevf_check_for_msg_vf(struct ixgbe_hw *hw) argument
193 ixgbevf_check_for_ack_vf(struct ixgbe_hw *hw) argument
211 ixgbevf_check_for_rst_vf(struct ixgbe_hw *hw) argument
230 ixgbevf_obtain_mbx_lock_vf(struct ixgbe_hw *hw) argument
252 ixgbevf_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
289 ixgbevf_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
319 ixgbevf_init_mbx_params_vf(struct ixgbe_hw *hw) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8192ee/
H A Drf.c33 static bool _rtl92ee_phy_rf6052_config_parafile(struct ieee80211_hw *hw);
35 void rtl92ee_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth) argument
37 struct rtl_priv *rtlpriv = rtl_priv(hw);
44 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK,
46 rtl_set_rfreg(hw, RF90_PATH_B, RF_CHNLBW, RFREG_OFFSET_MASK,
52 rtl_set_rfreg(hw, RF90_PATH_A, RF_CHNLBW, RFREG_OFFSET_MASK,
54 rtl_set_rfreg(hw, RF90_PATH_B, RF_CHNLBW, RFREG_OFFSET_MASK,
64 bool rtl92ee_phy_rf6052_config(struct ieee80211_hw *hw) argument
66 struct rtl_priv *rtlpriv = rtl_priv(hw);
74 return _rtl92ee_phy_rf6052_config_parafile(hw);
77 _rtl92ee_phy_rf6052_config_parafile(struct ieee80211_hw *hw) argument
[all...]
/drivers/net/wireless/b43/
H A Drfkill.h7 void b43_rfkill_poll(struct ieee80211_hw *hw);
/drivers/net/wireless/b43legacy/
H A Drfkill.h7 void b43legacy_rfkill_poll(struct ieee80211_hw *hw);
/drivers/net/wireless/rtlwifi/rtl8723com/
H A Dphy_common.h29 #define RT_CANNOT_IO(hw) false
48 u32 rtl8723_phy_query_bb_reg(struct ieee80211_hw *hw,
50 void rtl8723_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr,
53 u32 rtl8723_phy_rf_serial_read(struct ieee80211_hw *hw,
55 void rtl8723_phy_rf_serial_write(struct ieee80211_hw *hw,
58 long rtl8723_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw,
61 void rtl8723_phy_init_bb_rf_reg_def(struct ieee80211_hw *hw);
68 void rtl8723_phy_path_a_fill_iqk_matrix(struct ieee80211_hw *hw,
73 void rtl8723_save_adda_registers(struct ieee80211_hw *hw, u32 *addareg,
75 void rtl8723_phy_save_mac_registers(struct ieee80211_hw *hw,
[all...]
/drivers/net/wireless/orinoco/
H A Dhermes.c77 #define DMSG(stuff...) do {printk(KERN_DEBUG "hermes @ %p: " , hw->iobase); \
105 static int hermes_issue_cmd(struct hermes *hw, u16 cmd, u16 param0, argument
112 reg = hermes_read_regn(hw, CMD);
116 reg = hermes_read_regn(hw, CMD);
121 hermes_write_regn(hw, PARAM2, param2);
122 hermes_write_regn(hw, PARAM1, param1);
123 hermes_write_regn(hw, PARAM0, param0);
124 hermes_write_regn(hw, CMD, cmd);
134 static int hermes_doicmd_wait(struct hermes *hw, u16 cmd, argument
142 err = hermes_issue_cmd(hw, cm
187 hermes_struct_init(struct hermes *hw, void __iomem *address, int reg_spacing) argument
198 hermes_init(struct hermes *hw) argument
252 hermes_docmd_wait(struct hermes *hw, u16 cmd, u16 parm0, struct hermes_response *resp) argument
316 hermes_allocate(struct hermes *hw, u16 size, u16 *fid) argument
366 hermes_bap_seek(struct hermes *hw, int bap, u16 id, u16 offset) argument
425 hermes_bap_pread(struct hermes *hw, int bap, void *buf, int len, u16 id, u16 offset) argument
453 hermes_bap_pwrite(struct hermes *hw, int bap, const void *buf, int len, u16 id, u16 offset) argument
481 hermes_read_ltv(struct hermes *hw, int bap, u16 rid, unsigned bufsize, u16 *length, void *buf) argument
526 hermes_write_ltv(struct hermes *hw, int bap, u16 rid, u16 length, const void *value) argument
556 hermes_aux_setaddr(struct hermes *hw, u32 addr) argument
563 hermes_aux_control(struct hermes *hw, int enabled) argument
597 hermesi_program_init(struct hermes *hw, u32 offset) argument
646 hermesi_program_end(struct hermes *hw) argument
675 hermes_program_bytes(struct hermes *hw, const char *data, u32 addr, u32 len) argument
687 hermes_read_pda(struct hermes *hw, __le16 *pda, u32 pda_addr, u16 pda_len) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8192cu/
H A Dmac.h37 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/intel/i40e/
H A Di40e_prototype.h42 i40e_status i40e_init_adminq(struct i40e_hw *hw);
43 i40e_status i40e_shutdown_adminq(struct i40e_hw *hw);
44 void i40e_adminq_init_ring_data(struct i40e_hw *hw);
45 i40e_status i40e_clean_arq_element(struct i40e_hw *hw,
48 i40e_status i40e_asq_send_command(struct i40e_hw *hw,
55 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask,
58 void i40e_idle_aq(struct i40e_hw *hw);
59 bool i40e_check_asq_alive(struct i40e_hw *hw);
60 i40e_status i40e_aq_queue_shutdown(struct i40e_hw *hw, bool unloading);
62 u32 i40e_led_get(struct i40e_hw *hw);
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_mbx.c36 * @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;
54 return mbx->ops.read(hw, msg, size, mbx_id);
59 * @hw: pointer to the HW structure
66 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
68 struct ixgbe_mbx_info *mbx = &hw->mbx;
76 return mbx->ops.write(hw, msg, size, mbx_id);
81 * @hw: pointer to the HW structure
86 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u1 argument
103 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
120 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) argument
137 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) argument
162 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
190 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
217 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
236 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) argument
255 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) argument
276 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) argument
297 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) argument
330 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) argument
354 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
393 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
424 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument
[all...]
H A Dixgbe_dcb_82598.c36 * @hw: pointer to hardware structure
41 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, argument
51 reg = IXGBE_READ_REG(hw, IXGBE_RUPPBMR) | IXGBE_RUPPBMR_MQA;
52 IXGBE_WRITE_REG(hw, IXGBE_RUPPBMR, reg);
54 reg = IXGBE_READ_REG(hw, IXGBE_RMCS);
62 IXGBE_WRITE_REG(hw, IXGBE_RMCS, reg);
74 IXGBE_WRITE_REG(hw, IXGBE_RT2CR(i), reg);
77 reg = IXGBE_READ_REG(hw, IXGBE_RDRXCTL);
81 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, reg);
83 reg = IXGBE_READ_REG(hw, IXGBE_RXCTR
98 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument
144 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument
191 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) argument
244 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) argument
276 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, u16 *max, u8 *bwg_id, u8 *prio_type) argument
[all...]
/drivers/media/platform/s5p-jpeg/
H A DMakefile1 s5p-jpeg-objs := jpeg-core.o jpeg-hw-exynos3250.o jpeg-hw-exynos4.o jpeg-hw-s5p.o
/drivers/net/ethernet/micrel/
H A Dksz884x.c1339 * @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
4470 struct ksz_hw *hw = &adapter->hw; local
4507 struct ksz_hw *hw = &adapter->hw; local
4555 struct ksz_hw *hw = &adapter->hw; local
4623 get_mib_counters(struct ksz_hw *hw, int first, int cnt, u64 *counter) argument
4652 struct ksz_hw *hw = &hw_priv->hw; local
4757 struct ksz_hw *hw = &hw_priv->hw; local
4813 struct ksz_hw *hw = &hw_priv->hw; local
4850 struct ksz_hw *hw = &hw_priv->hw; local
4924 struct ksz_hw *hw = &hw_priv->hw; local
4999 rx_proc(struct net_device *dev, struct ksz_hw* hw, struct ksz_desc *desc, union desc_stat status) argument
5054 struct ksz_hw *hw = &hw_priv->hw; local
5090 struct ksz_hw *hw = &hw_priv->hw; local
5135 struct ksz_hw *hw = &hw_priv->hw; local
5193 struct ksz_hw *hw = &hw_priv->hw; local
5215 struct ksz_hw *hw = &hw_priv->hw; local
5227 handle_rx_stop(struct ksz_hw *hw) argument
5259 struct ksz_hw *hw = &hw_priv->hw; local
5338 bridge_change(struct ksz_hw *hw) argument
5373 struct ksz_hw *hw = &hw_priv->hw; local
5431 hw_cfg_huge_frame(struct dev_info *hw_priv, struct ksz_hw *hw) argument
5459 struct ksz_hw *hw = &hw_priv->hw; local
5511 struct ksz_hw *hw = &hw_priv->hw; local
5616 struct ksz_hw *hw = &priv->adapter->hw; local
5672 struct ksz_hw *hw = &hw_priv->hw; local
5696 dev_set_promiscuous(struct net_device *dev, struct dev_priv *priv, struct ksz_hw *hw, int promiscuous) argument
5731 dev_set_multicast(struct dev_priv *priv, struct ksz_hw *hw, int multicast) argument
5760 struct ksz_hw *hw = &hw_priv->hw; local
5808 struct ksz_hw *hw = &hw_priv->hw; local
5853 struct ksz_hw *hw = &hw_priv->hw; local
5915 struct ksz_hw *hw = port->hw; local
5935 struct ksz_hw *hw = port->hw; local
6146 struct ksz_hw *hw = &hw_priv->hw; local
6341 struct ksz_hw *hw = &hw_priv->hw; local
6374 struct ksz_hw *hw = &hw_priv->hw; local
6419 struct ksz_hw *hw = &hw_priv->hw; local
6482 struct ksz_hw *hw = &hw_priv->hw; local
6502 struct ksz_hw *hw = &hw_priv->hw; local
6525 struct ksz_hw *hw = &hw_priv->hw; local
6594 struct ksz_hw *hw = &hw_priv->hw; local
6653 struct ksz_hw *hw = &hw_priv->hw; local
6724 struct ksz_hw *hw = &hw_priv->hw; local
6902 read_other_addr(struct ksz_hw *hw) argument
6929 struct ksz_hw *hw; local
7169 struct ksz_hw *hw = &hw_priv->hw; local
7195 struct ksz_hw *hw = &hw_priv->hw; local
[all...]
/drivers/net/ethernet/intel/igb/
H A De1000_phy.c30 static s32 igb_phy_setup_autoneg(struct e1000_hw *hw);
31 static void igb_phy_force_speed_duplex_setup(struct e1000_hw *hw,
33 static s32 igb_wait_autoneg(struct e1000_hw *hw);
34 static s32 igb_set_master_slave_mode(struct e1000_hw *hw);
58 * @hw: pointer to the HW structure
64 s32 igb_check_reset_block(struct e1000_hw *hw) argument
75 * @hw: pointer to the HW structure
80 s32 igb_get_phy_id(struct e1000_hw *hw) argument
82 struct e1000_phy_info *phy = &hw->phy;
86 ret_val = phy->ops.read_reg(hw, PHY_ID
109 igb_phy_reset_dsp(struct e1000_hw *hw) argument
135 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) argument
191 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) argument
248 igb_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) argument
293 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) argument
352 igb_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) argument
402 igb_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) argument
441 igb_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) argument
477 igb_copper_link_setup_82580(struct e1000_hw *hw) argument
544 igb_copper_link_setup_m88(struct e1000_hw *hw) argument
648 igb_copper_link_setup_m88_gen2(struct e1000_hw *hw) argument
743 igb_copper_link_setup_igp(struct e1000_hw *hw) argument
881 igb_copper_link_autoneg(struct e1000_hw *hw) argument
944 igb_phy_setup_autoneg(struct e1000_hw *hw) argument
1101 igb_setup_copper_link(struct e1000_hw *hw) argument
1152 igb_phy_force_speed_duplex_igp(struct e1000_hw *hw) argument
1217 igb_phy_force_speed_duplex_m88(struct e1000_hw *hw) argument
1348 igb_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) argument
1411 igb_set_d3_lplu_state(struct e1000_hw *hw, bool active) argument
1494 igb_check_downshift(struct e1000_hw *hw) argument
1537 igb_check_polarity_m88(struct e1000_hw *hw) argument
1562 igb_check_polarity_igp(struct e1000_hw *hw) argument
1605 igb_wait_autoneg(struct e1000_hw *hw) argument
1638 igb_phy_has_link(struct e1000_hw *hw, u32 iterations, u32 usec_interval, bool *success) argument
1691 igb_get_cable_length_m88(struct e1000_hw *hw) argument
1717 igb_get_cable_length_m88_gen2(struct e1000_hw *hw) argument
1837 igb_get_cable_length_igp_2(struct e1000_hw *hw) argument
1908 igb_get_phy_info_m88(struct e1000_hw *hw) argument
1984 igb_get_phy_info_igp(struct e1000_hw *hw) argument
2047 igb_phy_sw_reset(struct e1000_hw *hw) argument
2079 igb_phy_hw_reset(struct e1000_hw *hw) argument
2120 igb_phy_init_script_igp3(struct e1000_hw *hw) argument
2204 igb_power_up_phy_copper(struct e1000_hw *hw) argument
2221 igb_power_down_phy_copper(struct e1000_hw *hw) argument
2240 igb_check_polarity_82580(struct e1000_hw *hw) argument
2265 igb_phy_force_speed_duplex_82580(struct e1000_hw *hw) argument
2328 igb_get_phy_info_82580(struct e1000_hw *hw) argument
2391 igb_get_cable_length_82580(struct e1000_hw *hw) argument
2423 igb_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data) argument
2453 igb_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data) argument
2479 igb_set_master_slave_mode(struct e1000_hw *hw) argument
[all...]
/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c55 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
259 hfcsusb_ph_info(struct hfcsusb *hw) argument
290 struct hfcsusb *hw = dch->hw; local
377 struct hfcsusb *hw = dch->hw; local
424 open_dchannel(struct hfcsusb *hw, struct mISDNchannel *ch, struct channel_req *rq) argument
478 open_bchannel(struct hfcsusb *hw, struct channel_req *rq) argument
504 channel_ctrl(struct hfcsusb *hw, struct mISDN_ctrl_req *cq) argument
534 struct hfcsusb *hw = dch->hw; local
585 struct hfcsusb *hw = dch->hw; local
626 struct hfcsusb *hw = dch->hw; local
681 struct hfcsusb *hw = dch->hw; local
695 struct hfcsusb *hw = bch->hw; local
767 hfcsusb_ph_command(struct hfcsusb *hw, u_char command) argument
816 struct hfcsusb *hw = fifo->hw; local
976 struct hfcsusb *hw = fifo->hw; local
1097 struct hfcsusb *hw = fifo->hw; local
1168 struct hfcsusb *hw = fifo->hw; local
1389 struct hfcsusb *hw = fifo->hw; local
1454 struct hfcsusb *hw = fifo->hw; local
1480 struct hfcsusb *hw = fifo->hw; local
1503 struct hfcsusb *hw = fifo->hw; local
1529 setPortMode(struct hfcsusb *hw) argument
1551 reset_hfcsusb(struct hfcsusb *hw) argument
1605 hfcsusb_start_endpoint(struct hfcsusb *hw, int channel) argument
1673 hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel) argument
1701 setup_hfcsusb(struct hfcsusb *hw) argument
1741 release_hw(struct hfcsusb *hw) argument
1780 struct hfcsusb *hw = bch->hw; local
1832 setup_instance(struct hfcsusb *hw, struct device *parent) argument
1908 struct hfcsusb *hw; local
2115 struct hfcsusb *hw = usb_get_intfdata(intf); local
[all...]
/drivers/staging/wlan-ng/
H A Dhfa384x_usb.c95 * 'initialized' and 'running' states of the hw/MAC combo. The four
163 static int submit_rx_urb(hfa384x_t *hw, gfp_t flags);
165 static int submit_tx_urb(hfa384x_t *hw, struct urb *tx_urb, gfp_t flags);
183 static void hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin,
189 static void hfa384x_usbctlxq_run(hfa384x_t *hw);
201 static int hfa384x_usbctlx_submit(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx);
203 static void unlocked_usbctlx_complete(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx);
210 hfa384x_usbctlx_complete_sync(hfa384x_t *hw,
215 unlocked_usbctlx_cancel_async(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx);
217 static void hfa384x_cb_status(hfa384x_t *hw, cons
288 get_active_ctlx(hfa384x_t *hw) argument
332 submit_rx_urb(hfa384x_t *hw, gfp_t memflags) argument
394 submit_tx_urb(hfa384x_t *hw, struct urb *tx_urb, gfp_t memflags) argument
439 hfa384x_t *hw = container_of(data, struct hfa384x, usb_work); local
531 hfa384x_create(hfa384x_t *hw, struct usb_device *usb) argument
607 hfa384x_destroy(hfa384x_t *hw) argument
811 hfa384x_cb_status(hfa384x_t *hw, const hfa384x_usbctlx_t *ctlx) argument
848 hfa384x_cb_rrid(hfa384x_t *hw, const hfa384x_usbctlx_t *ctlx) argument
865 hfa384x_docmd_wait(hfa384x_t *hw, hfa384x_metacmd_t *cmd) argument
871 hfa384x_docmd_async(hfa384x_t *hw, hfa384x_metacmd_t *cmd, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
879 hfa384x_dorrid_wait(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen) argument
887 hfa384x_dorrid_async(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
898 hfa384x_dowrid_wait(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen) argument
906 hfa384x_dowrid_async(hfa384x_t *hw, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
917 hfa384x_dormem_wait(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len) argument
925 hfa384x_dormem_async(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
936 hfa384x_dowmem_wait(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len) argument
944 hfa384x_dowmem_async(hfa384x_t *hw, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
976 hfa384x_cmd_initialize(hfa384x_t *hw) argument
1022 hfa384x_cmd_disable(hfa384x_t *hw, u16 macport) argument
1058 hfa384x_cmd_enable(hfa384x_t *hw, u16 macport) argument
1103 hfa384x_cmd_monitor(hfa384x_t *hw, u16 enable) argument
1157 hfa384x_cmd_download(hfa384x_t *hw, u16 mode, u16 lowaddr, u16 highaddr, u16 codelen) argument
1201 hfa384x_corereset(hfa384x_t *hw, int holdtime, int settletime, int genesis) argument
1238 hfa384x_usbctlx_complete_sync(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx, struct usbctlx_completor *completor) argument
1354 hfa384x_docmd(hfa384x_t *hw, enum cmd_mode mode, hfa384x_metacmd_t *cmd, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
1442 hfa384x_dorrid(hfa384x_t *hw, enum cmd_mode mode, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
1523 hfa384x_dowrid(hfa384x_t *hw, enum cmd_mode mode, u16 rid, void *riddata, unsigned int riddatalen, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
1610 hfa384x_dormem(hfa384x_t *hw, enum cmd_mode mode, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
1701 hfa384x_dowmem(hfa384x_t *hw, enum cmd_mode mode, u16 page, u16 offset, void *data, unsigned int len, ctlx_cmdcb_t cmdcb, ctlx_usercb_t usercb, void *usercb_data) argument
1775 hfa384x_drvr_commtallies(hfa384x_t *hw) argument
1811 hfa384x_drvr_disable(hfa384x_t *hw, u16 macport) argument
1849 hfa384x_drvr_enable(hfa384x_t *hw, u16 macport) argument
1886 hfa384x_drvr_flashdl_enable(hfa384x_t *hw) argument
1945 hfa384x_drvr_flashdl_disable(hfa384x_t *hw) argument
1990 hfa384x_drvr_flashdl_write(hfa384x_t *hw, u32 daddr, void *buf, u32 len) argument
2128 hfa384x_drvr_getconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len) argument
2161 hfa384x_drvr_getconfig_async(hfa384x_t *hw, u16 rid, ctlx_usercb_t usercb, void *usercb_data) argument
2192 hfa384x_drvr_setconfig_async(hfa384x_t *hw, u16 rid, void *buf, u16 len, ctlx_usercb_t usercb, void *usercb_data) argument
2219 hfa384x_drvr_ramdl_disable(hfa384x_t *hw) argument
2259 hfa384x_drvr_ramdl_enable(hfa384x_t *hw, u32 exeaddr) argument
2327 hfa384x_drvr_ramdl_write(hfa384x_t *hw, u32 daddr, void *buf, u32 len) argument
2407 hfa384x_drvr_readpda(hfa384x_t *hw, void *buf, unsigned int len) argument
2517 hfa384x_drvr_setconfig(hfa384x_t *hw, u16 rid, void *buf, u16 len) argument
2542 hfa384x_drvr_start(hfa384x_t *hw) argument
2643 hfa384x_drvr_stop(hfa384x_t *hw) argument
2693 hfa384x_drvr_txframe(hfa384x_t *hw, struct sk_buff *skb, union p80211_hdr *p80211_hdr, struct p80211_metawep *p80211_wep) argument
2789 hfa384x_t *hw = wlandev->priv; local
2821 hfa384x_t *hw = (hfa384x_t *)data; local
2858 hfa384x_t *hw = (hfa384x_t *)data; local
2937 unlocked_usbctlx_cancel_async(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx) argument
2987 unlocked_usbctlx_complete(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx) argument
3026 hfa384x_usbctlxq_run(hfa384x_t *hw) argument
3129 hfa384x_t *hw; local
3306 hfa384x_usbin_ctlx(hfa384x_t *hw, hfa384x_usbin_t *usbin, int urb_status) argument
3459 hfa384x_t *hw = wlandev->priv; local
3566 hfa384x_t *hw = wlandev->priv; local
3701 hfa384x_t *hw = wlandev->priv; local
3717 hfa384x_t *hw = wlandev->priv; local
3762 hfa384x_t *hw = urb->context; local
3893 hfa384x_t *hw = (hfa384x_t *)data; local
3951 hfa384x_t *hw = (hfa384x_t *)data; local
3990 hfa384x_t *hw = (hfa384x_t *)data; local
4031 hfa384x_usbctlx_submit(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx) argument
[all...]
/drivers/scsi/csiostor/
H A Dcsio_wr.c57 csio_get_flbuf_size(struct csio_hw *hw, struct csio_sge *sge, uint32_t reg) argument
59 sge->sge_fl_buf_size[reg] = csio_rd_reg32(hw, SGE_FL_BUFFER_SIZE0 +
72 csio_wr_qstat_pgsz(struct csio_hw *hw) argument
74 return (hw->wrm.sge.sge_control & EGRSTATUSPAGESIZE(1)) ? 128 : 64;
79 csio_wr_ring_fldb(struct csio_hw *hw, struct csio_q *flq) argument
87 csio_wr_reg32(hw, DBPRIO(1) | QID(flq->un.fl.flid) |
88 CSIO_HW_PIDX(hw, flq->inc_idx / 8),
96 csio_wr_sge_intr_enable(struct csio_hw *hw, uint16_t iqid) argument
98 csio_wr_reg32(hw, CIDXINC(0) |
106 * @hw
114 csio_wr_fill_fl(struct csio_hw *hw, struct csio_q *flq) argument
150 csio_wr_update_fl(struct csio_hw *hw, struct csio_q *flq, uint16_t n) argument
185 csio_wr_alloc_q(struct csio_hw *hw, uint32_t qsize, uint32_t wrsize, uint16_t type, void *owner, uint32_t nflb, int sreg, iq_handler_t iq_intx_handler) argument
336 csio_wr_iq_create_rsp(struct csio_hw *hw, struct csio_mb *mbp, int iq_idx) argument
414 csio_wr_iq_create(struct csio_hw *hw, void *priv, int iq_idx, uint32_t vec, uint8_t portid, bool async, void (*cbfn) (struct csio_hw *, struct csio_mb *)) argument
516 csio_wr_eq_cfg_rsp(struct csio_hw *hw, struct csio_mb *mbp, int eq_idx) argument
553 csio_wr_eq_create(struct csio_hw *hw, void *priv, int eq_idx, int iq_idx, uint8_t portid, void (*cbfn) (struct csio_hw *, struct csio_mb *)) argument
604 csio_wr_iq_destroy_rsp(struct csio_hw *hw, struct csio_mb *mbp, int iq_idx) argument
628 csio_wr_iq_destroy(struct csio_hw *hw, void *priv, int iq_idx, void (*cbfn)(struct csio_hw *, struct csio_mb *)) argument
678 csio_wr_eq_destroy_rsp(struct csio_hw *hw, struct csio_mb *mbp, int eq_idx) argument
702 csio_wr_eq_destroy(struct csio_hw *hw, void *priv, int eq_idx, void (*cbfn) (struct csio_hw *, struct csio_mb *)) argument
741 csio_wr_cleanup_eq_stpg(struct csio_hw *hw, int qidx) argument
758 csio_wr_cleanup_iq_ftr(struct csio_hw *hw, int qidx) argument
782 csio_wr_destroy_queues(struct csio_hw *hw, bool cmd) argument
857 csio_wr_get(struct csio_hw *hw, int qidx, uint32_t size, struct csio_wr_pair *wrp) argument
976 csio_wr_issue(struct csio_hw *hw, int qidx, bool prio) argument
1016 csio_wr_inval_flq_buf(struct csio_hw *hw, struct csio_q *flq) argument
1036 csio_wr_process_fl(struct csio_hw *hw, struct csio_q *q, void *wr, uint32_t len_to_qid, void (*iq_handler)(struct csio_hw *, void *, uint32_t, struct csio_fl_dma_buf *, void *), void *priv) argument
1123 csio_wr_process_iq(struct csio_hw *hw, struct csio_q *q, void (*iq_handler)(struct csio_hw *, void *, uint32_t, struct csio_fl_dma_buf *, void *), void *priv) argument
1257 csio_wr_process_iq_idx(struct csio_hw *hw, int qidx, void (*iq_handler)(struct csio_hw *, void *, uint32_t, struct csio_fl_dma_buf *, void *), void *priv) argument
1304 csio_wr_fixup_host_params(struct csio_hw *hw) argument
1356 csio_init_intr_coalesce_parms(struct csio_hw *hw) argument
1378 csio_wr_get_sge(struct csio_hw *hw) argument
1447 csio_wr_set_sge(struct csio_hw *hw) argument
1530 csio_wr_sge_init(struct csio_hw *hw) argument
1568 csio_wrm_init(struct csio_wrm *wrm, struct csio_hw *hw) argument
1609 csio_wrm_exit(struct csio_wrm *wrm, struct csio_hw *hw) argument
[all...]
H A Dcsio_hw_t5.c38 csio_t5_set_mem_win(struct csio_hw *hw, uint32_t win) argument
59 csio_wr_reg32(hw, mem_win_base | BIR(0) |
62 csio_rd_reg32(hw,
72 csio_t5_pcie_intr_handler(struct csio_hw *hw) argument
136 fat = csio_handle_intr_status(hw,
139 csio_handle_intr_status(hw,
142 csio_handle_intr_status(hw, PCIE_INT_CAUSE, pcie_intr_info);
144 csio_hw_fatal_err(hw);
149 * @hw: the HW module
155 csio_t5_flash_cfg_addr(struct csio_hw *hw) argument
173 csio_t5_mc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, uint64_t *ecc) argument
221 csio_t5_edc_read(struct csio_hw *hw, int idx, uint32_t addr, __be32 *data, uint64_t *ecc) argument
282 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, u32 len, uint32_t *buf, int dir) argument
372 csio_t5_dfs_create_ext_mem(struct csio_hw *hw) argument
[all...]
/drivers/net/ethernet/intel/e1000e/
H A Dich8lan.c115 static void e1000_clear_hw_cntrs_ich8lan(struct e1000_hw *hw);
116 static void e1000_initialize_hw_bits_ich8lan(struct e1000_hw *hw);
117 static s32 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank);
118 static s32 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw,
120 static s32 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset,
122 static s32 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset,
124 static s32 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset,
126 static s32 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw);
127 static s32 e1000_cleanup_led_ich8lan(struct e1000_hw *hw);
128 static s32 e1000_led_on_ich8lan(struct e1000_hw *hw);
151 __er16flash(struct e1000_hw *hw, unsigned long reg) argument
156 __er32flash(struct e1000_hw *hw, unsigned long reg) argument
161 __ew16flash(struct e1000_hw *hw, unsigned long reg, u16 val) argument
166 __ew32flash(struct e1000_hw *hw, unsigned long reg, u32 val) argument
186 e1000_phy_is_accessible_pchlan(struct e1000_hw *hw) argument
254 e1000_toggle_lanphypc_pch_lpt(struct e1000_hw *hw) argument
295 e1000_init_phy_workarounds_pchlan(struct e1000_hw *hw) argument
426 e1000_init_phy_params_pchlan(struct e1000_hw *hw) argument
508 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) argument
587 e1000_init_nvm_params_ich8lan(struct e1000_hw *hw) argument
641 e1000_init_mac_params_ich8lan(struct e1000_hw *hw) argument
726 __e1000_access_emi_reg_locked(struct e1000_hw *hw, u16 address, u16 *data, bool read) argument
751 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data) argument
764 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data) argument
783 e1000_set_eee_pchlan(struct e1000_hw *hw) argument
882 e1000_k1_workaround_lpt_lp(struct e1000_hw *hw, bool link) argument
975 e1000_platform_pm_pch_lpt(struct e1000_hw *hw, bool link) argument
1057 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx) argument
1167 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force) argument
1302 e1000_check_for_copper_link_ich8lan(struct e1000_hw *hw) argument
1462 struct e1000_hw *hw = &adapter->hw; local
1522 e1000_acquire_nvm_ich8lan(struct e1000_hw __always_unused *hw) argument
1535 e1000_release_nvm_ich8lan(struct e1000_hw __always_unused *hw) argument
1547 e1000_acquire_swflag_ich8lan(struct e1000_hw *hw) argument
1610 e1000_release_swflag_ich8lan(struct e1000_hw *hw) argument
1634 e1000_check_mng_mode_ich8lan(struct e1000_hw *hw) argument
1652 e1000_check_mng_mode_pchlan(struct e1000_hw *hw) argument
1672 e1000_rar_set_pch2lan(struct e1000_hw *hw, u8 *addr, u32 index) argument
1738 e1000_rar_get_count_pch_lpt(struct e1000_hw *hw) argument
1775 e1000_rar_set_pch_lpt(struct e1000_hw *hw, u8 *addr, u32 index) argument
1846 e1000_check_reset_block_ich8lan(struct e1000_hw *hw) argument
1864 e1000_write_smbus_addr(struct e1000_hw *hw) argument
1905 e1000_sw_lcd_config_ich8lan(struct e1000_hw *hw) argument
2026 e1000_k1_gig_workaround_hv(struct e1000_hw *hw, bool link) argument
2103 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable) argument
2154 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state) argument
2218 e1000_set_mdio_slow_mode_hv(struct e1000_hw *hw) argument
2238 e1000_hv_phy_workarounds_ich8lan(struct e1000_hw *hw) argument
2318 e1000_copy_rx_addrs_to_phy_ich8lan(struct e1000_hw *hw) argument
2359 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable) argument
2525 e1000_lv_phy_workarounds_ich8lan(struct e1000_hw *hw) argument
2559 e1000_k1_workaround_lv(struct e1000_hw *hw) argument
2607 e1000_gate_hw_phy_config_ich8lan(struct e1000_hw *hw, bool gate) argument
2631 e1000_lan_init_done_ich8lan(struct e1000_hw *hw) argument
2659 e1000_post_phy_reset_ich8lan(struct e1000_hw *hw) argument
2729 e1000_phy_hw_reset_ich8lan(struct e1000_hw *hw) argument
2756 e1000_set_lplu_state_pchlan(struct e1000_hw *hw, bool active) argument
2789 e1000_set_d0_lplu_state_ich8lan(struct e1000_hw *hw, bool active) argument
2875 e1000_set_d3_lplu_state_ich8lan(struct e1000_hw *hw, bool active) argument
2954 e1000_valid_nvm_bank_detect_ich8lan(struct e1000_hw *hw, u32 *bank) argument
3019 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
3077 e1000_flash_cycle_init_ich8lan(struct e1000_hw *hw) argument
3147 e1000_flash_cycle_ich8lan(struct e1000_hw *hw, u32 timeout) argument
3181 e1000_read_flash_word_ich8lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
3198 e1000_read_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 *data) argument
3222 e1000_read_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, u8 size, u16 *data) argument
3298 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
3334 e1000_update_nvm_checksum_ich8lan(struct e1000_hw *hw) argument
3487 e1000_validate_nvm_checksum_ich8lan(struct e1000_hw *hw) argument
3537 e1000e_write_protect_nvm_ich8lan(struct e1000_hw *hw) argument
3576 e1000_write_flash_data_ich8lan(struct e1000_hw *hw, u32 offset, u8 size, u16 data) argument
3650 e1000_write_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 data) argument
3667 e1000_retry_write_flash_byte_ich8lan(struct e1000_hw *hw, u32 offset, u8 byte) argument
3698 e1000_erase_flash_bank_ich8lan(struct e1000_hw *hw, u32 bank) argument
3802 e1000_valid_led_default_ich8lan(struct e1000_hw *hw, u16 *data) argument
3831 e1000_id_led_init_pchlan(struct e1000_hw *hw) argument
3897 e1000_get_bus_info_ich8lan(struct e1000_hw *hw) argument
3922 e1000_reset_hw_ich8lan(struct e1000_hw *hw) argument
4041 e1000_init_hw_ich8lan(struct e1000_hw *hw) argument
4124 e1000_initialize_hw_bits_ich8lan(struct e1000_hw *hw) argument
4204 e1000_setup_link_ich8lan(struct e1000_hw *hw) argument
4259 e1000_setup_copper_link_ich8lan(struct e1000_hw *hw) argument
4343 e1000_setup_copper_link_pch_lpt(struct e1000_hw *hw) argument
4370 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
4402 e1000_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw) argument
4462 e1000e_set_kmrn_lock_loss_workaround_ich8lan(struct e1000_hw *hw, bool state) argument
4485 e1000e_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw) argument
4536 e1000e_gig_downshift_workaround_ich8lan(struct e1000_hw *hw) argument
4571 e1000_suspend_workarounds_ich8lan(struct e1000_hw *hw) argument
4694 e1000_resume_workarounds_pchlan(struct e1000_hw *hw) argument
4758 e1000_cleanup_led_ich8lan(struct e1000_hw *hw) argument
4773 e1000_led_on_ich8lan(struct e1000_hw *hw) argument
4789 e1000_led_off_ich8lan(struct e1000_hw *hw) argument
4806 e1000_setup_led_pchlan(struct e1000_hw *hw) argument
4817 e1000_cleanup_led_pchlan(struct e1000_hw *hw) argument
4828 e1000_led_on_pchlan(struct e1000_hw *hw) argument
4858 e1000_led_off_pchlan(struct e1000_hw *hw) argument
4894 e1000_get_cfg_done_ich8lan(struct e1000_hw *hw) argument
4948 e1000_power_down_phy_copper_ich8lan(struct e1000_hw *hw) argument
4963 e1000_clear_hw_cntrs_ich8lan(struct e1000_hw *hw) argument
[all...]
H A D80003es2lan.c39 static s32 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw);
40 static s32 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
41 static void e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask);
42 static void e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw);
43 static void e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw);
44 static s32 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw);
45 static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex);
46 static s32 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
48 static s32 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset,
50 static void e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw);
56 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) argument
88 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) argument
133 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) argument
172 struct e1000_hw *hw = &adapter->hw; local
196 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) argument
210 e1000_release_phy_80003es2lan(struct e1000_hw *hw) argument
225 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) argument
240 e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) argument
255 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) argument
277 e1000_release_nvm_80003es2lan(struct e1000_hw *hw) argument
291 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument
336 e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument
358 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
427 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
497 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
510 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw) argument
539 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw) argument
627 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw) argument
658 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
681 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) argument
741 e1000_init_hw_80003es2lan(struct e1000_hw *hw) argument
842 e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw) argument
885 e1000_copper_link_setup_gg82563_80003es2lan(struct e1000_hw *hw) argument
1028 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw) argument
1085 e1000_cfg_on_link_up_80003es2lan(struct e1000_hw *hw) argument
1114 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) argument
1161 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw) argument
1208 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
1243 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
1269 e1000_read_mac_addr_80003es2lan(struct e1000_hw *hw) argument
1291 e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw) argument
1305 e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw) argument
[all...]
H A Dphy.h25 s32 e1000e_check_downshift(struct e1000_hw *hw);
26 s32 e1000_check_polarity_m88(struct e1000_hw *hw);
27 s32 e1000_check_polarity_igp(struct e1000_hw *hw);
28 s32 e1000_check_polarity_ife(struct e1000_hw *hw);
29 s32 e1000e_check_reset_block_generic(struct e1000_hw *hw);
30 s32 e1000e_copper_link_setup_igp(struct e1000_hw *hw);
31 s32 e1000e_copper_link_setup_m88(struct e1000_hw *hw);
32 s32 e1000e_phy_force_speed_duplex_igp(struct e1000_hw *hw);
33 s32 e1000e_phy_force_speed_duplex_m88(struct e1000_hw *hw);
34 s32 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw);
[all...]
/drivers/net/ethernet/intel/igbvf/
H A Dvf.c31 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
291 e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) argument
308 e1000_rar_set_vf(struct e1000_hw *hw, u8 * addr, u32 index) argument
335 e1000_read_mac_addr_vf(struct e1000_hw *hw) argument
350 e1000_check_for_link_vf(struct e1000_hw *hw) argument
[all...]
/drivers/isdn/hisax/
H A Dsedlbauer.c156 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/wireless/rtlwifi/rtl8188ee/
H A Dled.c35 static void _rtl88ee_init_led(struct ieee80211_hw *hw, argument
38 pled->hw = hw;
43 void rtl88ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) argument
46 struct rtl_priv *rtlpriv = rtl_priv(hw);
71 void rtl88ee_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);
109 void rtl88ee_init_sw_leds(struct ieee80211_hw *hw) argument
111 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw);
116 _rtl88ee_sw_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument
135 rtl88ee_led_control(struct ieee80211_hw *hw, enum led_ctl_mode ledaction) argument
[all...]

Completed in 1479 milliseconds

1234567891011>>