/Linux-v6.6/drivers/dma/ |
D | stm32-mdma.c | 218 struct stm32_mdma_hwdesc *hwdesc; member 326 desc->node[i].hwdesc = in stm32_mdma_alloc_desc() 329 if (!desc->node[i].hwdesc) in stm32_mdma_alloc_desc() 340 dma_pool_free(chan->desc_pool, desc->node[i].hwdesc, in stm32_mdma_alloc_desc() 353 dma_pool_free(chan->desc_pool, desc->node[i].hwdesc, in stm32_mdma_desc_free() 677 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", node->hwdesc->ctcr); in stm32_mdma_dump_hwdesc() 678 dev_dbg(chan2dev(chan), "CBNDTR: 0x%08x\n", node->hwdesc->cbndtr); in stm32_mdma_dump_hwdesc() 679 dev_dbg(chan2dev(chan), "CSAR: 0x%08x\n", node->hwdesc->csar); in stm32_mdma_dump_hwdesc() 680 dev_dbg(chan2dev(chan), "CDAR: 0x%08x\n", node->hwdesc->cdar); in stm32_mdma_dump_hwdesc() 681 dev_dbg(chan2dev(chan), "CBRUR: 0x%08x\n", node->hwdesc->cbrur); in stm32_mdma_dump_hwdesc() [all …]
|
D | nbpfaxi.c | 135 struct nbpf_link_reg *hwdesc; member 171 struct nbpf_link_reg hwdesc[NBPF_SEGMENTS_PER_PAGE]; member 397 if (ldesc->hwdesc->config & NBPF_CHAN_CFG_TM) in nbpf_start() 509 struct nbpf_link_reg *hwdesc = ldesc->hwdesc; in nbpf_prep_one() local 516 hwdesc->header = NBPF_HEADER_WBD | NBPF_HEADER_LV | in nbpf_prep_one() 519 hwdesc->src_addr = src; in nbpf_prep_one() 520 hwdesc->dst_addr = dst; in nbpf_prep_one() 521 hwdesc->transaction_size = size; in nbpf_prep_one() 553 hwdesc->config = NBPF_CHAN_CFG_SAD | (NBPF_CHAN_CFG_DDS & (mem_xfer << 16)) | in nbpf_prep_one() 561 hwdesc->config = NBPF_CHAN_CFG_DAD | (NBPF_CHAN_CFG_SDS & (mem_xfer << 12)) | in nbpf_prep_one() [all …]
|
D | txx9dmac.h | 224 struct txx9dmac_hwdesc hwdesc; member 278 desc->hwdesc.CCR |= TXX9_DMA_CCR_INTENT; in txx9dmac_desc_set_INTENT() 292 desc->hwdesc.SAIR = sai; in txx9dmac_desc_set_nosimple() 293 desc->hwdesc.DAIR = dai; in txx9dmac_desc_set_nosimple() 294 desc->hwdesc.CCR = ccr; in txx9dmac_desc_set_nosimple()
|
D | fsl_raid.c | 126 &desc->hwdesc, sizeof(struct fsl_re_hw_desc)); in fsl_re_issue_pending() 162 struct fsl_re_hw_desc *hwdesc; in fsl_re_dequeue() local 173 hwdesc = &re_chan->oub_ring_virt_addr[re_chan->oub_count]; in fsl_re_dequeue() 177 if (desc->hwdesc.lbea32 == hwdesc->lbea32 && in fsl_re_dequeue() 178 desc->hwdesc.addr_low == hwdesc->addr_low) { in fsl_re_dequeue() 259 desc->hwdesc.fmt32 = FSL_RE_FRAME_FORMAT << FSL_RE_HWDESC_FMT_SHIFT; in fsl_re_init_desc() 260 desc->hwdesc.lbea32 = upper_32_bits(paddr); in fsl_re_init_desc() 261 desc->hwdesc.addr_low = lower_32_bits(paddr); in fsl_re_init_desc()
|
D | txx9dmac.c | 147 return is_dmac64(dc) ? desc->hwdesc.CHAR : desc->hwdesc32.CHAR; in desc_read_CHAR() 154 desc->hwdesc.CHAR = val; in desc_write_CHAR() 203 desc->txd.phys = dma_map_single(chan2parent(&dc->chan), &desc->hwdesc, in txx9dmac_desc_alloc() 529 txx9dmac_dump_desc(dc, &bad_desc->hwdesc); in txx9dmac_handle_error() 531 txx9dmac_dump_desc(dc, &child->hwdesc); in txx9dmac_handle_error() 755 desc->hwdesc.SAR = src + offset; in txx9dmac_prep_dma_memcpy() 756 desc->hwdesc.DAR = dest + offset; in txx9dmac_prep_dma_memcpy() 757 desc->hwdesc.CNTR = xfer_count; in txx9dmac_prep_dma_memcpy() 842 desc->hwdesc.SAR = mem; in txx9dmac_prep_slave_sg() 843 desc->hwdesc.DAR = ds->tx_reg; in txx9dmac_prep_slave_sg() [all …]
|
D | fsl_raid.h | 296 struct fsl_re_hw_desc hwdesc; member
|
/Linux-v6.6/drivers/dma/ti/ |
D | k3-udma.c | 234 struct udma_hwdesc hwdesc[]; member 496 return d->hwdesc[idx].cppi5_desc_paddr; in udma_curr_cppi5_desc_paddr() 501 return d->hwdesc[idx].cppi5_desc_vaddr; in udma_curr_cppi5_desc_vaddr() 537 if (!d->hwdesc[i].cppi5_desc_vaddr) in udma_free_hwdesc() 541 d->hwdesc[i].cppi5_desc_vaddr, in udma_free_hwdesc() 542 d->hwdesc[i].cppi5_desc_paddr); in udma_free_hwdesc() 544 d->hwdesc[i].cppi5_desc_vaddr = NULL; in udma_free_hwdesc() 546 } else if (d->hwdesc[0].cppi5_desc_vaddr) { in udma_free_hwdesc() 547 dma_free_coherent(uc->dma_dev, d->hwdesc[0].cppi5_desc_size, in udma_free_hwdesc() 548 d->hwdesc[0].cppi5_desc_vaddr, in udma_free_hwdesc() [all …]
|
/Linux-v6.6/drivers/gpu/drm/ingenic/ |
D | ingenic-drm-drv.c | 61 struct ingenic_dma_hwdesc hwdesc[3]; member 207 u32 offset = offsetof(struct ingenic_dma_hwdescs, hwdesc[idx]); in dma_hwdesc_addr() 665 struct ingenic_dma_hwdesc *hwdesc; in ingenic_drm_plane_atomic_update() local 684 hwdesc = &priv->dma_hwdescs->hwdesc[plane_id]; in ingenic_drm_plane_atomic_update() 685 hwdesc->addr = addr; in ingenic_drm_plane_atomic_update() 686 hwdesc->cmd = JZ_LCD_CMD_EOF_IRQ | (width * height * cpp / 4); in ingenic_drm_plane_atomic_update() 687 hwdesc->next = dma_hwdesc_addr(priv, next_id); in ingenic_drm_plane_atomic_update() 690 hwdesc->cmd |= JZ_LCD_CMD_FRM_ENABLE; in ingenic_drm_plane_atomic_update() 693 hwdesc->cpos = 0; in ingenic_drm_plane_atomic_update() 694 hwdesc->offsize = 0; in ingenic_drm_plane_atomic_update() [all …]
|
/Linux-v6.6/drivers/crypto/caam/ |
D | qi.c | 177 dma_addr_t hwdesc, in create_caam_req_fq() argument 205 qm_fqd_context_a_set64(&opts.fqd, hwdesc); in create_caam_req_fq() 408 dma_addr_t hwdesc; in caam_drv_ctx_init() local 432 hwdesc = dma_map_single(qidev, drv_ctx->prehdr, size, in caam_drv_ctx_init() 434 if (dma_mapping_error(qidev, hwdesc)) { in caam_drv_ctx_init() 439 drv_ctx->context_a = hwdesc; in caam_drv_ctx_init() 458 drv_ctx->req_fq = create_caam_req_fq(qidev, drv_ctx->rsp_fq, hwdesc, in caam_drv_ctx_init() 462 dma_unmap_single(qidev, hwdesc, size, DMA_BIDIRECTIONAL); in caam_drv_ctx_init()
|
/Linux-v6.6/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 777 &dev->hwdesc, (u32)sizeof(struct tmComResHWDescr)); in saa7164_dump_hwdesc() 779 dprintk(1, " .bLength = 0x%x\n", dev->hwdesc.bLength); in saa7164_dump_hwdesc() 780 dprintk(1, " .bDescriptorType = 0x%x\n", dev->hwdesc.bDescriptorType); in saa7164_dump_hwdesc() 782 dev->hwdesc.bDescriptorSubtype); in saa7164_dump_hwdesc() 784 dprintk(1, " .bcdSpecVersion = 0x%x\n", dev->hwdesc.bcdSpecVersion); in saa7164_dump_hwdesc() 785 dprintk(1, " .dwClockFrequency = 0x%x\n", dev->hwdesc.dwClockFrequency); in saa7164_dump_hwdesc() 786 dprintk(1, " .dwClockUpdateRes = 0x%x\n", dev->hwdesc.dwClockUpdateRes); in saa7164_dump_hwdesc() 787 dprintk(1, " .bCapabilities = 0x%x\n", dev->hwdesc.bCapabilities); in saa7164_dump_hwdesc() 789 dev->hwdesc.dwDeviceRegistersLocation); in saa7164_dump_hwdesc() 792 dev->hwdesc.dwHostMemoryRegion); in saa7164_dump_hwdesc() [all …]
|
D | saa7164.h | 446 struct tmComResHWDescr hwdesc; member
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 273 struct cmd_desc_type0 *hwdesc; in qlcnic_82xx_change_filter() local 281 hwdesc = &tx_ring->desc_head[tx_ring->producer]; in qlcnic_82xx_change_filter() 283 req = (struct qlcnic_nic_req *)hwdesc; in qlcnic_82xx_change_filter() 378 struct cmd_desc_type0 *hwdesc; in qlcnic_tx_encap_pkt() local 407 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_encap_pkt() 410 (char *)hwdesc, in qlcnic_tx_encap_pkt() 465 struct cmd_desc_type0 *hwdesc; in qlcnic_tx_pkt() local 520 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_pkt() 526 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt() 542 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_pkt() [all …]
|
/Linux-v6.6/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1852 struct cmd_desc_type0 *hwdesc; in netxen_tso_check() local 1924 hwdesc = &tx_ring->desc_head[producer]; in netxen_tso_check() 1930 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check() 1948 hwdesc = &tx_ring->desc_head[producer]; in netxen_tso_check() 1952 (char *)hwdesc + offset, copy_len); in netxen_tso_check() 2028 struct cmd_desc_type0 *hwdesc, *first_desc; in netxen_nic_xmit_frame() local 2076 first_desc = hwdesc = &tx_ring->desc_head[producer]; in netxen_nic_xmit_frame() 2077 netxen_clear_cmddesc((u64 *)hwdesc); in netxen_nic_xmit_frame() 2089 hwdesc = &tx_ring->desc_head[producer]; in netxen_nic_xmit_frame() 2090 netxen_clear_cmddesc((u64 *)hwdesc); in netxen_nic_xmit_frame() [all …]
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | netcp_core.c | 853 struct knav_dma_desc *hwdesc; in netcp_allocate_rx_buf() local 862 hwdesc = knav_pool_desc_get(netcp->rx_pool); in netcp_allocate_rx_buf() 863 if (IS_ERR_OR_NULL(hwdesc)) { in netcp_allocate_rx_buf() 914 set_org_pkt_info(dma, buf_len, hwdesc); in netcp_allocate_rx_buf() 915 SET_SW_DATA0(sw_data[0], hwdesc); in netcp_allocate_rx_buf() 916 SET_SW_DATA1(sw_data[1], hwdesc); in netcp_allocate_rx_buf() 917 set_desc_info(desc_info, pkt_info, hwdesc); in netcp_allocate_rx_buf() 920 knav_pool_desc_map(netcp->rx_pool, hwdesc, sizeof(*hwdesc), &dma, in netcp_allocate_rx_buf() 922 knav_queue_push(netcp->rx_fdq[fdq], dma, sizeof(*hwdesc), 0); in netcp_allocate_rx_buf() 926 knav_pool_desc_put(netcp->rx_pool, hwdesc); in netcp_allocate_rx_buf()
|
/Linux-v6.6/drivers/dma/sh/ |
D | rcar-dmac.c | 763 struct rcar_dmac_hw_desc *hwdesc; in rcar_dmac_fill_hwdesc() local 765 rcar_dmac_realloc_hwdesc(chan, desc, desc->nchunks * sizeof(*hwdesc)); in rcar_dmac_fill_hwdesc() 767 hwdesc = desc->hwdescs.mem; in rcar_dmac_fill_hwdesc() 768 if (!hwdesc) in rcar_dmac_fill_hwdesc() 772 hwdesc->sar = chunk->src_addr; in rcar_dmac_fill_hwdesc() 773 hwdesc->dar = chunk->dst_addr; in rcar_dmac_fill_hwdesc() 774 hwdesc->tcr = chunk->size >> desc->xfer_shift; in rcar_dmac_fill_hwdesc() 775 hwdesc++; in rcar_dmac_fill_hwdesc()
|