Home
last modified time | relevance | path

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

/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
/drivers/net/fddi/skfp/
Dskfddi.c1687 unsigned char *v_addr; in mac_drv_requeue_rxd() local
1710 v_addr = skb->data; in mac_drv_requeue_rxd()
1712 v_addr, MaxFrameSize, in mac_drv_requeue_rxd()
1719 v_addr = smc->os.LocalRxBuffer; in mac_drv_requeue_rxd()
1725 v_addr = skb->data; in mac_drv_requeue_rxd()
1726 b_addr = dma_map_single(&(&smc->os.pdev)->dev, v_addr, in mac_drv_requeue_rxd()
1730 hwm_rx_frag(smc, v_addr, b_addr, MaxFrameSize, in mac_drv_requeue_rxd()
1757 unsigned char *v_addr; in mac_drv_fill_rxd() local
1778 v_addr = skb->data; in mac_drv_fill_rxd()
1779 b_addr = dma_map_single(&(&smc->os.pdev)->dev, v_addr, in mac_drv_fill_rxd()
[all …]
/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c1743 image = (__le32 *) il->ucode_boot.v_addr; in il3945_verify_ucode()
1752 image = (__le32 *) il->ucode_init.v_addr; in il3945_verify_ucode()
1761 image = (__le32 *) il->ucode_code.v_addr; in il3945_verify_ucode()
1774 image = (__le32 *) il->ucode_boot.v_addr; in il3945_verify_ucode()
1967 if (!il->ucode_code.v_addr || !il->ucode_data.v_addr || in il3945_read_ucode()
1968 !il->ucode_data_backup.v_addr) in il3945_read_ucode()
1979 if (!il->ucode_init.v_addr || !il->ucode_init_data.v_addr) in il3945_read_ucode()
1988 if (!il->ucode_boot.v_addr) in il3945_read_ucode()
1997 memcpy(il->ucode_code.v_addr, src, len); in il3945_read_ucode()
2001 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
2213 if (desc->v_addr) in il_free_fw_desc()
2214 dma_free_coherent(&pci_dev->dev, desc->len, desc->v_addr, in il_free_fw_desc()
2216 desc->v_addr = NULL; in il_free_fw_desc()
2224 desc->v_addr = NULL; in il_alloc_fw_desc()
2228 desc->v_addr = dma_alloc_coherent(&pci_dev->dev, desc->len, in il_alloc_fw_desc()
2230 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()
/drivers/bus/mhi/host/
Dmain.c185 buf_info->v_addr, buf_info->len, in mhi_map_single_no_bb()
203 memcpy(buf, buf_info->v_addr, buf_info->len); in mhi_map_single_use_bb()
221 memcpy(buf_info->v_addr, buf_info->bb_addr, buf_info->len); in mhi_unmap_single_use_bb()
1158 buf_info.v_addr = skb->data; in mhi_queue_skb()
1209 buf_info->v_addr = info->v_addr; in mhi_gen_tre()
1247 buf_info.v_addr = buf; in mhi_queue_buf()
1483 info.v_addr = buf; in mhi_prepare_channel()
Dinternal.h521 void *v_addr; member
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c681 u8 *v_addr; in iwl_pcie_load_section() local
689 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, &p_addr, in iwl_pcie_load_section()
691 if (!v_addr) { in iwl_pcie_load_section()
694 v_addr = dma_alloc_coherent(trans->dev, chunk_sz, in iwl_pcie_load_section()
696 if (!v_addr) in iwl_pcie_load_section()
715 memcpy(v_addr, (u8 *)section->data + offset, copy_size); in iwl_pcie_load_section()
731 dma_free_coherent(trans->dev, chunk_sz, v_addr, p_addr); in iwl_pcie_load_section()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h753 void *v_addr; member