Searched refs:hw (Results 201 - 225 of 708) sorted by relevance

1234567891011>>

/drivers/net/wireless/rtlwifi/rtl8192de/
H A Drf.c36 #include "hw.h"
38 void rtl92d_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, u8 bandwidth) argument
40 struct rtl_priv *rtlpriv = rtl_priv(hw);
49 rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(10) |
62 rtl_set_rfreg(hw, rfpath, RF_CHNLBW, BIT(10) | BIT(11),
76 void rtl92d_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, argument
79 struct rtl_priv *rtlpriv = rtl_priv(hw);
81 struct rtl_mac *mac = rtl_mac(rtl_priv(hw));
82 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw));
128 rtl_set_bbreg(hw, RTXAGC_A_CCK1_MCS3
149 _rtl92d_phy_get_power_base(struct ieee80211_hw *hw, u8 *ppowerlevel, u8 channel, u32 *ofdmbase, u32 *mcsbase) argument
214 _rtl92d_get_txpower_writeval_by_regulatory(struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) argument
332 _rtl92d_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *pvalue) argument
395 rtl92d_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, u8 *ppowerlevel, u8 channel) argument
411 rtl92d_phy_enable_anotherphy(struct ieee80211_hw *hw, bool bmac0) argument
442 rtl92d_phy_powerdown_anotherphy(struct ieee80211_hw *hw, bool bmac0) argument
466 rtl92d_phy_rf6052_config(struct ieee80211_hw *hw) argument
[all...]
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_ethtool.c154 struct ixgb_hw *hw = &adapter->hw; local
158 if (hw->fc.type == ixgb_fc_rx_pause)
160 else if (hw->fc.type == ixgb_fc_tx_pause)
162 else if (hw->fc.type == ixgb_fc_full) {
173 struct ixgb_hw *hw = &adapter->hw; local
179 hw->fc.type = ixgb_fc_full;
181 hw->fc.type = ixgb_fc_rx_pause;
183 hw
224 struct ixgb_hw *hw = &adapter->hw; local
371 struct ixgb_hw *hw = &adapter->hw; local
417 struct ixgb_hw *hw = &adapter->hw; local
[all...]
H A Dixgb_main.c183 IXGB_WRITE_REG(&adapter->hw, IMC, ~0);
184 IXGB_WRITE_FLUSH(&adapter->hw);
198 if (adapter->hw.subsystem_vendor_id == SUN_SUBVENDOR_ID)
200 IXGB_WRITE_REG(&adapter->hw, IMS, val);
201 IXGB_WRITE_FLUSH(&adapter->hw);
210 struct ixgb_hw *hw = &adapter->hw; local
214 ixgb_rar_set(hw, netdev->dev_addr, 0);
225 IXGB_WRITE_REG(&adapter->hw, IMC, 0xffffffff);
228 if (IXGB_READ_REG(&adapter->hw, STATU
310 struct ixgb_hw *hw = &adapter->hw; local
590 struct ixgb_hw *hw = &adapter->hw; local
752 struct ixgb_hw *hw = &adapter->hw; local
874 struct ixgb_hw *hw = &adapter->hw; local
1107 struct ixgb_hw *hw = &adapter->hw; local
1807 struct ixgb_hw *hw = &adapter->hw; local
[all...]
/drivers/video/matrox/
H A Dmatroxfb_Ti3026.c302 struct matrox_hw_state *hw = &minfo->hw; local
308 hw->DACclk[0] = pixin | 0xC0;
309 hw->DACclk[1] = pixfeed;
310 hw->DACclk[2] = pixpost | 0xB0;
338 hw->DACclk[3] = ((65 - loopin) & 0x3F) | 0xC0;
339 hw->DACclk[4] = (65 - loopfeed) | 0x80;
342 hw->DACreg[POS3026_XLATCHCTRL] = TVP3026B_XLATCHCTRL_8_3;
344 hw->DACclk[4] &= ~0xC0;
345 hw
371 struct matrox_hw_state *hw = &minfo->hw; local
561 struct matrox_hw_state *hw = &minfo->hw; local
689 struct matrox_hw_state *hw = &minfo->hw; local
[all...]
H A Dmatroxfb_misc.c196 struct matrox_hw_state * const hw = &minfo->hw; local
200 hw->SEQ[0] = 0x00;
201 hw->SEQ[1] = 0x01; /* or 0x09 */
202 hw->SEQ[2] = 0x0F; /* bitplanes */
203 hw->SEQ[3] = 0x00;
204 hw->SEQ[4] = 0x0E;
220 hw->GCTL[0] = 0x00;
221 hw->GCTL[1] = 0x00;
222 hw
340 struct matrox_hw_state * const hw = &minfo->hw; local
[all...]
/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c56 ath5k_tx(struct ieee80211_hw *hw, struct sk_buff *skb) argument
58 struct ath5k_hw *ah = hw->priv;
66 ath5k_tx_queue(hw, skb, &ah->txqs[qnum]);
71 ath5k_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
73 struct ath5k_hw *ah = hw->priv;
155 ath5k_remove_interface(struct ieee80211_hw *hw, argument
158 struct ath5k_hw *ah = hw->priv;
192 ath5k_config(struct ieee80211_hw *hw, u32 changed) argument
194 struct ath5k_hw *ah = hw->priv;
195 struct ieee80211_conf *conf = &hw
249 ath5k_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changes) argument
318 ath5k_prepare_multicast(struct ieee80211_hw *hw, struct netdev_hw_addr_list *mc_list) argument
366 ath5k_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *new_flags, u64 multicast) argument
479 ath5k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
542 ath5k_sw_scan_start(struct ieee80211_hw *hw) argument
551 ath5k_sw_scan_complete(struct ieee80211_hw *hw) argument
560 ath5k_get_stats(struct ieee80211_hw *hw, struct ieee80211_low_level_stats *stats) argument
578 ath5k_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue, const struct ieee80211_tx_queue_params *params) argument
617 ath5k_get_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
626 ath5k_set_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u64 tsf) argument
635 ath5k_reset_tsf(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
651 ath5k_get_survey(struct ieee80211_hw *hw, int idx, struct survey_info *survey) argument
698 ath5k_set_coverage_class(struct ieee80211_hw *hw, u8 coverage_class) argument
709 ath5k_set_antenna(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant) argument
726 ath5k_get_antenna(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant) argument
742 ath5k_get_ringparam(struct ieee80211_hw *hw, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) argument
754 ath5k_set_ringparam(struct ieee80211_hw *hw, u32 tx, u32 rx) argument
[all...]
/drivers/net/wireless/b43/
H A Drfkill.c36 void b43_rfkill_poll(struct ieee80211_hw *hw) argument
38 struct b43_wl *wl = hw_to_b43_wl(hw);
59 wiphy_rfkill_set_hw_state(hw->wiphy, !enabled);
/drivers/net/wan/
H A Dcycx_drv.c71 static int load_cyc2x(struct cycx_hw *hw, struct cycx_firmware *cfm, u32 len);
72 static void cycx_bootcfg(struct cycx_hw *hw);
137 int cycx_setup(struct cycx_hw *hw, void *cfm, u32 len, unsigned long dpmbase) argument
142 if (!get_option_index(cycx_2x_irq_options, hw->irq)) {
143 pr_err("IRQ %d is invalid!\n", hw->irq);
156 hw->dpmbase = ioremap(dpmbase, CYCX_WINDOWSIZE);
157 hw->dpmsize = CYCX_WINDOWSIZE;
159 if (!detect_cyc2x(hw->dpmbase)) {
168 err = load_cyc2x(hw, cfm, len);
171 cycx_down(hw); /* shutdow
177 cycx_down(struct cycx_hw *hw) argument
184 cycx_inten(struct cycx_hw *hw) argument
191 cycx_intr(struct cycx_hw *hw) argument
218 cycx_peek(struct cycx_hw *hw, u32 addr, void *buf, u32 len) argument
231 cycx_poke(struct cycx_hw *hw, u32 addr, void *buf, u32 len) argument
381 load_cyc2x(struct cycx_hw *hw, struct cycx_firmware *cfm, u32 len) argument
503 cycx_bootcfg(struct cycx_hw *hw) argument
[all...]
/drivers/ide/
H A Dide-pnp.c41 struct ide_hw hw, *hws[] = { &hw }; local
64 memset(&hw, 0, sizeof(hw));
65 ide_std_init_ports(&hw, base, ctl);
66 hw.irq = pnp_irq(dev, 0);
H A Dbuddha.c121 static void __init buddha_setup_ports(struct ide_hw *hw, unsigned long base, argument
126 memset(hw, 0, sizeof(*hw));
128 hw->io_ports.data_addr = base;
131 hw->io_ports_array[i] = base + 2 + i * 4;
133 hw->io_ports.ctl_addr = ctl;
134 hw->io_ports.irq_addr = irq_port;
136 hw->irq = IRQ_AMIGA_PORTS;
168 struct ide_hw hw[MAX_NUM_HWIFS], *hws[MAX_NUM_HWIFS]; local
225 buddha_setup_ports(&hw[
[all...]
H A Dgayle.c79 static void __init gayle_setup_ports(struct ide_hw *hw, unsigned long base, argument
84 memset(hw, 0, sizeof(*hw));
86 hw->io_ports.data_addr = base;
89 hw->io_ports_array[i] = base + 2 + i * 4;
91 hw->io_ports.ctl_addr = ctl;
92 hw->io_ports.irq_addr = irq_port;
94 hw->irq = IRQ_AMIGA_PORTS;
124 struct ide_hw hw[GAYLE_NUM_HWIFS], *hws[GAYLE_NUM_HWIFS]; local
152 gayle_setup_ports(&hw[
[all...]
H A Dide_platform.c25 static void __devinit plat_ide_setup_ports(struct ide_hw *hw, argument
34 hw->io_ports.data_addr = port;
39 hw->io_ports_array[i] = port;
41 hw->io_ports.ctl_addr = (unsigned long)ctrl;
43 hw->irq = irq;
58 struct ide_hw hw, *hws[] = { &hw }; local
95 memset(&hw, 0, sizeof(hw));
96 plat_ide_setup_ports(&hw, bas
[all...]
/drivers/isdn/hisax/
H A Dhfc_2bds0.c40 if (cs->hw.hfcD.cip != reg) {
41 cs->hw.hfcD.cip = reg;
42 byteout(cs->hw.hfcD.addr | 1, reg);
44 ret = bytein(cs->hw.hfcD.addr);
50 ret = bytein(cs->hw.hfcD.addr | 1);
57 if (cs->hw.hfcD.cip != reg) {
58 cs->hw.hfcD.cip = reg;
59 byteout(cs->hw.hfcD.addr | 1, reg);
62 byteout(cs->hw.hfcD.addr, value);
116 if (cs->hw
[all...]
H A Dgazel.c112 return (readreg(cs->hw.gazel.isac, off2));
115 return (readreg_ipac(cs->hw.gazel.ipac, 0x80 + off2));
129 writereg(cs->hw.gazel.isac, off2, value);
133 writereg_ipac(cs->hw.gazel.ipac, 0x80 + off2, value);
144 read_fifo(cs->hw.gazel.isacfifo, data, size);
148 read_fifo_ipac(cs->hw.gazel.ipac, 0x80, data, size);
159 write_fifo(cs->hw.gazel.isacfifo, data, size);
163 write_fifo_ipac(cs->hw.gazel.ipac, 0x80, data, size);
174 read_fifo(cs->hw.gazel.hscxfifo[hscx], data, size);
178 read_fifo_ipac(cs->hw
[all...]
/drivers/net/fddi/skfp/
H A Ddrvfbi.c73 #define OEMID(smc,i) smc->hw.oem_id->oi_id[i]
136 smc->hw.hw_is_64bit = TRUE ;
138 smc->hw.hw_is_64bit = FALSE ;
144 if (!smc->hw.hw_is_64bit) {
157 smc->hw.is_imask = ISR_MASK ;
158 smc->hw.hw_state = STOPPED ;
166 smc->hw.mac_ring_is_up = 0 ; /* ring down */
181 smc->hw.hw_state = STOPPED ;
260 smc->hw.t_stop = smc->hw
[all...]
/drivers/net/wireless/rtlwifi/rtl8192c/
H A Dfw_common.h90 int rtl92c_download_fw(struct ieee80211_hw *hw);
91 void rtl92c_fill_h2c_cmd(struct ieee80211_hw *hw, u8 element_id,
93 void rtl92c_firmware_selfreset(struct ieee80211_hw *hw);
94 void rtl92c_set_fw_pwrmode_cmd(struct ieee80211_hw *hw, u8 mode);
95 void rtl92c_set_fw_rsvdpagepkt(struct ieee80211_hw *hw, bool b_dl_finished);
96 void rtl92c_set_fw_joinbss_report_cmd(struct ieee80211_hw *hw, u8 mstatus);
/drivers/clk/
H A Dclk-gate.c29 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
63 static int clk_gate_enable(struct clk_hw *hw) argument
65 struct clk_gate *gate = to_clk_gate(hw);
76 static void clk_gate_disable(struct clk_hw *hw) argument
78 struct clk_gate *gate = to_clk_gate(hw);
87 static int clk_gate_is_enabled(struct clk_hw *hw) argument
90 struct clk_gate *gate = to_clk_gate(hw);
139 &clk_gate_ops, &gate->hw,
/drivers/net/wireless/rtlwifi/
H A Ddebug.c33 void rtl_dbgp_flag_init(struct ieee80211_hw *hw) argument
35 struct rtl_priv *rtlpriv = rtl_priv(hw);
/drivers/staging/vt6655/
H A Dtmacro.h57 #define MAKEDWORD(lw, hw) ((unsigned long)(((unsigned short)(lw)) | (((unsigned long)((unsigned short)(hw))) << 16)))
/drivers/staging/vt6656/
H A Dtmacro.h57 #define MAKEDWORD(lw, hw) ((DWORD)(((WORD)(lw)) | (((DWORD)((WORD)(hw))) << 16)))
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c151 static void e1000_regdump(struct e1000_hw *hw, struct e1000_reg_info *reginfo) argument
160 regs[n] = __er32(hw, E1000_RXDCTL(n));
164 regs[n] = __er32(hw, E1000_TXDCTL(n));
168 regs[n] = __er32(hw, E1000_TARC(n));
172 reginfo->name, __er32(hw, reginfo->ofs));
186 struct e1000_hw *hw = &adapter->hw; local
224 e1000_regdump(hw, reginfo);
531 * @hw: pointer to the HW structure
543 static inline s32 e1000e_update_tail_wa(struct e1000_hw *hw, voi argument
563 struct e1000_hw *hw = &adapter->hw; local
576 struct e1000_hw *hw = &adapter->hw; local
857 struct e1000_hw *hw = &adapter->hw; local
1034 struct e1000_hw *hw = &adapter->hw; local
1111 struct e1000_hw *hw = &adapter->hw; local
1204 struct e1000_hw *hw = &adapter->hw; local
1656 struct e1000_hw *hw = &adapter->hw; local
1710 struct e1000_hw *hw = &adapter->hw; local
1772 struct e1000_hw *hw = &adapter->hw; local
1805 struct e1000_hw *hw = &adapter->hw; local
1850 struct e1000_hw *hw = &adapter->hw; local
2094 struct e1000_hw *hw = &adapter->hw; local
2115 struct e1000_hw *hw = &adapter->hw; local
2137 struct e1000_hw *hw = &adapter->hw; local
2163 struct e1000_hw *hw = &adapter->hw; local
2418 struct e1000_hw *hw = &adapter->hw; local
2525 struct e1000_hw *hw = &adapter->hw; local
2562 struct e1000_hw *hw = &adapter->hw; local
2587 struct e1000_hw *hw = &adapter->hw; local
2618 struct e1000_hw *hw = &adapter->hw; local
2640 struct e1000_hw *hw = &adapter->hw; local
2658 struct e1000_hw *hw = &adapter->hw; local
2673 struct e1000_hw *hw = &adapter->hw; local
2710 struct e1000_hw *hw = &adapter->hw; local
2780 struct e1000_hw *hw = &adapter->hw; local
2863 struct e1000_hw *hw = &adapter->hw; local
3027 struct e1000_hw *hw = &adapter->hw; local
3145 struct e1000_hw *hw = &adapter->hw; local
3183 struct e1000_hw *hw = &adapter->hw; local
3235 struct e1000_hw *hw = &adapter->hw; local
3284 struct e1000_hw *hw = &adapter->hw; local
3384 struct e1000_hw *hw = &adapter->hw; local
3567 struct e1000_hw *hw = &adapter->hw; local
3591 struct e1000_hw *hw = &adapter->hw; local
3619 struct e1000_hw *hw = &adapter->hw; local
3724 struct e1000_hw *hw = &adapter->hw; local
3745 struct e1000_hw *hw = &adapter->hw; local
3846 struct e1000_hw *hw = &adapter->hw; local
4088 struct e1000_hw *hw = &adapter->hw; local
4165 struct e1000_hw *hw = &adapter->hw; local
4272 struct e1000_hw *hw = &adapter->hw; local
4310 struct e1000_hw *hw = &adapter->hw; local
4325 struct e1000_hw *hw = &adapter->hw; local
4371 struct e1000_hw *hw = &adapter->hw; local
4380 struct e1000_hw *hw = &adapter->hw; local
4419 struct e1000_hw *hw = &adapter->hw; local
4945 struct e1000_hw *hw = &adapter->hw; local
5371 struct e1000_hw *hw = &adapter->hw; local
5443 struct e1000_hw *hw = &adapter->hw; local
5631 struct e1000_hw *hw = &adapter->hw; local
5890 struct e1000_hw *hw = &adapter->hw; local
5962 struct e1000_hw *hw = &adapter->hw; local
5986 struct e1000_hw *hw = &adapter->hw; local
6076 struct e1000_hw *hw; local
[all...]
/drivers/video/
H A Datafb.c154 } hw; member in struct:atafb_par
163 #define HHT hw.falcon.hht
164 #define HBB hw.falcon.hbb
165 #define HBE hw.falcon.hbe
166 #define HDB hw.falcon.hdb
167 #define HDE hw.falcon.hde
168 #define HSS hw.falcon.hss
169 #define VFT hw.falcon.vft
170 #define VBB hw.falcon.vbb
171 #define VBE hw
881 hxx_prescale(struct falcon_hw *hw) argument
1399 struct falcon_hw *hw = &par->hw.falcon; local
1561 struct falcon_hw *hw = &par->hw.falcon; local
1619 struct falcon_hw *hw = &f_new_mode; local
[all...]
/drivers/staging/wlan-ng/
H A Dprism2mib.c91 hfa384x_t *hw,
98 hfa384x_t *hw,
105 hfa384x_t *hw,
111 hfa384x_t *hw,
117 hfa384x_t *hw,
124 hfa384x_t *hw,
131 hfa384x_t *hw,
138 hfa384x_t *hw,
145 hfa384x_t *hw,
262 hfa384x_t *hw local
374 prism2mib_bytearea2pstr(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
424 prism2mib_uint32(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
471 prism2mib_flag(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
528 prism2mib_wepdefaultkey(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
578 prism2mib_privacyinvoked(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
624 prism2mib_excludeunencrypted(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
663 prism2mib_fragmentationthreshold(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
712 prism2mib_priv(struct mibrec *mib, int isget, wlandevice_t *wlandev, hfa384x_t *hw, struct p80211msg_dot11req_mibset *msg, void *data) argument
[all...]
/drivers/net/wireless/p54/
H A Dled.c60 wiphy_err(priv->hw->wiphy,
64 ieee80211_queue_delayed_work(priv->hw, &priv->led_work,
81 ieee80211_queue_delayed_work(priv->hw, &priv->led_work, HZ/10);
96 wiphy_name(priv->hw->wiphy), name);
97 led->hw_dev = priv->hw;
103 err = led_classdev_register(wiphy_dev(priv->hw->wiphy), &led->led_dev);
105 wiphy_err(priv->hw->wiphy,
126 ieee80211_get_assoc_led_name(priv->hw));
131 ieee80211_get_tx_led_name(priv->hw));
136 ieee80211_get_rx_led_name(priv->hw));
[all...]
/drivers/net/wireless/orinoco/
H A Dmain.c96 #include "hw.h"
440 struct hermes *hw = &priv->hw; local
495 err = hw->ops->bap_pwrite(hw, USER_BAP, &desc, sizeof(desc),
509 err = hw->ops->bap_pwrite(hw, USER_BAP, &desc, sizeof(desc),
521 hermes_clear_words(hw, HERMES_DATA0,
525 err = hw->ops->bap_pwrite(hw, USER_BA
582 __orinoco_ev_alloc(struct net_device *dev, struct hermes *hw) argument
597 __orinoco_ev_tx(struct net_device *dev, struct hermes *hw) argument
609 __orinoco_ev_txexc(struct net_device *dev, struct hermes *hw) argument
669 struct hermes *hw = &priv->hw; local
756 struct hermes *hw = &priv->hw; local
843 __orinoco_ev_rx(struct net_device *dev, struct hermes *hw) argument
1165 struct hermes *hw = &priv->hw; local
1240 struct hermes *hw = &priv->hw; local
1258 struct hermes *hw = &priv->hw; local
1288 struct hermes *hw = &priv->hw; local
1411 __orinoco_ev_info(struct net_device *dev, struct hermes *hw) argument
1629 __orinoco_ev_infdrop(struct net_device *dev, struct hermes *hw) argument
1642 struct hermes *hw = &priv->hw; local
1671 struct hermes *hw = &priv->hw; local
1703 struct hermes *hw = &priv->hw; local
1748 struct hermes *hw = &priv->hw; local
1840 struct hermes *hw = &priv->hw; local
1883 __orinoco_ev_tick(struct net_device *dev, struct hermes *hw) argument
1888 __orinoco_ev_wterr(struct net_device *dev, struct hermes *hw) argument
1900 struct hermes *hw = &priv->hw; local
2038 struct hermes *hw = &priv->hw; local
[all...]

Completed in 501 milliseconds

1234567891011>>