Home
last modified time | relevance | path

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

12

/Linux-v4.19/include/linux/
Dmailbox_client.h32 struct mbox_client { struct
38 void (*rx_callback)(struct mbox_client *cl, void *mssg); argument
39 void (*tx_prepare)(struct mbox_client *cl, void *mssg); argument
40 void (*tx_done)(struct mbox_client *cl, void *mssg, int r); argument
43 struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl,
45 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index);
Domap-mailbox.h16 struct mbox_client;
18 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-v4.19/drivers/remoteproc/
Dst_remoteproc.c54 struct mbox_client mbox_client_vq0;
55 struct mbox_client mbox_client_vq1;
67 void st_rproc_mbox_callback_vq0(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq0() argument
69 st_rproc_mbox_callback(mbox_client->dev, 0); in st_rproc_mbox_callback_vq0()
73 void st_rproc_mbox_callback_vq1(struct mbox_client *mbox_client, void *data) in st_rproc_mbox_callback_vq1() argument
75 st_rproc_mbox_callback(mbox_client->dev, 1); in st_rproc_mbox_callback_vq1()
Domap_remoteproc.c46 struct mbox_client client;
64 static void omap_rproc_mbox_callback(struct mbox_client *client, void *data) in omap_rproc_mbox_callback()
117 struct mbox_client *client = &oproc->client; in omap_rproc_start()
/Linux-v4.19/drivers/i2c/busses/
Di2c-xgene-slimpro.c120 struct mbox_client mbox_client; member
130 container_of(cl, struct slimpro_i2c_dev, mbox_client)
152 static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg) in slimpro_i2c_rx_cb()
165 if (ctx->mbox_client.tx_block) in slimpro_i2c_rx_cb()
169 static void slimpro_i2c_pcc_rx_cb(struct mbox_client *cl, void *msg) in slimpro_i2c_pcc_rx_cb()
215 if (ctx->mbox_client.tx_block || !acpi_disabled) { in start_i2c_msg_xfer()
340 if (ctx->mbox_client.tx_block) in slimpro_i2c_blkwr()
458 struct mbox_client *cl; in xgene_slimpro_i2c_probe()
467 cl = &ctx->mbox_client; in xgene_slimpro_i2c_probe()
/Linux-v4.19/drivers/soc/ti/
Dwkup_m3_ipc.c467 m3_ipc->mbox_client.dev = dev; in wkup_m3_ipc_probe()
468 m3_ipc->mbox_client.tx_done = NULL; in wkup_m3_ipc_probe()
469 m3_ipc->mbox_client.tx_prepare = NULL; in wkup_m3_ipc_probe()
470 m3_ipc->mbox_client.rx_callback = NULL; in wkup_m3_ipc_probe()
471 m3_ipc->mbox_client.tx_block = false; in wkup_m3_ipc_probe()
472 m3_ipc->mbox_client.knows_txdone = false; in wkup_m3_ipc_probe()
474 m3_ipc->mbox = mbox_request_channel(&m3_ipc->mbox_client, 0); in wkup_m3_ipc_probe()
/Linux-v4.19/include/acpi/
Dpcc.h18 extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
22 static inline struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl, in pcc_mbox_request_channel()
/Linux-v4.19/drivers/hwmon/
Dxgene-hwmon.c92 container_of(cl, struct xgene_hwmon_dev, mbox_client)
108 struct mbox_client mbox_client; member
490 static void xgene_hwmon_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_rx_cb()
540 static void xgene_hwmon_pcc_rx_cb(struct mbox_client *cl, void *msg) in xgene_hwmon_pcc_rx_cb()
606 static void xgene_hwmon_tx_done(struct mbox_client *cl, void *msg, int ret) in xgene_hwmon_tx_done()
629 struct mbox_client *cl; in xgene_hwmon_probe()
638 cl = &ctx->mbox_client; in xgene_hwmon_probe()
/Linux-v4.19/drivers/soc/qcom/
Dsmp2p.c152 struct mbox_client mbox_client; member
490 smp2p->mbox_client.dev = &pdev->dev; in qcom_smp2p_probe()
491 smp2p->mbox_client.knows_txdone = true; in qcom_smp2p_probe()
492 smp2p->mbox_chan = mbox_request_channel(&smp2p->mbox_client, 0); in qcom_smp2p_probe()
/Linux-v4.19/drivers/mailbox/
Dmailbox-test.c280 static void mbox_test_receive_message(struct mbox_client *client, void *message) in mbox_test_receive_message()
303 static void mbox_test_prepare_message(struct mbox_client *client, void *message) in mbox_test_prepare_message()
315 static void mbox_test_message_sent(struct mbox_client *client, in mbox_test_message_sent()
329 struct mbox_client *client; in mbox_test_request_channel()
Dmailbox.c303 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index) in mbox_request_channel()
373 struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl, in mbox_request_channel_byname()
Dpcc.c239 struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl, in pcc_mbox_request_channel()
/Linux-v4.19/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-v4.19/drivers/firmware/
Draspberrypi.c29 struct mbox_client cl;
37 static void response_callback(struct mbox_client *cl, void *msg) in response_callback()
Darm_scpi.c244 struct mbox_client cl;
420 static void scpi_handle_remote_msg(struct mbox_client *c, void *msg) in scpi_handle_remote_msg()
432 static void scpi_tx_prepare(struct mbox_client *c, void *msg) in scpi_tx_prepare()
944 struct mbox_client *cl = &pchan->cl; in scpi_probe()
/Linux-v4.19/drivers/firmware/arm_scmi/
Ddriver.c99 struct mbox_client cl;
212 static void scmi_rx_callback(struct mbox_client *cl, void *m) in scmi_rx_callback()
268 static void scmi_tx_prepare(struct mbox_client *cl, void *m) in scmi_tx_prepare()
708 struct mbox_client *cl; in scmi_mbox_chan_setup()
/Linux-v4.19/include/soc/tegra/
Dbpmp.h74 struct mbox_client client;
/Linux-v4.19/drivers/clk/hisilicon/
Dclk-hi3660-stub.c51 struct mbox_client cl;
Dclk-hi6220-stub.c54 struct mbox_client cl;
/Linux-v4.19/drivers/rpmsg/
Dqcom_smd.c131 struct mbox_client mbox_client; member
1345 edge->mbox_client.dev = dev; in qcom_smd_parse_edge()
1346 edge->mbox_client.knows_txdone = true; in qcom_smd_parse_edge()
1347 edge->mbox_chan = mbox_request_channel(&edge->mbox_client, 0); in qcom_smd_parse_edge()
Dqcom_glink_native.c101 struct mbox_client mbox_client; member
1584 glink->mbox_client.dev = dev; in qcom_glink_native_probe()
1585 glink->mbox_client.knows_txdone = true; in qcom_glink_native_probe()
1586 glink->mbox_chan = mbox_request_channel(&glink->mbox_client, 0); in qcom_glink_native_probe()
/Linux-v4.19/drivers/crypto/bcm/
Dcipher.h475 struct mbox_client mcl;
/Linux-v4.19/drivers/firmware/tegra/
Dbpmp.c32 mbox_client_to_bpmp(struct mbox_client *client) in mbox_client_to_bpmp()
568 static void tegra_bpmp_handle_rx(struct mbox_client *client, void *data) in tegra_bpmp_handle_rx()

12