Home
last modified time | relevance | path

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

/drivers/crypto/
Datmel-tdes.c133 struct atmel_tdes_dma dma_lch_out; member
455 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma()
460 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma()
465 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma()
470 dmaengine_slave_config(dd->dma_lch_out.chan, &dd->dma_lch_out.dma_conf); in atmel_tdes_crypt_dma()
488 out_desc = dmaengine_prep_slave_sg(dd->dma_lch_out.chan, &sg[1], in atmel_tdes_crypt_dma()
498 dma_async_issue_pending(dd->dma_lch_out.chan); in atmel_tdes_crypt_dma()
746 dd->dma_lch_out.chan = dma_request_slave_channel_compat(mask, in atmel_tdes_dma_init()
748 if (!dd->dma_lch_out.chan) in atmel_tdes_dma_init()
751 dd->dma_lch_out.dma_conf.direction = DMA_DEV_TO_MEM; in atmel_tdes_dma_init()
[all …]
Domap-des.c165 struct dma_chan *dma_lch_out; member
292 if (dd->dma_lch_out != NULL) in omap_des_dma_trigger_omap4()
346 dd->dma_lch_out = NULL; in omap_des_dma_init()
355 dd->dma_lch_out = dma_request_chan(dd->dev, "tx"); in omap_des_dma_init()
356 if (IS_ERR(dd->dma_lch_out)) { in omap_des_dma_init()
358 err = PTR_ERR(dd->dma_lch_out); in omap_des_dma_init()
375 dma_release_channel(dd->dma_lch_out); in omap_des_dma_cleanup()
430 ret = dmaengine_slave_config(dd->dma_lch_out, &cfg); in omap_des_crypt_dma()
437 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_des_crypt_dma()
452 dma_async_issue_pending(dd->dma_lch_out); in omap_des_crypt_dma()
[all …]
Domap-aes.c178 if (dd->dma_lch_out != NULL) in omap_aes_dma_trigger_omap2()
235 dd->dma_lch_out = NULL; in omap_aes_dma_init()
244 dd->dma_lch_out = dma_request_chan(dd->dev, "tx"); in omap_aes_dma_init()
245 if (IS_ERR(dd->dma_lch_out)) { in omap_aes_dma_init()
247 err = PTR_ERR(dd->dma_lch_out); in omap_aes_dma_init()
264 dma_release_channel(dd->dma_lch_out); in omap_aes_dma_cleanup()
318 ret = dmaengine_slave_config(dd->dma_lch_out, &cfg); in omap_aes_crypt_dma()
325 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_aes_crypt_dma()
343 dma_async_issue_pending(dd->dma_lch_out); in omap_aes_crypt_dma()
Domap-aes.h190 struct dma_chan *dma_lch_out; member