Home
last modified time | relevance | path

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

/drivers/net/wireless/hostap/
Dhostap_pci.c59 struct hostap_pci_priv *hw_priv; in hfa384x_outb_debug() local
65 hw_priv = local->hw_priv; in hfa384x_outb_debug()
69 writeb(v, hw_priv->mem_start + a); in hfa384x_outb_debug()
76 struct hostap_pci_priv *hw_priv; in hfa384x_inb_debug() local
83 hw_priv = local->hw_priv; in hfa384x_inb_debug()
86 v = readb(hw_priv->mem_start + a); in hfa384x_inb_debug()
95 struct hostap_pci_priv *hw_priv; in hfa384x_outw_debug() local
101 hw_priv = local->hw_priv; in hfa384x_outw_debug()
105 writew(v, hw_priv->mem_start + a); in hfa384x_outw_debug()
112 struct hostap_pci_priv *hw_priv; in hfa384x_inw_debug() local
[all …]
Dhostap_cs.c207 struct hostap_cs_priv *hw_priv = local->hw_priv; in prism2_pccard_card_present() local
208 if (hw_priv != NULL && hw_priv->link != NULL && pcmcia_dev_present(hw_priv->link)) in prism2_pccard_card_present()
226 struct hostap_cs_priv *hw_priv = local->hw_priv; in sandisk_set_iobase() local
228 res = pcmcia_write_config_byte(hw_priv->link, 0x10, in sandisk_set_iobase()
229 hw_priv->link->resource[0]->start & 0x00ff); in sandisk_set_iobase()
236 res = pcmcia_write_config_byte(hw_priv->link, 0x12, in sandisk_set_iobase()
237 (hw_priv->link->resource[0]->start >> 8) & 0x00ff); in sandisk_set_iobase()
265 struct hostap_cs_priv *hw_priv = local->hw_priv; in sandisk_enable_wireless() local
267 if (resource_size(hw_priv->link->resource[0]) < 0x42) { in sandisk_enable_wireless()
273 if (hw_priv->link->manf_id != 0xd601 || hw_priv->link->card_id != 0x0101) { in sandisk_enable_wireless()
[all …]
Dhostap_plx.c270 struct hostap_plx_priv *hw_priv = local->hw_priv; in prism2_plx_cor_sreset() local
277 if (hw_priv->attr_mem == NULL) { in prism2_plx_cor_sreset()
279 corsave = inb(hw_priv->cor_offset); in prism2_plx_cor_sreset()
280 outb(corsave | COR_SRESET, hw_priv->cor_offset); in prism2_plx_cor_sreset()
282 outb(corsave & ~COR_SRESET, hw_priv->cor_offset); in prism2_plx_cor_sreset()
286 corsave = readb(hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()
288 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()
291 hw_priv->attr_mem + hw_priv->cor_offset); in prism2_plx_cor_sreset()
300 struct hostap_plx_priv *hw_priv = local->hw_priv; in prism2_plx_genesis_reset() local
302 if (hw_priv->attr_mem == NULL) { in prism2_plx_genesis_reset()
[all …]
Dhostap_wlan.h883 void *hw_priv; member
/drivers/net/ethernet/micrel/
Dksz884x.c3485 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_chk_wol_pme_status() local
3486 struct pci_dev *pdev = hw_priv->pdev; in hw_chk_wol_pme_status()
3503 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_clr_wol_pme_status() local
3504 struct pci_dev *pdev = hw_priv->pdev; in hw_clr_wol_pme_status()
3525 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_cfg_wol_pme() local
3526 struct pci_dev *pdev = hw_priv->pdev; in hw_cfg_wol_pme()
4652 struct dev_info *hw_priv = priv->adapter; in send_packet() local
4653 struct ksz_hw *hw = &hw_priv->hw; in send_packet()
4681 hw_priv->pdev, skb->data, dma_buf->len, in send_packet()
4700 hw_priv->pdev, in send_packet()
[all …]
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_init.c293 static unsigned int ath9k_regread(void *hw_priv, u32 reg_offset) in ath9k_regread() argument
295 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regread()
314 static void ath9k_multi_regread(void *hw_priv, u32 *addr, in ath9k_multi_regread() argument
317 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_multi_regread()
342 static void ath9k_regwrite_single(void *hw_priv, u32 val, u32 reg_offset) in ath9k_regwrite_single() argument
344 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite_single()
363 static void ath9k_regwrite_buffer(void *hw_priv, u32 val, u32 reg_offset) in ath9k_regwrite_buffer() argument
365 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite_buffer()
399 static void ath9k_regwrite(void *hw_priv, u32 val, u32 reg_offset) in ath9k_regwrite() argument
401 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_regwrite()
[all …]
Dinit.c181 static void ath9k_iowrite32(void *hw_priv, u32 val, u32 reg_offset) in ath9k_iowrite32() argument
183 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_iowrite32()
196 static unsigned int ath9k_ioread32(void *hw_priv, u32 reg_offset) in ath9k_ioread32() argument
198 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_ioread32()
226 static unsigned int ath9k_reg_rmw(void *hw_priv, u32 reg_offset, u32 set, u32 clr) in ath9k_reg_rmw() argument
228 struct ath_hw *ah = (struct ath_hw *) hw_priv; in ath9k_reg_rmw()
/drivers/net/wireless/ath/ath5k/
Dbase.c222 static unsigned int ath5k_ioread32(void *hw_priv, u32 reg_offset) in ath5k_ioread32() argument
224 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_ioread32()
228 static void ath5k_iowrite32(void *hw_priv, u32 val, u32 reg_offset) in ath5k_iowrite32() argument
230 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_iowrite32()