Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/amcc/
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_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.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
/linux-6.6.21/include/linux/mfd/
Dabx500.h69 int abx500_register_ops(struct device *core_dev, struct abx500_ops *ops);
/linux-6.6.21/drivers/memstick/host/
Dr592.c851 static int r592_suspend(struct device *core_dev) in r592_suspend() argument
853 struct r592_device *dev = dev_get_drvdata(core_dev); in r592_suspend()
861 static int r592_resume(struct device *core_dev) in r592_resume() argument
863 struct r592_device *dev = dev_get_drvdata(core_dev); in r592_resume()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Ddevlink.c793 struct mlx5_core_dev *core_dev = devlink_priv(devlink); in mlx5_devlink_traps_register() local
802 &core_dev->priv); in mlx5_devlink_traps_register()