Home
last modified time | relevance | path

Searched refs:mbox_client (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v5.4/include/linux/
Dmailbox_client.h29 struct mbox_client { struct
35 void (*rx_callback)(struct mbox_client *cl, void *mssg); argument
36 void (*tx_prepare)(struct mbox_client *cl, void *mssg); argument
37 void (*tx_done)(struct mbox_client *cl, void *mssg, int r); argument
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);
Domap-mailbox.h18 struct mbox_client;
20 struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl,
Dwkup_m3_ipc.h39 struct mbox_client mbox_client; member
Dmailbox_controller.h120 struct mbox_client *cl;
/Linux-v5.4/drivers/i2c/busses/
Di2c-xgene-slimpro.c107 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()
327 if (ctx->mbox_client.tx_block) in slimpro_i2c_blkwr()
445 struct mbox_client *cl; in xgene_slimpro_i2c_probe()
454 cl = &ctx->mbox_client; in xgene_slimpro_i2c_probe()
/Linux-v5.4/drivers/soc/ti/
Dwkup_m3_ipc.c460 m3_ipc->mbox_client.dev = dev; in wkup_m3_ipc_probe()
461 m3_ipc->mbox_client.tx_done = NULL; in wkup_m3_ipc_probe()
462 m3_ipc->mbox_client.tx_prepare = NULL; in wkup_m3_ipc_probe()
463 m3_ipc->mbox_client.rx_callback = NULL; in wkup_m3_ipc_probe()
464 m3_ipc->mbox_client.tx_block = false; in wkup_m3_ipc_probe()
465 m3_ipc->mbox_client.knows_txdone = false; in wkup_m3_ipc_probe()
467 m3_ipc->mbox = mbox_request_channel(&m3_ipc->mbox_client, 0); in wkup_m3_ipc_probe()
/Linux-v5.4/include/acpi/
Dpcc.h14 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()
/Linux-v5.4/drivers/remoteproc/
Dst_remoteproc.c52 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()
Domap_remoteproc.c38 struct mbox_client client;
56 static void omap_rproc_mbox_callback(struct mbox_client *client, void *data) in omap_rproc_mbox_callback()
109 struct mbox_client *client = &oproc->client; in omap_rproc_start()
Dstm32_rproc.c60 struct mbox_client client;
264 static void stm32_rproc_mb_callback(struct mbox_client *cl, void *data) in stm32_rproc_mb_callback()
319 struct mbox_client *cl; in stm32_rproc_request_mbox()
/Linux-v5.4/drivers/firmware/
Dturris-mox-rwtm.c50 struct mbox_client mbox_client; member
156 static void mox_rwtm_rx_callback(struct mbox_client *cl, void *data) in mox_rwtm_rx_callback()
314 rwtm->mbox_client.dev = dev; in turris_mox_rwtm_probe()
315 rwtm->mbox_client.rx_callback = mox_rwtm_rx_callback; in turris_mox_rwtm_probe()
317 rwtm->mbox = mbox_request_channel(&rwtm->mbox_client, 0); in turris_mox_rwtm_probe()
Draspberrypi.c26 struct mbox_client cl;
34 static void response_callback(struct mbox_client *cl, void *msg) in response_callback()
/Linux-v5.4/drivers/hwmon/
Dxgene-hwmon.c80 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()
/Linux-v5.4/drivers/firmware/imx/
Dimx-scu.c29 struct mbox_client cl;
103 static void imx_scu_rx_callback(struct mbox_client *c, void *msg) in imx_scu_rx_callback()
203 struct mbox_client *cl; in imx_scu_probe()
Dimx-dsp.c51 static void imx_dsp_handle_rx(struct mbox_client *c, void *msg) in imx_dsp_handle_rx()
68 struct mbox_client *cl; in imx_dsp_probe()
Dimx-scu-irq.c125 static void imx_scu_irq_callback(struct mbox_client *c, void *msg) in imx_scu_irq_callback()
133 struct mbox_client *cl; in imx_scu_enable_general_irq_channel()
/Linux-v5.4/drivers/soc/qcom/
Dsmp2p.c144 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()
Dqcom_aoss.c73 struct mbox_client mbox_client; member
534 qmp->mbox_client.dev = &pdev->dev; in qmp_probe()
535 qmp->mbox_client.knows_txdone = true; in qmp_probe()
536 qmp->mbox_chan = mbox_request_channel(&qmp->mbox_client, 0); in qmp_probe()
/Linux-v5.4/drivers/mailbox/
Dmailbox-test.c276 static void mbox_test_receive_message(struct mbox_client *client, void *message) in mbox_test_receive_message()
299 static void mbox_test_prepare_message(struct mbox_client *client, void *message) in mbox_test_prepare_message()
311 static void mbox_test_message_sent(struct mbox_client *client, in mbox_test_message_sent()
325 struct mbox_client *client; in mbox_test_request_channel()
/Linux-v5.4/drivers/firmware/tegra/
Dbpmp-tegra186.c26 struct mbox_client client;
32 mbox_client_to_bpmp(struct mbox_client *client) in mbox_client_to_bpmp()
156 static void mbox_handle_rx(struct mbox_client *client, void *data) in mbox_handle_rx()
/Linux-v5.4/Documentation/
Dmailbox.txt50 struct mbox_client cl;
61 static void message_from_remote(struct mbox_client *cl, void *mssg)
77 static void sample_sent(struct mbox_client *cl, void *mssg, int r)
/Linux-v5.4/include/linux/firmware/imx/
Ddsp.h19 struct mbox_client cl;
/Linux-v5.4/include/linux/soc/mediatek/
Dmtk-cmdq.h21 struct mbox_client client;
/Linux-v5.4/drivers/tty/serial/
Dtegra-tcu.c30 struct mbox_client tx_client, rx_client;
161 static void tegra_tcu_receive(struct mbox_client *cl, void *msg) in tegra_tcu_receive()
/Linux-v5.4/drivers/firmware/arm_scmi/
Ddriver.c105 struct mbox_client cl;
244 static void scmi_tx_prepare(struct mbox_client *cl, void *m) in scmi_tx_prepare()
346 static void scmi_rx_callback(struct mbox_client *cl, void *m) in scmi_rx_callback()
730 struct mbox_client *cl; in scmi_mbox_chan_setup()

12