Home
last modified time | relevance | path

Searched refs:sys_controller (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/soc/microchip/
Dmpfs-sys-controller.c29 int mpfs_blocking_transaction(struct mpfs_sys_controller *sys_controller, struct mpfs_mss_msg *msg) in mpfs_blocking_transaction() argument
37 reinit_completion(&sys_controller->c); in mpfs_blocking_transaction()
39 ret = mbox_send_message(sys_controller->chan, msg); in mpfs_blocking_transaction()
41 if (wait_for_completion_timeout(&sys_controller->c, HZ)) { in mpfs_blocking_transaction()
45 dev_warn(sys_controller->client.dev, in mpfs_blocking_transaction()
49 dev_err(sys_controller->client.dev, in mpfs_blocking_transaction()
61 struct mpfs_sys_controller *sys_controller = in rx_callback() local
64 complete(&sys_controller->c); in rx_callback()
69 struct mpfs_sys_controller *sys_controller = container_of(kref, struct mpfs_sys_controller, in mpfs_sys_controller_delete() local
72 mbox_free_channel(sys_controller->chan); in mpfs_sys_controller_delete()
[all …]
/linux-5.19.10/drivers/char/hw_random/
Dmpfs-rng.c23 struct mpfs_sys_controller *sys_controller; member
49 ret = mpfs_blocking_transaction(rng_priv->sys_controller, &msg); in mpfs_rng_read()
74 rng_priv->sys_controller = mpfs_sys_controller_get(&pdev->dev); in mpfs_rng_probe()
75 if (IS_ERR(rng_priv->sys_controller)) in mpfs_rng_probe()
76 return dev_err_probe(dev, PTR_ERR(rng_priv->sys_controller), in mpfs_rng_probe()