Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/dma/
Dstm32-mdma.c219 struct stm32_mdma_hwdesc *hwdesc; member
327 desc->node[i].hwdesc = in stm32_mdma_alloc_desc()
330 if (!desc->node[i].hwdesc) in stm32_mdma_alloc_desc()
341 dma_pool_free(chan->desc_pool, desc->node[i].hwdesc, in stm32_mdma_alloc_desc()
354 dma_pool_free(chan->desc_pool, desc->node[i].hwdesc, in stm32_mdma_desc_free()
678 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", node->hwdesc->ctcr); in stm32_mdma_dump_hwdesc()
679 dev_dbg(chan2dev(chan), "CBNDTR: 0x%08x\n", node->hwdesc->cbndtr); in stm32_mdma_dump_hwdesc()
680 dev_dbg(chan2dev(chan), "CSAR: 0x%08x\n", node->hwdesc->csar); in stm32_mdma_dump_hwdesc()
681 dev_dbg(chan2dev(chan), "CDAR: 0x%08x\n", node->hwdesc->cdar); in stm32_mdma_dump_hwdesc()
682 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
/Linux-v6.1/drivers/dma/ti/
Dk3-udma.c233 struct udma_hwdesc hwdesc[]; member
493 return d->hwdesc[idx].cppi5_desc_paddr; in udma_curr_cppi5_desc_paddr()
498 return d->hwdesc[idx].cppi5_desc_vaddr; in udma_curr_cppi5_desc_vaddr()
534 if (!d->hwdesc[i].cppi5_desc_vaddr) in udma_free_hwdesc()
538 d->hwdesc[i].cppi5_desc_vaddr, in udma_free_hwdesc()
539 d->hwdesc[i].cppi5_desc_paddr); in udma_free_hwdesc()
541 d->hwdesc[i].cppi5_desc_vaddr = NULL; in udma_free_hwdesc()
543 } else if (d->hwdesc[0].cppi5_desc_vaddr) { in udma_free_hwdesc()
544 dma_free_coherent(uc->dma_dev, d->hwdesc[0].cppi5_desc_size, in udma_free_hwdesc()
545 d->hwdesc[0].cppi5_desc_vaddr, in udma_free_hwdesc()
[all …]
/Linux-v6.1/drivers/gpu/drm/ingenic/
Dingenic-drm-drv.c62 struct ingenic_dma_hwdesc hwdesc[3]; member
208 u32 offset = offsetof(struct ingenic_dma_hwdescs, hwdesc[idx]); in dma_hwdesc_addr()
666 struct ingenic_dma_hwdesc *hwdesc; in ingenic_drm_plane_atomic_update() local
685 hwdesc = &priv->dma_hwdescs->hwdesc[plane_id]; in ingenic_drm_plane_atomic_update()
686 hwdesc->addr = addr; in ingenic_drm_plane_atomic_update()
687 hwdesc->cmd = JZ_LCD_CMD_EOF_IRQ | (width * height * cpp / 4); in ingenic_drm_plane_atomic_update()
688 hwdesc->next = dma_hwdesc_addr(priv, next_id); in ingenic_drm_plane_atomic_update()
691 hwdesc->cmd |= JZ_LCD_CMD_FRM_ENABLE; in ingenic_drm_plane_atomic_update()
694 hwdesc->cpos = 0; in ingenic_drm_plane_atomic_update()
695 hwdesc->offsize = 0; in ingenic_drm_plane_atomic_update()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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
/Linux-v6.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c273 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.1/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1860 struct cmd_desc_type0 *hwdesc; in netxen_tso_check() local
1932 hwdesc = &tx_ring->desc_head[producer]; in netxen_tso_check()
1938 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check()
1956 hwdesc = &tx_ring->desc_head[producer]; in netxen_tso_check()
1960 (char *)hwdesc + offset, copy_len); in netxen_tso_check()
2036 struct cmd_desc_type0 *hwdesc, *first_desc; in netxen_nic_xmit_frame() local
2084 first_desc = hwdesc = &tx_ring->desc_head[producer]; in netxen_nic_xmit_frame()
2085 netxen_clear_cmddesc((u64 *)hwdesc); in netxen_nic_xmit_frame()
2097 hwdesc = &tx_ring->desc_head[producer]; in netxen_nic_xmit_frame()
2098 netxen_clear_cmddesc((u64 *)hwdesc); in netxen_nic_xmit_frame()
[all …]
/Linux-v6.1/drivers/net/ethernet/ti/
Dnetcp_core.c853 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.1/drivers/dma/sh/
Drcar-dmac.c763 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()