Lines Matching refs:osg
1102 struct omap_sg *osg = &d->sg[i]; in omap_dma_prep_slave_sg() local
1104 osg->addr = sg_dma_address(sgent); in omap_dma_prep_slave_sg()
1105 osg->en = en; in omap_dma_prep_slave_sg()
1106 osg->fn = sg_dma_len(sgent) / frame_bytes; in omap_dma_prep_slave_sg()
1109 osg->t2_desc = dma_pool_alloc(od->desc_pool, GFP_ATOMIC, in omap_dma_prep_slave_sg()
1110 &osg->t2_desc_paddr); in omap_dma_prep_slave_sg()
1111 if (!osg->t2_desc) { in omap_dma_prep_slave_sg()
1128 struct omap_sg *osg = &d->sg[i]; in omap_dma_prep_slave_sg() local
1130 if (osg->t2_desc) { in omap_dma_prep_slave_sg()
1131 dma_pool_free(od->desc_pool, osg->t2_desc, in omap_dma_prep_slave_sg()
1132 osg->t2_desc_paddr); in omap_dma_prep_slave_sg()
1133 osg->t2_desc = NULL; in omap_dma_prep_slave_sg()