Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/intersil/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.h886 void *hw_priv; member
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dksz884x.c3470 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_chk_wol_pme_status() local
3471 struct pci_dev *pdev = hw_priv->pdev; in hw_chk_wol_pme_status()
3488 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_clr_wol_pme_status() local
3489 struct pci_dev *pdev = hw_priv->pdev; in hw_clr_wol_pme_status()
3510 struct dev_info *hw_priv = container_of(hw, struct dev_info, hw); in hw_cfg_wol_pme() local
3511 struct pci_dev *pdev = hw_priv->pdev; in hw_cfg_wol_pme()
4634 struct dev_info *hw_priv = priv->adapter; in send_packet() local
4635 struct ksz_hw *hw = &hw_priv->hw; in send_packet()
4662 dma_buf->dma = dma_map_single(&hw_priv->pdev->dev, skb->data, in send_packet()
4680 dma_buf->dma = dma_map_single(&hw_priv->pdev->dev, in send_packet()
[all …]
/kernel/linux/linux-5.10/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.c173 static void ath9k_iowrite32(void *hw_priv, u32 val, u32 reg_offset) in ath9k_iowrite32() argument
175 struct ath_hw *ah = hw_priv; in ath9k_iowrite32()
188 static unsigned int ath9k_ioread32(void *hw_priv, u32 reg_offset) in ath9k_ioread32() argument
190 struct ath_hw *ah = hw_priv; in ath9k_ioread32()
205 static void ath9k_multi_ioread32(void *hw_priv, u32 *addr, in ath9k_multi_ioread32() argument
211 val[i] = ath9k_ioread32(hw_priv, addr[i]); in ath9k_multi_ioread32()
228 static unsigned int ath9k_reg_rmw(void *hw_priv, u32 reg_offset, u32 set, u32 clr) in ath9k_reg_rmw() argument
230 struct ath_hw *ah = hw_priv; in ath9k_reg_rmw()
/kernel/linux/linux-5.10/net/ipv4/
Dudp_tunnel_nic.c25 u8 hw_priv; member
126 ti->hw_priv = entry->hw_priv; in udp_tunnel_nic_ti_from_entry()
182 dev->udp_tunnel_nic->entries[table][idx].hw_priv = priv; in __udp_tunnel_nic_set_port_priv()
/kernel/linux/linux-5.10/include/net/
Dudp_tunnel.h118 u8 hw_priv; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c1856 status = ice_destroy_tunnel(&pf->hw, ti->hw_priv, tnl_type, in ice_udp_tunnel_unset_port()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c12407 ret = i40e_aq_del_udp_tunnel(hw, ti->hw_priv, NULL); in i40e_udp_tunnel_unset_port()