Home
last modified time | relevance | path

Searched refs:hw_desc (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/dma/dw-axi-dmac/
H A Ddw-axi-dmac-platform.c337 hw_desc = &desc->hw_desc[descs_put]; in axi_desc_put()
338 dma_pool_free(chan->desc_pool, hw_desc->lli, hw_desc->llp); in axi_desc_put()
699 hw_desc->lli = axi_desc_get(chan, &hw_desc->llp); in dw_axi_dma_set_hw_desc()
804 hw_desc = &desc->hw_desc[i]; in dw_axi_dma_chan_prep_cyclic()
824 hw_desc = &desc->hw_desc[--total_segments]; in dw_axi_dma_chan_prep_cyclic()
888 hw_desc = &desc->hw_desc[loop++]; in dw_axi_dma_chan_prep_slave_sg()
904 hw_desc = &desc->hw_desc[--num_sgs]; in dw_axi_dma_chan_prep_slave_sg()
948 hw_desc = &desc->hw_desc[num]; in dma_chan_prep_dma_memcpy()
967 hw_desc->lli = axi_desc_get(chan, &hw_desc->llp); in dma_chan_prep_dma_memcpy()
1010 hw_desc = &desc->hw_desc[--num]; in dma_chan_prep_dma_memcpy()
[all …]
H A Ddw-axi-dmac.h100 struct axi_dma_hw_desc *hw_desc; member
/linux/drivers/crypto/
H A Dsahara.c409 dev->hw_desc[i]->next); in sahara_dump_descriptors()
447 dev->hw_desc[idx]->len1 = 0; in sahara_hw_descriptor_create()
448 dev->hw_desc[idx]->p1 = 0; in sahara_hw_descriptor_create()
524 dev->hw_desc[idx]->next = 0; in sahara_hw_descriptor_create()
817 dev->hw_desc[index]->p1 = 0; in sahara_sha_hw_data_descriptor_create()
861 dev->hw_desc[index]->len2 = 0; in sahara_sha_hw_context_descriptor_create()
862 dev->hw_desc[index]->p2 = 0; in sahara_sha_hw_context_descriptor_create()
945 dev->hw_desc[0]->next = 0; in sahara_sha_process()
956 dev->hw_desc[1]->next = 0; in sahara_sha_process()
1326 if (!dev->hw_desc[0]) in sahara_probe()
[all …]
/linux/drivers/dma/ppc4xx/
H A Dadma.c337 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pq()
372 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pq()
380 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pq()
388 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pq()
401 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pq()
408 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pq()
419 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pq()
456 hw_desc = iter->hw_desc; in ppc440spe_desc_init_dma01pqzero_sum()
2120 hw_desc = iter->hw_desc; in ppc440spe_dma01_prep_mult()
2145 hw_desc = iter->hw_desc; in ppc440spe_dma01_prep_mult()
[all …]
H A Dadma.h152 void *hw_desc; member
/linux/drivers/dma/xilinx/
H A Dxilinx_dpdma.c516 hw_desc->addr_ext |= in xilinx_dpdma_sw_desc_set_dma_addrs()
521 u32 *addr = &hw_desc->src_addr2; in xilinx_dpdma_sw_desc_set_dma_addrs()
526 u32 *addr_ext = &hw_desc->addr_ext_23; in xilinx_dpdma_sw_desc_set_dma_addrs()
701 struct xilinx_dpdma_hw_desc *hw_desc; in xilinx_dpdma_chan_prep_cyclic() local
716 hw_desc = &sw_desc->hw; in xilinx_dpdma_chan_prep_cyclic()
717 hw_desc->xfer_size = period_len; in xilinx_dpdma_chan_prep_cyclic()
718 hw_desc->hsize_stride = in xilinx_dpdma_chan_prep_cyclic()
768 struct xilinx_dpdma_hw_desc *hw_desc; in xilinx_dpdma_chan_prep_interleaved_dma() local
792 hw_desc = &sw_desc->hw; in xilinx_dpdma_chan_prep_interleaved_dma()
794 hw_desc->xfer_size = hsize * xt->numf; in xilinx_dpdma_chan_prep_interleaved_dma()
[all …]
/linux/include/linux/platform_data/
H A Ddma-iop32x.h86 void *hw_desc; member
107 container_of(addr_hw_desc, struct iop_adma_desc_slot, hw_desc)
108 #define iop_hw_desc_slot_idx(hw_desc, idx) \ argument
109 ( (void *) (((unsigned long) hw_desc) + ((idx) << 5)) )
/linux/drivers/dma/
H A Dpxa_dma.c731 sw_desc->hw_desc[i], dma); in pxad_free_desc()
761 sw_desc->hw_desc[i] = desc; in pxad_alloc_desc()
922 struct pxad_desc_hw *hw_desc; in pxad_prep_memcpy() local
948 hw_desc = sw_desc->hw_desc[i++]; in pxad_prep_memcpy()
951 hw_desc->dsadr = dma_src; in pxad_prep_memcpy()
952 hw_desc->dtadr = dma_dst; in pxad_prep_memcpy()
998 sw_desc->hw_desc[j]->dcmd = in pxad_prep_slave_sg()
1050 phw_desc = sw_desc->hw_desc; in pxad_prep_dma_cyclic()
1154 hw_desc = sw_desc->hw_desc[i]; in pxad_residue()
1156 start = hw_desc->dsadr; in pxad_residue()
[all …]
H A Dmv_xor.c52 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_init() local
54 hw_desc->status = XOR_DESC_DMA_OWNED; in mv_desc_init()
55 hw_desc->phy_next_desc = 0; in mv_desc_init()
59 hw_desc->phy_dest_addr = addr; in mv_desc_init()
60 hw_desc->byte_count = byte_count; in mv_desc_init()
65 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_mode() local
84 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_next_desc() local
85 BUG_ON(hw_desc->phy_next_desc); in mv_desc_set_next_desc()
92 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_src_addr() local
270 struct mv_xor_desc *hw_desc; in mv_chan_slot_cleanup() local
[all …]
H A Dmv_xor.h145 void *hw_desc; member
188 container_of(addr_hw_desc, struct mv_xor_desc_slot, hw_desc)
190 #define mv_hw_desc_slot_idx(hw_desc, idx) \ argument
191 ((void *)(((unsigned long)hw_desc) + ((idx) << 5)))
H A Daltera-msgdma.c162 struct msgdma_extended_desc hw_desc; member
358 desc = &new->hw_desc; in msgdma_prep_memcpy()
423 desc = &new->hw_desc; in msgdma_prep_slave_sg()
499 void __iomem *hw_desc = mdev->desc; in msgdma_copy_one() local
518 memcpy((void __force *)hw_desc, &desc->hw_desc, in msgdma_copy_one()
519 sizeof(desc->hw_desc) - sizeof(u32)); in msgdma_copy_one()
524 iowrite32(desc->hw_desc.control, hw_desc + in msgdma_copy_one()
H A Dmv_xor_v2.c184 struct mv_xor_v2_descriptor hw_desc; member
323 memcpy(dest_hw_desc, &sw_desc->hw_desc, xor_dev->desc_size); in mv_xor_v2_tx_submit()
398 hw_descriptor = &sw_desc->hw_desc; in mv_xor_v2_prep_dma_memcpy()
454 hw_descriptor = &sw_desc->hw_desc; in mv_xor_v2_prep_dma_xor()
502 hw_descriptor = &sw_desc->hw_desc; in mv_xor_v2_prep_dma_interrupt()
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_main.c602 struct octep_vf_tx_desc_hw *hw_desc; in octep_vf_start_xmit() local
626 hw_desc = &iq->desc_ring[wi]; in octep_vf_start_xmit()
627 hw_desc->ih64 = 0; in octep_vf_start_xmit()
632 ih = &hw_desc->ih; in octep_vf_start_xmit()
644 hw_desc->dptr = tx_buffer->dma; in octep_vf_start_xmit()
680 hw_desc->dptr = tx_buffer->sglist_dma; in octep_vf_start_xmit()
684 hw_desc->txm.ol_flags = OCTEP_VF_TX_OFFLOAD_CKSUM; in octep_vf_start_xmit()
685 hw_desc->txm.ol_flags |= OCTEP_VF_TX_OFFLOAD_TSO; in octep_vf_start_xmit()
686 hw_desc->txm.gso_size = skb_shinfo(skb)->gso_size; in octep_vf_start_xmit()
689 hw_desc->txm.ol_flags = OCTEP_VF_TX_OFFLOAD_CKSUM; in octep_vf_start_xmit()
[all …]
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c848 struct octep_tx_desc_hw *hw_desc; in octep_start_xmit() local
872 hw_desc = &iq->desc_ring[wi]; in octep_start_xmit()
873 hw_desc->ih64 = 0; in octep_start_xmit()
878 ih = &hw_desc->ih; in octep_start_xmit()
889 hw_desc->dptr = tx_buffer->dma; in octep_start_xmit()
925 hw_desc->dptr = tx_buffer->sglist_dma; in octep_start_xmit()
930 hw_desc->txm.ol_flags = OCTEP_TX_OFFLOAD_CKSUM; in octep_start_xmit()
931 hw_desc->txm.ol_flags |= OCTEP_TX_OFFLOAD_TSO; in octep_start_xmit()
932 hw_desc->txm.gso_size = skb_shinfo(skb)->gso_size; in octep_start_xmit()
935 hw_desc->txm.ol_flags = OCTEP_TX_OFFLOAD_CKSUM; in octep_start_xmit()
[all …]
/linux/drivers/crypto/caam/
H A Dcaamhash.c754 append_seq_in_ptr(edesc->hw_desc, src_dma, first_bytes + to_hash, in ahash_edesc_add_src()
766 u32 *desc = state->edesc->hw_desc; in ahash_do_one_req()
795 u32 *desc = edesc->hw_desc; in ahash_enqueue_req()
906 desc = edesc->hw_desc; in ahash_update_ctx()
967 desc = edesc->hw_desc; in ahash_final_ctx()
1047 desc = edesc->hw_desc; in ahash_finup_ctx()
1129 desc = edesc->hw_desc; in ahash_digest()
1166 desc = edesc->hw_desc; in ahash_final_no_ctx()
1271 desc = edesc->hw_desc; in ahash_update_no_ctx()
1359 desc = edesc->hw_desc; in ahash_finup_no_ctx()
[all …]
H A Dcaamalg.c906 u32 hw_desc[]; member
933 u32 hw_desc[]; member
1078 u32 *desc = edesc->hw_desc; in init_aead_job()
1139 u32 *desc = edesc->hw_desc; in init_gcm_job()
1169 u32 *desc = edesc->hw_desc; in init_chachapoly_job()
1210 u32 *desc = edesc->hw_desc; in init_authenc_job()
1257 u32 *desc = edesc->hw_desc; in init_skcipher_job()
1450 u32 *desc = edesc->hw_desc; in aead_enqueue_req()
1486 desc = edesc->hw_desc; in chachapoly_crypt()
1545 u32 *desc = rctx->edesc->hw_desc; in aead_do_one_req()
[all …]
H A Dcaampkc.h146 u32 hw_desc[]; member
H A Dcaampkc.c383 u32 *desc = req_ctx->edesc->hw_desc; in akcipher_do_one_req()
678 u32 *desc = edesc->hw_desc; in akcipher_enqueue_req()
743 init_rsa_pub_desc(edesc->hw_desc, &edesc->pdb.pub); in caam_rsa_enc()
772 init_rsa_priv_f1_desc(edesc->hw_desc, &edesc->pdb.priv_f1); in caam_rsa_dec_priv_f1()
801 init_rsa_priv_f2_desc(edesc->hw_desc, &edesc->pdb.priv_f2); in caam_rsa_dec_priv_f2()
830 init_rsa_priv_f3_desc(edesc->hw_desc, &edesc->pdb.priv_f3); in caam_rsa_dec_priv_f3()