mbox_chan          46 drivers/acpi/cppc_acpi.c 	struct mbox_chan *pcc_channel;
mbox_chan          43 drivers/clk/hisilicon/clk-hi3660-stub.c 	struct mbox_chan *mbox;
mbox_chan          51 drivers/clk/hisilicon/clk-hi6220-stub.c 	struct mbox_chan *mbox;
mbox_chan        4456 drivers/crypto/bcm/cipher.c 				  sizeof(struct mbox_chan *), GFP_KERNEL);
mbox_chan         465 drivers/crypto/bcm/cipher.h 	struct mbox_chan **mbox;
mbox_chan         148 drivers/dma/bcm-sba-raid.c 	struct mbox_chan *mchan;
mbox_chan         106 drivers/firmware/arm_scmi/driver.c 	struct mbox_chan *chan;
mbox_chan         234 drivers/firmware/arm_scpi.c 	struct mbox_chan *chan;
mbox_chan         134 drivers/firmware/imx/imx-scu-irq.c 	struct mbox_chan *ch;
mbox_chan          30 drivers/firmware/imx/imx-scu.c 	struct mbox_chan *ch;
mbox_chan          27 drivers/firmware/raspberrypi.c 	struct mbox_chan *chan; /* The property channel. */
mbox_chan          27 drivers/firmware/tegra/bpmp-tegra186.c 		struct mbox_chan *channel;
mbox_chan         128 drivers/firmware/ti_sci.c 	struct mbox_chan *chan_tx;
mbox_chan         129 drivers/firmware/ti_sci.c 	struct mbox_chan *chan_rx;
mbox_chan          51 drivers/firmware/turris-mox-rwtm.c 	struct mbox_chan *mbox;
mbox_chan          95 drivers/hwmon/xgene-hwmon.c 	struct mbox_chan	*mbox_chan;
mbox_chan         160 drivers/hwmon/xgene-hwmon.c 	rc = mbox_send_message(ctx->mbox_chan, msg);
mbox_chan         183 drivers/hwmon/xgene-hwmon.c 	mbox_chan_txdone(ctx->mbox_chan, 0);
mbox_chan         197 drivers/hwmon/xgene-hwmon.c 	rc = mbox_send_message(ctx->mbox_chan, msg);
mbox_chan         647 drivers/hwmon/xgene-hwmon.c 		ctx->mbox_chan = mbox_request_channel(cl, 0);
mbox_chan         648 drivers/hwmon/xgene-hwmon.c 		if (IS_ERR(ctx->mbox_chan)) {
mbox_chan         674 drivers/hwmon/xgene-hwmon.c 		ctx->mbox_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx);
mbox_chan         675 drivers/hwmon/xgene-hwmon.c 		if (IS_ERR(ctx->mbox_chan)) {
mbox_chan         688 drivers/hwmon/xgene-hwmon.c 		cppc_ss = ctx->mbox_chan->con_priv;
mbox_chan         695 drivers/hwmon/xgene-hwmon.c 		if (!ctx->mbox_chan->mbox->txdone_irq) {
mbox_chan         758 drivers/hwmon/xgene-hwmon.c 		mbox_free_channel(ctx->mbox_chan);
mbox_chan         760 drivers/hwmon/xgene-hwmon.c 		pcc_mbox_free_channel(ctx->mbox_chan);
mbox_chan         774 drivers/hwmon/xgene-hwmon.c 		mbox_free_channel(ctx->mbox_chan);
mbox_chan         776 drivers/hwmon/xgene-hwmon.c 		pcc_mbox_free_channel(ctx->mbox_chan);
mbox_chan         106 drivers/i2c/busses/i2c-xgene-slimpro.c 	struct mbox_chan *mbox_chan;
mbox_chan         228 drivers/i2c/busses/i2c-xgene-slimpro.c 	rc = mbox_send_message(ctx->mbox_chan, msg);
mbox_chan         236 drivers/i2c/busses/i2c-xgene-slimpro.c 		mbox_chan_txdone(ctx->mbox_chan, 0);
mbox_chan         464 drivers/i2c/busses/i2c-xgene-slimpro.c 		ctx->mbox_chan = mbox_request_channel(cl, MAILBOX_I2C_INDEX);
mbox_chan         465 drivers/i2c/busses/i2c-xgene-slimpro.c 		if (IS_ERR(ctx->mbox_chan)) {
mbox_chan         467 drivers/i2c/busses/i2c-xgene-slimpro.c 			return PTR_ERR(ctx->mbox_chan);
mbox_chan         487 drivers/i2c/busses/i2c-xgene-slimpro.c 		ctx->mbox_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx);
mbox_chan         488 drivers/i2c/busses/i2c-xgene-slimpro.c 		if (IS_ERR(ctx->mbox_chan)) {
mbox_chan         490 drivers/i2c/busses/i2c-xgene-slimpro.c 			return PTR_ERR(ctx->mbox_chan);
mbox_chan         499 drivers/i2c/busses/i2c-xgene-slimpro.c 		cppc_ss = ctx->mbox_chan->con_priv;
mbox_chan         506 drivers/i2c/busses/i2c-xgene-slimpro.c 		if (!ctx->mbox_chan->mbox->txdone_irq) {
mbox_chan         563 drivers/i2c/busses/i2c-xgene-slimpro.c 		mbox_free_channel(ctx->mbox_chan);
mbox_chan         565 drivers/i2c/busses/i2c-xgene-slimpro.c 		pcc_mbox_free_channel(ctx->mbox_chan);
mbox_chan         577 drivers/i2c/busses/i2c-xgene-slimpro.c 		mbox_free_channel(ctx->mbox_chan);
mbox_chan         579 drivers/i2c/busses/i2c-xgene-slimpro.c 		pcc_mbox_free_channel(ctx->mbox_chan);
mbox_chan          36 drivers/mailbox/arm_mhu.c 	struct mbox_chan chan[MHU_CHANS];
mbox_chan          42 drivers/mailbox/arm_mhu.c 	struct mbox_chan *chan = p;
mbox_chan          57 drivers/mailbox/arm_mhu.c static bool mhu_last_tx_done(struct mbox_chan *chan)
mbox_chan          65 drivers/mailbox/arm_mhu.c static int mhu_send_data(struct mbox_chan *chan, void *data)
mbox_chan          75 drivers/mailbox/arm_mhu.c static int mhu_startup(struct mbox_chan *chan)
mbox_chan          95 drivers/mailbox/arm_mhu.c static void mhu_shutdown(struct mbox_chan *chan)
mbox_chan          43 drivers/mailbox/armada-37xx-rwtm-mailbox.c static void a37xx_mbox_receive(struct mbox_chan *chan)
mbox_chan          58 drivers/mailbox/armada-37xx-rwtm-mailbox.c 	struct mbox_chan *chan = data;
mbox_chan          77 drivers/mailbox/armada-37xx-rwtm-mailbox.c static int a37xx_mbox_send_data(struct mbox_chan *chan, void *data)
mbox_chan         103 drivers/mailbox/armada-37xx-rwtm-mailbox.c static int a37xx_mbox_startup(struct mbox_chan *chan)
mbox_chan         124 drivers/mailbox/armada-37xx-rwtm-mailbox.c static void a37xx_mbox_shutdown(struct mbox_chan *chan)
mbox_chan         147 drivers/mailbox/armada-37xx-rwtm-mailbox.c 	struct mbox_chan *chans;
mbox_chan        1091 drivers/mailbox/bcm-flexrm-mailbox.c 	struct mbox_chan *chan = &ring->mbox->controller.chans[ring->num];
mbox_chan        1203 drivers/mailbox/bcm-flexrm-mailbox.c static int flexrm_send_data(struct mbox_chan *chan, void *data)
mbox_chan        1226 drivers/mailbox/bcm-flexrm-mailbox.c static bool flexrm_peek_data(struct mbox_chan *chan)
mbox_chan        1233 drivers/mailbox/bcm-flexrm-mailbox.c static int flexrm_startup(struct mbox_chan *chan)
mbox_chan        1369 drivers/mailbox/bcm-flexrm-mailbox.c static void flexrm_shutdown(struct mbox_chan *chan)
mbox_chan        1455 drivers/mailbox/bcm-flexrm-mailbox.c static struct mbox_chan *flexrm_mbox_of_xlate(struct mbox_controller *cntlr,
mbox_chan        1458 drivers/mailbox/bcm-flexrm-mailbox.c 	struct mbox_chan *chan;
mbox_chan         583 drivers/mailbox/bcm-pdc-mailbox.c 	struct mbox_chan *chan;
mbox_chan        1157 drivers/mailbox/bcm-pdc-mailbox.c static bool pdc_last_tx_done(struct mbox_chan *chan)
mbox_chan        1194 drivers/mailbox/bcm-pdc-mailbox.c static int pdc_send_data(struct mbox_chan *chan, void *data)
mbox_chan        1256 drivers/mailbox/bcm-pdc-mailbox.c static int pdc_startup(struct mbox_chan *chan)
mbox_chan        1261 drivers/mailbox/bcm-pdc-mailbox.c static void pdc_shutdown(struct mbox_chan *chan)
mbox_chan          61 drivers/mailbox/bcm2835-mailbox.c static struct bcm2835_mbox *bcm2835_link_mbox(struct mbox_chan *link)
mbox_chan          70 drivers/mailbox/bcm2835-mailbox.c 	struct mbox_chan *link = &mbox->controller.chans[0];
mbox_chan          80 drivers/mailbox/bcm2835-mailbox.c static int bcm2835_send_data(struct mbox_chan *link, void *data)
mbox_chan          92 drivers/mailbox/bcm2835-mailbox.c static int bcm2835_startup(struct mbox_chan *link)
mbox_chan         102 drivers/mailbox/bcm2835-mailbox.c static void bcm2835_shutdown(struct mbox_chan *link)
mbox_chan         109 drivers/mailbox/bcm2835-mailbox.c static bool bcm2835_last_tx_done(struct mbox_chan *link)
mbox_chan         127 drivers/mailbox/bcm2835-mailbox.c static struct mbox_chan *bcm2835_mbox_index_xlate(struct mbox_controller *mbox,
mbox_chan          76 drivers/mailbox/hi3660-mailbox.c 	struct mbox_chan chan[MBOX_CHAN_MAX];
mbox_chan          86 drivers/mailbox/hi3660-mailbox.c static int hi3660_mbox_check_state(struct mbox_chan *chan)
mbox_chan         113 drivers/mailbox/hi3660-mailbox.c static int hi3660_mbox_unlock(struct mbox_chan *chan)
mbox_chan         134 drivers/mailbox/hi3660-mailbox.c static int hi3660_mbox_acquire_channel(struct mbox_chan *chan)
mbox_chan         160 drivers/mailbox/hi3660-mailbox.c static int hi3660_mbox_startup(struct mbox_chan *chan)
mbox_chan         175 drivers/mailbox/hi3660-mailbox.c static int hi3660_mbox_send_data(struct mbox_chan *chan, void *msg)
mbox_chan         212 drivers/mailbox/hi3660-mailbox.c static struct mbox_chan *hi3660_mbox_xlate(struct mbox_controller *controller,
mbox_chan         242 drivers/mailbox/hi3660-mailbox.c 	struct mbox_chan *chan;
mbox_chan          85 drivers/mailbox/hi6220-mailbox.c 	struct mbox_chan *chan;
mbox_chan         109 drivers/mailbox/hi6220-mailbox.c static bool hi6220_mbox_last_tx_done(struct mbox_chan *chan)
mbox_chan         122 drivers/mailbox/hi6220-mailbox.c static int hi6220_mbox_send_data(struct mbox_chan *chan, void *msg)
mbox_chan         152 drivers/mailbox/hi6220-mailbox.c 	struct mbox_chan *chan;
mbox_chan         193 drivers/mailbox/hi6220-mailbox.c static int hi6220_mbox_startup(struct mbox_chan *chan)
mbox_chan         205 drivers/mailbox/hi6220-mailbox.c static void hi6220_mbox_shutdown(struct mbox_chan *chan)
mbox_chan         222 drivers/mailbox/hi6220-mailbox.c static struct mbox_chan *hi6220_mbox_xlate(struct mbox_controller *controller,
mbox_chan         227 drivers/mailbox/hi6220-mailbox.c 	struct mbox_chan *chan;
mbox_chan          51 drivers/mailbox/imx-mailbox.c 	struct mbox_chan	*chan;
mbox_chan          61 drivers/mailbox/imx-mailbox.c 	struct mbox_chan	mbox_chans[IMX_MU_CHANS];
mbox_chan         109 drivers/mailbox/imx-mailbox.c 	struct mbox_chan *chan = p;
mbox_chan         154 drivers/mailbox/imx-mailbox.c static int imx_mu_send_data(struct mbox_chan *chan, void *data)
mbox_chan         177 drivers/mailbox/imx-mailbox.c static int imx_mu_startup(struct mbox_chan *chan)
mbox_chan         212 drivers/mailbox/imx-mailbox.c static void imx_mu_shutdown(struct mbox_chan *chan)
mbox_chan         245 drivers/mailbox/imx-mailbox.c static struct mbox_chan * imx_mu_xlate(struct mbox_controller *mbox,
mbox_chan          49 drivers/mailbox/mailbox-altera.c 	struct mbox_chan *chan;
mbox_chan          52 drivers/mailbox/mailbox-altera.c static struct altera_mbox *mbox_chan_to_altera_mbox(struct mbox_chan *chan)
mbox_chan         117 drivers/mailbox/mailbox-altera.c static void altera_mbox_rx_data(struct mbox_chan *chan)
mbox_chan         143 drivers/mailbox/mailbox-altera.c 	struct mbox_chan *chan = (struct mbox_chan *)p;
mbox_chan         154 drivers/mailbox/mailbox-altera.c 	struct mbox_chan *chan = (struct mbox_chan *)p;
mbox_chan         160 drivers/mailbox/mailbox-altera.c static int altera_mbox_startup_sender(struct mbox_chan *chan)
mbox_chan         179 drivers/mailbox/mailbox-altera.c static int altera_mbox_startup_receiver(struct mbox_chan *chan)
mbox_chan         206 drivers/mailbox/mailbox-altera.c static int altera_mbox_send_data(struct mbox_chan *chan, void *data)
mbox_chan         233 drivers/mailbox/mailbox-altera.c static bool altera_mbox_last_tx_done(struct mbox_chan *chan)
mbox_chan         241 drivers/mailbox/mailbox-altera.c static bool altera_mbox_peek_data(struct mbox_chan *chan)
mbox_chan         248 drivers/mailbox/mailbox-altera.c static int altera_mbox_startup(struct mbox_chan *chan)
mbox_chan         264 drivers/mailbox/mailbox-altera.c static void altera_mbox_shutdown(struct mbox_chan *chan)
mbox_chan         289 drivers/mailbox/mailbox-altera.c 	struct mbox_chan *chans;
mbox_chan          86 drivers/mailbox/mailbox-sti.c static inline bool sti_mbox_channel_is_enabled(struct mbox_chan *chan)
mbox_chan          97 drivers/mailbox/mailbox-sti.c struct mbox_chan *sti_mbox_to_channel(struct mbox_controller *mbox,
mbox_chan         119 drivers/mailbox/mailbox-sti.c static void sti_mbox_enable_channel(struct mbox_chan *chan)
mbox_chan         134 drivers/mailbox/mailbox-sti.c static void sti_mbox_disable_channel(struct mbox_chan *chan)
mbox_chan         149 drivers/mailbox/mailbox-sti.c static void sti_mbox_clear_irq(struct mbox_chan *chan)
mbox_chan         160 drivers/mailbox/mailbox-sti.c static struct mbox_chan *sti_mbox_irq_to_channel(struct sti_mbox_device *mdev,
mbox_chan         164 drivers/mailbox/mailbox-sti.c 	struct mbox_chan *chan = NULL;
mbox_chan         195 drivers/mailbox/mailbox-sti.c 	struct mbox_chan *chan;
mbox_chan         218 drivers/mailbox/mailbox-sti.c 	struct mbox_chan *chan;
mbox_chan         251 drivers/mailbox/mailbox-sti.c static bool sti_mbox_tx_is_ready(struct mbox_chan *chan)
mbox_chan         274 drivers/mailbox/mailbox-sti.c static int sti_mbox_send_data(struct mbox_chan *chan, void *data)
mbox_chan         292 drivers/mailbox/mailbox-sti.c static int sti_mbox_startup_chan(struct mbox_chan *chan)
mbox_chan         300 drivers/mailbox/mailbox-sti.c static void sti_mbox_shutdown_chan(struct mbox_chan *chan)
mbox_chan         321 drivers/mailbox/mailbox-sti.c static struct mbox_chan *sti_mbox_xlate(struct mbox_controller *mbox,
mbox_chan         327 drivers/mailbox/mailbox-sti.c 	struct mbox_chan *chan = NULL;
mbox_chan         410 drivers/mailbox/mailbox-sti.c 	struct mbox_chan *chans;
mbox_chan          35 drivers/mailbox/mailbox-test.c 	struct mbox_chan	*tx_channel;
mbox_chan          36 drivers/mailbox/mailbox-test.c 	struct mbox_chan	*rx_channel;
mbox_chan         322 drivers/mailbox/mailbox-test.c static struct mbox_chan *
mbox_chan         326 drivers/mailbox/mailbox-test.c 	struct mbox_chan *channel;
mbox_chan          45 drivers/mailbox/mailbox-xgene-slimpro.c 	struct mbox_chan	*chan;
mbox_chan          65 drivers/mailbox/mailbox-xgene-slimpro.c 	struct mbox_chan		chans[MBOX_CNT];
mbox_chan         118 drivers/mailbox/mailbox-xgene-slimpro.c static int slimpro_mbox_send_data(struct mbox_chan *chan, void *msg)
mbox_chan         126 drivers/mailbox/mailbox-xgene-slimpro.c static int slimpro_mbox_startup(struct mbox_chan *chan)
mbox_chan         151 drivers/mailbox/mailbox-xgene-slimpro.c static void slimpro_mbox_shutdown(struct mbox_chan *chan)
mbox_chan          26 drivers/mailbox/mailbox.c static int add_to_rbuf(struct mbox_chan *chan, void *mssg)
mbox_chan          53 drivers/mailbox/mailbox.c static void msg_submit(struct mbox_chan *chan)
mbox_chan          90 drivers/mailbox/mailbox.c static void tx_tick(struct mbox_chan *chan, int r)
mbox_chan         122 drivers/mailbox/mailbox.c 		struct mbox_chan *chan = &mbox->chans[i];
mbox_chan         150 drivers/mailbox/mailbox.c void mbox_chan_received_data(struct mbox_chan *chan, void *mssg)
mbox_chan         168 drivers/mailbox/mailbox.c void mbox_chan_txdone(struct mbox_chan *chan, int r)
mbox_chan         189 drivers/mailbox/mailbox.c void mbox_client_txdone(struct mbox_chan *chan, int r)
mbox_chan         215 drivers/mailbox/mailbox.c bool mbox_client_peek_data(struct mbox_chan *chan)
mbox_chan         248 drivers/mailbox/mailbox.c int mbox_send_message(struct mbox_chan *chan, void *mssg)
mbox_chan         297 drivers/mailbox/mailbox.c int mbox_flush(struct mbox_chan *chan, unsigned long timeout)
mbox_chan         329 drivers/mailbox/mailbox.c struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index)
mbox_chan         334 drivers/mailbox/mailbox.c 	struct mbox_chan *chan;
mbox_chan         400 drivers/mailbox/mailbox.c struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl,
mbox_chan         436 drivers/mailbox/mailbox.c void mbox_free_channel(struct mbox_chan *chan)
mbox_chan         458 drivers/mailbox/mailbox.c static struct mbox_chan *
mbox_chan         504 drivers/mailbox/mailbox.c 		struct mbox_chan *chan = &mbox->chans[i];
mbox_chan          55 drivers/mailbox/mtk-cmdq-mailbox.c 	struct mbox_chan	*chan;
mbox_chan         351 drivers/mailbox/mtk-cmdq-mailbox.c static int cmdq_mbox_send_data(struct mbox_chan *chan, void *data)
mbox_chan         426 drivers/mailbox/mtk-cmdq-mailbox.c static int cmdq_mbox_startup(struct mbox_chan *chan)
mbox_chan         431 drivers/mailbox/mtk-cmdq-mailbox.c static void cmdq_mbox_shutdown(struct mbox_chan *chan)
mbox_chan         441 drivers/mailbox/mtk-cmdq-mailbox.c static struct mbox_chan *cmdq_xlate(struct mbox_controller *mbox,
mbox_chan         111 drivers/mailbox/omap-mailbox.c 	struct mbox_chan	*chan;
mbox_chan         123 drivers/mailbox/omap-mailbox.c static struct omap_mbox *mbox_chan_to_omap_mbox(struct mbox_chan *chan)
mbox_chan         230 drivers/mailbox/omap-mailbox.c void omap_mbox_enable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq)
mbox_chan         241 drivers/mailbox/omap-mailbox.c void omap_mbox_disable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq)
mbox_chan         414 drivers/mailbox/omap-mailbox.c struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl,
mbox_chan         420 drivers/mailbox/omap-mailbox.c 	struct mbox_chan *chan;
mbox_chan         519 drivers/mailbox/omap-mailbox.c static int omap_mbox_chan_startup(struct mbox_chan *chan)
mbox_chan         534 drivers/mailbox/omap-mailbox.c static void omap_mbox_chan_shutdown(struct mbox_chan *chan)
mbox_chan         577 drivers/mailbox/omap-mailbox.c static int omap_mbox_chan_send_data(struct mbox_chan *chan, void *data)
mbox_chan         672 drivers/mailbox/omap-mailbox.c static struct mbox_chan *omap_mbox_of_xlate(struct mbox_controller *controller,
mbox_chan         700 drivers/mailbox/omap-mailbox.c 	struct mbox_chan *chnls;
mbox_chan          65 drivers/mailbox/pcc.c static struct mbox_chan *pcc_mbox_channels;
mbox_chan          83 drivers/mailbox/pcc.c static struct mbox_chan *get_pcc_channel(int id)
mbox_chan         182 drivers/mailbox/pcc.c 	struct mbox_chan *chan = p;
mbox_chan         230 drivers/mailbox/pcc.c struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
mbox_chan         234 drivers/mailbox/pcc.c 	struct mbox_chan *chan;
mbox_chan         286 drivers/mailbox/pcc.c void pcc_mbox_free_channel(struct mbox_chan *chan)
mbox_chan         324 drivers/mailbox/pcc.c static int pcc_send_data(struct mbox_chan *chan, void *data)
mbox_chan         463 drivers/mailbox/pcc.c 	pcc_mbox_channels = kcalloc(count, sizeof(struct mbox_chan),
mbox_chan          42 drivers/mailbox/platform_mhu.c 	struct mbox_chan chan[MHU_CHANS];
mbox_chan          48 drivers/mailbox/platform_mhu.c 	struct mbox_chan *chan = p;
mbox_chan          63 drivers/mailbox/platform_mhu.c static bool platform_mhu_last_tx_done(struct mbox_chan *chan)
mbox_chan          71 drivers/mailbox/platform_mhu.c static int platform_mhu_send_data(struct mbox_chan *chan, void *data)
mbox_chan          81 drivers/mailbox/platform_mhu.c static int platform_mhu_startup(struct mbox_chan *chan)
mbox_chan         101 drivers/mailbox/platform_mhu.c static void platform_mhu_shutdown(struct mbox_chan *chan)
mbox_chan          20 drivers/mailbox/qcom-apcs-ipc-mailbox.c 	struct mbox_chan mbox_chans[QCOM_APCS_IPC_BITS];
mbox_chan          35 drivers/mailbox/qcom-apcs-ipc-mailbox.c static int qcom_apcs_ipc_send_data(struct mbox_chan *chan, void *data)
mbox_chan          52 drivers/mailbox/rockchip-mailbox.c static int rockchip_mbox_send_data(struct mbox_chan *chan, void *data)
mbox_chan          79 drivers/mailbox/rockchip-mailbox.c static int rockchip_mbox_startup(struct mbox_chan *chan)
mbox_chan          90 drivers/mailbox/rockchip-mailbox.c static void rockchip_mbox_shutdown(struct mbox_chan *chan)
mbox_chan         146 drivers/mailbox/stm32-ipcc.c static int stm32_ipcc_send_data(struct mbox_chan *link, void *data)
mbox_chan         165 drivers/mailbox/stm32-ipcc.c static int stm32_ipcc_startup(struct mbox_chan *link)
mbox_chan         185 drivers/mailbox/stm32-ipcc.c static void stm32_ipcc_shutdown(struct mbox_chan *link)
mbox_chan          56 drivers/mailbox/tegra-hsp.c 	struct mbox_chan *chan;
mbox_chan         297 drivers/mailbox/tegra-hsp.c static int tegra_hsp_doorbell_send_data(struct mbox_chan *chan, void *data)
mbox_chan         306 drivers/mailbox/tegra-hsp.c static int tegra_hsp_doorbell_startup(struct mbox_chan *chan)
mbox_chan         339 drivers/mailbox/tegra-hsp.c static void tegra_hsp_doorbell_shutdown(struct mbox_chan *chan)
mbox_chan         366 drivers/mailbox/tegra-hsp.c static int tegra_hsp_mailbox_send_data(struct mbox_chan *chan, void *data)
mbox_chan         393 drivers/mailbox/tegra-hsp.c static int tegra_hsp_mailbox_flush(struct mbox_chan *chan,
mbox_chan         415 drivers/mailbox/tegra-hsp.c static int tegra_hsp_mailbox_startup(struct mbox_chan *chan)
mbox_chan         458 drivers/mailbox/tegra-hsp.c static void tegra_hsp_mailbox_shutdown(struct mbox_chan *chan)
mbox_chan         493 drivers/mailbox/tegra-hsp.c static struct mbox_chan *tegra_hsp_db_xlate(struct mbox_controller *mbox,
mbox_chan         500 drivers/mailbox/tegra-hsp.c 	struct mbox_chan *chan;
mbox_chan         532 drivers/mailbox/tegra-hsp.c static struct mbox_chan *tegra_hsp_sm_xlate(struct mbox_controller *mbox,
mbox_chan         114 drivers/mailbox/ti-msgmgr.c 	struct mbox_chan *chan;
mbox_chan         141 drivers/mailbox/ti-msgmgr.c 	struct mbox_chan *chans;
mbox_chan         204 drivers/mailbox/ti-msgmgr.c 	struct mbox_chan *chan = p;
mbox_chan         285 drivers/mailbox/ti-msgmgr.c static bool ti_msgmgr_queue_peek_data(struct mbox_chan *chan)
mbox_chan         312 drivers/mailbox/ti-msgmgr.c static bool ti_msgmgr_last_tx_done(struct mbox_chan *chan)
mbox_chan         346 drivers/mailbox/ti-msgmgr.c static int ti_msgmgr_send_data(struct mbox_chan *chan, void *data)
mbox_chan         410 drivers/mailbox/ti-msgmgr.c 				      struct mbox_chan *chan)
mbox_chan         453 drivers/mailbox/ti-msgmgr.c static int ti_msgmgr_queue_startup(struct mbox_chan *chan)
mbox_chan         499 drivers/mailbox/ti-msgmgr.c static void ti_msgmgr_queue_shutdown(struct mbox_chan *chan)
mbox_chan         517 drivers/mailbox/ti-msgmgr.c static struct mbox_chan *ti_msgmgr_of_xlate(struct mbox_controller *mbox,
mbox_chan         587 drivers/mailbox/ti-msgmgr.c 				 struct mbox_chan *chan)
mbox_chan         716 drivers/mailbox/ti-msgmgr.c 	struct mbox_chan *chans;
mbox_chan         149 drivers/mailbox/zynqmp-ipi-mailbox.c 	struct mbox_chan *chan;
mbox_chan         187 drivers/mailbox/zynqmp-ipi-mailbox.c static bool zynqmp_ipi_peek_data(struct mbox_chan *chan)
mbox_chan         227 drivers/mailbox/zynqmp-ipi-mailbox.c static bool zynqmp_ipi_last_tx_done(struct mbox_chan *chan)
mbox_chan         265 drivers/mailbox/zynqmp-ipi-mailbox.c static int zynqmp_ipi_send_data(struct mbox_chan *chan, void *data)
mbox_chan         316 drivers/mailbox/zynqmp-ipi-mailbox.c static int zynqmp_ipi_startup(struct mbox_chan *chan)
mbox_chan         358 drivers/mailbox/zynqmp-ipi-mailbox.c static void zynqmp_ipi_shutdown(struct mbox_chan *chan)
mbox_chan         403 drivers/mailbox/zynqmp-ipi-mailbox.c static struct mbox_chan *zynqmp_ipi_of_xlate(struct mbox_controller *mbox,
mbox_chan         406 drivers/mailbox/zynqmp-ipi-mailbox.c 	struct mbox_chan *chan;
mbox_chan         477 drivers/mailbox/zynqmp-ipi-mailbox.c 	struct mbox_chan *chans;
mbox_chan          37 drivers/remoteproc/omap_remoteproc.c 	struct mbox_chan *mbox;
mbox_chan          51 drivers/remoteproc/st_remoteproc.c 	struct mbox_chan	*mbox_chan[ST_RPROC_MAX_VRING * MBOX_MAX];
mbox_chan          86 drivers/remoteproc/st_remoteproc.c 	ret = mbox_send_message(ddata->mbox_chan[vqid * MBOX_MAX + MBOX_TX],
mbox_chan         345 drivers/remoteproc/st_remoteproc.c 	struct mbox_chan *chan;
mbox_chan         405 drivers/remoteproc/st_remoteproc.c 		ddata->mbox_chan[ST_RPROC_VQ0 * MBOX_MAX + MBOX_RX] = chan;
mbox_chan         413 drivers/remoteproc/st_remoteproc.c 		ddata->mbox_chan[ST_RPROC_VQ0 * MBOX_MAX + MBOX_TX] = chan;
mbox_chan         421 drivers/remoteproc/st_remoteproc.c 		ddata->mbox_chan[ST_RPROC_VQ1 * MBOX_MAX + MBOX_RX] = chan;
mbox_chan         429 drivers/remoteproc/st_remoteproc.c 		ddata->mbox_chan[ST_RPROC_VQ1 * MBOX_MAX + MBOX_TX] = chan;
mbox_chan         440 drivers/remoteproc/st_remoteproc.c 		mbox_free_channel(ddata->mbox_chan[i]);
mbox_chan         459 drivers/remoteproc/st_remoteproc.c 		mbox_free_channel(ddata->mbox_chan[i]);
mbox_chan          59 drivers/remoteproc/stm32_rproc.c 	struct mbox_chan *chan;
mbox_chan         102 drivers/rpmsg/qcom_glink_native.c 	struct mbox_chan *mbox_chan;
mbox_chan         334 drivers/rpmsg/qcom_glink_native.c 	mbox_send_message(glink->mbox_chan, NULL);
mbox_chan         335 drivers/rpmsg/qcom_glink_native.c 	mbox_client_txdone(glink->mbox_chan, 0);
mbox_chan        1021 drivers/rpmsg/qcom_glink_native.c 			mbox_send_message(glink->mbox_chan, NULL);
mbox_chan        1022 drivers/rpmsg/qcom_glink_native.c 			mbox_client_txdone(glink->mbox_chan, 0);
mbox_chan        1613 drivers/rpmsg/qcom_glink_native.c 	glink->mbox_chan = mbox_request_channel(&glink->mbox_client, 0);
mbox_chan        1614 drivers/rpmsg/qcom_glink_native.c 	if (IS_ERR(glink->mbox_chan)) {
mbox_chan        1615 drivers/rpmsg/qcom_glink_native.c 		if (PTR_ERR(glink->mbox_chan) != -EPROBE_DEFER)
mbox_chan        1617 drivers/rpmsg/qcom_glink_native.c 		return ERR_CAST(glink->mbox_chan);
mbox_chan        1670 drivers/rpmsg/qcom_glink_native.c 	mbox_free_channel(glink->mbox_chan);
mbox_chan         132 drivers/rpmsg/qcom_smd.c 	struct mbox_chan *mbox_chan;
mbox_chan         374 drivers/rpmsg/qcom_smd.c 	if (edge->mbox_chan) {
mbox_chan         380 drivers/rpmsg/qcom_smd.c 		mbox_send_message(edge->mbox_chan, NULL);
mbox_chan         381 drivers/rpmsg/qcom_smd.c 		mbox_client_txdone(edge->mbox_chan, 0);
mbox_chan        1350 drivers/rpmsg/qcom_smd.c 	edge->mbox_chan = mbox_request_channel(&edge->mbox_client, 0);
mbox_chan        1351 drivers/rpmsg/qcom_smd.c 	if (IS_ERR(edge->mbox_chan)) {
mbox_chan        1352 drivers/rpmsg/qcom_smd.c 		if (PTR_ERR(edge->mbox_chan) != -ENODEV)
mbox_chan        1353 drivers/rpmsg/qcom_smd.c 			return PTR_ERR(edge->mbox_chan);
mbox_chan        1355 drivers/rpmsg/qcom_smd.c 		edge->mbox_chan = NULL;
mbox_chan        1485 drivers/rpmsg/qcom_smd.c 	if (!IS_ERR_OR_NULL(edge->mbox_chan))
mbox_chan        1486 drivers/rpmsg/qcom_smd.c 		mbox_free_channel(edge->mbox_chan);
mbox_chan        1516 drivers/rpmsg/qcom_smd.c 	mbox_free_channel(edge->mbox_chan);
mbox_chan          74 drivers/soc/qcom/qcom_aoss.c 	struct mbox_chan *mbox_chan;
mbox_chan          97 drivers/soc/qcom/qcom_aoss.c 	mbox_send_message(qmp->mbox_chan, NULL);
mbox_chan          98 drivers/soc/qcom/qcom_aoss.c 	mbox_client_txdone(qmp->mbox_chan, 0);
mbox_chan         536 drivers/soc/qcom/qcom_aoss.c 	qmp->mbox_chan = mbox_request_channel(&qmp->mbox_client, 0);
mbox_chan         537 drivers/soc/qcom/qcom_aoss.c 	if (IS_ERR(qmp->mbox_chan)) {
mbox_chan         539 drivers/soc/qcom/qcom_aoss.c 		return PTR_ERR(qmp->mbox_chan);
mbox_chan         575 drivers/soc/qcom/qcom_aoss.c 	mbox_free_channel(qmp->mbox_chan);
mbox_chan         589 drivers/soc/qcom/qcom_aoss.c 	mbox_free_channel(qmp->mbox_chan);
mbox_chan         145 drivers/soc/qcom/smp2p.c 	struct mbox_chan *mbox_chan;
mbox_chan         156 drivers/soc/qcom/smp2p.c 	if (smp2p->mbox_chan) {
mbox_chan         157 drivers/soc/qcom/smp2p.c 		mbox_send_message(smp2p->mbox_chan, NULL);
mbox_chan         158 drivers/soc/qcom/smp2p.c 		mbox_client_txdone(smp2p->mbox_chan, 0);
mbox_chan         484 drivers/soc/qcom/smp2p.c 	smp2p->mbox_chan = mbox_request_channel(&smp2p->mbox_client, 0);
mbox_chan         485 drivers/soc/qcom/smp2p.c 	if (IS_ERR(smp2p->mbox_chan)) {
mbox_chan         486 drivers/soc/qcom/smp2p.c 		if (PTR_ERR(smp2p->mbox_chan) != -ENODEV)
mbox_chan         487 drivers/soc/qcom/smp2p.c 			return PTR_ERR(smp2p->mbox_chan);
mbox_chan         489 drivers/soc/qcom/smp2p.c 		smp2p->mbox_chan = NULL;
mbox_chan         554 drivers/soc/qcom/smp2p.c 	mbox_free_channel(smp2p->mbox_chan);
mbox_chan         574 drivers/soc/qcom/smp2p.c 	mbox_free_channel(smp2p->mbox_chan);
mbox_chan          31 drivers/tty/serial/tegra-tcu.c 	struct mbox_chan *tx, *rx;
mbox_chan          14 include/acpi/pcc.h extern struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
mbox_chan          16 include/acpi/pcc.h extern void pcc_mbox_free_channel(struct mbox_chan *chan);
mbox_chan          18 include/acpi/pcc.h static inline struct mbox_chan *pcc_mbox_request_channel(struct mbox_client *cl,
mbox_chan          23 include/acpi/pcc.h static inline void pcc_mbox_free_channel(struct mbox_chan *chan) { }
mbox_chan          20 include/linux/firmware/imx/dsp.h 	struct mbox_chan *ch;
mbox_chan          13 include/linux/mailbox_client.h struct mbox_chan;
mbox_chan          40 include/linux/mailbox_client.h struct mbox_chan *mbox_request_channel_byname(struct mbox_client *cl,
mbox_chan          42 include/linux/mailbox_client.h struct mbox_chan *mbox_request_channel(struct mbox_client *cl, int index);
mbox_chan          43 include/linux/mailbox_client.h int mbox_send_message(struct mbox_chan *chan, void *mssg);
mbox_chan          44 include/linux/mailbox_client.h int mbox_flush(struct mbox_chan *chan, unsigned long timeout);
mbox_chan          45 include/linux/mailbox_client.h void mbox_client_txdone(struct mbox_chan *chan, int r); /* atomic */
mbox_chan          46 include/linux/mailbox_client.h bool mbox_client_peek_data(struct mbox_chan *chan); /* atomic */
mbox_chan          47 include/linux/mailbox_client.h void mbox_free_channel(struct mbox_chan *chan); /* may sleep */
mbox_chan          12 include/linux/mailbox_controller.h struct mbox_chan;
mbox_chan          47 include/linux/mailbox_controller.h 	int (*send_data)(struct mbox_chan *chan, void *data);
mbox_chan          48 include/linux/mailbox_controller.h 	int (*flush)(struct mbox_chan *chan, unsigned long timeout);
mbox_chan          49 include/linux/mailbox_controller.h 	int (*startup)(struct mbox_chan *chan);
mbox_chan          50 include/linux/mailbox_controller.h 	void (*shutdown)(struct mbox_chan *chan);
mbox_chan          51 include/linux/mailbox_controller.h 	bool (*last_tx_done)(struct mbox_chan *chan);
mbox_chan          52 include/linux/mailbox_controller.h 	bool (*peek_data)(struct mbox_chan *chan);
mbox_chan          77 include/linux/mailbox_controller.h 	struct mbox_chan *chans;
mbox_chan          82 include/linux/mailbox_controller.h 	struct mbox_chan *(*of_xlate)(struct mbox_controller *mbox,
mbox_chan         131 include/linux/mailbox_controller.h void mbox_chan_received_data(struct mbox_chan *chan, void *data); /* atomic */
mbox_chan         132 include/linux/mailbox_controller.h void mbox_chan_txdone(struct mbox_chan *chan, int r); /* atomic */
mbox_chan          17 include/linux/omap-mailbox.h struct mbox_chan;
mbox_chan          20 include/linux/omap-mailbox.h struct mbox_chan *omap_mbox_request_channel(struct mbox_client *cl,
mbox_chan          23 include/linux/omap-mailbox.h void omap_mbox_enable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq);
mbox_chan          24 include/linux/omap-mailbox.h void omap_mbox_disable_irq(struct mbox_chan *chan, omap_mbox_irq_t irq);
mbox_chan          22 include/linux/soc/mediatek/mtk-cmdq.h 	struct mbox_chan *chan;
mbox_chan          40 include/linux/wkup_m3_ipc.h 	struct mbox_chan *mbox;
mbox_chan          66 include/soc/tegra/bpmp.h 		struct mbox_chan *channel;