Lines Matching refs:lch
59 int lch; in ssi_gdd_regs_show() local
78 for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++) { in ssi_gdd_regs_show()
79 seq_printf(m, "\nGDD LCH %d\n=========\n", lch); in ssi_gdd_regs_show()
81 readw(gdd + SSI_GDD_CSDP_REG(lch))); in ssi_gdd_regs_show()
83 readw(gdd + SSI_GDD_CCR_REG(lch))); in ssi_gdd_regs_show()
85 readw(gdd + SSI_GDD_CICR_REG(lch))); in ssi_gdd_regs_show()
87 readw(gdd + SSI_GDD_CSR_REG(lch))); in ssi_gdd_regs_show()
89 readl(gdd + SSI_GDD_CSSA_REG(lch))); in ssi_gdd_regs_show()
91 readl(gdd + SSI_GDD_CDSA_REG(lch))); in ssi_gdd_regs_show()
93 readw(gdd + SSI_GDD_CEN_REG(lch))); in ssi_gdd_regs_show()
95 readw(gdd + SSI_GDD_CSAC_REG(lch))); in ssi_gdd_regs_show()
97 readw(gdd + SSI_GDD_CDAC_REG(lch))); in ssi_gdd_regs_show()
99 readw(gdd + SSI_GDD_CLNK_CTRL_REG(lch))); in ssi_gdd_regs_show()
167 static void ssi_gdd_complete(struct hsi_controller *ssi, unsigned int lch) in ssi_gdd_complete() argument
170 struct hsi_msg *msg = omap_ssi->gdd_trn[lch].msg; in ssi_gdd_complete()
180 val &= ~SSI_GDD_LCH(lch); in ssi_gdd_complete()
193 csr = readw(omap_ssi->gdd + SSI_GDD_CSR_REG(lch)); in ssi_gdd_complete()
194 omap_ssi->gdd_trn[lch].msg = NULL; /* release GDD lch */ in ssi_gdd_complete()
223 unsigned int lch; in ssi_gdd_tasklet() local
235 for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++) { in ssi_gdd_tasklet()
236 if (status_reg & SSI_GDD_LCH(lch)) in ssi_gdd_tasklet()
237 ssi_gdd_complete(ssi, lch); in ssi_gdd_tasklet()