Home
last modified time | relevance | path

Searched refs:order_reg (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/loongson/
H A Dloongson_dma.c77 void __iomem *order_reg = prtd->dma_data->order_addr; in dma_desc_save() local
81 val |= (readq(order_reg) & DMA_ORDER_CTRL_MASK); in dma_desc_save()
83 writeq(val, order_reg); in dma_desc_save()
85 while (readl(order_reg) & DMA_ORDER_ASK_VALID) in dma_desc_save()
96 void __iomem *order_reg = prtd->dma_data->order_addr; in loongson_pcm_trigger() local
109 val |= (readq(order_reg) & DMA_ORDER_CTRL_MASK); in loongson_pcm_trigger()
111 writeq(val, order_reg); in loongson_pcm_trigger()
113 while ((readl(order_reg) & DMA_ORDER_START)) in loongson_pcm_trigger()
122 val = readq(order_reg) | DMA_ORDER_STOP; in loongson_pcm_trigger()
123 writeq(val, order_reg); in loongson_pcm_trigger()