| /drivers/i2c/busses/ |
| A D | i2c-xgene-slimpro.c | 99 struct mbox_client mbox_client; member 107 container_of(cl, struct slimpro_i2c_dev, mbox_client) 129 static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg) in slimpro_i2c_rx_cb() 142 if (ctx->mbox_client.tx_block) in slimpro_i2c_rx_cb() 146 static void slimpro_i2c_pcc_rx_cb(struct mbox_client *cl, void *msg) in slimpro_i2c_pcc_rx_cb() 194 if (ctx->mbox_client.tx_block || !acpi_disabled) { in start_i2c_msg_xfer() 322 if (ctx->mbox_client.tx_block) in slimpro_i2c_blkwr() 440 struct mbox_client *cl; in xgene_slimpro_i2c_probe() 449 cl = &ctx->mbox_client; in xgene_slimpro_i2c_probe()
|
| /drivers/remoteproc/ |
| A D | st_remoteproc.c | 51 struct mbox_client mbox_client_vq0; 52 struct mbox_client mbox_client_vq1; 64 void st_rproc_mbox_callback_vq0(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq0() argument 66 st_rproc_mbox_callback(mbox_client->dev, 0); in st_rproc_mbox_callback_vq0() 70 void st_rproc_mbox_callback_vq1(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq1() argument 72 st_rproc_mbox_callback(mbox_client->dev, 1); in st_rproc_mbox_callback_vq1()
|
| A D | ti_k3_common.h | 94 struct mbox_client client; 98 void k3_rproc_mbox_callback(struct mbox_client *client, void *data);
|
| /drivers/firmware/ |
| A D | turris-mox-rwtm.c | 88 struct mbox_client mbox_client; member 112 return rwtm->mbox_client.dev; in rwtm_dev() 157 static void mox_rwtm_rx_callback(struct mbox_client *cl, void *data) in mox_rwtm_rx_callback() 448 rwtm->mbox_client.dev = dev; in turris_mox_rwtm_probe() 449 rwtm->mbox_client.rx_callback = mox_rwtm_rx_callback; in turris_mox_rwtm_probe() 451 rwtm->mbox = mbox_request_channel(&rwtm->mbox_client, 0); in turris_mox_rwtm_probe()
|
| A D | thead,th1520-aon.c | 20 struct mbox_client cl; 76 static void th1520_aon_rx_callback(struct mbox_client *c, void *rx_msg) in th1520_aon_rx_callback() 205 struct mbox_client *cl; in th1520_aon_init()
|
| A D | mtk-adsp-ipc.c | 52 static void mtk_adsp_ipc_recv(struct mbox_client *c, void *msg) in mtk_adsp_ipc_recv() 75 struct mbox_client *cl; in mtk_adsp_ipc_probe()
|
| /drivers/soc/ti/ |
| A D | wkup_m3_ipc.c | 638 m3_ipc->mbox_client.dev = dev; in wkup_m3_ipc_probe() 639 m3_ipc->mbox_client.tx_done = NULL; in wkup_m3_ipc_probe() 640 m3_ipc->mbox_client.tx_prepare = NULL; in wkup_m3_ipc_probe() 641 m3_ipc->mbox_client.rx_callback = NULL; in wkup_m3_ipc_probe() 642 m3_ipc->mbox_client.tx_block = false; in wkup_m3_ipc_probe() 643 m3_ipc->mbox_client.knows_txdone = false; in wkup_m3_ipc_probe() 645 m3_ipc->mbox = mbox_request_channel(&m3_ipc->mbox_client, 0); in wkup_m3_ipc_probe()
|
| /drivers/hwmon/ |
| A D | xgene-hwmon.c | 74 container_of(cl, struct xgene_hwmon_dev, mbox_client) 91 struct mbox_client mbox_client; member 472 static void xgene_hwmon_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_rx_cb() 522 static void xgene_hwmon_pcc_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_pcc_rx_cb() 589 static void xgene_hwmon_tx_done(struct mbox_client *cl, void *msg, int ret) in xgene_hwmon_tx_done() 612 struct mbox_client *cl; in xgene_hwmon_probe() 621 cl = &ctx->mbox_client; in xgene_hwmon_probe()
|
| /drivers/rpmsg/ |
| A D | qcom_glink_smem.c | 44 struct mbox_client mbox_client; member 316 smem->mbox_client.dev = &smem->dev; in qcom_glink_smem_register() 317 smem->mbox_client.knows_txdone = true; in qcom_glink_smem_register() 318 smem->mbox_chan = mbox_request_channel(&smem->mbox_client, 0); in qcom_glink_smem_register()
|
| 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()
|
| /drivers/firmware/imx/ |
| 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()
|
| A D | imx-dsp.c | 50 static void imx_dsp_handle_rx(struct mbox_client *c, void *msg) in imx_dsp_handle_rx() 91 struct mbox_client *cl; in imx_dsp_setup_channels()
|
| A D | imx-scu-irq.c | 175 static void imx_scu_irq_callback(struct mbox_client *c, void *msg) in imx_scu_irq_callback() 202 struct mbox_client *cl; in imx_scu_enable_general_irq_channel()
|
| /drivers/firmware/arm_scmi/transports/ |
| A D | mailbox.c | 32 struct mbox_client cl; 46 static void tx_prepare(struct mbox_client *cl, void *m) in tx_prepare() 54 static void rx_callback(struct mbox_client *cl, void *m) in rx_callback() 190 struct mbox_client *cl; in mailbox_chan_setup()
|
| /drivers/soc/qcom/ |
| A D | smsm.c | 94 struct mbox_client mbox_client; member 381 host->mbox_chan = mbox_request_channel(&smsm->mbox_client, host_id); in smsm_parse_mbox() 559 smsm->mbox_client.dev = &pdev->dev; in qcom_smsm_probe() 560 smsm->mbox_client.knows_txdone = true; in qcom_smsm_probe()
|
| A D | qcom_aoss.c | 82 struct mbox_client mbox_client; member 594 qmp->mbox_client.dev = &pdev->dev; in qmp_probe() 595 qmp->mbox_client.knows_txdone = true; in qmp_probe() 596 qmp->mbox_chan = mbox_request_channel(&qmp->mbox_client, 0); in qmp_probe()
|
| A D | smp2p.c | 157 struct mbox_client mbox_client; member 574 smp2p->mbox_client.dev = &pdev->dev; in qcom_smp2p_probe() 575 smp2p->mbox_client.knows_txdone = true; in qcom_smp2p_probe() 576 smp2p->mbox_chan = mbox_request_channel(&smp2p->mbox_client, 0); in qcom_smp2p_probe()
|
| /drivers/mailbox/ |
| A D | mailbox.c | 308 static int __mbox_bind_client(struct mbox_chan *chan, struct mbox_client *cl) in __mbox_bind_client() 359 int mbox_bind_client(struct mbox_chan *chan, struct mbox_client *cl) in mbox_bind_client() 384 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index) in mbox_request_channel() 427 struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl, in mbox_request_channel_byname()
|
| A D | mailbox-test.c | 285 static void mbox_test_receive_message(struct mbox_client *client, void *message) in mbox_test_receive_message() 308 static void mbox_test_prepare_message(struct mbox_client *client, void *message) in mbox_test_prepare_message() 320 static void mbox_test_message_sent(struct mbox_client *client, in mbox_test_message_sent() 334 struct mbox_client *client; in mbox_test_request_channel()
|
| /drivers/acpi/ |
| A D | acpi_pcc.c | 35 struct mbox_client cl; 41 static void pcc_rx_callback(struct mbox_client *cl, void *m) in pcc_rx_callback()
|
| /drivers/media/platform/amphion/ |
| A D | vpu_mbox.c | 17 static void vpu_mbox_rx_callback(struct mbox_client *cl, void *msg) in vpu_mbox_rx_callback() 28 struct mbox_client *cl; in vpu_mbox_request_channel()
|
| /drivers/irqchip/ |
| A D | irq-qcom-mpm.c | 81 struct mbox_client mbox_client; member 436 priv->mbox_client.dev = dev; in qcom_mpm_init() 437 priv->mbox_chan = mbox_request_channel(&priv->mbox_client, 0); in qcom_mpm_init()
|
| /drivers/soc/hisilicon/ |
| A D | kunpeng_hccs.h | 62 struct mbox_client client; 71 void (*rx_callback)(struct mbox_client *cl, void *mssg);
|
| /drivers/soc/microchip/ |
| A D | mpfs-sys-controller.c | 32 struct mbox_client client; 83 static void mpfs_sys_controller_rx_callback(struct mbox_client *client, void *msg) in mpfs_sys_controller_rx_callback()
|
| /drivers/firmware/tegra/ |
| A D | bpmp-tegra186.c | 31 struct mbox_client client; 37 mbox_client_to_bpmp(struct mbox_client *client) in mbox_client_to_bpmp() 164 static void mbox_handle_rx(struct mbox_client *client, void *data) in mbox_handle_rx()
|