Lines Matching refs:guts
53 static inline void guts_set_dmuxcr(struct ccsr_guts __iomem *guts, in guts_set_dmuxcr() argument
58 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr()
93 struct ccsr_guts __iomem *guts; in p1022_rdk_machine_probe() local
95 guts = ioremap(guts_phys, sizeof(struct ccsr_guts)); in p1022_rdk_machine_probe()
96 if (!guts) { in p1022_rdk_machine_probe()
102 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_rdk_machine_probe()
106 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK, in p1022_rdk_machine_probe()
110 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], in p1022_rdk_machine_probe()
113 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], in p1022_rdk_machine_probe()
116 iounmap(guts); in p1022_rdk_machine_probe()
165 struct ccsr_guts __iomem *guts; in p1022_rdk_machine_remove() local
167 guts = ioremap(guts_phys, sizeof(struct ccsr_guts)); in p1022_rdk_machine_remove()
168 if (!guts) { in p1022_rdk_machine_remove()
174 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK); in p1022_rdk_machine_remove()
175 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK); in p1022_rdk_machine_remove()
176 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], 0); in p1022_rdk_machine_remove()
177 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], 0); in p1022_rdk_machine_remove()
179 iounmap(guts); in p1022_rdk_machine_remove()