Home
last modified time | relevance | path

Searched refs:hw_priv (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap_pci.c58 struct hostap_pci_priv *hw_priv; in hfa384x_outb_debug() local
64 hw_priv = local->hw_priv; in hfa384x_outb_debug()
68 writeb(v, hw_priv->mem_start + a); in hfa384x_outb_debug()
75 struct hostap_pci_priv *hw_priv; in hfa384x_inb_debug() local
82 hw_priv = local->hw_priv; in hfa384x_inb_debug()
85 v = readb(hw_priv->mem_start + a); in hfa384x_inb_debug()
94 struct hostap_pci_priv *hw_priv; in hfa384x_outw_debug() local
100 hw_priv = local->hw_priv; in hfa384x_outw_debug()
104 writew(v, hw_priv->mem_start + a); in hfa384x_outw_debug()
111 struct hostap_pci_priv *hw_priv; in hfa384x_inw_debug() local
[all …]
Dhostap_cs.c206 struct hostap_cs_priv *hw_priv = local->hw_priv; in prism2_pccard_card_present() local
207 if (hw_priv != NULL && hw_priv->link != NULL && pcmcia_dev_present(hw_priv->link)) in prism2_pccard_card_present()
225 struct hostap_cs_priv *hw_priv = local->hw_priv; in sandisk_set_iobase() local
227 res = pcmcia_write_config_byte(hw_priv->link, 0x10, in sandisk_set_iobase()
228 hw_priv->link->resource[0]->start & 0x00ff); in sandisk_set_iobase()
235 res = pcmcia_write_config_byte(hw_priv->link, 0x12, in sandisk_set_iobase()
236 (hw_priv->link->resource[0]->start >> 8) & 0x00ff); in sandisk_set_iobase()
264 struct hostap_cs_priv *hw_priv = local->hw_priv; in sandisk_enable_wireless() local
266 if (resource_size(hw_priv->link->resource[0]) < 0x42) { in sandisk_enable_wireless()
272 if (hw_priv->link->manf_id != 0xd601 || hw_priv->link->card_id != 0x0101) { in sandisk_enable_wireless()
[all …]
Dhostap_plx.c269 struct hostap_plx_priv *hw_priv = local->hw_priv; in prism2_plx_cor_sreset() local
276 if (hw_priv->attr_mem == NULL) { in prism2_plx_cor_sreset()
278 corsave = inb(hw_priv->cor_offset); in prism2_plx_cor_sreset()
279 outb(corsave | COR_SRESET, hw_priv->cor_offset); in prism2_plx_cor_sreset()
281 outb(corsave & ~COR_SRESET, hw_priv->cor_offset); in prism2_plx_cor_sreset()
285 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()
287 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()
290 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()
299 struct hostap_plx_priv *hw_priv = local->hw_priv; in prism2_plx_genesis_reset() local
301 if (hw_priv->attr_mem == NULL) { in prism2_plx_genesis_reset()
[all …]
Dhostap_wlan.h884 void *hw_priv; member
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c3479 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_chk_wol_pme_status() local
3480 struct pci_dev *pdev = hw_priv->pdev; in hw_chk_wol_pme_status()
3497 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_clr_wol_pme_status() local
3498 struct pci_dev *pdev = hw_priv->pdev; in hw_clr_wol_pme_status()
3519 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_cfg_wol_pme() local
3520 struct pci_dev *pdev = hw_priv->pdev; in hw_cfg_wol_pme()
4643 struct dev_info *hw_priv = priv->adapter; in send_packet() local
4644 struct ksz_hw *hw = &hw_priv->hw; in send_packet()
4672 hw_priv->pdev, skb->data, dma_buf->len, in send_packet()
4691 hw_priv->pdev, in send_packet()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dhtc_drv_init.c234 static unsigned int ath9k_regread(void *hw_priv, u32 reg_offset) in ath9k_regread() argument
236 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regread()
255 static void ath9k_multi_regread(void *hw_priv, u32 *addr, in ath9k_multi_regread() argument
258 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_multi_regread()
302 static void ath9k_regwrite_single(void *hw_priv, u32 val, u32 reg_offset) in ath9k_regwrite_single() argument
304 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite_single()
323 static void ath9k_regwrite_buffer(void *hw_priv, u32 val, u32 reg_offset) in ath9k_regwrite_buffer() argument
325 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite_buffer()
346 static void ath9k_regwrite(void *hw_priv, u32 val, u32 reg_offset) in ath9k_regwrite() argument
348 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite()
[all …]
Dinit.c116 static void ath9k_iowrite32(void *hw_priv, u32 val, u32 reg_offset) in ath9k_iowrite32() argument
118 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_iowrite32()
131 static unsigned int ath9k_ioread32(void *hw_priv, u32 reg_offset) in ath9k_ioread32() argument
133 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_ioread32()
148 static void ath9k_multi_ioread32(void *hw_priv, u32 *addr, in ath9k_multi_ioread32() argument
154 val[i] = ath9k_ioread32(hw_priv, addr[i]); in ath9k_multi_ioread32()
171 static unsigned int ath9k_reg_rmw(void *hw_priv, u32 reg_offset, u32 set, u32 clr) in ath9k_reg_rmw() argument
173 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_reg_rmw()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dbase.c232 static unsigned int ath5k_ioread32(void *hw_priv, u32 reg_offset) in ath5k_ioread32() argument
234 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_ioread32()
238 static void ath5k_iowrite32(void *hw_priv, u32 val, u32 reg_offset) in ath5k_iowrite32() argument
240 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_iowrite32()