Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/microchip/
H A Dmpfs-sys-controller.c45 reinit_completion(&sys_controller->c); in mpfs_blocking_transaction()
83 complete(&sys_controller->c); in mpfs_sys_controller_rx_callback()
92 kfree(sys_controller); in mpfs_sys_controller_delete()
119 sys_controller = kzalloc(sizeof(*sys_controller), GFP_KERNEL); in mpfs_sys_controller_probe()
120 if (!sys_controller) in mpfs_sys_controller_probe()
123 sys_controller->client.dev = dev; in mpfs_sys_controller_probe()
128 sys_controller->chan = mbox_request_channel(&sys_controller->client, 0); in mpfs_sys_controller_probe()
129 if (IS_ERR(sys_controller->chan)) { in mpfs_sys_controller_probe()
132 kfree(sys_controller); in mpfs_sys_controller_probe()
182 if (!sys_controller) in mpfs_sys_controller_get()
[all …]
/openbmc/linux/drivers/char/hw_random/
H A 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()