Home
last modified time | relevance | path

Searched refs:mssg (Results 1 – 6 of 6) sorted by relevance

/drivers/mailbox/
Dmailbox.c26 static int add_to_rbuf(struct mbox_chan *chan, void *mssg) in add_to_rbuf() argument
40 chan->msg_data[idx] = mssg; in add_to_rbuf()
96 void *mssg; in tx_tick() local
99 mssg = chan->active_req; in tx_tick()
106 if (!mssg) in tx_tick()
111 chan->cl->tx_done(chan->cl, mssg, r); in tx_tick()
158 void mbox_chan_received_data(struct mbox_chan *chan, void *mssg) in mbox_chan_received_data() argument
162 chan->cl->rx_callback(chan->cl, mssg); in mbox_chan_received_data()
256 int mbox_send_message(struct mbox_chan *chan, void *mssg) in mbox_send_message() argument
263 t = add_to_rbuf(chan, mssg); in mbox_send_message()
Dbcm-pdc-mailbox.c584 struct brcm_message mssg; in pdc_receive_one() local
595 mssg.type = BRCM_MESSAGE_SPU; in pdc_receive_one()
623 mssg.ctx = rx_ctx->rxp_ctx; in pdc_receive_one()
662 mbox_chan_received_data(chan, &mssg); in pdc_receive_one()
1198 struct brcm_message *mssg = data; in pdc_send_data() local
1206 if (unlikely(mssg->type != BRCM_MESSAGE_SPU)) in pdc_send_data()
1209 src_nent = sg_nents(mssg->spu.src); in pdc_send_data()
1211 nent = dma_map_sg(dev, mssg->spu.src, src_nent, DMA_TO_DEVICE); in pdc_send_data()
1216 dst_nent = sg_nents(mssg->spu.dst); in pdc_send_data()
1218 nent = dma_map_sg(dev, mssg->spu.dst, dst_nent, in pdc_send_data()
[all …]
/drivers/crypto/bcm/
Dcipher.c134 spu_skcipher_rx_sg_create(struct brcm_message *mssg, in spu_skcipher_rx_sg_create() argument
144 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), in spu_skcipher_rx_sg_create()
146 if (!mssg->spu.dst) in spu_skcipher_rx_sg_create()
149 sg = mssg->spu.dst; in spu_skcipher_rx_sg_create()
198 spu_skcipher_tx_sg_create(struct brcm_message *mssg, in spu_skcipher_tx_sg_create() argument
208 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), in spu_skcipher_tx_sg_create()
210 if (unlikely(!mssg->spu.src)) in spu_skcipher_tx_sg_create()
213 sg = mssg->spu.src; in spu_skcipher_tx_sg_create()
244 static int mailbox_send_message(struct brcm_message *mssg, u32 flags, in mailbox_send_message() argument
251 err = mbox_send_message(iproc_priv.mbox[chan_idx], mssg); in mailbox_send_message()
[all …]
/drivers/i2c/busses/
Di2c-xgene-slimpro.c138 static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg) in slimpro_i2c_rx_cb() argument
149 *ctx->resp_msg = ((u32 *)mssg)[1]; in slimpro_i2c_rx_cb()
/drivers/firmware/imx/
Dimx-scu.c105 static void imx_scu_tx_done(struct mbox_client *cl, void *mssg, int r) in imx_scu_tx_done() argument
/drivers/gpu/drm/mediatek/
Dmtk_drm_crtc.c278 static void ddp_cmdq_cb(struct mbox_client *cl, void *mssg) in ddp_cmdq_cb() argument