/kernel/linux/linux-5.10/drivers/media/pci/pt3/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/net/can/ |
D | janz-ican3.c | 560 void __iomem *desc_addr = mod->dpm + (mod->tx_num * sizeof(desc)); in ican3_new_send_msg() local 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() 591 void __iomem *desc_addr = mod->dpm + (mod->rx_num * sizeof(desc)); in ican3_new_recv_msg() local 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 1386 desc_addr = mod->dpm + ((mod->fastrx_num % 16) * sizeof(desc)); in ican3_recv_skb() 1387 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_recv_skb() 1434 memcpy_toio(desc_addr, &desc, 1); in ican3_recv_skb() [all …]
|
/kernel/linux/linux-5.10/drivers/virtio/ |
D | virtio_vdpa.c | 144 u64 desc_addr, driver_addr, device_addr; in virtio_vdpa_setup_vq() local 186 desc_addr = virtqueue_get_desc_addr(vq); in virtio_vdpa_setup_vq() 191 desc_addr, driver_addr, in virtio_vdpa_setup_vq()
|
/kernel/linux/linux-5.10/drivers/staging/mt7621-dma/ |
D | hsdma-mt7621.c | 146 dma_addr_t desc_addr; member 552 &chan->desc_addr, GFP_ATOMIC | __GFP_ZERO); in mtk_hsdam_alloc_desc() 573 chan->tx_ring, chan->desc_addr); in mtk_hsdam_free_desc() 592 mtk_hsdma_write(hsdma, HSDMA_REG_TX_BASE, chan->desc_addr); in mtk_hsdma_init() 595 mtk_hsdma_write(hsdma, HSDMA_REG_RX_BASE, chan->desc_addr + in mtk_hsdma_init()
|
/kernel/linux/linux-5.10/sound/pci/cs5535audio/ |
D | cs5535audio_pcm.c | 112 u32 addr, desc_addr, jmpprd_addr; in cs5535audio_build_dma_packets() local 133 desc_addr = (u32) dma->desc_buf.addr; in cs5535audio_build_dma_packets() 140 desc_addr += sizeof(struct cs5535audio_dma_desc); in cs5535audio_build_dma_packets()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 796 dma_addr_t desc_addr; in ionic_tx_tso() local 855 desc_addr = ionic_tx_map_single(q, skb->data + offset, len); in ionic_tx_tso() 856 if (dma_mapping_error(dev, desc_addr)) in ionic_tx_tso() 866 desc_addr, desc_nsge, desc_len, in ionic_tx_tso() 903 ionic_tx_tso_post(q, desc, skb, desc_addr, in ionic_tx_tso() 915 desc_addr = ionic_tx_map_frag(q, frag, in ionic_tx_tso() 917 if (dma_mapping_error(dev, desc_addr)) in ionic_tx_tso() 926 ionic_tx_tso_post(q, desc, skb, desc_addr, in ionic_tx_tso()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene-v2/ |
D | ring.h | 79 void *desc_addr; member
|
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 314 memset(&io_sq->desc_addr, 0x0, sizeof(io_sq->desc_addr)); in ena_com_init_io_sq() 327 io_sq->desc_addr.virt_addr = in ena_com_init_io_sq() 329 &io_sq->desc_addr.phys_addr, in ena_com_init_io_sq() 332 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq() 333 io_sq->desc_addr.virt_addr = in ena_com_init_io_sq() 335 &io_sq->desc_addr.phys_addr, in ena_com_init_io_sq() 339 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq() 925 if (io_sq->desc_addr.virt_addr) { in ena_com_io_queue_free() 929 io_sq->desc_addr.virt_addr, in ena_com_io_queue_free() 930 io_sq->desc_addr.phys_addr); in ena_com_io_queue_free() [all …]
|
D | ena_eth_com.c | 45 return (void *)((uintptr_t)io_sq->desc_addr.virt_addr + offset); in get_sq_desc_regular_queue() 76 __iowrite64_copy(io_sq->desc_addr.pbuf_dev_addr + dst_offset, in ena_com_write_bounce_buffer_to_dev()
|
D | ena_com.h | 158 struct ena_com_io_desc_addr desc_addr; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_ct.c | 99 u32 desc_addr, in guc_action_register_ct_buffer() argument 104 desc_addr, in guc_action_register_ct_buffer() 113 static int ct_register_buffer(struct intel_guc_ct *ct, u32 desc_addr, u32 type) in ct_register_buffer() argument 115 int err = guc_action_register_ct_buffer(ct_to_guc(ct), desc_addr, type); in ct_register_buffer()
|
/kernel/linux/linux-5.10/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim.c | 52 u64 desc_addr; member 136 (struct vring_desc *)(uintptr_t)vq->desc_addr, in vdpasim_queue_ready() 146 vq->desc_addr = 0; in vdpasim_vq_reset() 438 vq->desc_addr = desc_area; in vdpasim_set_vq_address()
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
D | mlx5_vdpa_ifc.h | 42 u8 desc_addr[0x40]; member
|
/kernel/linux/linux-5.10/sound/pci/ |
D | atiixp_modem.c | 317 u32 addr, desc_addr; in atiixp_build_dma_packets() local 342 desc_addr = (u32)dma->desc_buf.addr; in atiixp_build_dma_packets() 349 desc_addr += sizeof(struct atiixp_dma_desc); in atiixp_build_dma_packets() 353 desc->next = cpu_to_le32(desc_addr); in atiixp_build_dma_packets()
|
D | atiixp.c | 348 u32 addr, desc_addr; in atiixp_build_dma_packets() local 375 desc_addr = (u32)dma->desc_buf.addr; in atiixp_build_dma_packets() 382 desc_addr += sizeof(struct atiixp_dma_desc); in atiixp_build_dma_packets() 386 desc->next = cpu_to_le32(desc_addr); in atiixp_build_dma_packets()
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 77 u64 desc_addr; member 89 u64 desc_addr; member 804 MLX5_SET64(virtio_q, vq_ctx, desc_addr, mvq->desc_addr); in create_virtqueue() 1350 mvq->desc_addr = desc_area; in mlx5_vdpa_set_vq_address() 1605 ri->desc_addr = mvq->desc_addr; in save_channel_info() 1650 mvq->desc_addr = ri->desc_addr; in restore_channels_info()
|
/kernel/linux/linux-5.10/drivers/pci/ |
D | msi.c | 214 void __iomem *desc_addr; in __pci_msix_desc_mask_irq() local 219 desc_addr = pci_msix_desc_addr(desc); in __pci_msix_desc_mask_irq() 220 if (!desc_addr) in __pci_msix_desc_mask_irq() 227 writel(mask_bits, desc_addr + PCI_MSIX_ENTRY_VECTOR_CTRL); in __pci_msix_desc_mask_irq()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.h | 122 void *desc_addr; member
|
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()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | emulate.c | 1666 ulong desc_addr; in __load_segment_descriptor() local 1721 ret = read_segment_descriptor(ctxt, selector, &seg_desc, &desc_addr); in __load_segment_descriptor() 1782 ret = ctxt->ops->cmpxchg_emulated(ctxt, desc_addr, &old_desc, &seg_desc, in __load_segment_descriptor() 1814 ret = linear_read_system(ctxt, desc_addr+8, &base3, sizeof(base3)); in __load_segment_descriptor() 3323 ulong desc_addr, dr7; in emulator_do_task_switch() local 3327 ret = read_segment_descriptor(ctxt, tss_selector, &next_tss_desc, &desc_addr); in emulator_do_task_switch() 3330 ret = read_segment_descriptor(ctxt, old_tss_sel, &curr_tss_desc, &desc_addr); in emulator_do_task_switch()
|