/openbmc/u-boot/lib/ |
H A D | image-sparse.c | 82 if (!info->mssg) in write_sparse_image() 83 info->mssg = default_log; in write_sparse_image() 103 info->mssg("sparse image block size issue", response); in write_sparse_image() 138 info->mssg("Bogus chunk size for chunk type Raw", in write_sparse_image() 147 info->mssg("Request would exceed partition size!", in write_sparse_image() 158 info->mssg("flash write failure", response); in write_sparse_image() 170 info->mssg("Bogus chunk size for chunk type FILL", response); in write_sparse_image() 180 info->mssg("Malloc failed for: CHUNK_TYPE_FILL", in write_sparse_image() 198 info->mssg("Request would exceed partition size!", in write_sparse_image() 214 info->mssg("flash write failure", in write_sparse_image() [all …]
|
/openbmc/linux/include/linux/ |
H A D | mailbox_client.h | 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); 44 int mbox_send_message(struct mbox_chan *chan, void *mssg);
|
/openbmc/linux/drivers/mailbox/ |
H A D | mailbox.c | 27 static int add_to_rbuf(struct mbox_chan *chan, void *mssg) in add_to_rbuf() argument 41 chan->msg_data[idx] = mssg; in add_to_rbuf() 97 void *mssg; in tx_tick() local 100 mssg = chan->active_req; in tx_tick() 107 if (!mssg) in tx_tick() 112 chan->cl->tx_done(chan->cl, mssg, r); in tx_tick() 159 void mbox_chan_received_data(struct mbox_chan *chan, void *mssg) in mbox_chan_received_data() argument 163 chan->cl->rx_callback(chan->cl, mssg); in mbox_chan_received_data() 257 int mbox_send_message(struct mbox_chan *chan, void *mssg) in mbox_send_message() argument 264 t = add_to_rbuf(chan, mssg); in mbox_send_message()
|
H A D | bcm-pdc-mailbox.c | 584 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 …]
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | cipher.c | 133 spu_skcipher_rx_sg_create(struct brcm_message *mssg, in spu_skcipher_rx_sg_create() argument 143 mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), in spu_skcipher_rx_sg_create() 145 if (!mssg->spu.dst) in spu_skcipher_rx_sg_create() 148 sg = mssg->spu.dst; in spu_skcipher_rx_sg_create() 197 spu_skcipher_tx_sg_create(struct brcm_message *mssg, in spu_skcipher_tx_sg_create() argument 207 mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), in spu_skcipher_tx_sg_create() 209 if (unlikely(!mssg->spu.src)) in spu_skcipher_tx_sg_create() 212 sg = mssg->spu.src; in spu_skcipher_tx_sg_create() 243 static int mailbox_send_message(struct brcm_message *mssg, u32 flags, in mailbox_send_message() argument 250 err = mbox_send_message(iproc_priv.mbox[chan_idx], mssg); in mailbox_send_message() [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | mailbox.rst | 61 static void message_from_remote(struct mbox_client *cl, void *mssg) 65 if (is_an_ack(mssg)) { 69 queue_req(mssg); 77 static void sample_sent(struct mbox_client *cl, void *mssg, int r)
|
/openbmc/u-boot/include/ |
H A D | image-sparse.h | 26 void (*mssg)(const char *str, char *response); member
|
/openbmc/linux/drivers/soc/apple/ |
H A D | rtkit.c | 553 static void apple_rtkit_rx(struct mbox_client *cl, void *mssg) in apple_rtkit_rx() argument 556 struct apple_mbox_msg *msg = mssg; in apple_rtkit_rx() 588 static void apple_rtkit_tx_done(struct mbox_client *cl, void *mssg, int r) in apple_rtkit_tx_done() argument 591 container_of(mssg, struct apple_rtkit_msg, mbox_msg); in apple_rtkit_tx_done()
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-cmdq.c | 351 static void mdp_handle_cmdq_callback(struct mbox_client *cl, void *mssg) in mdp_handle_cmdq_callback() argument 359 if (!mssg) { in mdp_handle_cmdq_callback() 364 data = (struct cmdq_cb_data *)mssg; in mdp_handle_cmdq_callback()
|
/openbmc/u-boot/drivers/fastboot/ |
H A D | fb_nand.c | 201 sparse.mssg = fastboot_fail; in fastboot_nand_flash_write()
|
H A D | fb_mmc.c | 415 sparse.mssg = fastboot_fail; in fastboot_mmc_flash_write()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-xgene-slimpro.c | 131 static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg) in slimpro_i2c_rx_cb() argument 142 *ctx->resp_msg = ((u32 *)mssg)[1]; in slimpro_i2c_rx_cb()
|
/openbmc/linux/drivers/firmware/imx/ |
H A D | imx-scu.c | 106 static void imx_scu_tx_done(struct mbox_client *cl, void *mssg, int r) in imx_scu_tx_done() argument
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_crtc.c | 294 static void ddp_cmdq_cb(struct mbox_client *cl, void *mssg) in ddp_cmdq_cb() argument 296 struct cmdq_cb_data *data = mssg; in ddp_cmdq_cb()
|
/openbmc/u-boot/cmd/ |
H A D | mmc.c | 375 sparse.mssg = NULL; in do_mmc_sparse_write()
|