/linux-master/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 in struct:wkup_m3_ipc
|
H A D | mailbox_controller.h | 121 struct mbox_client *cl;
|
/linux-master/include/acpi/ |
H A D | pcc.h | 37 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 D | dsp.h | 19 struct mbox_client cl;
|
/linux-master/include/linux/firmware/mediatek/ |
H A D | mtk-adsp-ipc.h | 34 struct mbox_client cl;
|
/linux-master/drivers/acpi/ |
H A D | acpi_pcc.c | 36 struct mbox_client cl; 42 static void pcc_rx_callback(struct mbox_client *cl, void *m)
|
/linux-master/drivers/media/platform/amphion/ |
H A D | vpu_mbox.c | 17 static void vpu_mbox_rx_callback(struct mbox_client *cl, void *msg) 28 struct mbox_client *cl;
|
/linux-master/drivers/soc/hisilicon/ |
H A D | kunpeng_hccs.h | 49 struct mbox_client client; 60 void (*rx_callback)(struct mbox_client *cl, void *mssg);
|
/linux-master/drivers/firmware/ |
H A D | mtk-adsp-ipc.c | 52 static void mtk_adsp_ipc_recv(struct mbox_client *c, void *msg) 75 struct mbox_client *cl;
|
H A D | turris-mox-rwtm.c | 51 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 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) 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 D | mailbox.c | 28 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 D | i2c-xgene-slimpro.c | 99 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 D | xgene-hwmon.c | 74 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 D | imx-dsp.c | 50 static void imx_dsp_handle_rx(struct mbox_client *c, void *msg) 91 struct mbox_client *cl;
|
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) 113 static void imx_scu_rx_callback(struct mbox_client *c, void *msg) 266 struct mbox_client *cl;
|
H A D | imx-scu-irq.c | 175 static void imx_scu_irq_callback(struct mbox_client *c, void *msg) 202 struct mbox_client *cl;
|
/linux-master/drivers/rpmsg/ |
H A D | qcom_glink_smem.c | 44 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 D | qcom_glink_rpm.c | 62 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 D | wkup_m3_ipc.c | 641 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 D | mailbox.c | 321 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 D | mailbox-test.c | 285 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 D | irq-qcom-mpm.c | 81 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);
|