Home
last modified time | relevance | path

Searched refs:ctrldev (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/rpmsg/
Drpmsg_char.c341 static int rpmsg_eptdev_create(struct rpmsg_ctrldev *ctrldev, in rpmsg_eptdev_create() argument
344 struct rpmsg_device *rpdev = ctrldev->rpdev; in rpmsg_eptdev_create()
364 dev->parent = &ctrldev->dev; in rpmsg_eptdev_create()
410 struct rpmsg_ctrldev *ctrldev = cdev_to_ctrldev(inode->i_cdev); in rpmsg_ctrldev_open() local
412 get_device(&ctrldev->dev); in rpmsg_ctrldev_open()
413 filp->private_data = ctrldev; in rpmsg_ctrldev_open()
420 struct rpmsg_ctrldev *ctrldev = cdev_to_ctrldev(inode->i_cdev); in rpmsg_ctrldev_release() local
422 put_device(&ctrldev->dev); in rpmsg_ctrldev_release()
430 struct rpmsg_ctrldev *ctrldev = fp->private_data; in rpmsg_ctrldev_ioctl() local
446 return rpmsg_eptdev_create(ctrldev, chinfo); in rpmsg_ctrldev_ioctl()
[all …]
/Linux-v5.4/drivers/crypto/caam/
Dctrl.c89 static inline int run_descriptor_deco0(struct device *ctrldev, u32 *desc, in run_descriptor_deco0() argument
92 struct caam_drv_private *ctrlpriv = dev_get_drvdata(ctrldev); in run_descriptor_deco0()
122 dev_err(ctrldev, "failed to acquire DECO 0\n"); in run_descriptor_deco0()
197 static int instantiate_rng(struct device *ctrldev, int state_handle_mask, in instantiate_rng() argument
200 struct caam_drv_private *ctrlpriv = dev_get_drvdata(ctrldev); in instantiate_rng()
222 ret = run_descriptor_deco0(ctrldev, desc, &status); in instantiate_rng()
243 dev_info(ctrldev, "Instantiated RNG4 SH%d\n", sh_idx); in instantiate_rng()
266 static int deinstantiate_rng(struct device *ctrldev, int state_handle_mask) in deinstantiate_rng() argument
289 ret = run_descriptor_deco0(ctrldev, desc, &status); in deinstantiate_rng()
293 dev_err(ctrldev, in deinstantiate_rng()
[all …]
Dcaamrng.c313 int caam_rng_init(struct device *ctrldev) in caam_rng_init() argument
317 struct caam_drv_private *priv = dev_get_drvdata(ctrldev); in caam_rng_init()
Dqi.c710 struct device *ctrldev = &caam_pdev->dev, *qidev; in caam_qi_init() local
714 ctrlpriv = dev_get_drvdata(ctrldev); in caam_qi_init()
715 qidev = ctrldev; in caam_qi_init()
Dcaampkc.c1087 int caam_pkc_init(struct device *ctrldev) in caam_pkc_init() argument
1089 struct caam_drv_private *priv = dev_get_drvdata(ctrldev); in caam_pkc_init()
1115 dev_warn(ctrldev, "%s alg registration failed\n", in caam_pkc_init()
1120 dev_info(ctrldev, "caam pkc algorithms registered in /proc/crypto\n"); in caam_pkc_init()
Dcaamalg_qi.c2546 int caam_qi_algapi_init(struct device *ctrldev) in caam_qi_algapi_init() argument
2548 struct caam_drv_private *priv = dev_get_drvdata(ctrldev); in caam_qi_algapi_init()
2610 dev_warn(ctrldev, "%s alg registration failed\n", in caam_qi_algapi_init()
2666 dev_info(ctrldev, "algorithms registered in /proc/crypto\n"); in caam_qi_algapi_init()
Dcaamhash.c1982 int caam_algapi_hash_init(struct device *ctrldev) in caam_algapi_hash_init() argument
1985 struct caam_drv_private *priv = dev_get_drvdata(ctrldev); in caam_algapi_hash_init()
Dcaamalg.c3531 int caam_algapi_init(struct device *ctrldev) in caam_algapi_init() argument
3533 struct caam_drv_private *priv = dev_get_drvdata(ctrldev); in caam_algapi_init()