Home
last modified time | relevance | path

Searched refs:guts (Results 1 – 25 of 58) sorted by relevance

123

/linux-6.1.9/sound/soc/fsl/
Dp1022_rdk.c53 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()
[all …]
Dmpc8610_hpcd.c55 struct ccsr_guts __iomem *guts; in mpc8610_hpcd_machine_probe() local
57 guts = ioremap(guts_phys, sizeof(struct ccsr_guts)); in mpc8610_hpcd_machine_probe()
58 if (!guts) { in mpc8610_hpcd_machine_probe()
64 guts_set_dmacr(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
67 guts_set_dmacr(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
71 guts_set_pmuxcr_dma(guts, machine_data->dma_id[0], in mpc8610_hpcd_machine_probe()
73 guts_set_pmuxcr_dma(guts, machine_data->dma_id[1], in mpc8610_hpcd_machine_probe()
78 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_probe()
82 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_probe()
87 iounmap(guts); in mpc8610_hpcd_machine_probe()
[all …]
Dp1022_ds.c46 static inline void guts_set_dmuxcr(struct ccsr_guts __iomem *guts, in guts_set_dmuxcr() argument
51 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr()
87 struct ccsr_guts __iomem *guts; in p1022_ds_machine_probe() local
89 guts = ioremap(guts_phys, sizeof(struct ccsr_guts)); in p1022_ds_machine_probe()
90 if (!guts) { in p1022_ds_machine_probe()
96 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK, in p1022_ds_machine_probe()
100 clrsetbits_be32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK, in p1022_ds_machine_probe()
104 guts_set_dmuxcr(guts, mdata->dma_id[0], mdata->dma_channel_id[0], in p1022_ds_machine_probe()
107 guts_set_dmuxcr(guts, mdata->dma_id[1], mdata->dma_channel_id[1], in p1022_ds_machine_probe()
110 iounmap(guts); in p1022_ds_machine_probe()
[all …]
/linux-6.1.9/arch/powerpc/platforms/85xx/
Dmpc85xx_pm_ops.c20 static struct ccsr_guts __iomem *guts; variable
63 setbits32(&guts->devdisr, mask); in mpc85xx_freeze_time_base()
65 clrbits32(&guts->devdisr, mask); in mpc85xx_freeze_time_base()
67 in_be32(&guts->devdisr); in mpc85xx_freeze_time_base()
97 guts = of_iomap(np, 0); in mpc85xx_setup_pmc()
99 if (!guts) { in mpc85xx_setup_pmc()
Dp1022_ds.c169 struct ccsr_guts __iomem *guts; in p1022ds_set_monitor_port() local
187 guts = of_iomap(guts_node, 0); in p1022ds_set_monitor_port()
188 if (!guts) { in p1022ds_set_monitor_port()
290 if ((in_be32(&guts->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in p1022ds_set_monitor_port()
320 clrsetbits_be32(&guts->pmuxcr, PMUXCR_ELBCDIU_MASK, in p1022ds_set_monitor_port()
322 in_be32(&guts->pmuxcr); in p1022ds_set_monitor_port()
360 if (guts) in p1022ds_set_monitor_port()
361 iounmap(guts); in p1022ds_set_monitor_port()
376 struct ccsr_guts __iomem *guts; in p1022ds_set_pixel_clock() local
388 guts = of_iomap(guts_np, 0); in p1022ds_set_pixel_clock()
[all …]
Dp1022_rdk.c46 struct ccsr_guts __iomem *guts; in p1022rdk_set_pixel_clock() local
58 guts = of_iomap(guts_np, 0); in p1022rdk_set_pixel_clock()
60 if (!guts) { in p1022rdk_set_pixel_clock()
79 clrbits32(&guts->clkdvdr, in p1022rdk_set_pixel_clock()
83 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in p1022rdk_set_pixel_clock()
85 iounmap(guts); in p1022rdk_set_pixel_clock()
Dtwr_p102x.c60 struct ccsr_guts __iomem *guts; in twr_p1025_setup_arch() local
65 guts = of_iomap(np, 0); in twr_p1025_setup_arch()
66 if (!guts) in twr_p1025_setup_arch()
75 setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) | in twr_p1025_setup_arch()
79 iounmap(guts); in twr_p1025_setup_arch()
Dmpc85xx_rdb.c79 struct ccsr_guts __iomem *guts; in mpc85xx_rdb_setup_arch() local
83 guts = of_iomap(np, 0); in mpc85xx_rdb_setup_arch()
84 if (!guts) { in mpc85xx_rdb_setup_arch()
95 setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) | in mpc85xx_rdb_setup_arch()
99 iounmap(guts); in mpc85xx_rdb_setup_arch()
Dmpc85xx_mds.c243 struct ccsr_guts __iomem *guts; in mpc85xx_mds_qe_init() local
247 guts = of_iomap(np, 0); in mpc85xx_mds_qe_init()
248 if (!guts) in mpc85xx_mds_qe_init()
257 setbits32(&guts->pmuxcr, MPC85xx_PMUXCR_QE(0) | in mpc85xx_mds_qe_init()
261 iounmap(guts); in mpc85xx_mds_qe_init()
/linux-6.1.9/arch/powerpc/platforms/86xx/
Dmpc8610_hpcd.c224 struct ccsr_guts __iomem *guts; in mpc8610hpcd_set_pixel_clock() local
236 guts = of_iomap(guts_np, 0); in mpc8610hpcd_set_pixel_clock()
238 if (!guts) { in mpc8610hpcd_set_pixel_clock()
257 clrbits32(&guts->clkdvdr, in mpc8610hpcd_set_pixel_clock()
261 setbits32(&guts->clkdvdr, CLKDVDR_PXCKEN | (pxclk << 16)); in mpc8610hpcd_set_pixel_clock()
263 iounmap(guts); in mpc8610hpcd_set_pixel_clock()
/linux-6.1.9/arch/powerpc/boot/dts/fsl/
Dp5020si-post.dtsi67 fsl,liodn-reg = <&guts 0x500>; /* PEX1LIODNR */
96 fsl,liodn-reg = <&guts 0x504>; /* PEX2LIODNR */
125 fsl,liodn-reg = <&guts 0x508>; /* PEX3LIODNR */
154 fsl,liodn-reg = <&guts 0x50c>; /* PEX4LIODNR */
185 fsl,liodn-reg = <&guts 0x510>; /* RIO1LIODNR */
192 fsl,liodn-reg = <&guts 0x514>; /* RIO2LIODNR */
345 guts: global-utilities@e0000 { label
383 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
389 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
401 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
[all …]
Dp2041si-post.dtsi67 fsl,liodn-reg = <&guts 0x500>; /* PEX1LIODNR */
96 fsl,liodn-reg = <&guts 0x504>; /* PEX2LIODNR */
125 fsl,liodn-reg = <&guts 0x508>; /* PEX3LIODNR */
156 fsl,liodn-reg = <&guts 0x510>; /* RIO1LIODNR */
163 fsl,liodn-reg = <&guts 0x514>; /* RIO2LIODNR */
313 guts: global-utilities@e0000 { label
351 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
357 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
369 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
399 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
[all …]
Dp3041si-post.dtsi67 fsl,liodn-reg = <&guts 0x500>; /* PEX1LIODNR */
96 fsl,liodn-reg = <&guts 0x504>; /* PEX2LIODNR */
125 fsl,liodn-reg = <&guts 0x508>; /* PEX3LIODNR */
183 fsl,liodn-reg = <&guts 0x510>; /* RIO1LIODNR */
190 fsl,liodn-reg = <&guts 0x514>; /* RIO2LIODNR */
340 guts: global-utilities@e0000 { label
378 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
384 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
396 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
410 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
[all …]
Dp4080si-post.dtsi67 fsl,liodn-reg = <&guts 0x500>; /* PEX1LIODNR */
96 fsl,liodn-reg = <&guts 0x504>; /* PEX2LIODNR */
125 fsl,liodn-reg = <&guts 0x508>; /* PEX3LIODNR */
157 fsl,liodn-reg = <&guts 0x510>; /* RIO1LIODNR */
164 fsl,liodn-reg = <&guts 0x514>; /* RIO2LIODNR */
355 fsl,liodn-reg = <&guts 0x540>; /* RMULIODNR */
360 guts: global-utilities@e0000 { label
398 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
404 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
416 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
[all …]
Dp5040si-post.dtsi305 guts: global-utilities@e0000 { label
343 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
349 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
361 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
374 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
383 fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */
391 fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
397 fsl,liodn-reg = <&guts 0x554>; /* SATA2LIODNR */
Dt2080si-post.dtsi41 fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
47 fsl,liodn-reg = <&guts 0x554>; /* SATA2LIODNR */
Dt2081si-post.dtsi528 guts: global-utilities@e0000 { label
558 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
563 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
568 fsl,liodn-reg = <&guts 0x588>; /* DMA3LIODNR */
580 fsl,liodn-reg = <&guts 0x530>; /* SDMMCLIODNR */
595 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
603 fsl,liodn-reg = <&guts 0x524>; /* USB1LIODNR */
Db4si-post.dtsi393 guts: global-utilities@e0000 { label
410 fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
416 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
423 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
435 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
Dt1023si-post.dtsi338 guts: global-utilities@e0000 { label
466 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
482 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
490 fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */
497 fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
Dt1040si-post.dtsi418 guts: global-utilities@e0000 { label
553 fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
568 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
576 fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */
590 fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
595 fsl,liodn-reg = <&guts 0x554>; /* SATA2LIODNR */
/linux-6.1.9/Documentation/devicetree/bindings/soc/fsl/
Dguts.txt16 "fsl,<chip>-guts"
33 compatible = "fsl,mpc8548-guts";
38 guts: global-utilities@e0000 {
/linux-6.1.9/include/linux/fsl/
Dguts.h155 static inline void guts_set_dmacr(struct ccsr_guts __iomem *guts, in guts_set_dmacr() argument
160 clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift); in guts_set_dmacr()
191 static inline void guts_set_pmuxcr_dma(struct ccsr_guts __iomem *guts, in guts_set_pmuxcr_dma() argument
197 clrsetbits_be32(&guts->pmuxcr, 1 << shift, value << shift); in guts_set_pmuxcr_dma()
/linux-6.1.9/drivers/clk/
Dclk-qoriq.c96 struct ccsr_guts __iomem *guts; member
473 reg = ioread32be(&cg->guts->rcwsr[7]); in p2041_init_periph()
485 reg = ioread32be(&cg->guts->rcwsr[7]); in p4080_init_periph()
503 reg = ioread32be(&cg->guts->rcwsr[7]); in p5020_init_periph()
518 reg = ioread32be(&cg->guts->rcwsr[7]); in p5040_init_periph()
1527 struct device_node *guts; in _clockgen_init() local
1529 guts = of_find_compatible_node(NULL, NULL, in _clockgen_init()
1531 if (guts) { in _clockgen_init()
1532 clockgen.guts = of_iomap(guts, 0); in _clockgen_init()
1533 if (!clockgen.guts) { in _clockgen_init()
[all …]
/linux-6.1.9/drivers/soc/fsl/
DMakefile10 obj-$(CONFIG_FSL_GUTS) += guts.o
/linux-6.1.9/Documentation/devicetree/bindings/powerpc/fsl/
Dpamu.txt136 guts: global-utilities@e0000 {
147 fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */

123