/kernel/linux/linux-6.6/include/linux/ |
H A D | mailbox_client.h | 16 * struct mbox_client - User of a mailbox 29 struct mbox_client { struct 35 void (*rx_callback)(struct mbox_client *cl, void *mssg); 36 void (*tx_prepare)(struct mbox_client *cl, void *mssg); 37 void (*tx_done)(struct mbox_client *cl, void *mssg, int r); 40 int mbox_bind_client(struct mbox_chan *chan, struct mbox_client *cl); 41 struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl, 43 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index);
|
H A D | omap-mailbox.h | 18 struct mbox_client; 20 struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl,
|
H A D | wkup_m3_ipc.h | 37 struct mbox_client mbox_client; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mailbox_client.h | 16 * struct mbox_client - User of a mailbox 29 struct mbox_client { struct 35 void (*rx_callback)(struct mbox_client *cl, void *mssg); 36 void (*tx_prepare)(struct mbox_client *cl, void *mssg); 37 void (*tx_done)(struct mbox_client *cl, void *mssg, int r); 40 struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl, 42 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index);
|
H A D | omap-mailbox.h | 18 struct mbox_client; 20 struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl,
|
H A D | wkup_m3_ipc.h | 39 struct mbox_client mbox_client; member
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-xgene-slimpro.c | 107 struct mbox_client mbox_client; member 117 container_of(cl, struct slimpro_i2c_dev, mbox_client) 139 static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg) in slimpro_i2c_rx_cb() 152 if (ctx->mbox_client.tx_block) in slimpro_i2c_rx_cb() 156 static void slimpro_i2c_pcc_rx_cb(struct mbox_client *cl, void *msg) in slimpro_i2c_pcc_rx_cb() 202 if (ctx->mbox_client.tx_block || !acpi_disabled) { in start_i2c_msg_xfer() 330 if (ctx->mbox_client.tx_block) in slimpro_i2c_blkwr() 448 struct mbox_client *cl; in xgene_slimpro_i2c_probe() 457 cl = &ctx->mbox_client; in xgene_slimpro_i2c_probe() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-xgene-slimpro.c | 107 struct mbox_client mbox_client; member 117 container_of(cl, struct slimpro_i2c_dev, mbox_client) 139 static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg) in slimpro_i2c_rx_cb() 152 if (ctx->mbox_client.tx_block) in slimpro_i2c_rx_cb() 156 static void slimpro_i2c_pcc_rx_cb(struct mbox_client *cl, void *msg) in slimpro_i2c_pcc_rx_cb() 202 if (ctx->mbox_client.tx_block || !acpi_disabled) { in start_i2c_msg_xfer() 330 if (ctx->mbox_client.tx_block) in slimpro_i2c_blkwr() 448 struct mbox_client *cl; in xgene_slimpro_i2c_probe() 457 cl = &ctx->mbox_client; in xgene_slimpro_i2c_probe() [all...] |
/kernel/linux/linux-5.10/include/acpi/ |
H A D | pcc.h | 14 extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl, 18 static inline struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl, in pcc_mbox_request_channel()
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
H A D | st_remoteproc.c | 52 struct mbox_client mbox_client_vq0; 53 struct mbox_client mbox_client_vq1; 65 void st_rproc_mbox_callback_vq0(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq0() argument 67 st_rproc_mbox_callback(mbox_client->dev, 0); in st_rproc_mbox_callback_vq0() 71 void st_rproc_mbox_callback_vq1(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq1() argument 73 st_rproc_mbox_callback(mbox_client->dev, 1); in st_rproc_mbox_callback_vq1()
|
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | st_remoteproc.c | 52 struct mbox_client mbox_client_vq0; 53 struct mbox_client mbox_client_vq1; 65 void st_rproc_mbox_callback_vq0(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq0() argument 67 st_rproc_mbox_callback(mbox_client->dev, 0); in st_rproc_mbox_callback_vq0() 71 void st_rproc_mbox_callback_vq1(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq1() argument 73 st_rproc_mbox_callback(mbox_client->dev, 1); in st_rproc_mbox_callback_vq1()
|
/kernel/linux/linux-6.6/include/acpi/ |
H A D | pcc.h | 24 pcc_mbox_request_channel(struct mbox_client *cl, int subspace_id); 28 pcc_mbox_request_channel(struct mbox_client *cl, int subspace_id) in pcc_mbox_request_channel()
|
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
H A D | mailbox.c | 27 struct mbox_client cl; 35 static void tx_prepare(struct mbox_client *cl, void *m) in tx_prepare() 42 static void rx_callback(struct mbox_client *cl, void *m) in rx_callback() 96 struct mbox_client *cl; in mailbox_chan_setup()
|
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/ |
H A D | mailbox.c | 28 struct mbox_client cl; 37 static void tx_prepare(struct mbox_client *cl, void *m) in tx_prepare() 44 static void rx_callback(struct mbox_client *cl, void *m) in rx_callback() 167 struct mbox_client *cl; in mailbox_chan_setup()
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
H A D | wkup_m3_ipc.c | 462 m3_ipc->mbox_client.dev = dev; in wkup_m3_ipc_probe() 463 m3_ipc->mbox_client.tx_done = NULL; in wkup_m3_ipc_probe() 464 m3_ipc->mbox_client.tx_prepare = NULL; in wkup_m3_ipc_probe() 465 m3_ipc->mbox_client.rx_callback = NULL; in wkup_m3_ipc_probe() 466 m3_ipc->mbox_client.tx_block = false; in wkup_m3_ipc_probe() 467 m3_ipc->mbox_client.knows_txdone = false; in wkup_m3_ipc_probe() 469 m3_ipc->mbox = mbox_request_channel(&m3_ipc->mbox_client, 0); in wkup_m3_ipc_probe()
|
/kernel/linux/linux-6.6/drivers/soc/ti/ |
H A D | wkup_m3_ipc.c | 641 m3_ipc->mbox_client.dev = dev; in wkup_m3_ipc_probe() 642 m3_ipc->mbox_client.tx_done = NULL; in wkup_m3_ipc_probe() 643 m3_ipc->mbox_client.tx_prepare = NULL; in wkup_m3_ipc_probe() 644 m3_ipc->mbox_client.rx_callback = NULL; in wkup_m3_ipc_probe() 645 m3_ipc->mbox_client.tx_block = false; in wkup_m3_ipc_probe() 646 m3_ipc->mbox_client.knows_txdone = false; in wkup_m3_ipc_probe() 648 m3_ipc->mbox = mbox_request_channel(&m3_ipc->mbox_client, 0); in wkup_m3_ipc_probe()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | xgene-hwmon.c | 80 container_of(cl, struct xgene_hwmon_dev, mbox_client) 96 struct mbox_client mbox_client; member 478 static void xgene_hwmon_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_rx_cb() 528 static void xgene_hwmon_pcc_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_pcc_rx_cb() 594 static void xgene_hwmon_tx_done(struct mbox_client *cl, void *msg, int ret) in xgene_hwmon_tx_done() 617 struct mbox_client *cl; in xgene_hwmon_probe() 626 cl = &ctx->mbox_client; in xgene_hwmon_probe()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | xgene-hwmon.c | 80 container_of(cl, struct xgene_hwmon_dev, mbox_client) 97 struct mbox_client mbox_client; member 479 static void xgene_hwmon_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_rx_cb() 529 static void xgene_hwmon_pcc_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_pcc_rx_cb() 595 static void xgene_hwmon_tx_done(struct mbox_client *cl, void *msg, int ret) in xgene_hwmon_tx_done() 618 struct mbox_client *cl; in xgene_hwmon_probe() 627 cl = &ctx->mbox_client; in xgene_hwmon_probe()
|
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | turris-mox-rwtm.c | 51 struct mbox_client mbox_client; member 172 static void mox_rwtm_rx_callback(struct mbox_client *cl, void *data) in mox_rwtm_rx_callback() 503 rwtm->mbox_client.dev = dev; in turris_mox_rwtm_probe() 504 rwtm->mbox_client.rx_callback = mox_rwtm_rx_callback; in turris_mox_rwtm_probe() 506 rwtm->mbox = mbox_request_channel(&rwtm->mbox_client, 0); in turris_mox_rwtm_probe()
|
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | turris-mox-rwtm.c | 51 struct mbox_client mbox_client; member 172 static void mox_rwtm_rx_callback(struct mbox_client *cl, void *data) in mox_rwtm_rx_callback() 503 rwtm->mbox_client.dev = dev; in turris_mox_rwtm_probe() 504 rwtm->mbox_client.rx_callback = mox_rwtm_rx_callback; in turris_mox_rwtm_probe() 506 rwtm->mbox = mbox_request_channel(&rwtm->mbox_client, 0); in turris_mox_rwtm_probe()
|
/kernel/linux/linux-5.10/drivers/firmware/imx/ |
H A D | imx-scu.c | 28 struct mbox_client cl; 105 static void imx_scu_tx_done(struct mbox_client *cl, void *mssg, int r) in imx_scu_tx_done() 112 static void imx_scu_rx_callback(struct mbox_client *c, void *msg) in imx_scu_rx_callback() 265 struct mbox_client *cl; in imx_scu_probe()
|
/kernel/linux/linux-6.6/drivers/firmware/imx/ |
H A D | imx-scu.c | 29 struct mbox_client cl; 106 static void imx_scu_tx_done(struct mbox_client *cl, void *mssg, int r) in imx_scu_tx_done() 113 static void imx_scu_rx_callback(struct mbox_client *c, void *msg) in imx_scu_rx_callback() 266 struct mbox_client *cl; in imx_scu_probe()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
H A D | smp2p.c | 122 * @mbox_client: mailbox client handle 144 struct mbox_client mbox_client; member 482 smp2p->mbox_client.dev = &pdev->dev; in qcom_smp2p_probe() 483 smp2p->mbox_client.knows_txdone = true; in qcom_smp2p_probe() 484 smp2p->mbox_chan = mbox_request_channel(&smp2p->mbox_client, 0); in qcom_smp2p_probe()
|
H A D | qcom_aoss.c | 60 * @mbox_client: mailbox client used to ring the doorbell on transmit 73 struct mbox_client mbox_client; member 544 qmp->mbox_client.dev = &pdev->dev; in qmp_probe() 545 qmp->mbox_client.knows_txdone = true; in qmp_probe() 546 qmp->mbox_chan = mbox_request_channel(&qmp->mbox_client, 0); in qmp_probe()
|
/kernel/linux/linux-6.6/drivers/rpmsg/ |
H A D | qcom_glink_rpm.c | 62 struct mbox_client mbox_client; member 328 rpm->mbox_client.dev = dev; in glink_rpm_probe() 329 rpm->mbox_client.knows_txdone = true; in glink_rpm_probe() 330 rpm->mbox_chan = mbox_request_channel(&rpm->mbox_client, 0); in glink_rpm_probe()
|