/linux-6.3-rc2/drivers/dma/ |
A D | stm32-mdma.c | 700 hwdesc = desc->node[count].hwdesc; in stm32_mdma_setup_hwdesc() 709 hwdesc->cbrur = 0; in stm32_mdma_setup_hwdesc() 718 hwdesc->clar = 0; in stm32_mdma_setup_hwdesc() 826 hwdesc = desc->node[i].hwdesc; in stm32_mdma_prep_slave_sg() 1049 hwdesc = desc->node[0].hwdesc; in stm32_mdma_prep_dma_memcpy() 1055 hwdesc->clar = 0; in stm32_mdma_prep_dma_memcpy() 1057 hwdesc->cmar = 0; in stm32_mdma_prep_dma_memcpy() 1058 hwdesc->cmdr = 0; in stm32_mdma_prep_dma_memcpy() 1162 hwdesc = chan->desc->node[0].hwdesc; in stm32_mdma_start_transfer() 1240 hwdesc = chan->desc->node[chan->curr_hwdesc].hwdesc; in stm32_mdma_resume() [all …]
|
A D | nbpfaxi.c | 136 struct nbpf_link_reg *hwdesc; member 510 struct nbpf_link_reg *hwdesc = ldesc->hwdesc; in nbpf_prep_one() local 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() 695 struct nbpf_link_reg *hwdesc; in nbpf_desc_page_alloc() local 708 for (i = 0, ldesc = dpage->ldesc, hwdesc = dpage->hwdesc; in nbpf_desc_page_alloc() 710 i++, ldesc++, hwdesc++) { in nbpf_desc_page_alloc() 711 ldesc->hwdesc = hwdesc; in nbpf_desc_page_alloc() 714 hwdesc, sizeof(*hwdesc), DMA_TO_DEVICE); in nbpf_desc_page_alloc() [all …]
|
A 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()
|
A D | fsl_raid.c | 125 &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()
|
A D | txx9dmac.c | 154 desc->hwdesc.CHAR = val; in desc_write_CHAR() 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() 845 desc->hwdesc.SAR = ds->rx_reg; in txx9dmac_prep_slave_sg() 846 desc->hwdesc.DAR = mem; in txx9dmac_prep_slave_sg() [all …]
|
A D | fsl_raid.h | 296 struct fsl_re_hw_desc hwdesc; member
|
/linux-6.3-rc2/drivers/dma/ti/ |
A D | k3-udma.c | 2782 hwdesc = &d->hwdesc[0]; in udma_alloc_tr_desc() 2793 hwdesc->cppi5_desc_size = ALIGN(hwdesc->cppi5_desc_size, in udma_alloc_tr_desc() 2807 hwdesc->tr_req_base = hwdesc->cppi5_desc_vaddr + tr_size; in udma_alloc_tr_desc() 2809 hwdesc->tr_resp_base = hwdesc->tr_req_base + tr_size * tr_count; in udma_alloc_tr_desc() 3241 struct udma_hwdesc *hwdesc = &d->hwdesc[i]; in udma_prep_slave_sg_pkt() local 3568 struct udma_hwdesc *hwdesc = &d->hwdesc[i]; in udma_prep_dma_cyclic_pkt() local 5102 hwdesc->cppi5_desc_size = ALIGN(hwdesc->cppi5_desc_size, in udma_setup_rx_flush() 5105 hwdesc->cppi5_desc_vaddr = devm_kzalloc(dev, hwdesc->cppi5_desc_size, in udma_setup_rx_flush() 5117 hwdesc->tr_req_base = hwdesc->cppi5_desc_vaddr + tr_size; in udma_setup_rx_flush() 5119 hwdesc->tr_resp_base = hwdesc->tr_req_base + tr_size; in udma_setup_rx_flush() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/ingenic/ |
A D | ingenic-drm-drv.c | 61 struct ingenic_dma_hwdesc hwdesc[3]; member 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() 693 hwdesc->cpos = 0; in ingenic_drm_plane_atomic_update() 694 hwdesc->offsize = 0; in ingenic_drm_plane_atomic_update() 695 hwdesc->pagewidth = 0; in ingenic_drm_plane_atomic_update() 699 hwdesc->cpos |= JZ_LCD_CPOS_RGB555; in ingenic_drm_plane_atomic_update() 710 hwdesc->dessize = in ingenic_drm_plane_atomic_update() 1046 unsigned int hwdesc, in ingenic_drm_configure_hwdesc() argument [all …]
|
/linux-6.3-rc2/drivers/crypto/caam/ |
A D | qi.c | 176 dma_addr_t hwdesc, in create_caam_req_fq() argument 204 qm_fqd_context_a_set64(&opts.fqd, hwdesc); in create_caam_req_fq() 407 dma_addr_t hwdesc; in caam_drv_ctx_init() local 431 hwdesc = dma_map_single(qidev, drv_ctx->prehdr, size, in caam_drv_ctx_init() 433 if (dma_mapping_error(qidev, hwdesc)) { in caam_drv_ctx_init() 438 drv_ctx->context_a = hwdesc; in caam_drv_ctx_init() 457 drv_ctx->req_fq = create_caam_req_fq(qidev, drv_ctx->rsp_fq, hwdesc, in caam_drv_ctx_init() 461 dma_unmap_single(qidev, hwdesc, size, DMA_BIDIRECTIONAL); in caam_drv_ctx_init()
|
/linux-6.3-rc2/drivers/media/pci/saa7164/ |
A 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() 782 dev->hwdesc.bDescriptorSubtype); 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() 795 dev->hwdesc.dwHostMemoryRegionSize); in saa7164_dump_hwdesc() 798 dev->hwdesc.dwHostHibernatMemRegion); in saa7164_dump_hwdesc() 801 dev->hwdesc.dwHostHibernatMemRegionSize); in saa7164_dump_hwdesc() 851 if (dev->hwdesc.bLength != sizeof(struct tmComResHWDescr)) { in saa7164_get_descriptors() [all …]
|
A D | saa7164.h | 446 struct tmComResHWDescr hwdesc; member
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_io.c | 273 struct cmd_desc_type0 *hwdesc; in qlcnic_82xx_change_filter() local 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() 545 (char *)hwdesc + in qlcnic_tx_pkt() 706 hwdesc = &tx_ring->desc_head[producer]; in qlcnic_xmit_frame() 707 qlcnic_clear_cmddesc((u64 *)hwdesc); in qlcnic_xmit_frame() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/netxen/ |
A D | netxen_nic_main.c | 1860 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 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() 2107 hwdesc->addr_buffer1 = cpu_to_le64(buffrag->dma); in netxen_nic_xmit_frame() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A 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-6.3-rc2/drivers/dma/sh/ |
A 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()
|