Home
last modified time | relevance | path

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

/drivers/dma/ppc4xx/
Dadma.c191 print_cb(chan, iter->hw_desc); in print_cb_list()
252 p = desc->hw_desc; in ppc440spe_desc_init_interrupt()
253 memset(desc->hw_desc, 0, sizeof(struct xor_cb)); in ppc440spe_desc_init_interrupt()
259 memset(desc->hw_desc, 0, sizeof(struct dma_cdb)); in ppc440spe_desc_init_interrupt()
276 memset(desc->hw_desc, 0, sizeof(struct xor_cb)); in ppc440spe_desc_init_null_xor()
288 struct xor_cb *hw_desc = desc->hw_desc; in ppc440spe_desc_init_xor() local
290 memset(desc->hw_desc, 0, sizeof(struct xor_cb)); in ppc440spe_desc_init_xor()
295 hw_desc->cbc = XOR_CBCR_TGT_BIT | src_cnt; in ppc440spe_desc_init_xor()
298 hw_desc->cbc |= XOR_CBCR_CBCE_BIT; in ppc440spe_desc_init_xor()
308 struct xor_cb *hw_desc = desc->hw_desc; in ppc440spe_desc_init_dma2pq() local
[all …]
Dadma.h155 void *hw_desc; member
/drivers/infiniband/hw/amso1100/
Dc2.c139 elem->hw_desc = txp_desc; in c2_tx_ring_alloc()
191 elem->hw_desc = rxp_desc; in c2_rx_ring_alloc()
239 __raw_writew(0, elem->hw_desc + C2_RXP_STATUS); in c2_rx_alloc()
241 elem->hw_desc + C2_RXP_LEN); in c2_rx_alloc()
242 __raw_writeq((__force u64) cpu_to_be64(mapaddr), elem->hw_desc + C2_RXP_ADDR); in c2_rx_alloc()
244 elem->hw_desc + C2_RXP_FLAGS); in c2_rx_alloc()
289 __raw_writew(0, elem->hw_desc + C2_RXP_STATUS); in c2_rx_clean()
290 __raw_writew(0, elem->hw_desc + C2_RXP_COUNT); in c2_rx_clean()
291 __raw_writew(0, elem->hw_desc + C2_RXP_LEN); in c2_rx_clean()
293 elem->hw_desc + C2_RXP_ADDR); in c2_rx_clean()
[all …]
Dc2.h273 void __iomem *hw_desc; /* hardware descriptor */ member
/drivers/dma/
Dmv_xor.c50 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_init() local
52 hw_desc->status = (1 << 31); in mv_desc_init()
53 hw_desc->phy_next_desc = 0; in mv_desc_init()
54 hw_desc->desc_command = (1 << 31); in mv_desc_init()
59 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_get_dest_addr() local
60 return hw_desc->phy_dest_addr; in mv_desc_get_dest_addr()
66 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_get_src_addr() local
67 return hw_desc->phy_src_addr[src_idx]; in mv_desc_get_src_addr()
74 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_byte_count() local
75 hw_desc->byte_count = byte_count; in mv_desc_set_byte_count()
[all …]
Dmv_xor.h127 void *hw_desc; member
161 container_of(addr_hw_desc, struct mv_xor_desc_slot, hw_desc)
163 #define mv_hw_desc_slot_idx(hw_desc, idx) \ argument
164 ((void *)(((unsigned long)hw_desc) + ((idx) << 5)))
Diop-adma.c404 iter->idx, iter->hw_desc, in iop_adma_alloc_slots()
515 char *hw_desc; in iop_adma_alloc_chan_resources() local
536 hw_desc = (char *) iop_chan->device->dma_desc_pool_virt; in iop_adma_alloc_chan_resources()
537 slot->hw_desc = (void *) &hw_desc[idx * IOP_ADMA_SLOT_SIZE]; in iop_adma_alloc_chan_resources()
544 hw_desc = (char *) iop_chan->device->dma_desc_pool; in iop_adma_alloc_chan_resources()
546 (dma_addr_t) &hw_desc[idx * IOP_ADMA_SLOT_SIZE]; in iop_adma_alloc_chan_resources()
/drivers/crypto/
Dsahara.c145 struct sahara_hw_desc *hw_desc[SAHARA_MAX_HW_DESC]; member
375 dev_dbg(dev->device, "\thdr = 0x%08x\n", dev->hw_desc[i]->hdr); in sahara_dump_descriptors()
376 dev_dbg(dev->device, "\tlen1 = %u\n", dev->hw_desc[i]->len1); in sahara_dump_descriptors()
377 dev_dbg(dev->device, "\tp1 = 0x%08x\n", dev->hw_desc[i]->p1); in sahara_dump_descriptors()
378 dev_dbg(dev->device, "\tlen2 = %u\n", dev->hw_desc[i]->len2); in sahara_dump_descriptors()
379 dev_dbg(dev->device, "\tp2 = 0x%08x\n", dev->hw_desc[i]->p2); in sahara_dump_descriptors()
381 dev->hw_desc[i]->next); in sahara_dump_descriptors()
445 dev->hw_desc[0]->len1 = AES_BLOCK_SIZE; in sahara_hw_descriptor_create()
446 dev->hw_desc[0]->p1 = dev->iv_phys_base; in sahara_hw_descriptor_create()
448 dev->hw_desc[0]->len1 = 0; in sahara_hw_descriptor_create()
[all …]
/drivers/crypto/caam/
Dcaamalg.c679 u32 hw_desc[0]; member
703 u32 hw_desc[0]; member
772 offsetof(struct aead_edesc, hw_desc)); in aead_encrypt_done()
814 offsetof(struct aead_edesc, hw_desc)); in aead_decrypt_done()
872 offsetof(struct ablkcipher_edesc, hw_desc)); in ablkcipher_encrypt_done()
908 offsetof(struct ablkcipher_edesc, hw_desc)); in ablkcipher_decrypt_done()
942 u32 *desc = edesc->hw_desc; in init_aead_job()
1020 u32 *desc = edesc->hw_desc; in init_aead_giv_job()
1083 u32 *desc = edesc->hw_desc; in init_ablkcipher_job()
1251 DUMP_PREFIX_ADDRESS, 16, 4, edesc->hw_desc, in aead_encrypt()
[all …]
Dcaamrng.c62 u32 hw_desc[DESC_JOB_O_LEN]; member
104 offsetof(struct buf_data, hw_desc)); in rng_done()
124 u32 *desc = bd->hw_desc; in submit_job()
219 u32 *desc = bd->hw_desc; in rng_create_job_desc()
Dcaamhash.c584 u32 hw_desc[0]; member
630 offsetof(struct ahash_edesc, hw_desc)); in ahash_done()
668 offsetof(struct ahash_edesc, hw_desc)); in ahash_done_bi()
706 offsetof(struct ahash_edesc, hw_desc)); in ahash_done_ctx_src()
744 offsetof(struct ahash_edesc, hw_desc)); in ahash_done_ctx_dst()
845 desc = edesc->hw_desc; in ahash_update_ctx()
915 desc = edesc->hw_desc; in ahash_final_ctx()
991 desc = edesc->hw_desc; in ahash_finup_ctx()
1072 desc = edesc->hw_desc; in ahash_digest()
1131 desc = edesc->hw_desc; in ahash_final_no_ctx()
[all …]
/drivers/rapidio/devices/
Dtsi721_dma.c299 tx_desc->hw_desc = &((struct tsi721_dma_desc *)bdma_chan->bd_base)[i]; in tsi721_desc_get()
311 struct tsi721_dma_desc *bd_ptr = desc->hw_desc; in tsi721_fill_desc()
Dtsi721.h649 struct tsi721_dma_desc *hw_desc; member