Home
last modified time | relevance | path

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

12

/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_emc-test.c445 uint32_t desc_addr) in init_tx_desc() argument
485 emc_write(qts, mod, REG_TXDLSA, desc_addr); in enable_tx()
508 emc_read_tx_desc(qts, desc_addr, &result_desc); in emc_send_verify1()
535 uint32_t desc_addr = DESC_ADDR; in emc_send_verify() local
586 desc_addr, end_desc_addr, in emc_send_verify()
610 desc[0].nrxdsa = desc_addr + sizeof(*desc); in init_rx_desc()
630 emc_write(qts, mod, REG_RXDLSA, desc_addr); in enable_rx()
650 uint32_t desc_addr = DESC_ADDR; in emc_recv_verify() local
698 desc_addr + sizeof(desc[0])); in emc_recv_verify()
708 emc_read_rx_desc(qts, desc_addr, &result_desc); in emc_recv_verify()
[all …]
/openbmc/linux/drivers/media/pci/pt3/
H A 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 …]
/openbmc/qemu/hw/net/
H A Dnpcm_gmac.c321 uint32_t desc_addr; in gmac_receive() local
344 desc_addr); in gmac_receive()
354 desc_addr); in gmac_receive()
442 desc_addr); in gmac_receive()
485 desc_addr = rx_desc.rdes3; in gmac_receive()
487 desc_addr += sizeof(rx_desc); in gmac_receive()
516 uint32_t desc_addr; in gmac_try_send_next_packet() local
537 desc_addr); in gmac_try_send_next_packet()
543 desc_addr); in gmac_try_send_next_packet()
551 desc_addr); in gmac_try_send_next_packet()
[all …]
H A Dmv88w8618_eth.c137 uint32_t desc_addr; in eth_receive() local
142 desc_addr = s->cur_rx[i]; in eth_receive()
143 if (!desc_addr) { in eth_receive()
147 eth_rx_desc_get(&s->dma_as, desc_addr, &desc); in eth_receive()
162 desc_addr = desc.next; in eth_receive()
163 } while (desc_addr != s->rx_queue[i]); in eth_receive()
192 uint32_t desc_addr = s->tx_queue[queue_index]; in eth_send() local
199 eth_tx_desc_get(&s->dma_as, desc_addr, &desc); in eth_send()
210 eth_tx_desc_put(&s->dma_as, desc_addr, &desc); in eth_send()
212 desc_addr = next_desc; in eth_send()
[all …]
H A Dnpcm7xx_emc.c308 uint32_t desc_addr) in emc_set_next_tx_descriptor() argument
311 if (emc_write_tx_desc(tx_desc, desc_addr)) { in emc_set_next_tx_descriptor()
323 uint32_t desc_addr) in emc_set_next_rx_descriptor() argument
326 if (emc_write_rx_desc(rx_desc, desc_addr)) { in emc_set_next_rx_descriptor()
347 if (emc_read_tx_desc(desc_addr, &tx_desc)) { in emc_try_send_next_packet()
356 trace_npcm7xx_emc_cpu_owned_desc(desc_addr); in emc_try_send_next_packet()
410 emc_set_next_tx_descriptor(emc, &tx_desc, desc_addr); in emc_try_send_next_packet()
496 uint32_t desc_addr; in emc_receive() local
553 desc_addr = RX_DESC_NRXDSA(emc->regs[REG_CRXDSA]); in emc_receive()
554 if (emc_read_rx_desc(desc_addr, &rx_desc)) { in emc_receive()
[all …]
H A Dcadence_gem.c1000 hwaddr desc_addr = 0; in gem_get_desc_addr() local
1003 desc_addr = s->regs[tx ? R_TBQPH : R_RBQPH]; in gem_get_desc_addr()
1005 desc_addr <<= 32; in gem_get_desc_addr()
1006 desc_addr |= tx ? s->tx_desc_addr[q] : s->rx_desc_addr[q]; in gem_get_desc_addr()
1007 return desc_addr; in gem_get_desc_addr()
1022 hwaddr desc_addr = gem_get_rx_desc_addr(s, q); in gem_get_rx_desc() local
1140 hwaddr desc_addr; in gem_receive() local
1191 desc_addr = gem_get_rx_desc_addr(s, q); in gem_receive()
1341 hwaddr desc_addr = gem_get_tx_desc_addr(s, q); in gem_transmit() local
1346 address_space_read(&s->dma_as, desc_addr, in gem_transmit()
[all …]
H A Dallwinner-sun8i-emac.c375 uint32_t desc_addr = start_addr; in allwinner_sun8i_emac_find_desc() local
378 while (desc_addr != 0) { in allwinner_sun8i_emac_find_desc()
379 allwinner_sun8i_emac_get_desc(s, desc, desc_addr); in allwinner_sun8i_emac_find_desc()
382 return desc_addr; in allwinner_sun8i_emac_find_desc()
386 desc_addr = desc->next; in allwinner_sun8i_emac_find_desc()
/openbmc/qemu/hw/sd/
H A Dallwinner-sdhost.c307 static void read_descriptor(AwSdHostState *s, hwaddr desc_addr, in read_descriptor() argument
311 dma_memory_read(&s->dma_as, desc_addr, &desc_words, sizeof(desc_words), in read_descriptor()
319 static void write_descriptor(AwSdHostState *s, hwaddr desc_addr, in write_descriptor() argument
327 dma_memory_write(&s->dma_as, desc_addr, &desc_words, sizeof(desc_words), in write_descriptor()
332 hwaddr desc_addr, in allwinner_sdhost_process_desc() argument
341 read_descriptor(s, desc_addr, desc); in allwinner_sdhost_process_desc()
354 trace_allwinner_sdhost_process_desc(desc_addr, desc->size, in allwinner_sdhost_process_desc()
383 write_descriptor(s, desc_addr, desc); in allwinner_sdhost_process_desc()
391 hwaddr desc_addr = s->desc_base; in allwinner_sdhost_dma() local
411 bytes_done = allwinner_sdhost_process_desc(s, desc_addr, &desc, in allwinner_sdhost_dma()
[all …]
/openbmc/qemu/hw/dma/
H A Dxlnx_dpdma.c618 uint64_t desc_addr, in xlnx_dpdma_read_descriptor() argument
621 MemTxResult res = dma_memory_read(&address_space_memory, desc_addr, in xlnx_dpdma_read_descriptor()
649 static MemTxResult xlnx_dpdma_write_descriptor(uint64_t desc_addr, in xlnx_dpdma_write_descriptor() argument
672 return dma_memory_write(&address_space_memory, desc_addr, &tmp_desc, in xlnx_dpdma_write_descriptor()
679 uint64_t desc_addr; in xlnx_dpdma_start_operation() local
707 desc_addr = xlnx_dpdma_descriptor_start_address(s, channel); in xlnx_dpdma_start_operation()
710 desc_addr = xlnx_dpdma_descriptor_next_address(s, channel); in xlnx_dpdma_start_operation()
713 if (xlnx_dpdma_read_descriptor(s, desc_addr, &desc)) { in xlnx_dpdma_start_operation()
727 DPRINTF("location of the descriptor: %" PRIx64 "\n", desc_addr); in xlnx_dpdma_start_operation()
816 if (xlnx_dpdma_write_descriptor(desc_addr, &desc)) { in xlnx_dpdma_start_operation()
/openbmc/qemu/subprojects/libvduse/
H A Dlibvduse.c88 uint64_t desc_addr; member
650 uint64_t desc_addr, read_len; in vduse_queue_map_desc() local
667 desc_addr = le64toh(desc[i].addr); in vduse_queue_map_desc()
671 desc = iova_to_va(dev, &read_len, desc_addr); in vduse_queue_map_desc()
676 desc_addr, in vduse_queue_map_desc()
854 static int vduse_queue_update_vring(VduseVirtq *vq, uint64_t desc_addr, in vduse_queue_update_vring() argument
861 vq->vring.desc = iova_to_va(dev, &len, desc_addr); in vduse_queue_update_vring()
905 vq->vring.desc_addr = vq_info.desc_addr; in vduse_queue_enable()
909 if (vduse_queue_update_vring(vq, vq_info.desc_addr, in vduse_queue_enable()
961 vq->vring.desc_addr = 0; in vduse_queue_disable()
[all …]
/openbmc/linux/drivers/pci/msi/
H A 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()
/openbmc/linux/drivers/vdpa/pds/
H A 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()
H A Dvdpa_dev.h12 u64 desc_addr; member
/openbmc/linux/drivers/net/can/
H A Djanz-ican3.c565 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()
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
1391 memcpy_fromio(&desc, desc_addr, sizeof(desc)); in ican3_recv_skb()
1439 memcpy_toio(desc_addr, &desc, 1); in ican3_recv_skb()
1693 void __iomem *desc_addr; in ican3_xmit() local
1712 memcpy_fromio(&desc, desc_addr, 1); in ican3_xmit()
1731 memcpy_toio(desc_addr, &desc, sizeof(desc)); in ican3_xmit()
[all …]
/openbmc/u-boot/drivers/crypto/fsl/
H A Djr.c180 static int jr_enqueue(uint32_t *desc_addr, in jr_enqueue() argument
188 int length = desc_len(desc_addr); in jr_enqueue()
200 desc_word = desc_addr[i]; in jr_enqueue()
201 sec_out32((uint32_t *)&desc_addr[i], desc_word); in jr_enqueue()
204 phys_addr_t desc_phys_addr = virt_to_phys(desc_addr); in jr_enqueue()
/openbmc/linux/scripts/gdb/linux/
H A Ddmesg.py51 desc_addr = utils.read_ulong(desc_ring, off)
99 desc = utils.read_memoryview(inf, desc_addr + desc_off, desc_sz).tobytes()
/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dring.h79 void *desc_addr; member
H A 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()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.c316 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()
330 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq()
331 io_sq->desc_addr.virt_addr = in ena_com_init_io_sq()
333 &io_sq->desc_addr.phys_addr, GFP_KERNEL); in ena_com_init_io_sq()
336 if (!io_sq->desc_addr.virt_addr) { in ena_com_init_io_sq()
921 if (io_sq->desc_addr.virt_addr) { in ena_com_io_queue_free()
925 io_sq->desc_addr.phys_addr); in ena_com_io_queue_free()
927 io_sq->desc_addr.virt_addr = NULL; in ena_com_io_queue_free()
1214 io_sq->desc_addr.phys_addr); in ena_com_create_io_sq()
[all …]
/openbmc/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim.h28 u64 desc_addr; member
/openbmc/linux/drivers/virtio/
H A 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()
/openbmc/qemu/linux-headers/linux/
H A Dvduse.h175 __u64 desc_addr; member
/openbmc/linux/include/linux/
H A Dvirtio_pci_modern.h107 u16 index, u64 desc_addr, u64 driver_addr,
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc_vdpa.h42 u8 desc_addr[0x40]; member
/openbmc/linux/include/uapi/linux/
H A Dvduse.h175 __u64 desc_addr; member

12