Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c234 #define EMAC_RRD(RXQ, SIZE, IDX) ((RXQ)->rrd.v_addr + (SIZE * (IDX)))
235 #define EMAC_RFD(RXQ, SIZE, IDX) ((RXQ)->rfd.v_addr + (SIZE * (IDX)))
236 #define EMAC_TPD(TXQ, SIZE, IDX) ((TXQ)->tpd.v_addr + (SIZE * (IDX)))
614 memset(tx_q->tpd.v_addr, 0, tx_q->tpd.size); in emac_tx_q_descs_free()
650 memset(rx_q->rrd.v_addr, 0, rx_q->rrd.size); in emac_rx_q_free_descs()
654 memset(rx_q->rfd.v_addr, 0, rx_q->rfd.size); in emac_rx_q_free_descs()
668 tx_q->tpd.v_addr = NULL; in emac_tx_q_bufs_free()
688 tx_q->tpd.v_addr = ring_header->v_addr + ring_header->used; in emac_tx_q_desc_alloc()
706 rx_q->rfd.v_addr = NULL; in emac_rx_q_bufs_free()
710 rx_q->rrd.v_addr = NULL; in emac_rx_q_bufs_free()
[all …]
Demac-mac.h134 void *v_addr; /* virtual address */ member
152 u32 *v_addr; /* virtual address */ member
163 u32 *v_addr; /* virtual address */ member
196 u32 *v_addr; /* virtual address */ member
/linux-6.6.21/drivers/net/fddi/skfp/
Dskfddi.c1688 unsigned char *v_addr; in mac_drv_requeue_rxd() local
1711 v_addr = skb->data; in mac_drv_requeue_rxd()
1713 v_addr, MaxFrameSize, in mac_drv_requeue_rxd()
1720 v_addr = smc->os.LocalRxBuffer; in mac_drv_requeue_rxd()
1726 v_addr = skb->data; in mac_drv_requeue_rxd()
1727 b_addr = dma_map_single(&(&smc->os.pdev)->dev, v_addr, in mac_drv_requeue_rxd()
1731 hwm_rx_frag(smc, v_addr, b_addr, MaxFrameSize, in mac_drv_requeue_rxd()
1758 unsigned char *v_addr; in mac_drv_fill_rxd() local
1779 v_addr = skb->data; in mac_drv_fill_rxd()
1780 b_addr = dma_map_single(&(&smc->os.pdev)->dev, v_addr, in mac_drv_fill_rxd()
[all …]
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c1737 image = (__le32 *) il->ucode_boot.v_addr; in il3945_verify_ucode()
1746 image = (__le32 *) il->ucode_init.v_addr; in il3945_verify_ucode()
1755 image = (__le32 *) il->ucode_code.v_addr; in il3945_verify_ucode()
1768 image = (__le32 *) il->ucode_boot.v_addr; in il3945_verify_ucode()
1961 if (!il->ucode_code.v_addr || !il->ucode_data.v_addr || in il3945_read_ucode()
1962 !il->ucode_data_backup.v_addr) in il3945_read_ucode()
1973 if (!il->ucode_init.v_addr || !il->ucode_init_data.v_addr) in il3945_read_ucode()
1982 if (!il->ucode_boot.v_addr) in il3945_read_ucode()
1991 memcpy(il->ucode_code.v_addr, src, len); in il3945_read_ucode()
1995 il->ucode_code.v_addr, (u32) il->ucode_code.p_addr); in il3945_read_ucode()
[all …]
D4965.c111 image = (__le32 *) il->ucode_boot.v_addr; in il4965_verify_ucode()
120 image = (__le32 *) il->ucode_init.v_addr; in il4965_verify_ucode()
129 image = (__le32 *) il->ucode_code.v_addr; in il4965_verify_ucode()
142 image = (__le32 *) il->ucode_boot.v_addr; in il4965_verify_ucode()
269 __le32 *image = il->ucode_boot.v_addr; in il4965_verify_bsm()
330 __le32 *image = il->ucode_boot.v_addr; in il4965_load_bsm()
Dcommon.h729 void *v_addr; /* access by driver */ member
2214 if (desc->v_addr) in il_free_fw_desc()
2215 dma_free_coherent(&pci_dev->dev, desc->len, desc->v_addr, in il_free_fw_desc()
2217 desc->v_addr = NULL; in il_free_fw_desc()
2225 desc->v_addr = NULL; in il_alloc_fw_desc()
2229 desc->v_addr = dma_alloc_coherent(&pci_dev->dev, desc->len, in il_alloc_fw_desc()
2231 return (desc->v_addr != NULL) ? 0 : -ENOMEM; in il_alloc_fw_desc()
D4965-mac.c4884 if (!il->ucode_code.v_addr || !il->ucode_data.v_addr || in il4965_ucode_callback()
4885 !il->ucode_data_backup.v_addr) in il4965_ucode_callback()
4896 if (!il->ucode_init.v_addr || !il->ucode_init_data.v_addr) in il4965_ucode_callback()
4905 if (!il->ucode_boot.v_addr) in il4965_ucode_callback()
4918 memcpy(il->ucode_code.v_addr, pieces.inst, pieces.inst_size); in il4965_ucode_callback()
4921 il->ucode_code.v_addr, (u32) il->ucode_code.p_addr); in il4965_ucode_callback()
4929 memcpy(il->ucode_data.v_addr, pieces.data, pieces.data_size); in il4965_ucode_callback()
4930 memcpy(il->ucode_data_backup.v_addr, pieces.data, pieces.data_size); in il4965_ucode_callback()
4936 memcpy(il->ucode_init.v_addr, pieces.init, pieces.init_size); in il4965_ucode_callback()
4943 memcpy(il->ucode_init_data.v_addr, pieces.init_data, in il4965_ucode_callback()
[all …]
D3945.c2470 __le32 *image = il->ucode_boot.v_addr; in il3945_verify_bsm()
2558 __le32 *image = il->ucode_boot.v_addr; in il3945_load_bsm()
/linux-6.6.21/drivers/bus/mhi/host/
Dmain.c186 buf_info->v_addr, buf_info->len, in mhi_map_single_no_bb()
204 memcpy(buf, buf_info->v_addr, buf_info->len); in mhi_map_single_use_bb()
222 memcpy(buf_info->v_addr, buf_info->bb_addr, buf_info->len); in mhi_unmap_single_use_bb()
1170 buf_info.v_addr = skb->data; in mhi_queue_skb()
1221 buf_info->v_addr = info->v_addr; in mhi_gen_tre()
1259 buf_info.v_addr = buf; in mhi_queue_buf()
1499 info.v_addr = buf; in mhi_prepare_channel()
Dinternal.h181 void *v_addr; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c717 u8 *v_addr; in iwl_pcie_load_section() local
725 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, in iwl_pcie_load_section()
727 if (!v_addr) { in iwl_pcie_load_section()
730 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, in iwl_pcie_load_section()
732 if (!v_addr) in iwl_pcie_load_section()
751 memcpy(v_addr, (const u8 *)section->data + offset, copy_size); in iwl_pcie_load_section()
767 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); in iwl_pcie_load_section()
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h753 void *v_addr; member