/* returns the status as in the dmac_cmd_status field of the descriptor  */
static enum gelic_descr_dma_status gelic_descr_get_status(struct gelic_descr *descr)
/* returns the status as in the dmac_cmd_status field of the descriptor  */
static enum gelic_descr_dma_status gelic_descr_get_status(struct gelic_descr *descr)
{
	return be32_to_cpu(descr->dmac_cmd_status) & GELIC_DESCR_DMA_STAT_MASK;
}