Lines Matching refs:mscc_qs_offset
27 int mscc_send(void __iomem *regs, const unsigned long *mscc_qs_offset, in mscc_send() argument
33 regs + mscc_qs_offset[MSCC_QS_INJ_CTRL]); in mscc_send()
36 writel(ifh[i], regs + mscc_qs_offset[MSCC_QS_INJ_WR]); in mscc_send()
39 writel(buff[i], regs + mscc_qs_offset[MSCC_QS_INJ_WR]); in mscc_send()
43 writel(0, regs + mscc_qs_offset[MSCC_QS_INJ_WR]); in mscc_send()
50 QS_INJ_CTRL_EOF, regs + mscc_qs_offset[MSCC_QS_INJ_CTRL]); in mscc_send()
53 writel(0, regs + mscc_qs_offset[MSCC_QS_INJ_WR]); in mscc_send()
58 int mscc_recv(void __iomem *regs, const unsigned long *mscc_qs_offset, in mscc_recv() argument
65 if (!(readl(regs + mscc_qs_offset[MSCC_QS_XTR_DATA_PRESENT]) & in mscc_recv()
71 readl(regs + mscc_qs_offset[MSCC_QS_XTR_RD]); in mscc_recv()
74 u32 val = readl(regs + mscc_qs_offset[MSCC_QS_XTR_RD]); in mscc_recv()
85 *rxbuf = readl(regs + mscc_qs_offset[MSCC_QS_XTR_RD]); in mscc_recv()
95 *rxbuf = readl(regs + mscc_qs_offset[MSCC_QS_XTR_RD]); in mscc_recv()
106 *rxbuf = readl(regs + mscc_qs_offset[MSCC_QS_XTR_RD]); in mscc_recv()
127 void mscc_flush(void __iomem *regs, const unsigned long *mscc_qs_offset) in mscc_flush() argument
130 setbits_le32(regs + mscc_qs_offset[MSCC_QS_XTR_FLUSH], in mscc_flush()
137 clrbits_le32(regs + mscc_qs_offset[MSCC_QS_XTR_FLUSH], in mscc_flush()