Home
last modified time | relevance | path

Searched refs:hwdesc (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/dma/
Dstm32-mdma.c245 struct stm32_mdma_hwdesc *hwdesc; member
346 desc->node[i].hwdesc = in stm32_mdma_alloc_desc()
349 if (!desc->node[i].hwdesc) in stm32_mdma_alloc_desc()
360 dma_pool_free(chan->desc_pool, desc->node[i].hwdesc, in stm32_mdma_alloc_desc()
373 dma_pool_free(chan->desc_pool, desc->node[i].hwdesc, in stm32_mdma_desc_free()
676 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", node->hwdesc->ctcr); in stm32_mdma_dump_hwdesc()
677 dev_dbg(chan2dev(chan), "CBNDTR: 0x%08x\n", node->hwdesc->cbndtr); in stm32_mdma_dump_hwdesc()
678 dev_dbg(chan2dev(chan), "CSAR: 0x%08x\n", node->hwdesc->csar); in stm32_mdma_dump_hwdesc()
679 dev_dbg(chan2dev(chan), "CDAR: 0x%08x\n", node->hwdesc->cdar); in stm32_mdma_dump_hwdesc()
680 dev_dbg(chan2dev(chan), "CBRUR: 0x%08x\n", node->hwdesc->cbrur); in stm32_mdma_dump_hwdesc()
[all …]
Dnbpfaxi.c136 struct nbpf_link_reg *hwdesc; member
172 struct nbpf_link_reg hwdesc[NBPF_SEGMENTS_PER_PAGE]; member
398 if (ldesc->hwdesc->config & NBPF_CHAN_CFG_TM) in nbpf_start()
510 struct nbpf_link_reg *hwdesc = ldesc->hwdesc; in nbpf_prep_one() local
517 hwdesc->header = NBPF_HEADER_WBD | NBPF_HEADER_LV | in nbpf_prep_one()
520 hwdesc->src_addr = src; in nbpf_prep_one()
521 hwdesc->dst_addr = dst; in nbpf_prep_one()
522 hwdesc->transaction_size = size; in nbpf_prep_one()
554 hwdesc->config = NBPF_CHAN_CFG_SAD | (NBPF_CHAN_CFG_DDS & (mem_xfer << 16)) | in nbpf_prep_one()
562 hwdesc->config = NBPF_CHAN_CFG_DAD | (NBPF_CHAN_CFG_SDS & (mem_xfer << 12)) | in nbpf_prep_one()
[all …]
Dtxx9dmac.h224 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()
Dfsl_raid.c125 &desc->hwdesc, sizeof(struct fsl_re_hw_desc)); in fsl_re_issue_pending()
161 struct fsl_re_hw_desc *hwdesc; in fsl_re_dequeue() local
172 hwdesc = &re_chan->oub_ring_virt_addr[re_chan->oub_count]; in fsl_re_dequeue()
176 if (desc->hwdesc.lbea32 == hwdesc->lbea32 && in fsl_re_dequeue()
177 desc->hwdesc.addr_low == hwdesc->addr_low) { in fsl_re_dequeue()
258 desc->hwdesc.fmt32 = FSL_RE_FRAME_FORMAT << FSL_RE_HWDESC_FMT_SHIFT; in fsl_re_init_desc()
259 desc->hwdesc.lbea32 = upper_32_bits(paddr); in fsl_re_init_desc()
260 desc->hwdesc.addr_low = lower_32_bits(paddr); in fsl_re_init_desc()
Dtxx9dmac.c147 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 …]
Dfsl_raid.h296 struct fsl_re_hw_desc hwdesc; member
/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-udma.c178 struct udma_hwdesc hwdesc[]; member
391 return d->hwdesc[idx].cppi5_desc_paddr; in udma_curr_cppi5_desc_paddr()
396 return d->hwdesc[idx].cppi5_desc_vaddr; in udma_curr_cppi5_desc_vaddr()
432 if (!d->hwdesc[i].cppi5_desc_vaddr) in udma_free_hwdesc()
436 d->hwdesc[i].cppi5_desc_vaddr, in udma_free_hwdesc()
437 d->hwdesc[i].cppi5_desc_paddr); in udma_free_hwdesc()
439 d->hwdesc[i].cppi5_desc_vaddr = NULL; in udma_free_hwdesc()
441 } else if (d->hwdesc[0].cppi5_desc_vaddr) { in udma_free_hwdesc()
444 dma_free_coherent(ud->dev, d->hwdesc[0].cppi5_desc_size, in udma_free_hwdesc()
445 d->hwdesc[0].cppi5_desc_vaddr, in udma_free_hwdesc()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dqi.c170 dma_addr_t hwdesc, in create_caam_req_fq() argument
198 qm_fqd_context_a_set64(&opts.fqd, hwdesc); in create_caam_req_fq()
401 dma_addr_t hwdesc; in caam_drv_ctx_init() local
425 hwdesc = dma_map_single(qidev, drv_ctx->prehdr, size, in caam_drv_ctx_init()
427 if (dma_mapping_error(qidev, hwdesc)) { in caam_drv_ctx_init()
432 drv_ctx->context_a = hwdesc; in caam_drv_ctx_init()
451 drv_ctx->req_fq = create_caam_req_fq(qidev, drv_ctx->rsp_fq, hwdesc, in caam_drv_ctx_init()
455 dma_unmap_single(qidev, hwdesc, size, DMA_BIDIRECTIONAL); in caam_drv_ctx_init()
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-core.c779 &dev->hwdesc, (u32)sizeof(struct tmComResHWDescr)); in saa7164_dump_hwdesc()
781 dprintk(1, " .bLength = 0x%x\n", dev->hwdesc.bLength); in saa7164_dump_hwdesc()
782 dprintk(1, " .bDescriptorType = 0x%x\n", dev->hwdesc.bDescriptorType); in saa7164_dump_hwdesc()
784 dev->hwdesc.bDescriptorSubtype); in saa7164_dump_hwdesc()
786 dprintk(1, " .bcdSpecVersion = 0x%x\n", dev->hwdesc.bcdSpecVersion); in saa7164_dump_hwdesc()
787 dprintk(1, " .dwClockFrequency = 0x%x\n", dev->hwdesc.dwClockFrequency); in saa7164_dump_hwdesc()
788 dprintk(1, " .dwClockUpdateRes = 0x%x\n", dev->hwdesc.dwClockUpdateRes); in saa7164_dump_hwdesc()
789 dprintk(1, " .bCapabilities = 0x%x\n", dev->hwdesc.bCapabilities); in saa7164_dump_hwdesc()
791 dev->hwdesc.dwDeviceRegistersLocation); in saa7164_dump_hwdesc()
794 dev->hwdesc.dwHostMemoryRegion); in saa7164_dump_hwdesc()
[all …]
Dsaa7164.h446 struct tmComResHWDescr hwdesc; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c272 struct cmd_desc_type0 *hwdesc; in qlcnic_82xx_change_filter() local
280 hwdesc = &tx_ring->desc_head[tx_ring->producer]; in qlcnic_82xx_change_filter()
282 req = (struct qlcnic_nic_req *)hwdesc; in qlcnic_82xx_change_filter()
377 struct cmd_desc_type0 *hwdesc; in qlcnic_tx_encap_pkt() local
406 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_encap_pkt()
409 (char *)hwdesc, in qlcnic_tx_encap_pkt()
464 struct cmd_desc_type0 *hwdesc; in qlcnic_tx_pkt() local
519 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_pkt()
525 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt()
541 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_tx_pkt()
[all …]
/kernel/linux/linux-5.10/drivers/dma/sh/
Drcar-dmac.c732 struct rcar_dmac_hw_desc *hwdesc; in rcar_dmac_fill_hwdesc() local
734 rcar_dmac_realloc_hwdesc(chan, desc, desc->nchunks * sizeof(*hwdesc)); in rcar_dmac_fill_hwdesc()
736 hwdesc = desc->hwdescs.mem; in rcar_dmac_fill_hwdesc()
737 if (!hwdesc) in rcar_dmac_fill_hwdesc()
741 hwdesc->sar = chunk->src_addr; in rcar_dmac_fill_hwdesc()
742 hwdesc->dar = chunk->dst_addr; in rcar_dmac_fill_hwdesc()
743 hwdesc->tcr = chunk->size >> desc->xfer_shift; in rcar_dmac_fill_hwdesc()
744 hwdesc++; in rcar_dmac_fill_hwdesc()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1859 struct cmd_desc_type0 *hwdesc; in netxen_tso_check() local
1931 hwdesc = &tx_ring->desc_head[producer]; in netxen_tso_check()
1937 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check()
1955 hwdesc = &tx_ring->desc_head[producer]; in netxen_tso_check()
1959 (char *)hwdesc + offset, copy_len); in netxen_tso_check()
2035 struct cmd_desc_type0 *hwdesc, *first_desc; in netxen_nic_xmit_frame() local
2083 first_desc = hwdesc = &tx_ring->desc_head[producer]; in netxen_nic_xmit_frame()
2084 netxen_clear_cmddesc((u64 *)hwdesc); in netxen_nic_xmit_frame()
2096 hwdesc = &tx_ring->desc_head[producer]; in netxen_nic_xmit_frame()
2097 netxen_clear_cmddesc((u64 *)hwdesc); in netxen_nic_xmit_frame()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dnetcp_core.c854 struct knav_dma_desc *hwdesc; in netcp_allocate_rx_buf() local
863 hwdesc = knav_pool_desc_get(netcp->rx_pool); in netcp_allocate_rx_buf()
864 if (IS_ERR_OR_NULL(hwdesc)) { in netcp_allocate_rx_buf()
915 set_org_pkt_info(dma, buf_len, hwdesc); in netcp_allocate_rx_buf()
916 SET_SW_DATA0(sw_data[0], hwdesc); in netcp_allocate_rx_buf()
917 SET_SW_DATA1(sw_data[1], hwdesc); in netcp_allocate_rx_buf()
918 set_desc_info(desc_info, pkt_info, hwdesc); in netcp_allocate_rx_buf()
921 knav_pool_desc_map(netcp->rx_pool, hwdesc, sizeof(*hwdesc), &dma, in netcp_allocate_rx_buf()
923 knav_queue_push(netcp->rx_fdq[fdq], dma, sizeof(*hwdesc), 0); in netcp_allocate_rx_buf()
927 knav_pool_desc_put(netcp->rx_pool, hwdesc); in netcp_allocate_rx_buf()
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/
Dingenic-drm-drv.c492 struct ingenic_dma_hwdesc *hwdesc; in ingenic_drm_plane_atomic_update() local
503 hwdesc = priv->dma_hwdesc_f0; in ingenic_drm_plane_atomic_update()
505 hwdesc = priv->dma_hwdesc_f1; in ingenic_drm_plane_atomic_update()
507 hwdesc->addr = addr; in ingenic_drm_plane_atomic_update()
508 hwdesc->cmd = JZ_LCD_CMD_EOF_IRQ | (width * height * cpp / 4); in ingenic_drm_plane_atomic_update()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch6878 - qm_fqd_context_a_set64(&opts.fqd, hwdesc);
6886 + opts.fqd.context_a.hi = upper_32_bits(hwdesc);
6887 + opts.fqd.context_a.lo = lower_32_bits(hwdesc);