Searched refs:sys_controller (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/soc/microchip/ |
H A D | mpfs-sys-controller.c | 39 int mpfs_blocking_transaction(struct mpfs_sys_controller *sys_controller, struct mpfs_mss_msg *msg) in mpfs_blocking_transaction() argument 48 reinit_completion(&sys_controller->c); in mpfs_blocking_transaction() 50 ret = mbox_send_message(sys_controller->chan, msg); in mpfs_blocking_transaction() 52 dev_warn(sys_controller->client.dev, "MPFS sys controller service timeout\n"); in mpfs_blocking_transaction() 67 if (!wait_for_completion_timeout(&sys_controller->c, timeout)) { in mpfs_blocking_transaction() 69 dev_warn(sys_controller->client.dev, in mpfs_blocking_transaction() 85 struct mpfs_sys_controller *sys_controller = in mpfs_sys_controller_rx_callback() local 88 complete(&sys_controller->c); in mpfs_sys_controller_rx_callback() 93 struct mpfs_sys_controller *sys_controller = in mpfs_sys_controller_delete() local 96 mbox_free_channel(sys_controller->chan); in mpfs_sys_controller_delete() [all …]
|
/linux/drivers/char/hw_random/ |
H A D | mpfs-rng.c | 23 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()
|
/linux/drivers/firmware/microchip/ |
H A D | mpfs-auto-update.c | 80 struct mpfs_sys_controller *sys_controller; member 116 priv->flash = mpfs_sys_controller_get_flash(priv->sys_controller); in mpfs_auto_update_prepare() 191 ret = mpfs_blocking_transaction(priv->sys_controller, message); in mpfs_auto_update_verify_image() 389 ret = mpfs_blocking_transaction(priv->sys_controller, message); in mpfs_auto_update_available() 425 priv->sys_controller = mpfs_sys_controller_get(dev); in mpfs_auto_update_probe() 426 if (IS_ERR(priv->sys_controller)) in mpfs_auto_update_probe() 427 return dev_err_probe(dev, PTR_ERR(priv->sys_controller), in mpfs_auto_update_probe()
|