Searched refs:hw (Results 151 - 175 of 1222) sorted by relevance

1234567891011>>

/drivers/isdn/hisax/
H A Delsa.c178 return (readreg(cs->hw.elsa.ale, cs->hw.elsa.isac, offset));
184 writereg(cs->hw.elsa.ale, cs->hw.elsa.isac, offset, value);
190 readfifo(cs->hw.elsa.ale, cs->hw.elsa.isac, 0, data, size);
196 writefifo(cs->hw.elsa.ale, cs->hw.elsa.isac, 0, data, size);
202 return (readreg(cs->hw.elsa.ale, cs->hw
[all...]
H A Dasuscom.c80 return (readreg(cs->hw.asus.adr, cs->hw.asus.isac, offset));
86 writereg(cs->hw.asus.adr, cs->hw.asus.isac, offset, value);
92 readfifo(cs->hw.asus.adr, cs->hw.asus.isac, 0, data, size);
98 writefifo(cs->hw.asus.adr, cs->hw.asus.isac, 0, data, size);
104 return (readreg(cs->hw.asus.adr, cs->hw
[all...]
H A Dteleint.c105 cs->hw.hfc.cip = offset;
106 return (readreg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset));
112 cs->hw.hfc.cip = offset;
113 writereg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset, value);
119 cs->hw.hfc.cip = 0;
120 readfifo(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, 0, data, size);
126 cs->hw
[all...]
H A Dteles3.c58 return (readreg(cs->hw.teles3.isac, offset));
64 writereg(cs->hw.teles3.isac, offset, value);
70 read_fifo(cs->hw.teles3.isacfifo, data, size);
76 write_fifo(cs->hw.teles3.isacfifo, data, size);
82 return (readreg(cs->hw.teles3.hscx[hscx], offset));
88 writereg(cs->hw.teles3.hscx[hscx], offset, value);
95 #define READHSCX(cs, nr, reg) readreg(cs->hw.teles3.hscx[nr], reg)
96 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.teles3.hscx[nr], reg, data)
97 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.teles3.hscxfifo[nr], ptr, cnt)
98 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw
[all...]
H A Denternow_pci.c85 * From address hw.njet.base + TJ_AMD_PORT onwards, the AMD
87 * -> 0x01 of the AMD at hw.njet.base + 0C4 */
101 return (inb(cs->hw.njet.isac + 4 * offset));
105 outb(offset, cs->hw.njet.isac + 4 * AMD_CR);
106 return (inb(cs->hw.njet.isac + 4 * AMD_DR));
116 outb(value, cs->hw.njet.isac + 4 * offset);
120 outb(offset, cs->hw.njet.isac + 4 * AMD_CR);
121 outb(value, cs->hw.njet.isac + 4 * AMD_DR);
129 outb(0x00, cs->hw.njet.base + NETJET_IRQMASK1);
131 outb(TJ_AMD_IRQ, cs->hw
[all...]
H A Dnj_s.c36 s1val = bytein(cs->hw.njet.base + NETJET_IRQSTAT1);
55 s0val = bytein(cs->hw.njet.base + NETJET_IRQSTAT0);
61 byteout(cs->hw.njet.base + NETJET_IRQSTAT0, s0val);
64 if (inl(cs->hw.njet.base + NETJET_DMA_WRITE_ADR) <
65 inl(cs->hw.njet.base + NETJET_DMA_WRITE_IRQ))
70 if (inl(cs->hw.njet.base + NETJET_DMA_READ_ADR) <
71 inl(cs->hw.njet.base + NETJET_DMA_READ_IRQ))
76 if (s0val != cs->hw.njet.last_is0) /* we have a DMA interrupt */
80 cs->hw.njet.last_is0, s0val);
84 cs->hw
[all...]
H A Dsaphir.c70 return (readreg(cs->hw.saphir.ale, cs->hw.saphir.isac, offset));
76 writereg(cs->hw.saphir.ale, cs->hw.saphir.isac, offset, value);
82 readfifo(cs->hw.saphir.ale, cs->hw.saphir.isac, 0, data, size);
88 writefifo(cs->hw.saphir.ale, cs->hw.saphir.isac, 0, data, size);
94 return (readreg(cs->hw.saphir.ale, cs->hw
[all...]
H A Dhfcscard.c46 cs->hw.hfcD.timer.expires = jiffies + 75;
48 /* WriteReg(cs, HFCD_DATA, HFCD_CTMT, cs->hw.hfcD.ctmt | 0x80);
49 add_timer(&cs->hw.hfcD.timer);
57 del_timer(&cs->hw.hfcD.timer);
58 if (cs->hw.hfcD.addr)
59 release_region(cs->hw.hfcD.addr, 2);
66 cs->hw.hfcD.cirm = HFCD_RESET;
68 cs->hw.hfcD.cirm |= HFCD_MEM8K;
69 cs->BC_Write_Reg(cs, HFCD_DATA, HFCD_CIRM, cs->hw.hfcD.cirm); /* Reset On */
71 cs->hw
[all...]
/drivers/net/ethernet/intel/igb/
H A De1000_mac.c34 static s32 igb_set_default_fc(struct e1000_hw *hw);
35 static s32 igb_set_fc_watermarks(struct e1000_hw *hw);
39 * @hw: pointer to the HW structure
45 s32 igb_get_bus_info_pcie(struct e1000_hw *hw) argument
47 struct e1000_bus_info *bus = &hw->bus;
54 ret_val = igb_read_pcie_cap_reg(hw,
86 * @hw: pointer to the HW structure
91 void igb_clear_vfta(struct e1000_hw *hw) argument
103 * @hw: pointer to the HW structure
110 static void igb_write_vfta(struct e1000_hw *hw, u3 argument
128 igb_clear_vfta_i350(struct e1000_hw *hw) argument
150 igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) argument
169 igb_init_rx_addrs(struct e1000_hw *hw, u16 rar_count) argument
194 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add) argument
233 igb_check_alt_mac_addr(struct e1000_hw *hw) argument
302 igb_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) argument
339 igb_mta_set(struct e1000_hw *hw, u32 hash_value) argument
372 igb_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) argument
441 igb_update_mc_addr_list(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
473 igb_clear_hw_cntrs_base(struct e1000_hw *hw) argument
522 igb_check_for_copper_link(struct e1000_hw *hw) argument
593 igb_setup_link(struct e1000_hw *hw) argument
652 igb_config_collision_dist(struct e1000_hw *hw) argument
673 igb_set_fc_watermarks(struct e1000_hw *hw) argument
708 igb_set_default_fc(struct e1000_hw *hw) argument
758 igb_force_mac_fc(struct e1000_hw *hw) argument
821 igb_config_fc_after_link_up(struct e1000_hw *hw) argument
1151 igb_get_speed_and_duplex_copper(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1185 igb_get_hw_semaphore(struct e1000_hw *hw) argument
1238 igb_put_hw_semaphore(struct e1000_hw *hw) argument
1255 igb_get_auto_rd_done(struct e1000_hw *hw) argument
1286 igb_valid_led_default(struct e1000_hw *hw, u16 *data) argument
1316 igb_id_led_init(struct e1000_hw *hw) argument
1389 igb_cleanup_led(struct e1000_hw *hw) argument
1401 igb_blink_led(struct e1000_hw *hw) argument
1446 igb_led_off(struct e1000_hw *hw) argument
1470 igb_disable_pcie_master(struct e1000_hw *hw) argument
1508 igb_validate_mdi_setting(struct e1000_hw *hw) argument
1538 igb_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument
1572 igb_enable_mng_pass_thru(struct e1000_hw *hw) argument
[all...]
H A De1000_mbx.c28 * @hw: pointer to the HW structure
35 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
37 struct e1000_mbx_info *mbx = &hw->mbx;
45 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
52 * @hw: pointer to the HW structure
59 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
61 struct e1000_mbx_info *mbx = &hw->mbx;
68 ret_val = mbx->ops.write(hw, msg, size, mbx_id);
75 * @hw: pointer to the HW structure
80 s32 igb_check_for_msg(struct e1000_hw *hw, u1 argument
98 igb_check_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
116 igb_check_for_rst(struct e1000_hw *hw, u16 mbx_id) argument
134 igb_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) argument
163 igb_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
195 igb_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
222 igb_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
242 igb_check_for_bit_pf(struct e1000_hw *hw, u32 mask) argument
262 igb_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) argument
281 igb_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) argument
300 igb_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) argument
321 igb_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) argument
346 igb_write_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
387 igb_read_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
418 igb_init_mbx_params_pf(struct e1000_hw *hw) argument
[all...]
H A De1000_nvm.c31 * @hw: pointer to the HW structure
36 static void igb_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
41 udelay(hw->nvm.delay_usec);
46 * @hw: pointer to the HW structure
51 static void igb_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
56 udelay(hw->nvm.delay_usec);
61 * @hw: pointer to the HW structure
69 static void igb_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) argument
71 struct e1000_nvm_info *nvm = &hw->nvm;
90 igb_raise_eec_clk(hw,
111 igb_shift_in_eec_bits(struct e1000_hw *hw, u16 count) argument
146 igb_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) argument
177 igb_acquire_nvm(struct e1000_hw *hw) argument
211 igb_standby_nvm(struct e1000_hw *hw) argument
235 e1000_stop_nvm(struct e1000_hw *hw) argument
253 igb_release_nvm(struct e1000_hw *hw) argument
270 igb_ready_nvm_eeprom(struct e1000_hw *hw) argument
324 igb_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
384 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
429 igb_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
505 igb_read_part_string(struct e1000_hw *hw, u8 *part_num, u32 part_num_size) argument
615 igb_read_mac_addr(struct e1000_hw *hw) argument
643 igb_validate_nvm_checksum(struct e1000_hw *hw) argument
676 igb_update_nvm_checksum(struct e1000_hw *hw) argument
706 igb_get_fw_version(struct e1000_hw *hw, struct e1000_fw_version *fw_vers) argument
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_phy.h113 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw);
114 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw);
115 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw);
116 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
118 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr,
120 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr,
122 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr,
124 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw);
125 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw,
128 s32 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw,
[all...]
/drivers/net/wireless/rtlwifi/rtl8192c/
H A Dphy_common.h39 #define RT_CANNOT_IO(hw) false
188 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw,
190 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw,
192 u32 rtl92c_phy_query_rf_reg(struct ieee80211_hw *hw,
195 bool rtl92c_phy_mac_config(struct ieee80211_hw *hw);
196 bool rtl92c_phy_bb_config(struct ieee80211_hw *hw);
197 bool rtl92c_phy_rf_config(struct ieee80211_hw *hw);
198 bool rtl92c_phy_config_rf_with_feaderfile(struct ieee80211_hw *hw,
200 void rtl92c_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw);
201 void rtl92c_phy_get_txpower_level(struct ieee80211_hw *hw,
[all...]
H A Dphy_common.c38 u32 rtl92c_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask) argument
40 struct rtl_priv *rtlpriv = rtl_priv(hw);
57 void rtl92c_phy_set_bb_reg(struct ieee80211_hw *hw, argument
60 struct rtl_priv *rtlpriv = rtl_priv(hw);
81 u32 _rtl92c_phy_fw_rf_serial_read(struct ieee80211_hw *hw, argument
89 void _rtl92c_phy_fw_rf_serial_write(struct ieee80211_hw *hw, argument
97 u32 _rtl92c_phy_rf_serial_read(struct ieee80211_hw *hw, argument
100 struct rtl_priv *rtlpriv = rtl_priv(hw);
110 if (RT_CANNOT_IO(hw)) {
114 tmplong = rtl_get_bbreg(hw, RFPGA0_XA_HSSIPARAMETER
148 _rtl92c_phy_rf_serial_write(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data) argument
184 _rtl92c_phy_bb_config_1t(struct ieee80211_hw *hw) argument
198 rtl92c_phy_rf_config(struct ieee80211_hw *hw) argument
206 _rtl92c_phy_bb8192c_config_parafile(struct ieee80211_hw *hw) argument
246 _rtl92c_store_pwrIndex_diffrate_offset(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument
402 rtl92c_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw) argument
433 _rtl92c_phy_init_bb_rf_register_definition(struct ieee80211_hw *hw) argument
521 rtl92c_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel) argument
548 _rtl92c_get_txpower_index(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
573 _rtl92c_ccxpower_index_check(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
584 rtl92c_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) argument
602 rtl92c_phy_update_txpower_dbm(struct ieee80211_hw *hw, long power_indbm) argument
634 _rtl92c_phy_dbm_to_txpwr_idx(struct ieee80211_hw *hw, enum wireless_mode wirelessmode, long power_indbm) argument
666 _rtl92c_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw, enum wireless_mode wirelessmode, u8 txpwridx) argument
690 rtl92c_phy_set_bw_mode(struct ieee80211_hw *hw, enum nl80211_channel_type ch_type) argument
712 rtl92c_phy_sw_chnl_callback(struct ieee80211_hw *hw) argument
742 rtl92c_phy_sw_chnl(struct ieee80211_hw *hw) argument
771 _rtl92c_phy_sw_rf_seting(struct ieee80211_hw *hw, u8 channel) argument
814 _rtl92c_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay) argument
925 rtl8192_phy_check_is_legal_rfpath(struct ieee80211_hw *hw, u32 rfpath) argument
931 _rtl92c_phy_path_a_iqk(struct ieee80211_hw *hw, bool config_pathb) argument
974 _rtl92c_phy_path_b_iqk(struct ieee80211_hw *hw) argument
1001 _rtl92c_phy_path_a_fill_iqk_matrix(struct ieee80211_hw *hw, bool b_iqk_ok, long result[][8], u8 final_candidate, bool btxonly) argument
1041 _rtl92c_phy_path_b_fill_iqk_matrix(struct ieee80211_hw *hw, bool b_iqk_ok, long result[][8], u8 final_candidate, bool btxonly) argument
1081 _rtl92c_phy_save_adda_registers(struct ieee80211_hw *hw, u32 *addareg, u32 *addabackup, u32 registernum) argument
1091 _rtl92c_phy_save_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1102 _rtl92c_phy_reload_adda_registers(struct ieee80211_hw *hw, u32 *addareg, u32 *addabackup, u32 regiesternum) argument
1112 _rtl92c_phy_reload_mac_registers(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1123 _rtl92c_phy_path_adda_on(struct ieee80211_hw *hw, u32 *addareg, bool is_patha_on, bool is2t) argument
1141 _rtl92c_phy_mac_setting_calibration(struct ieee80211_hw *hw, u32 *macreg, u32 *macbackup) argument
1155 _rtl92c_phy_path_a_standby(struct ieee80211_hw *hw) argument
1162 _rtl92c_phy_pi_mode_switch(struct ieee80211_hw *hw, bool pi_mode) argument
1171 _rtl92c_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
1230 _rtl92c_phy_iq_calibrate(struct ieee80211_hw *hw, long result[][8], u8 t, bool is2t) argument
1355 _rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, char delta, bool is2t) argument
1360 _rtl92c_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain, bool is2t) argument
1387 rtl92c_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery) argument
1509 rtl92c_phy_lc_calibrate(struct ieee80211_hw *hw) argument
1521 rtl92c_phy_ap_calibrate(struct ieee80211_hw *hw, char delta) argument
1536 rtl92c_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain) argument
1547 rtl92c_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) argument
1586 rtl92c_phy_set_io(struct ieee80211_hw *hw) argument
1617 rtl92ce_phy_set_rf_on(struct ieee80211_hw *hw) argument
1630 _rtl92c_phy_set_rf_sleep(struct ieee80211_hw *hw) argument
[all...]
/drivers/net/ethernet/intel/e1000e/
H A D82571.c40 static s32 e1000_get_phy_id_82571(struct e1000_hw *hw);
41 static s32 e1000_setup_copper_link_82571(struct e1000_hw *hw);
42 static s32 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw);
43 static s32 e1000_check_for_serdes_link_82571(struct e1000_hw *hw);
44 static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
46 static s32 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw);
47 static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw);
48 static void e1000_clear_hw_cntrs_82571(struct e1000_hw *hw);
49 static bool e1000_check_mng_mode_82574(struct e1000_hw *hw);
50 static s32 e1000_led_on_82574(struct e1000_hw *hw);
63 e1000_init_phy_params_82571(struct e1000_hw *hw) argument
138 e1000_init_nvm_params_82571(struct e1000_hw *hw) argument
210 e1000_init_mac_params_82571(struct e1000_hw *hw) argument
333 struct e1000_hw *hw = &adapter->hw; local
406 e1000_get_phy_id_82571(struct e1000_hw *hw) argument
452 e1000_get_hw_semaphore_82571(struct e1000_hw *hw) argument
511 e1000_put_hw_semaphore_82571(struct e1000_hw *hw) argument
527 e1000_get_hw_semaphore_82573(struct e1000_hw *hw) argument
562 e1000_put_hw_semaphore_82573(struct e1000_hw *hw) argument
580 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) argument
598 e1000_put_hw_semaphore_82574(struct e1000_hw *hw) argument
616 e1000_set_d0_lplu_state_82574(struct e1000_hw *hw, bool active) argument
640 e1000_set_d3_lplu_state_82574(struct e1000_hw *hw, bool active) argument
665 e1000_acquire_nvm_82571(struct e1000_hw *hw) argument
693 e1000_release_nvm_82571(struct e1000_hw *hw) argument
711 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
742 e1000_update_nvm_checksum_82571(struct e1000_hw *hw) argument
801 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw) argument
823 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
864 e1000_get_cfg_done_82571(struct e1000_hw *hw) argument
893 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) argument
959 e1000_reset_hw_82571(struct e1000_hw *hw) argument
1082 e1000_init_hw_82571(struct e1000_hw *hw) argument
1160 e1000_initialize_hw_bits_82571(struct e1000_hw *hw) argument
1289 e1000_clear_vfta_82571(struct e1000_hw *hw) argument
1336 e1000_check_mng_mode_82574(struct e1000_hw *hw) argument
1350 e1000_led_on_82574(struct e1000_hw *hw) argument
1376 e1000_check_phy_82574(struct e1000_hw *hw) argument
1410 e1000_setup_link_82571(struct e1000_hw *hw) argument
1438 e1000_setup_copper_link_82571(struct e1000_hw *hw) argument
1473 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) argument
1512 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) argument
1667 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data) argument
1700 e1000e_get_laa_state_82571(struct e1000_hw *hw) argument
1715 e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state) argument
1744 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw) argument
1790 e1000_read_mac_addr_82571(struct e1000_hw *hw) argument
1814 e1000_power_down_phy_copper_82571(struct e1000_hw *hw) argument
1833 e1000_clear_hw_cntrs_82571(struct e1000_hw *hw) argument
[all...]
H A D82571.h49 bool e1000_check_phy_82574(struct e1000_hw *hw);
50 bool e1000e_get_laa_state_82571(struct e1000_hw *hw);
51 void e1000e_set_laa_state_82571(struct e1000_hw *hw, bool state);
/drivers/net/ethernet/intel/i40e/
H A Di40e_diag.c32 * @hw: pointer to the hw struct
36 static i40e_status i40e_diag_reg_pattern_test(struct i40e_hw *hw, argument
43 orig_val = rd32(hw, reg);
46 wr32(hw, reg, (pat & mask));
47 val = rd32(hw, reg);
49 i40e_debug(hw, I40E_DEBUG_DIAG,
56 wr32(hw, reg, orig_val);
57 val = rd32(hw, reg);
59 i40e_debug(hw, I40E_DEBUG_DIA
98 i40e_diag_reg_test(struct i40e_hw *hw) argument
138 i40e_diag_eeprom_test(struct i40e_hw *hw) argument
[all...]
/drivers/net/wireless/rtlwifi/rtl8723ae/
H A Dphy.c37 static void _rtl8723e_phy_fw_rf_serial_write(struct ieee80211_hw *hw,
40 static bool _rtl8723e_phy_bb8192c_config_parafile(struct ieee80211_hw *hw);
41 static bool _rtl8723e_phy_config_mac_with_headerfile(struct ieee80211_hw *hw);
42 static bool _rtl8723e_phy_config_bb_with_headerfile(struct ieee80211_hw *hw,
44 static bool _rtl8723e_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw,
46 static bool _rtl8723e_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw,
49 static u8 _rtl8723e_phy_dbm_to_txpwr_idx(struct ieee80211_hw *hw,
52 static void rtl8723e_phy_set_rf_on(struct ieee80211_hw *hw);
53 static void rtl8723e_phy_set_io(struct ieee80211_hw *hw);
55 u32 rtl8723e_phy_query_rf_reg(struct ieee80211_hw *hw, argument
87 rtl8723e_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, u32 regaddr, u32 bitmask, u32 data) argument
132 _rtl8723e_phy_fw_rf_serial_write(struct ieee80211_hw *hw, enum radio_path rfpath, u32 offset, u32 data) argument
139 _rtl8723e_phy_bb_config_1t(struct ieee80211_hw *hw) argument
153 rtl8723e_phy_mac_config(struct ieee80211_hw *hw) argument
161 rtl8723e_phy_bb_config(struct ieee80211_hw *hw) argument
200 rtl8723e_phy_rf_config(struct ieee80211_hw *hw) argument
205 _rtl8723e_phy_bb8192c_config_parafile(struct ieee80211_hw *hw) argument
246 _rtl8723e_phy_config_mac_with_headerfile(struct ieee80211_hw *hw) argument
264 _rtl8723e_phy_config_bb_with_headerfile(struct ieee80211_hw *hw, u8 configtype) argument
313 store_pwrindex_diffrate_offset(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, u32 data) argument
468 _rtl8723e_phy_config_bb_with_pgheaderfile(struct ieee80211_hw *hw, u8 configtype) argument
506 rtl8723e_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, enum radio_path rfpath) argument
553 rtl8723e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw) argument
584 rtl8723e_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel) argument
613 _rtl8723e_get_txpower_index(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
638 _rtl8723e_ccxpower_index_check(struct ieee80211_hw *hw, u8 channel, u8 *cckpowerlevel, u8 *ofdmpowerlevel) argument
650 rtl8723e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) argument
666 rtl8723e_phy_update_txpower_dbm(struct ieee80211_hw *hw, long power_indbm) argument
699 _rtl8723e_phy_dbm_to_txpwr_idx(struct ieee80211_hw *hw, enum wireless_mode wirelessmode, long power_indbm) argument
730 rtl8723e_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) argument
759 rtl8723e_phy_set_bw_mode_callback(struct ieee80211_hw *hw) argument
828 rtl8723e_phy_set_bw_mode(struct ieee80211_hw *hw, enum nl80211_channel_type ch_type) argument
849 rtl8723e_phy_sw_chnl_callback(struct ieee80211_hw *hw) argument
878 rtl8723e_phy_sw_chnl(struct ieee80211_hw *hw) argument
906 _rtl8723e_phy_sw_rf_seting(struct ieee80211_hw *hw, u8 channel) argument
927 _rtl8723e_phy_sw_chnl_step_by_step(struct ieee80211_hw *hw, u8 channel, u8 *stage, u8 *step, u32 *delay) argument
1038 _rtl8723e_phy_path_a_iqk(struct ieee80211_hw *hw, bool config_pathb) argument
1081 _rtl8723e_phy_path_b_iqk(struct ieee80211_hw *hw) argument
1108 _rtl8723e_phy_simularity_compare(struct ieee80211_hw *hw, long result[][8], u8 c1, u8 c2) argument
1160 _rtl8723e_phy_iq_calibrate(struct ieee80211_hw *hw, long result[][8], u8 t, bool is2t) argument
1288 _rtl8723e_phy_lc_calibrate(struct ieee80211_hw *hw, bool is2t) argument
1333 _rtl8723e_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain, bool is2t) argument
1362 rtl8723e_phy_iq_calibrate(struct ieee80211_hw *hw, bool b_recovery) argument
1469 rtl8723e_phy_lc_calibrate(struct ieee80211_hw *hw) argument
1474 rtl8723e_phy_set_rfpath_switch(struct ieee80211_hw *hw, bool bmain) argument
1479 rtl8723e_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) argument
1517 rtl8723e_phy_set_io(struct ieee80211_hw *hw) argument
1547 rtl8723e_phy_set_rf_on(struct ieee80211_hw *hw) argument
1559 _rtl8723e_phy_set_rf_sleep(struct ieee80211_hw *hw) argument
1589 _rtl8723e_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
1694 rtl8723e_phy_set_rf_power_state(struct ieee80211_hw *hw, enum rf_pwrstate rfpwr_state) argument
[all...]
/drivers/irqchip/
H A Dirq-metag-ext.c50 * @hw: Hardware IRQ number (within external trigger block)
54 static unsigned int meta_intc_offset(irq_hw_number_t hw) argument
56 return hw & 0x1f;
61 * @hw: Hardware IRQ number (within external trigger block)
65 static unsigned int meta_intc_bank(irq_hw_number_t hw) argument
67 return hw >> 5;
72 * @hw: Hardware IRQ number (within external trigger block)
77 static void __iomem *meta_intc_stat_addr(irq_hw_number_t hw) argument
80 HWSTAT_STRIDE * meta_intc_bank(hw));
85 * @hw
90 meta_intc_level_addr(irq_hw_number_t hw) argument
103 meta_intc_mask_addr(irq_hw_number_t hw) argument
116 meta_intc_vec_addr(irq_hw_number_t hw) argument
132 irq_hw_number_t hw = data->hwirq; local
157 irq_hw_number_t hw = data->hwirq; local
178 irq_hw_number_t hw = data->hwirq; local
200 irq_hw_number_t hw = data->hwirq; local
216 irq_hw_number_t hw = data->hwirq; local
267 irq_hw_number_t hw = data->hwirq; local
290 irq_hw_number_t hw = data->hwirq; local
313 irq_hw_number_t hw = data->hwirq; local
334 irq_hw_number_t hw = data->hwirq; local
375 irq_hw_number_t hw = data->hwirq; local
408 irq_hw_number_t hw = data->hwirq; local
453 irq_hw_number_t hw; local
507 irq_hw_number_t hw = data->hwirq; local
570 meta_intc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) argument
623 irq_hw_number_t hw; local
690 irq_hw_number_t hw; local
[all...]
/drivers/net/wireless/rtlwifi/rtl8723com/
H A Ddm_common.c33 void rtl8723_dm_init_dynamic_txpower(struct ieee80211_hw *hw) argument
35 struct rtl_priv *rtlpriv = rtl_priv(hw);
44 void rtl8723_dm_init_edca_turbo(struct ieee80211_hw *hw) argument
46 struct rtl_priv *rtlpriv = rtl_priv(hw);
53 void rtl8723_dm_init_dynamic_bb_powersaving(struct ieee80211_hw *hw) argument
55 struct rtl_priv *rtlpriv = rtl_priv(hw);
/drivers/sh/intc/
H A Dirqdomain.c45 struct intc_hw_desc *hw)
52 irq_base = evt2irq(hw->vectors[0].vect);
53 irq_end = evt2irq(hw->vectors[hw->nr_vectors - 1].vect);
61 if (irq_base == 0 && irq_end == (irq_base + hw->nr_vectors - 1))
62 d->domain = irq_domain_add_linear(NULL, hw->nr_vectors,
44 intc_irq_domain_init(struct intc_desc_int *d, struct intc_hw_desc *hw) argument
/drivers/net/ethernet/atheros/atlx/
H A Datl2.c87 struct atl2_hw *hw = &adapter->hw; local
91 hw->vendor_id = pdev->vendor;
92 hw->device_id = pdev->device;
93 hw->subsystem_vendor_id = pdev->subsystem_vendor;
94 hw->subsystem_id = pdev->subsystem_device;
95 hw->revision_id = pdev->revision;
97 pci_read_config_word(pdev, PCI_COMMAND, &hw->pci_cmd_word);
104 hw->phy_configured = false;
105 hw
137 struct atl2_hw *hw = &adapter->hw; local
187 struct atl2_hw *hw = &adapter->hw; local
606 struct atl2_hw *hw = &adapter->hw; local
926 struct atl2_hw *hw = &adapter->hw; local
1063 struct atl2_hw *hw = &adapter->hw; local
1131 struct atl2_hw *hw = &adapter->hw; local
1170 struct atl2_hw *hw = &adapter->hw; local
1519 struct atl2_hw *hw = &adapter->hw; local
1732 atl2_read_pci_cfg(struct atl2_hw *hw, u32 reg, u16 *value) argument
1738 atl2_write_pci_cfg(struct atl2_hw *hw, u32 reg, u16 *value) argument
1748 struct atl2_hw *hw = &adapter->hw; local
1784 struct atl2_hw *hw = &adapter->hw; local
1858 struct atl2_hw *hw = &adapter->hw; local
1926 struct atl2_hw *hw = &adapter->hw; local
1967 struct atl2_hw *hw = &adapter->hw; local
2118 atl2_reset_hw(struct atl2_hw *hw) argument
2179 atl2_spi_read(struct atl2_hw *hw, u32 addr, u32 *buf) argument
2225 get_permanent_address(struct atl2_hw *hw) argument
2328 atl2_read_mac_addr(struct atl2_hw *hw) argument
2359 atl2_hash_mc_addr(struct atl2_hw *hw, u8 *mc_addr) argument
2379 atl2_hash_set(struct atl2_hw *hw, u32 hash_value) argument
2405 atl2_init_pcie(struct atl2_hw *hw) argument
2415 atl2_init_flash_opcode(struct atl2_hw *hw) argument
2448 atl2_init_hw(struct atl2_hw *hw) argument
2473 atl2_get_speed_and_duplex(struct atl2_hw *hw, u16 *speed, u16 *duplex) argument
2511 atl2_read_phy_reg(struct atl2_hw *hw, u16 reg_addr, u16 *phy_data) argument
2546 atl2_write_phy_reg(struct atl2_hw *hw, u32 reg_addr, u16 phy_data) argument
2580 atl2_phy_setup_autoneg_adv(struct atl2_hw *hw) argument
2653 atl2_phy_commit(struct atl2_hw *hw) argument
2679 atl2_phy_init(struct atl2_hw *hw) argument
2724 atl2_set_mac_addr(struct atl2_hw *hw) argument
2745 atl2_check_eeprom_exist(struct atl2_hw *hw) argument
2759 atl2_write_eeprom(struct atl2_hw *hw, u32 offset, u32 value) argument
2764 atl2_read_eeprom(struct atl2_hw *hw, u32 Offset, u32 *pValue) argument
2790 atl2_force_ps(struct atl2_hw *hw) argument
[all...]
/drivers/staging/wlan-ng/
H A Dprism2usb.c65 hfa384x_t *hw = NULL; local
75 hw = wlandev->priv;
83 /* Initialize the hw data */
84 hfa384x_create(hw, dev);
85 hw->wlandev = wlandev;
94 result = hfa384x_corereset(hw,
127 kfree(hw);
146 hfa384x_t *hw = wlandev->priv; local
148 if (!hw)
151 spin_lock_irqsave(&hw
229 hfa384x_t *hw = NULL; local
252 hfa384x_t *hw = NULL; local
[all...]
/drivers/gpu/host1x/
H A DMakefile11 hw/host1x01.o \
12 hw/host1x02.o \
13 hw/host1x04.o
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_pci.c48 u16 fm10k_read_pci_cfg_word(struct fm10k_hw *hw, u32 reg) argument
50 struct fm10k_intfc *interface = hw->back;
53 if (FM10K_REMOVED(hw->hw_addr))
58 fm10k_write_flush(hw);
63 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg) argument
65 u32 __iomem *hw_addr = ACCESS_ONCE(hw->hw_addr);
73 struct fm10k_intfc *interface = hw->back;
76 hw->hw_addr = NULL;
86 struct fm10k_hw *hw = &interface->hw; local
142 struct fm10k_hw *hw = &interface->hw; local
208 struct fm10k_hw *hw = &interface->hw; local
230 struct fm10k_hw *hw = &interface->hw; local
318 struct fm10k_hw *hw = &interface->hw; local
512 struct fm10k_hw *hw = &interface->hw; local
567 struct fm10k_hw *hw = &interface->hw; local
616 struct fm10k_hw *hw = &interface->hw; local
691 struct fm10k_hw *hw = &interface->hw; local
721 struct fm10k_hw *hw = &interface->hw; local
824 struct fm10k_hw *hw = &interface->hw; local
905 struct fm10k_hw *hw = &interface->hw; local
930 struct fm10k_hw *hw = &interface->hw; local
970 struct fm10k_hw *hw = &interface->hw; local
1017 struct fm10k_hw *hw = &interface->hw; local
1044 fm10k_mbx_mac_addr(struct fm10k_hw *hw, u32 **results, struct fm10k_mbx_info *mbx) argument
1071 fm10k_1588_msg_vf(struct fm10k_hw *hw, u32 **results, struct fm10k_mbx_info *mbx) argument
1091 fm10k_mbx_error(struct fm10k_hw *hw, u32 **results, struct fm10k_mbx_info *mbx) argument
1118 struct fm10k_hw *hw = &interface->hw; local
1147 fm10k_lport_map(struct fm10k_hw *hw, u32 **results, struct fm10k_mbx_info *mbx) argument
1167 fm10k_update_pvid(struct fm10k_hw *hw, u32 **results, struct fm10k_mbx_info *mbx) argument
1208 fm10k_1588_msg_pf(struct fm10k_hw *hw, u32 **results, struct fm10k_mbx_info *mbx) argument
1285 struct fm10k_hw *hw = &interface->hw; local
1334 struct fm10k_hw *hw = &interface->hw; local
1359 struct fm10k_hw *hw = &interface->hw; local
1392 struct fm10k_hw *hw = &interface->hw; local
1465 struct fm10k_hw *hw = &interface->hw; local
1510 struct fm10k_hw *hw = &interface->hw; local
1560 struct fm10k_hw *hw = &interface->hw; local
1688 struct fm10k_hw *hw = &interface->hw; local
1721 struct fm10k_hw *hw; local
1927 struct fm10k_hw *hw = &interface->hw; local
2105 struct fm10k_hw *hw = &interface->hw; local
[all...]

Completed in 472 milliseconds

1234567891011>>