Home
last modified time | relevance | path

Searched refs:dma_lch_in (Results 1 – 5 of 5) sorted by relevance

/drivers/crypto/
Datmel-tdes.c128 struct atmel_tdes_dma dma_lch_in; member
448 dd->dma_lch_in.dma_conf.dst_addr_width = addr_width; in atmel_tdes_crypt_dma()
451 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_tdes_crypt_dma()
464 in_desc = dmaengine_prep_slave_sg(dd->dma_lch_in.chan, &sg[0], in atmel_tdes_crypt_dma()
483 dma_async_issue_pending(dd->dma_lch_in.chan); in atmel_tdes_crypt_dma()
742 dd->dma_lch_in.chan = dma_request_chan(dd->dev, "tx"); in atmel_tdes_dma_init()
743 if (IS_ERR(dd->dma_lch_in.chan)) { in atmel_tdes_dma_init()
744 ret = PTR_ERR(dd->dma_lch_in.chan); in atmel_tdes_dma_init()
748 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_tdes_dma_init()
750 dd->dma_lch_in.dma_conf.src_maxburst = 1; in atmel_tdes_dma_init()
[all …]
Domap-des.c162 struct dma_chan *dma_lch_in; member
291 if (dd->dma_lch_in != NULL) in omap_des_dma_trigger_omap4()
344 dd->dma_lch_in = NULL; in omap_des_dma_init()
346 dd->dma_lch_in = dma_request_chan(dd->dev, "rx"); in omap_des_dma_init()
347 if (IS_ERR(dd->dma_lch_in)) { in omap_des_dma_init()
349 return PTR_ERR(dd->dma_lch_in); in omap_des_dma_init()
362 dma_release_channel(dd->dma_lch_in); in omap_des_dma_init()
373 dma_release_channel(dd->dma_lch_in); in omap_des_dma_cleanup()
408 ret = dmaengine_slave_config(dd->dma_lch_in, &cfg); in omap_des_crypt_dma()
415 tx_in = dmaengine_prep_slave_sg(dd->dma_lch_in, in_sg, in_sg_len, in omap_des_crypt_dma()
[all …]
Datmel-sha.c150 struct atmel_sha_dma dma_lch_in; member
647 dd->dma_lch_in.dma_conf.src_maxburst = 16; in atmel_sha_xmit_dma()
648 dd->dma_lch_in.dma_conf.dst_maxburst = 16; in atmel_sha_xmit_dma()
650 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_sha_xmit_dma()
658 in_desc = dmaengine_prep_slave_sg(dd->dma_lch_in.chan, sg, 2, in atmel_sha_xmit_dma()
664 in_desc = dmaengine_prep_slave_sg(dd->dma_lch_in.chan, sg, 1, in atmel_sha_xmit_dma()
687 dma_async_issue_pending(dd->dma_lch_in.chan); in atmel_sha_xmit_dma()
1393 struct atmel_sha_dma *dma = &dd->dma_lch_in; in atmel_sha_dma_check_aligned()
1427 struct atmel_sha_dma *dma = &dd->dma_lch_in; in atmel_sha_dma_callback2()
1447 struct atmel_sha_dma *dma = &dd->dma_lch_in; in atmel_sha_dma_start()
[all …]
Domap-aes.c179 if (dd->dma_lch_in != NULL) in omap_aes_dma_trigger_omap2()
235 dd->dma_lch_in = NULL; in omap_aes_dma_init()
237 dd->dma_lch_in = dma_request_chan(dd->dev, "rx"); in omap_aes_dma_init()
238 if (IS_ERR(dd->dma_lch_in)) { in omap_aes_dma_init()
240 return PTR_ERR(dd->dma_lch_in); in omap_aes_dma_init()
253 dma_release_channel(dd->dma_lch_in); in omap_aes_dma_init()
264 dma_release_channel(dd->dma_lch_in); in omap_aes_dma_cleanup()
299 ret = dmaengine_slave_config(dd->dma_lch_in, &cfg); in omap_aes_crypt_dma()
306 tx_in = dmaengine_prep_slave_sg(dd->dma_lch_in, in_sg, in_sg_len, in omap_aes_crypt_dma()
352 dma_async_issue_pending(dd->dma_lch_in); in omap_aes_crypt_dma()
Domap-aes.h193 struct dma_chan *dma_lch_in; member