guts              247 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		struct ccsr_guts __iomem *guts;
guts              251 arch/powerpc/platforms/85xx/mpc85xx_mds.c 			guts = of_iomap(np, 0);
guts              252 arch/powerpc/platforms/85xx/mpc85xx_mds.c 			if (!guts)
guts              261 arch/powerpc/platforms/85xx/mpc85xx_mds.c 				setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) |
guts              265 arch/powerpc/platforms/85xx/mpc85xx_mds.c 				iounmap(guts);
guts               18 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c static struct ccsr_guts __iomem *guts;
guts               59 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c 		setbits32(&guts->devdisr, mask);
guts               61 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c 		clrbits32(&guts->devdisr, mask);
guts               63 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c 	in_be32(&guts->devdisr);
guts               91 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c 		guts = of_iomap(np, 0);
guts               93 arch/powerpc/platforms/85xx/mpc85xx_pm_ops.c 		if (!guts) {
guts               98 arch/powerpc/platforms/85xx/mpc85xx_rdb.c 		struct ccsr_guts __iomem *guts;
guts              102 arch/powerpc/platforms/85xx/mpc85xx_rdb.c 			guts = of_iomap(np, 0);
guts              103 arch/powerpc/platforms/85xx/mpc85xx_rdb.c 			if (!guts) {
guts              114 arch/powerpc/platforms/85xx/mpc85xx_rdb.c 				setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) |
guts              118 arch/powerpc/platforms/85xx/mpc85xx_rdb.c 				iounmap(guts);
guts              168 arch/powerpc/platforms/85xx/p1022_ds.c 	struct ccsr_guts __iomem *guts;
guts              186 arch/powerpc/platforms/85xx/p1022_ds.c 	guts = of_iomap(guts_node, 0);
guts              187 arch/powerpc/platforms/85xx/p1022_ds.c 	if (!guts) {
guts              289 arch/powerpc/platforms/85xx/p1022_ds.c 	if ((in_be32(&guts->pmuxcr) & PMUXCR_ELBCDIU_MASK) !=
guts              319 arch/powerpc/platforms/85xx/p1022_ds.c 		clrsetbits_be32(&guts->pmuxcr, PMUXCR_ELBCDIU_MASK,
guts              321 arch/powerpc/platforms/85xx/p1022_ds.c 		in_be32(&guts->pmuxcr);
guts              359 arch/powerpc/platforms/85xx/p1022_ds.c 	if (guts)
guts              360 arch/powerpc/platforms/85xx/p1022_ds.c 		iounmap(guts);
guts              375 arch/powerpc/platforms/85xx/p1022_ds.c 	struct ccsr_guts __iomem *guts;
guts              387 arch/powerpc/platforms/85xx/p1022_ds.c 	guts = of_iomap(guts_np, 0);
guts              389 arch/powerpc/platforms/85xx/p1022_ds.c 	if (!guts) {
guts              408 arch/powerpc/platforms/85xx/p1022_ds.c 	clrbits32(&guts->clkdvdr,
guts              412 arch/powerpc/platforms/85xx/p1022_ds.c 	setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16));
guts              414 arch/powerpc/platforms/85xx/p1022_ds.c 	iounmap(guts);
guts               45 arch/powerpc/platforms/85xx/p1022_rdk.c 	struct ccsr_guts __iomem *guts;
guts               57 arch/powerpc/platforms/85xx/p1022_rdk.c 	guts = of_iomap(guts_np, 0);
guts               59 arch/powerpc/platforms/85xx/p1022_rdk.c 	if (!guts) {
guts               78 arch/powerpc/platforms/85xx/p1022_rdk.c 	clrbits32(&guts->clkdvdr,
guts               82 arch/powerpc/platforms/85xx/p1022_rdk.c 	setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16));
guts               84 arch/powerpc/platforms/85xx/p1022_rdk.c 	iounmap(guts);
guts               80 arch/powerpc/platforms/85xx/twr_p102x.c 		struct ccsr_guts __iomem *guts;
guts               84 arch/powerpc/platforms/85xx/twr_p102x.c 			guts = of_iomap(np, 0);
guts               85 arch/powerpc/platforms/85xx/twr_p102x.c 			if (!guts)
guts               94 arch/powerpc/platforms/85xx/twr_p102x.c 			setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) |
guts               98 arch/powerpc/platforms/85xx/twr_p102x.c 			iounmap(guts);
guts              227 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	struct ccsr_guts __iomem *guts;
guts              239 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	guts = of_iomap(guts_np, 0);
guts              241 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	if (!guts) {
guts              260 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	clrbits32(&guts->clkdvdr,
guts              264 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16));
guts              266 arch/powerpc/platforms/86xx/mpc8610_hpcd.c 	iounmap(guts);
guts               94 drivers/clk/clk-qoriq.c 	struct ccsr_guts __iomem *guts;
guts              436 drivers/clk/clk-qoriq.c 	reg = ioread32be(&cg->guts->rcwsr[7]);
guts              448 drivers/clk/clk-qoriq.c 	reg = ioread32be(&cg->guts->rcwsr[7]);
guts              466 drivers/clk/clk-qoriq.c 	reg = ioread32be(&cg->guts->rcwsr[7]);
guts              481 drivers/clk/clk-qoriq.c 	reg = ioread32be(&cg->guts->rcwsr[7]);
guts             1458 drivers/clk/clk-qoriq.c 		struct device_node *guts;
guts             1460 drivers/clk/clk-qoriq.c 		guts = of_find_compatible_node(NULL, NULL,
guts             1462 drivers/clk/clk-qoriq.c 		if (guts) {
guts             1463 drivers/clk/clk-qoriq.c 			clockgen.guts = of_iomap(guts, 0);
guts             1464 drivers/clk/clk-qoriq.c 			if (!clockgen.guts) {
guts             1466 drivers/clk/clk-qoriq.c 				       guts);
guts             1468 drivers/clk/clk-qoriq.c 			of_node_put(guts);
guts               28 drivers/soc/fsl/guts.c static struct guts *guts;
guts              128 drivers/soc/fsl/guts.c 	if (!guts || !guts->regs)
guts              131 drivers/soc/fsl/guts.c 	if (guts->little_endian)
guts              132 drivers/soc/fsl/guts.c 		svr = ioread32(&guts->regs->svr);
guts              134 drivers/soc/fsl/guts.c 		svr = ioread32be(&guts->regs->svr);
guts              149 drivers/soc/fsl/guts.c 	guts = devm_kzalloc(dev, sizeof(*guts), GFP_KERNEL);
guts              150 drivers/soc/fsl/guts.c 	if (!guts)
guts              153 drivers/soc/fsl/guts.c 	guts->little_endian = of_property_read_bool(np, "little-endian");
guts              156 drivers/soc/fsl/guts.c 	guts->regs = devm_ioremap_resource(dev, res);
guts              157 drivers/soc/fsl/guts.c 	if (IS_ERR(guts->regs))
guts              158 drivers/soc/fsl/guts.c 		return PTR_ERR(guts->regs);
guts              155 include/linux/fsl/guts.h static inline void guts_set_dmacr(struct ccsr_guts __iomem *guts,
guts              160 include/linux/fsl/guts.h 	clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift);
guts              191 include/linux/fsl/guts.h static inline void guts_set_pmuxcr_dma(struct ccsr_guts __iomem *guts,
guts              197 include/linux/fsl/guts.h 		clrsetbits_be32(&guts->pmuxcr, 1 << shift, value << shift);
guts               55 sound/soc/fsl/mpc8610_hpcd.c 	struct ccsr_guts __iomem *guts;
guts               57 sound/soc/fsl/mpc8610_hpcd.c 	guts = ioremap(guts_phys, sizeof(struct ccsr_guts));
guts               58 sound/soc/fsl/mpc8610_hpcd.c 	if (!guts) {
guts               64 sound/soc/fsl/mpc8610_hpcd.c 	guts_set_dmacr(guts, machine_data->dma_id[0],
guts               67 sound/soc/fsl/mpc8610_hpcd.c 	guts_set_dmacr(guts, machine_data->dma_id[1],
guts               71 sound/soc/fsl/mpc8610_hpcd.c 	guts_set_pmuxcr_dma(guts, machine_data->dma_id[0],
guts               73 sound/soc/fsl/mpc8610_hpcd.c 	guts_set_pmuxcr_dma(guts, machine_data->dma_id[1],
guts               78 sound/soc/fsl/mpc8610_hpcd.c 		clrsetbits_be32(&guts->pmuxcr,
guts               82 sound/soc/fsl/mpc8610_hpcd.c 		clrsetbits_be32(&guts->pmuxcr,
guts               87 sound/soc/fsl/mpc8610_hpcd.c 	iounmap(guts);
guts              139 sound/soc/fsl/mpc8610_hpcd.c 	struct ccsr_guts __iomem *guts;
guts              141 sound/soc/fsl/mpc8610_hpcd.c 	guts = ioremap(guts_phys, sizeof(struct ccsr_guts));
guts              142 sound/soc/fsl/mpc8610_hpcd.c 	if (!guts) {
guts              149 sound/soc/fsl/mpc8610_hpcd.c 	guts_set_dmacr(guts, machine_data->dma_id[0],
guts              151 sound/soc/fsl/mpc8610_hpcd.c 	guts_set_dmacr(guts, machine_data->dma_id[1],
guts              156 sound/soc/fsl/mpc8610_hpcd.c 		clrsetbits_be32(&guts->pmuxcr,
guts              160 sound/soc/fsl/mpc8610_hpcd.c 		clrsetbits_be32(&guts->pmuxcr,
guts              165 sound/soc/fsl/mpc8610_hpcd.c 	iounmap(guts);
guts               46 sound/soc/fsl/p1022_ds.c static inline void guts_set_dmuxcr(struct ccsr_guts __iomem *guts,
guts               51 sound/soc/fsl/p1022_ds.c 	clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift);
guts               87 sound/soc/fsl/p1022_ds.c 	struct ccsr_guts __iomem *guts;
guts               89 sound/soc/fsl/p1022_ds.c 	guts = ioremap(guts_phys, sizeof(struct ccsr_guts));
guts               90 sound/soc/fsl/p1022_ds.c 	if (!guts) {
guts               96 sound/soc/fsl/p1022_ds.c 	clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK,
guts              100 sound/soc/fsl/p1022_ds.c 	clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK,
guts              104 sound/soc/fsl/p1022_ds.c 	guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0],
guts              107 sound/soc/fsl/p1022_ds.c 	guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1],
guts              110 sound/soc/fsl/p1022_ds.c 	iounmap(guts);
guts              161 sound/soc/fsl/p1022_ds.c 	struct ccsr_guts __iomem *guts;
guts              163 sound/soc/fsl/p1022_ds.c 	guts = ioremap(guts_phys, sizeof(struct ccsr_guts));
guts              164 sound/soc/fsl/p1022_ds.c 	if (!guts) {
guts              170 sound/soc/fsl/p1022_ds.c 	clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK);
guts              171 sound/soc/fsl/p1022_ds.c 	clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK);
guts              172 sound/soc/fsl/p1022_ds.c 	guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], 0);
guts              173 sound/soc/fsl/p1022_ds.c 	guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], 0);
guts              175 sound/soc/fsl/p1022_ds.c 	iounmap(guts);
guts               53 sound/soc/fsl/p1022_rdk.c static inline void guts_set_dmuxcr(struct ccsr_guts __iomem *guts,
guts               58 sound/soc/fsl/p1022_rdk.c 	clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift);
guts               93 sound/soc/fsl/p1022_rdk.c 	struct ccsr_guts __iomem *guts;
guts               95 sound/soc/fsl/p1022_rdk.c 	guts = ioremap(guts_phys, sizeof(struct ccsr_guts));
guts               96 sound/soc/fsl/p1022_rdk.c 	if (!guts) {
guts              102 sound/soc/fsl/p1022_rdk.c 	clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK,
guts              106 sound/soc/fsl/p1022_rdk.c 	clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK,
guts              110 sound/soc/fsl/p1022_rdk.c 	guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0],
guts              113 sound/soc/fsl/p1022_rdk.c 	guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1],
guts              116 sound/soc/fsl/p1022_rdk.c 	iounmap(guts);
guts              165 sound/soc/fsl/p1022_rdk.c 	struct ccsr_guts __iomem *guts;
guts              167 sound/soc/fsl/p1022_rdk.c 	guts = ioremap(guts_phys, sizeof(struct ccsr_guts));
guts              168 sound/soc/fsl/p1022_rdk.c 	if (!guts) {
guts              174 sound/soc/fsl/p1022_rdk.c 	clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK);
guts              175 sound/soc/fsl/p1022_rdk.c 	clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK);
guts              176 sound/soc/fsl/p1022_rdk.c 	guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], 0);
guts              177 sound/soc/fsl/p1022_rdk.c 	guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], 0);
guts              179 sound/soc/fsl/p1022_rdk.c 	iounmap(guts);