Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/
H A Datmel-tdes.c133 struct atmel_tdes_dma dma_lch_out; member
452 dmaengine_slave_config(dd->dma_lch_out.chan, &dd->dma_lch_out.dma_conf); in atmel_tdes_crypt_dma()
480 dma_async_issue_pending(dd->dma_lch_out.chan); in atmel_tdes_crypt_dma()
754 if (IS_ERR(dd->dma_lch_out.chan)) { in atmel_tdes_dma_init()
755 ret = PTR_ERR(dd->dma_lch_out.chan); in atmel_tdes_dma_init()
761 dd->dma_lch_out.dma_conf.src_maxburst = 1; in atmel_tdes_dma_init()
762 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_dma_init()
764 dd->dma_lch_out.dma_conf.dst_maxburst = 1; in atmel_tdes_dma_init()
765 dd->dma_lch_out.dma_conf.dst_addr_width = in atmel_tdes_dma_init()
767 dd->dma_lch_out.dma_conf.device_fc = false; in atmel_tdes_dma_init()
[all …]
H A Domap-des.c158 struct dma_chan *dma_lch_out; member
284 if (dd->dma_lch_out != NULL) in omap_des_dma_trigger_omap4()
338 dd->dma_lch_out = NULL; in omap_des_dma_init()
347 dd->dma_lch_out = dma_request_chan(dd->dev, "tx"); in omap_des_dma_init()
348 if (IS_ERR(dd->dma_lch_out)) { in omap_des_dma_init()
350 err = PTR_ERR(dd->dma_lch_out); in omap_des_dma_init()
367 dma_release_channel(dd->dma_lch_out); in omap_des_dma_cleanup()
422 ret = dmaengine_slave_config(dd->dma_lch_out, &cfg); in omap_des_crypt_dma()
429 tx_out = dmaengine_prep_slave_sg(dd->dma_lch_out, out_sg, out_sg_len, in omap_des_crypt_dma()
444 dma_async_issue_pending(dd->dma_lch_out); in omap_des_crypt_dma()
[all …]
H A Domap-aes.c175 if (dd->dma_lch_out != NULL) in omap_aes_dma_trigger_omap2()
232 dd->dma_lch_out = NULL; in omap_aes_dma_init()
241 dd->dma_lch_out = dma_request_chan(dd->dev, "tx"); in omap_aes_dma_init()
242 if (IS_ERR(dd->dma_lch_out)) { in omap_aes_dma_init()
244 err = PTR_ERR(dd->dma_lch_out); in omap_aes_dma_init()
261 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, in omap_aes_crypt_dma()
352 dma_async_issue_pending(dd->dma_lch_out); in omap_aes_crypt_dma()
H A Domap-aes.h192 struct dma_chan *dma_lch_out; member