mssg 133 drivers/crypto/bcm/cipher.c spu_ablkcipher_rx_sg_create(struct brcm_message *mssg, mssg 143 drivers/crypto/bcm/cipher.c mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), mssg 145 drivers/crypto/bcm/cipher.c if (!mssg->spu.dst) mssg 148 drivers/crypto/bcm/cipher.c sg = mssg->spu.dst; mssg 201 drivers/crypto/bcm/cipher.c spu_ablkcipher_tx_sg_create(struct brcm_message *mssg, mssg 211 drivers/crypto/bcm/cipher.c mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), mssg 213 drivers/crypto/bcm/cipher.c if (unlikely(!mssg->spu.src)) mssg 216 drivers/crypto/bcm/cipher.c sg = mssg->spu.src; mssg 247 drivers/crypto/bcm/cipher.c static int mailbox_send_message(struct brcm_message *mssg, u32 flags, mssg 254 drivers/crypto/bcm/cipher.c err = mbox_send_message(iproc_priv.mbox[chan_idx], mssg); mssg 264 drivers/crypto/bcm/cipher.c mssg); mssg 274 drivers/crypto/bcm/cipher.c err = mssg->error; mssg 321 drivers/crypto/bcm/cipher.c struct brcm_message *mssg; /* mailbox message */ mssg 337 drivers/crypto/bcm/cipher.c mssg = &rctx->mb_mssg; mssg 460 drivers/crypto/bcm/cipher.c memset(mssg, 0, sizeof(*mssg)); mssg 461 drivers/crypto/bcm/cipher.c mssg->type = BRCM_MESSAGE_SPU; mssg 462 drivers/crypto/bcm/cipher.c mssg->ctx = rctx; /* Will be returned in response */ mssg 471 drivers/crypto/bcm/cipher.c err = spu_ablkcipher_rx_sg_create(mssg, rctx, rx_frag_num, chunksize, mssg 485 drivers/crypto/bcm/cipher.c err = spu_ablkcipher_tx_sg_create(mssg, rctx, tx_frag_num, chunksize, mssg 490 drivers/crypto/bcm/cipher.c err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); mssg 562 drivers/crypto/bcm/cipher.c spu_ahash_rx_sg_create(struct brcm_message *mssg, mssg 571 drivers/crypto/bcm/cipher.c mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), mssg 573 drivers/crypto/bcm/cipher.c if (!mssg->spu.dst) mssg 576 drivers/crypto/bcm/cipher.c sg = mssg->spu.dst; mssg 614 drivers/crypto/bcm/cipher.c spu_ahash_tx_sg_create(struct brcm_message *mssg, mssg 626 drivers/crypto/bcm/cipher.c mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), mssg 628 drivers/crypto/bcm/cipher.c if (!mssg->spu.src) mssg 631 drivers/crypto/bcm/cipher.c sg = mssg->spu.src; mssg 714 drivers/crypto/bcm/cipher.c struct brcm_message *mssg; /* mailbox message */ mssg 755 drivers/crypto/bcm/cipher.c mssg = &rctx->mb_mssg; mssg 897 drivers/crypto/bcm/cipher.c memset(mssg, 0, sizeof(*mssg)); mssg 898 drivers/crypto/bcm/cipher.c mssg->type = BRCM_MESSAGE_SPU; mssg 899 drivers/crypto/bcm/cipher.c mssg->ctx = rctx; /* Will be returned in response */ mssg 902 drivers/crypto/bcm/cipher.c err = spu_ahash_rx_sg_create(mssg, rctx, rx_frag_num, digestsize, mssg 911 drivers/crypto/bcm/cipher.c err = spu_ahash_tx_sg_create(mssg, rctx, tx_frag_num, spu_hdr_len, mssg 916 drivers/crypto/bcm/cipher.c err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); mssg 1079 drivers/crypto/bcm/cipher.c static int spu_aead_rx_sg_create(struct brcm_message *mssg, mssg 1117 drivers/crypto/bcm/cipher.c mssg->spu.dst = kcalloc(rx_frag_num, sizeof(struct scatterlist), mssg 1119 drivers/crypto/bcm/cipher.c if (!mssg->spu.dst) mssg 1122 drivers/crypto/bcm/cipher.c sg = mssg->spu.dst; mssg 1199 drivers/crypto/bcm/cipher.c static int spu_aead_tx_sg_create(struct brcm_message *mssg, mssg 1219 drivers/crypto/bcm/cipher.c mssg->spu.src = kcalloc(tx_frag_num, sizeof(struct scatterlist), mssg 1221 drivers/crypto/bcm/cipher.c if (!mssg->spu.src) mssg 1224 drivers/crypto/bcm/cipher.c sg = mssg->spu.src; mssg 1310 drivers/crypto/bcm/cipher.c struct brcm_message *mssg; /* mailbox message */ mssg 1387 drivers/crypto/bcm/cipher.c mssg = &rctx->mb_mssg; mssg 1505 drivers/crypto/bcm/cipher.c memset(mssg, 0, sizeof(*mssg)); mssg 1506 drivers/crypto/bcm/cipher.c mssg->type = BRCM_MESSAGE_SPU; mssg 1507 drivers/crypto/bcm/cipher.c mssg->ctx = rctx; /* Will be returned in response */ mssg 1532 drivers/crypto/bcm/cipher.c err = spu_aead_rx_sg_create(mssg, req, rctx, rx_frag_num, mssg 1548 drivers/crypto/bcm/cipher.c err = spu_aead_tx_sg_create(mssg, rctx, tx_frag_num, spu_hdr_len, mssg 1555 drivers/crypto/bcm/cipher.c err = mailbox_send_message(mssg, req->base.flags, rctx->chan_idx); mssg 1629 drivers/crypto/bcm/cipher.c struct brcm_message *mssg = &rctx->mb_mssg; mssg 1631 drivers/crypto/bcm/cipher.c kfree(mssg->spu.src); mssg 1632 drivers/crypto/bcm/cipher.c kfree(mssg->spu.dst); mssg 1633 drivers/crypto/bcm/cipher.c memset(mssg, 0, sizeof(struct brcm_message)); mssg 1665 drivers/crypto/bcm/cipher.c struct brcm_message *mssg = msg; mssg 1669 drivers/crypto/bcm/cipher.c rctx = mssg->ctx; mssg 106 drivers/firmware/imx/imx-scu.c static void imx_scu_tx_done(struct mbox_client *cl, void *mssg, int r) mssg 139 drivers/i2c/busses/i2c-xgene-slimpro.c static void slimpro_i2c_rx_cb(struct mbox_client *cl, void *mssg) mssg 150 drivers/i2c/busses/i2c-xgene-slimpro.c *ctx->resp_msg = ((u32 *)mssg)[1]; mssg 584 drivers/mailbox/bcm-pdc-mailbox.c struct brcm_message mssg; mssg 595 drivers/mailbox/bcm-pdc-mailbox.c mssg.type = BRCM_MESSAGE_SPU; mssg 623 drivers/mailbox/bcm-pdc-mailbox.c mssg.ctx = rx_ctx->rxp_ctx; mssg 662 drivers/mailbox/bcm-pdc-mailbox.c mbox_chan_received_data(chan, &mssg); mssg 1198 drivers/mailbox/bcm-pdc-mailbox.c struct brcm_message *mssg = data; mssg 1206 drivers/mailbox/bcm-pdc-mailbox.c if (unlikely(mssg->type != BRCM_MESSAGE_SPU)) mssg 1209 drivers/mailbox/bcm-pdc-mailbox.c src_nent = sg_nents(mssg->spu.src); mssg 1211 drivers/mailbox/bcm-pdc-mailbox.c nent = dma_map_sg(dev, mssg->spu.src, src_nent, DMA_TO_DEVICE); mssg 1216 drivers/mailbox/bcm-pdc-mailbox.c dst_nent = sg_nents(mssg->spu.dst); mssg 1218 drivers/mailbox/bcm-pdc-mailbox.c nent = dma_map_sg(dev, mssg->spu.dst, dst_nent, mssg 1221 drivers/mailbox/bcm-pdc-mailbox.c dma_unmap_sg(dev, mssg->spu.src, src_nent, mssg 1236 drivers/mailbox/bcm-pdc-mailbox.c tx_desc_req = pdc_desc_count(mssg->spu.src); mssg 1237 drivers/mailbox/bcm-pdc-mailbox.c rx_desc_req = pdc_desc_count(mssg->spu.dst); mssg 1242 drivers/mailbox/bcm-pdc-mailbox.c err = pdc_rx_list_init(pdcs, mssg->spu.dst, mssg->ctx); mssg 1243 drivers/mailbox/bcm-pdc-mailbox.c err |= pdc_rx_list_sg_add(pdcs, mssg->spu.dst); mssg 1246 drivers/mailbox/bcm-pdc-mailbox.c err |= pdc_tx_list_sg_add(pdcs, mssg->spu.src); mssg 26 drivers/mailbox/mailbox.c static int add_to_rbuf(struct mbox_chan *chan, void *mssg) mssg 40 drivers/mailbox/mailbox.c chan->msg_data[idx] = mssg; mssg 93 drivers/mailbox/mailbox.c void *mssg; mssg 96 drivers/mailbox/mailbox.c mssg = chan->active_req; mssg 103 drivers/mailbox/mailbox.c if (!mssg) mssg 108 drivers/mailbox/mailbox.c chan->cl->tx_done(chan->cl, mssg, r); mssg 150 drivers/mailbox/mailbox.c void mbox_chan_received_data(struct mbox_chan *chan, void *mssg) mssg 154 drivers/mailbox/mailbox.c chan->cl->rx_callback(chan->cl, mssg); mssg 248 drivers/mailbox/mailbox.c int mbox_send_message(struct mbox_chan *chan, void *mssg) mssg 255 drivers/mailbox/mailbox.c t = add_to_rbuf(chan, mssg); mssg 35 include/linux/mailbox_client.h void (*rx_callback)(struct mbox_client *cl, void *mssg); mssg 36 include/linux/mailbox_client.h void (*tx_prepare)(struct mbox_client *cl, void *mssg); mssg 37 include/linux/mailbox_client.h void (*tx_done)(struct mbox_client *cl, void *mssg, int r); mssg 43 include/linux/mailbox_client.h int mbox_send_message(struct mbox_chan *chan, void *mssg);