Home
last modified time | relevance | path

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

/drivers/net/wireless/intersil/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.h886 void *hw_priv; member
/drivers/net/ethernet/micrel/
Dksz884x.c3395 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_chk_wol_pme_status() local
3396 struct pci_dev *pdev = hw_priv->pdev; in hw_chk_wol_pme_status()
3413 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_clr_wol_pme_status() local
3414 struct pci_dev *pdev = hw_priv->pdev; in hw_clr_wol_pme_status()
3435 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_cfg_wol_pme() local
3436 struct pci_dev *pdev = hw_priv->pdev; in hw_cfg_wol_pme()
4559 struct dev_info *hw_priv = priv->adapter; in send_packet() local
4560 struct ksz_hw *hw = &hw_priv->hw; in send_packet()
4587 dma_buf->dma = dma_map_single(&hw_priv->pdev->dev, skb->data, in send_packet()
4605 dma_buf->dma = dma_map_single(&hw_priv->pdev->dev, in send_packet()
[all …]
/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 = 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 = 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 = 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 = 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 = hw_priv; in ath9k_regwrite()
[all …]
Dinit.c172 static void ath9k_iowrite32(void *hw_priv, u32 val, u32 reg_offset) in ath9k_iowrite32() argument
174 struct ath_hw *ah = hw_priv; in ath9k_iowrite32()
187 static unsigned int ath9k_ioread32(void *hw_priv, u32 reg_offset) in ath9k_ioread32() argument
189 struct ath_hw *ah = hw_priv; in ath9k_ioread32()
204 static void ath9k_multi_ioread32(void *hw_priv, u32 *addr, in ath9k_multi_ioread32() argument
210 val[i] = ath9k_ioread32(hw_priv, addr[i]); in ath9k_multi_ioread32()
227 static unsigned int ath9k_reg_rmw(void *hw_priv, u32 reg_offset, u32 set, u32 clr) in ath9k_reg_rmw() argument
229 struct ath_hw *ah = hw_priv; in ath9k_reg_rmw()
/drivers/scsi/elx/efct/
Defct_unsol.c374 io->hw_priv = seq->hw_priv; in efct_dispatch_fcp_cmd()
472 io->hw_priv = seq->hw_priv; in efct_node_recv_abts_frame()
Defct_io.h116 void *hw_priv; member
Defct_scsi.c286 hio->eq = io->hw_priv; in efct_scsi_io_dispatch_hw_io()
423 hio->eq = io->hw_priv; in efct_scsi_dispatch_pending()
Defct_hw_queues.c594 seq->hw_priv = cq->eq; in efct_hw_rqpair_process_rq()
/drivers/scsi/elx/libefc/
Defclib.h439 void *hw_priv; member
/drivers/net/wireless/ath/ath5k/
Dbase.c231 static unsigned int ath5k_ioread32(void *hw_priv, u32 reg_offset) in ath5k_ioread32() argument
233 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_ioread32()
237 static void ath5k_iowrite32(void *hw_priv, u32 val, u32 reg_offset) in ath5k_iowrite32() argument
239 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_iowrite32()
/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c1855 status = ice_destroy_tunnel(&pf->hw, ti->hw_priv, tnl_type, in ice_udp_tunnel_unset_port()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c13026 ret = i40e_aq_del_udp_tunnel(hw, ti->hw_priv, NULL); in i40e_udp_tunnel_unset_port()