Searched refs:mbox_client (Results 1 - 25 of 57) sorted by relevance

123

/linux-master/include/linux/
H A Dmailbox_client.h16 * 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 Domap-mailbox.h18 struct mbox_client;
20 struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl,
H A Dwkup_m3_ipc.h37 struct mbox_client mbox_client; member in struct:wkup_m3_ipc
H A Dmailbox_controller.h121 struct mbox_client *cl;
/linux-master/include/acpi/
H A Dpcc.h37 pcc_mbox_request_channel(struct mbox_client *cl, int subspace_id);
41 pcc_mbox_request_channel(struct mbox_client *cl, int subspace_id)
/linux-master/include/linux/firmware/imx/
H A Ddsp.h19 struct mbox_client cl;
/linux-master/include/linux/firmware/mediatek/
H A Dmtk-adsp-ipc.h34 struct mbox_client cl;
/linux-master/drivers/acpi/
H A Dacpi_pcc.c36 struct mbox_client cl;
42 static void pcc_rx_callback(struct mbox_client *cl, void *m)
/linux-master/drivers/media/platform/amphion/
H A Dvpu_mbox.c17 static void vpu_mbox_rx_callback(struct mbox_client *cl, void *msg)
28 struct mbox_client *cl;
/linux-master/drivers/soc/hisilicon/
H A Dkunpeng_hccs.h49 struct mbox_client client;
60 void (*rx_callback)(struct mbox_client *cl, void *mssg);
/linux-master/drivers/firmware/
H A Dmtk-adsp-ipc.c52 static void mtk_adsp_ipc_recv(struct mbox_client *c, void *msg)
75 struct mbox_client *cl;
H A Dturris-mox-rwtm.c51 struct mbox_client mbox_client; member in struct:mox_rwtm
172 static void mox_rwtm_rx_callback(struct mbox_client *cl, void *data)
503 rwtm->mbox_client.dev = dev;
504 rwtm->mbox_client.rx_callback = mox_rwtm_rx_callback;
506 rwtm->mbox = mbox_request_channel(&rwtm->mbox_client, 0);
/linux-master/drivers/remoteproc/
H A Dst_remoteproc.c51 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) argument
66 st_rproc_mbox_callback(mbox_client->dev, 0);
70 void st_rproc_mbox_callback_vq1(struct mbox_client *mbox_client, void *data) argument
72 st_rproc_mbox_callback(mbox_client->dev, 1);
/linux-master/drivers/firmware/arm_scmi/
H A Dmailbox.c28 struct mbox_client cl;
37 static void tx_prepare(struct mbox_client *cl, void *m)
44 static void rx_callback(struct mbox_client *cl, void *m)
167 struct mbox_client *cl;
/linux-master/drivers/i2c/busses/
H A Di2c-xgene-slimpro.c99 struct mbox_client mbox_client; member in struct:slimpro_i2c_dev
109 container_of(cl, struct slimpro_i2c_dev, mbox_client)
131 static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg)
144 if (ctx->mbox_client.tx_block)
148 static void slimpro_i2c_pcc_rx_cb(struct mbox_client *cl, void *msg)
194 if (ctx->mbox_client.tx_block || !acpi_disabled) {
322 if (ctx->mbox_client.tx_block)
440 struct mbox_client *cl;
449 cl = &ctx->mbox_client;
[all...]
/linux-master/drivers/hwmon/
H A Dxgene-hwmon.c74 container_of(cl, struct xgene_hwmon_dev, mbox_client)
91 struct mbox_client mbox_client; member in struct:xgene_hwmon_dev
473 static void xgene_hwmon_rx_cb(struct mbox_client *cl, void *msg)
523 static void xgene_hwmon_pcc_rx_cb(struct mbox_client *cl, void *msg)
589 static void xgene_hwmon_tx_done(struct mbox_client *cl, void *msg, int ret)
612 struct mbox_client *cl;
621 cl = &ctx->mbox_client;
/linux-master/drivers/firmware/imx/
H A Dimx-dsp.c50 static void imx_dsp_handle_rx(struct mbox_client *c, void *msg)
91 struct mbox_client *cl;
H A Dimx-scu.c29 struct mbox_client cl;
106 static void imx_scu_tx_done(struct mbox_client *cl, void *mssg, int r)
113 static void imx_scu_rx_callback(struct mbox_client *c, void *msg)
266 struct mbox_client *cl;
H A Dimx-scu-irq.c175 static void imx_scu_irq_callback(struct mbox_client *c, void *msg)
202 struct mbox_client *cl;
/linux-master/drivers/rpmsg/
H A Dqcom_glink_smem.c44 struct mbox_client mbox_client; member in struct:qcom_glink_smem
316 smem->mbox_client.dev = &smem->dev;
317 smem->mbox_client.knows_txdone = true;
318 smem->mbox_chan = mbox_request_channel(&smem->mbox_client, 0);
H A Dqcom_glink_rpm.c62 struct mbox_client mbox_client; member in struct:glink_rpm
328 rpm->mbox_client.dev = dev;
329 rpm->mbox_client.knows_txdone = true;
330 rpm->mbox_chan = mbox_request_channel(&rpm->mbox_client, 0);
/linux-master/drivers/soc/ti/
H A Dwkup_m3_ipc.c641 m3_ipc->mbox_client.dev = dev;
642 m3_ipc->mbox_client.tx_done = NULL;
643 m3_ipc->mbox_client.tx_prepare = NULL;
644 m3_ipc->mbox_client.rx_callback = NULL;
645 m3_ipc->mbox_client.tx_block = false;
646 m3_ipc->mbox_client.knows_txdone = false;
648 m3_ipc->mbox = mbox_request_channel(&m3_ipc->mbox_client, 0);
/linux-master/drivers/mailbox/
H A Dmailbox.c321 static int __mbox_bind_client(struct mbox_chan *chan, struct mbox_client *cl)
368 * The framework holds reference to the client, so the mbox_client
374 int mbox_bind_client(struct mbox_chan *chan, struct mbox_client *cl)
397 * The framework holds reference to the client, so the mbox_client
403 struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index)
449 struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl,
H A Dmailbox-test.c285 static void mbox_test_receive_message(struct mbox_client *client, void *message)
308 static void mbox_test_prepare_message(struct mbox_client *client, void *message)
320 static void mbox_test_message_sent(struct mbox_client *client,
334 struct mbox_client *client;
/linux-master/drivers/irqchip/
H A Dirq-qcom-mpm.c81 struct mbox_client mbox_client; member in struct:qcom_mpm_priv
433 priv->mbox_client.dev = dev;
434 priv->mbox_chan = mbox_request_channel(&priv->mbox_client, 0);

Completed in 189 milliseconds

123