/linux/drivers/media/pci/pt3/ |
A D | pt3_dma.c | 152 dma_addr_t data_addr, desc_addr; in pt3_alloc_dmabuf() local 175 &desc_addr, GFP_KERNEL); in pt3_alloc_dmabuf() 180 adap->desc_buf[i].b_addr = desc_addr; in pt3_alloc_dmabuf() 184 d->next_l = lower_32_bits(desc_addr); in pt3_alloc_dmabuf() 185 d->next_h = upper_32_bits(desc_addr); in pt3_alloc_dmabuf() 194 desc_addr += sizeof(struct xfer_desc); in pt3_alloc_dmabuf() 195 d->next_l = lower_32_bits(desc_addr); in pt3_alloc_dmabuf() 196 d->next_h = upper_32_bits(desc_addr); in pt3_alloc_dmabuf() 203 desc_addr = adap->desc_buf[0].b_addr; in pt3_alloc_dmabuf() 204 d->next_l = lower_32_bits(desc_addr); in pt3_alloc_dmabuf() [all …]
|
/linux/drivers/net/can/ |
A D | janz-ican3.c | 564 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_new_send_msg() 578 memcpy_toio(desc_addr, &desc, sizeof(desc)); in ican3_new_send_msg() 595 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_new_recv_msg() 609 memcpy_toio(desc_addr, &desc, sizeof(desc)); in ican3_new_recv_msg() 1377 void __iomem *desc_addr; in ican3_recv_skb() local 1387 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_recv_skb() 1434 memcpy_toio(desc_addr, &desc, 1); in ican3_recv_skb() 1688 void __iomem *desc_addr; in ican3_xmit() local 1707 memcpy_fromio(&desc, desc_addr, 1); in ican3_xmit() 1726 memcpy_toio(desc_addr, &desc, sizeof(desc)); in ican3_xmit() [all …]
|
/linux/drivers/staging/mt7621-dma/ |
A D | hsdma-mt7621.c | 146 dma_addr_t desc_addr; member 550 &chan->desc_addr, GFP_ATOMIC | __GFP_ZERO); in mtk_hsdam_alloc_desc() 571 chan->tx_ring, chan->desc_addr); in mtk_hsdam_free_desc() 590 mtk_hsdma_write(hsdma, HSDMA_REG_TX_BASE, chan->desc_addr); in mtk_hsdma_init() 593 mtk_hsdma_write(hsdma, HSDMA_REG_RX_BASE, chan->desc_addr + in mtk_hsdma_init()
|
/linux/drivers/virtio/ |
A D | virtio_vdpa.c | 143 u64 desc_addr, driver_addr, device_addr; in virtio_vdpa_setup_vq() local 193 desc_addr = virtqueue_get_desc_addr(vq); in virtio_vdpa_setup_vq() 198 desc_addr, driver_addr, in virtio_vdpa_setup_vq()
|
A D | virtio_pci_modern_dev.c | 515 u16 index, u64 desc_addr, u64 driver_addr, in vp_modern_queue_address() argument 522 vp_iowrite64_twopart(desc_addr, &cfg->queue_desc_lo, in vp_modern_queue_address()
|
/linux/sound/pci/cs5535audio/ |
A D | cs5535audio_pcm.c | 113 u32 addr, desc_addr, jmpprd_addr; in cs5535audio_build_dma_packets() local 134 desc_addr = (u32) dma->desc_buf.addr; in cs5535audio_build_dma_packets() 141 desc_addr += sizeof(struct cs5535audio_dma_desc); in cs5535audio_build_dma_packets()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_com.c | 323 memset(&io_sq->desc_addr, 0x0, sizeof(io_sq->desc_addr)); in ena_com_init_io_sq() 336 io_sq->desc_addr.virt_addr = in ena_com_init_io_sq() 338 &io_sq->desc_addr.phys_addr, in ena_com_init_io_sq() 341 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq() 342 io_sq->desc_addr.virt_addr = in ena_com_init_io_sq() 344 &io_sq->desc_addr.phys_addr, in ena_com_init_io_sq() 348 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq() 956 if (io_sq->desc_addr.virt_addr) { in ena_com_io_queue_free() 960 io_sq->desc_addr.virt_addr, in ena_com_io_queue_free() 961 io_sq->desc_addr.phys_addr); in ena_com_io_queue_free() [all …]
|
A D | ena_eth_com.c | 45 return (void *)((uintptr_t)io_sq->desc_addr.virt_addr + offset); in get_sq_desc_regular_queue() 78 __iowrite64_copy(io_sq->desc_addr.pbuf_dev_addr + dst_offset, in ena_com_write_bounce_buffer_to_dev()
|
A D | ena_com.h | 158 struct ena_com_io_desc_addr desc_addr; member
|
/linux/drivers/net/ethernet/apm/xgene-v2/ |
A D | main.c | 362 if (ring->desc_addr) in xge_delete_desc_ring() 363 dma_free_coherent(dev, size, ring->desc_addr, ring->dma_addr); in xge_delete_desc_ring() 417 ring->desc_addr = dma_alloc_coherent(dev, size, &ring->dma_addr, in xge_create_desc_ring() 419 if (!ring->desc_addr) in xge_create_desc_ring()
|
A D | ring.h | 79 void *desc_addr; member
|
/linux/drivers/vdpa/vdpa_sim/ |
A D | vdpa_sim.h | 28 u64 desc_addr; member
|
A D | vdpa_sim.c | 71 (struct vring_desc *)(uintptr_t)vq->desc_addr, in vdpasim_queue_ready() 84 vq->desc_addr = 0; in vdpasim_vq_reset() 318 vq->desc_addr = desc_area; in vdpasim_set_vq_address()
|
/linux/include/linux/mlx5/ |
A D | mlx5_ifc_vdpa.h | 42 u8 desc_addr[0x40]; member
|
/linux/include/uapi/linux/ |
A D | vduse.h | 175 __u64 desc_addr; member
|
/linux/include/linux/ |
A D | virtio_pci_modern.h | 94 u16 index, u64 desc_addr, u64 driver_addr,
|
/linux/drivers/vdpa/mlx5/net/ |
A D | mlx5_vnet.c | 90 u64 desc_addr; member 101 u64 desc_addr; member 868 MLX5_SET64(virtio_q, vq_ctx, desc_addr, mvq->desc_addr); in create_virtqueue() 1698 mvdev->cvq.desc_addr = desc_area; in mlx5_vdpa_set_vq_address() 1705 mvq->desc_addr = desc_area; in mlx5_vdpa_set_vq_address() 1927 (struct vring_desc *)(uintptr_t)cvq->desc_addr, in setup_virtqueues() 2041 ri->desc_addr = mvq->desc_addr; in save_channel_info() 2085 mvq->desc_addr = ri->desc_addr; in restore_channels_info()
|
/linux/sound/pci/ |
A D | atiixp_modem.c | 316 u32 addr, desc_addr; in atiixp_build_dma_packets() local 341 desc_addr = (u32)dma->desc_buf.addr; in atiixp_build_dma_packets() 348 desc_addr += sizeof(struct atiixp_dma_desc); in atiixp_build_dma_packets() 352 desc->next = cpu_to_le32(desc_addr); in atiixp_build_dma_packets()
|
A D | atiixp.c | 347 u32 addr, desc_addr; in atiixp_build_dma_packets() local 374 desc_addr = (u32)dma->desc_buf.addr; in atiixp_build_dma_packets() 381 desc_addr += sizeof(struct atiixp_dma_desc); in atiixp_build_dma_packets() 385 desc->next = cpu_to_le32(desc_addr); in atiixp_build_dma_packets()
|
/linux/drivers/vdpa/mlx5/core/ |
A D | mlx5_vdpa.h | 57 u64 desc_addr; member
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_guc_ct.c | 160 u32 desc_addr, u32 buff_addr, u32 size) in guc_action_register_ct_buffer() argument 168 FIELD_PREP(HOST2GUC_REGISTER_CTB_REQUEST_MSG_2_DESC_ADDR, desc_addr), in guc_action_register_ct_buffer() 183 u32 desc_addr, u32 buff_addr, u32 size) in ct_register_buffer() argument 192 desc_addr, buff_addr, size); in ct_register_buffer()
|
/linux/drivers/vdpa/vdpa_user/ |
A D | vduse_dev.c | 46 u64 desc_addr; member 429 vq->desc_addr = 0; in vduse_dev_reset() 460 vq->desc_addr = desc_area; in vduse_vdpa_set_vq_address() 1031 vq_info.desc_addr = vq->desc_addr; in vduse_dev_ioctl()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_txrx.c | 897 dma_addr_t desc_addr; in ionic_tx_tso() local 954 desc_addr = 0; in ionic_tx_tso() 971 desc_addr = frag_addr; in ionic_tx_tso() 989 desc_addr, desc_nsge, desc_len, in ionic_tx_tso()
|
/linux/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_main.h | 122 void *desc_addr; member
|
A D | xgene_enet_main.c | 1053 dmam_free_coherent(dev, ring->size, ring->desc_addr, ring->dma); in xgene_enet_delete_ring() 1136 if (ring->desc_addr) { in xgene_enet_free_desc_ring() 1138 dmam_free_coherent(dev, ring->size, ring->desc_addr, ring->dma); in xgene_enet_free_desc_ring() 1234 ring->desc_addr = dmam_alloc_coherent(dev, size, &ring->dma, in xgene_enet_create_desc_ring() 1236 if (!ring->desc_addr) { in xgene_enet_create_desc_ring() 1247 dmam_free_coherent(dev, size, ring->desc_addr, in xgene_enet_create_desc_ring()
|