Home
last modified time | relevance | path

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

/drivers/crypto/amcc/
Dcrypto4xx_core.c170 dev->pdr = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_pdr()
179 dma_free_coherent(dev->core_dev->device, in crypto4xx_build_pdr()
185 dev->shadow_sa_pool = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_pdr()
192 dev->shadow_sr_pool = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_pdr()
219 dma_free_coherent(dev->core_dev->device, in crypto4xx_destroy_pdr()
224 dma_free_coherent(dev->core_dev->device, in crypto4xx_destroy_pdr()
229 dma_free_coherent(dev->core_dev->device, in crypto4xx_destroy_pdr()
258 spin_lock_irqsave(&dev->core_dev->lock, flags); in crypto4xx_put_pd_to_pdr()
266 spin_unlock_irqrestore(&dev->core_dev->lock, flags); in crypto4xx_put_pd_to_pdr()
278 dev->gdr = dma_alloc_coherent(dev->core_dev->device, in crypto4xx_build_gdr()
[all …]
Dcrypto4xx_trng.c71 void ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev) in ppc4xx_trng_probe() argument
73 struct crypto4xx_device *dev = core_dev->dev; in ppc4xx_trng_probe()
98 core_dev->trng = rng; in ppc4xx_trng_probe()
101 err = devm_hwrng_register(core_dev->device, core_dev->trng); in ppc4xx_trng_probe()
104 dev_err(core_dev->device, "failed to register hwrng (%d).\n", in ppc4xx_trng_probe()
114 core_dev->trng = NULL; in ppc4xx_trng_probe()
117 void ppc4xx_trng_remove(struct crypto4xx_core_device *core_dev) in ppc4xx_trng_remove() argument
119 if (core_dev && core_dev->trng) { in ppc4xx_trng_remove()
120 struct crypto4xx_device *dev = core_dev->dev; in ppc4xx_trng_remove()
122 devm_hwrng_unregister(core_dev->device, core_dev->trng); in ppc4xx_trng_remove()
[all …]
Dcrypto4xx_trng.h16 void ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev);
17 void ppc4xx_trng_remove(struct crypto4xx_core_device *core_dev);
Dcrypto4xx_core.h76 struct crypto4xx_core_device *core_dev; member
/drivers/memstick/host/
Dr592.c850 static int r592_suspend(struct device *core_dev) in r592_suspend() argument
852 struct r592_device *dev = dev_get_drvdata(core_dev); in r592_suspend()
860 static int r592_resume(struct device *core_dev) in r592_resume() argument
862 struct r592_device *dev = dev_get_drvdata(core_dev); in r592_resume()