Home
last modified time | relevance | path

Searched refs:dma_lch_out (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/crypto/
Datmel-tdes.c133 struct atmel_tdes_dma dma_lch_out; member
459 dd->dma_lch_out.dma_conf.src_addr_width = addr_width; in atmel_tdes_crypt_dma()
462 dmaengine_slave_config(dd->dma_lch_out.chan, &dd->dma_lch_out.dma_conf); in atmel_tdes_crypt_dma()
480 out_desc = dmaengine_prep_slave_sg(dd->dma_lch_out.chan, &sg[1], in atmel_tdes_crypt_dma()
490 dma_async_issue_pending(dd->dma_lch_out.chan); in atmel_tdes_crypt_dma()
765 dd->dma_lch_out.chan = dma_request_chan(dd->dev, "rx"); in atmel_tdes_dma_init()
766 if (IS_ERR(dd->dma_lch_out.chan)) { in atmel_tdes_dma_init()
767 ret = PTR_ERR(dd->dma_lch_out.chan); in atmel_tdes_dma_init()
771 dd->dma_lch_out.dma_conf.src_addr = dd->phys_base + in atmel_tdes_dma_init()
773 dd->dma_lch_out.dma_conf.src_maxburst = 1; in atmel_tdes_dma_init()
[all …]
Domap-des.c163 struct dma_chan *dma_lch_out; member
290 if (dd->dma_lch_out != NULL) in omap_des_dma_trigger_omap4()
344 dd->dma_lch_out = NULL; in omap_des_dma_init()
353 dd->dma_lch_out = dma_request_chan(dd->dev, "tx"); in omap_des_dma_init()
354 if (IS_ERR(dd->dma_lch_out)) { in omap_des_dma_init()
356 err = PTR_ERR(dd->dma_lch_out); in omap_des_dma_init()
373 dma_release_channel(dd->dma_lch_out); in omap_des_dma_cleanup()
428 ret = dmaengine_slave_config(dd->dma_lch_out, &cfg); in omap_des_crypt_dma()
435 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_des_crypt_dma()
450 dma_async_issue_pending(dd->dma_lch_out); in omap_des_crypt_dma()
[all …]
Domap-aes.c177 if (dd->dma_lch_out != NULL) in omap_aes_dma_trigger_omap2()
234 dd->dma_lch_out = NULL; in omap_aes_dma_init()
243 dd->dma_lch_out = dma_request_chan(dd->dev, "tx"); in omap_aes_dma_init()
244 if (IS_ERR(dd->dma_lch_out)) { in omap_aes_dma_init()
246 err = PTR_ERR(dd->dma_lch_out); in omap_aes_dma_init()
263 dma_release_channel(dd->dma_lch_out); in omap_aes_dma_cleanup()
320 ret = dmaengine_slave_config(dd->dma_lch_out, &cfg); in omap_aes_crypt_dma()
327 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, in omap_aes_crypt_dma()
354 dma_async_issue_pending(dd->dma_lch_out); in omap_aes_crypt_dma()
Domap-aes.h194 struct dma_chan *dma_lch_out; member