Lines Matching refs:phead
134 psgl->phead = (ppc_sgl_t *) in ppc4xx_add_dma_sgl()
136 psgl->ptail = psgl->phead; in ppc4xx_add_dma_sgl()
169 } else if (!psgl->phead) { in ppc4xx_enable_dma_sgl()
178 ppc4xx_set_sg_addr(psgl->dmanr, iopa((unsigned long)psgl->phead)); in ppc4xx_enable_dma_sgl()
291 pnext = psgl->phead; in ppc4xx_get_dma_sgl_residue()
364 if (!psgl->phead) { in ppc4xx_delete_dma_sgl_element()
371 *src_dma_addr = (phys_addr_t) psgl->phead->src_addr; in ppc4xx_delete_dma_sgl_element()
372 *dst_dma_addr = (phys_addr_t) psgl->phead->dst_addr; in ppc4xx_delete_dma_sgl_element()
374 if (psgl->phead == psgl->ptail) { in ppc4xx_delete_dma_sgl_element()
376 psgl->phead = NULL; in ppc4xx_delete_dma_sgl_element()
379 psgl->phead++; in ppc4xx_delete_dma_sgl_element()
519 } else if (psgl->phead) { in ppc4xx_free_dma_handle()