Home
last modified time | relevance | path

Searched refs:desc_addr (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/drivers/media/pci/pt3/
Dpt3_dma.c152 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-6.6.21/drivers/net/can/
Djanz-ican3.c561 void __iomem *desc_addr = mod->dpm + (mod->tx_num * sizeof(desc)); in ican3_new_send_msg() local
565 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_new_send_msg()
579 memcpy_toio(desc_addr, &desc, sizeof(desc)); in ican3_new_send_msg()
592 void __iomem *desc_addr = mod->dpm + (mod->rx_num * sizeof(desc)); in ican3_new_recv_msg() local
596 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_new_recv_msg()
610 memcpy_toio(desc_addr, &desc, sizeof(desc)); in ican3_new_recv_msg()
1381 void __iomem *desc_addr; in ican3_recv_skb() local
1390 desc_addr = mod->dpm + ((mod->fastrx_num % 16) * sizeof(desc)); in ican3_recv_skb()
1391 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_recv_skb()
1439 memcpy_toio(desc_addr, &desc, 1); in ican3_recv_skb()
[all …]
/linux-6.6.21/drivers/vdpa/pds/
Dcmds.c136 .vdpa_vq_init.desc_addr = cpu_to_le64(vq_info->desc_addr), in pds_vdpa_cmd_init_vq()
148 vq_info->desc_addr, vq_info->avail_addr, vq_info->used_addr); in pds_vdpa_cmd_init_vq()
Dvdpa_dev.h12 u64 desc_addr; member
Dvdpa_dev.c73 u64 desc_addr, u64 driver_addr, u64 device_addr) in pds_vdpa_set_vq_address() argument
77 pdsv->vqs[qid].desc_addr = desc_addr; in pds_vdpa_set_vq_address()
Ddebugfs.c241 seq_printf(seq, "desc_addr: %#llx\n", vq->desc_addr); in vq_show()
/linux-6.6.21/drivers/pci/msi/
Dmsi.h37 void __iomem *desc_addr = pci_msix_desc_addr(desc); in pci_msix_write_vector_ctrl() local
40 writel(ctrl, desc_addr + PCI_MSIX_ENTRY_VECTOR_CTRL); in pci_msix_write_vector_ctrl()
/linux-6.6.21/scripts/gdb/linux/
Ddmesg.py51 desc_addr = utils.read_ulong(desc_ring, off)
99 desc = utils.read_memoryview(inf, desc_addr + desc_off, desc_sz).tobytes()
/linux-6.6.21/drivers/net/ethernet/amazon/ena/
Dena_com.c325 memset(&io_sq->desc_addr, 0x0, sizeof(io_sq->desc_addr)); in ena_com_init_io_sq()
338 io_sq->desc_addr.virt_addr = in ena_com_init_io_sq()
340 &io_sq->desc_addr.phys_addr, in ena_com_init_io_sq()
343 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq()
344 io_sq->desc_addr.virt_addr = in ena_com_init_io_sq()
346 &io_sq->desc_addr.phys_addr, in ena_com_init_io_sq()
350 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq()
959 if (io_sq->desc_addr.virt_addr) { in ena_com_io_queue_free()
963 io_sq->desc_addr.virt_addr, in ena_com_io_queue_free()
964 io_sq->desc_addr.phys_addr); in ena_com_io_queue_free()
[all …]
Dena_eth_com.c45 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()
/linux-6.6.21/drivers/net/ethernet/apm/xgene-v2/
Dmain.c362 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()
Dring.h79 void *desc_addr; member
/linux-6.6.21/drivers/virtio/
Dvirtio_vdpa.c156 u64 desc_addr, driver_addr, device_addr; in virtio_vdpa_setup_vq() local
222 desc_addr = virtqueue_get_desc_addr(vq); in virtio_vdpa_setup_vq()
227 desc_addr, driver_addr, in virtio_vdpa_setup_vq()
Dvirtio_pci_modern_dev.c574 u16 index, u64 desc_addr, u64 driver_addr, in vp_modern_queue_address() argument
581 vp_iowrite64_twopart(desc_addr, &cfg->queue_desc_lo, in vp_modern_queue_address()
/linux-6.6.21/drivers/vdpa/vdpa_sim/
Dvdpa_sim.h28 u64 desc_addr; member
Dvdpa_sim.c98 (uintptr_t)vq->desc_addr; in vdpasim_queue_ready()
131 vq->desc_addr = 0; in vdpasim_vq_reset()
293 vq->desc_addr = desc_area; in vdpasim_set_vq_address()
/linux-6.6.21/include/uapi/linux/
Dvduse.h175 __u64 desc_addr; member
/linux-6.6.21/include/linux/mlx5/
Dmlx5_ifc_vdpa.h42 u8 desc_addr[0x40]; member
/linux-6.6.21/include/linux/
Dvirtio_pci_modern.h107 u16 index, u64 desc_addr, u64 driver_addr,
/linux-6.6.21/drivers/vdpa/mlx5/core/
Dmlx5_vdpa.h58 u64 desc_addr; member
/linux-6.6.21/sound/pci/
Datiixp_modem.c316 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()
Datiixp.c347 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-6.6.21/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.h122 void *desc_addr; member
Dxgene_enet_main.c1057 dmam_free_coherent(dev, ring->size, ring->desc_addr, ring->dma); in xgene_enet_delete_ring()
1140 if (ring->desc_addr) { in xgene_enet_free_desc_ring()
1142 dmam_free_coherent(dev, ring->size, ring->desc_addr, ring->dma); in xgene_enet_free_desc_ring()
1238 ring->desc_addr = dmam_alloc_coherent(dev, size, &ring->dma, in xgene_enet_create_desc_ring()
1240 if (!ring->desc_addr) { in xgene_enet_create_desc_ring()
1251 dmam_free_coherent(dev, size, ring->desc_addr, in xgene_enet_create_desc_ring()
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c81 u64 desc_addr; member
93 u64 desc_addr; member
913 MLX5_SET64(virtio_q, vq_ctx, desc_addr, mvq->desc_addr); in create_virtqueue()
2120 mvdev->cvq.desc_addr = desc_area; in mlx5_vdpa_set_vq_address()
2127 mvq->desc_addr = desc_area; in mlx5_vdpa_set_vq_address()
2623 ri->desc_addr = mvq->desc_addr; in save_channel_info()
2668 mvq->desc_addr = ri->desc_addr; in restore_channels_info()
2803 (struct vring_desc *)(uintptr_t)cvq->desc_addr, in setup_cvq_vring()

12