Lines Matching refs:mssg
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()
1221 dma_unmap_sg(dev, mssg->spu.src, src_nent, in pdc_send_data()
1236 tx_desc_req = pdc_desc_count(mssg->spu.src); in pdc_send_data()
1237 rx_desc_req = pdc_desc_count(mssg->spu.dst); in pdc_send_data()
1242 err = pdc_rx_list_init(pdcs, mssg->spu.dst, mssg->ctx); in pdc_send_data()
1243 err |= pdc_rx_list_sg_add(pdcs, mssg->spu.dst); in pdc_send_data()
1246 err |= pdc_tx_list_sg_add(pdcs, mssg->spu.src); in pdc_send_data()