Lines Matching refs:mssg
580 struct brcm_message mssg; in pdc_receive_one() local
591 mssg.type = BRCM_MESSAGE_SPU; in pdc_receive_one()
619 mssg.ctx = rx_ctx->rxp_ctx; in pdc_receive_one()
658 mbox_chan_received_data(chan, &mssg); in pdc_receive_one()
1194 struct brcm_message *mssg = data; in pdc_send_data() local
1202 if (unlikely(mssg->type != BRCM_MESSAGE_SPU)) in pdc_send_data()
1205 src_nent = sg_nents(mssg->spu.src); in pdc_send_data()
1207 nent = dma_map_sg(dev, mssg->spu.src, src_nent, DMA_TO_DEVICE); in pdc_send_data()
1212 dst_nent = sg_nents(mssg->spu.dst); in pdc_send_data()
1214 nent = dma_map_sg(dev, mssg->spu.dst, dst_nent, in pdc_send_data()
1217 dma_unmap_sg(dev, mssg->spu.src, src_nent, in pdc_send_data()
1232 tx_desc_req = pdc_desc_count(mssg->spu.src); in pdc_send_data()
1233 rx_desc_req = pdc_desc_count(mssg->spu.dst); in pdc_send_data()
1238 err = pdc_rx_list_init(pdcs, mssg->spu.dst, mssg->ctx); in pdc_send_data()
1239 err |= pdc_rx_list_sg_add(pdcs, mssg->spu.dst); in pdc_send_data()
1242 err |= pdc_tx_list_sg_add(pdcs, mssg->spu.src); in pdc_send_data()