Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/soc/loongson/
A Dloongson2_guts.c40 static struct guts { struct
43 } *guts; variable
82 if (!guts || !guts->regs) in loongson2_guts_get_svr()
85 if (guts->little_endian) in loongson2_guts_get_svr()
86 svr = ioread32(&guts->regs->svr); in loongson2_guts_get_svr()
88 svr = ioread32be(&guts->regs->svr); in loongson2_guts_get_svr()
103 guts = devm_kzalloc(dev, sizeof(*guts), GFP_KERNEL); in loongson2_guts_probe()
104 if (!guts) in loongson2_guts_probe()
110 guts->regs = ioremap(res->start, res->end - res->start + 1); in loongson2_guts_probe()
111 if (IS_ERR(guts->regs)) in loongson2_guts_probe()
[all …]
A DKconfig17 supported. Other guts accesses, such as reading firmware configuration
/linux-6.3-rc2/sound/soc/fsl/
A Dp1022_rdk.c58 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()
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()
[all …]
A Dmpc8610_hpcd.c55 struct ccsr_guts __iomem *guts; in mpc8610_hpcd_machine_probe() local
58 if (!guts) { in mpc8610_hpcd_machine_probe()
64 guts_set_dmacr(guts, machine_data->dma_id[0], 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()
139 struct ccsr_guts __iomem *guts; in mpc8610_hpcd_machine_remove() local
142 if (!guts) { in mpc8610_hpcd_machine_remove()
156 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_remove()
160 clrsetbits_be32(&guts->pmuxcr, in mpc8610_hpcd_machine_remove()
[all …]
A Dp1022_ds.c51 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()
110 iounmap(guts); in p1022_ds_machine_probe()
161 struct ccsr_guts __iomem *guts; in p1022_ds_machine_remove() local
163 guts = ioremap(guts_phys, sizeof(struct ccsr_guts)); in p1022_ds_machine_remove()
164 if (!guts) { in p1022_ds_machine_remove()
170 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_UART0_I2C1_MASK); in p1022_ds_machine_remove()
171 clrbits32(&guts->pmuxcr, CCSR_GUTS_PMUXCR_SSI_DMA_TDM_MASK); in p1022_ds_machine_remove()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/85xx/
A 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()
A 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()
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()
390 if (!guts) { in p1022ds_set_pixel_clock()
409 clrbits32(&guts->clkdvdr, in p1022ds_set_pixel_clock()
[all …]
A 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()
A 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()
A 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()
A 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.3-rc2/arch/powerpc/platforms/86xx/
A 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.3-rc2/arch/powerpc/boot/dts/fsl/
A 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 */
414 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
[all …]
A 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 …]
A 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 …]
A 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 */
430 fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
[all …]
A 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 */
A Dt2080si-post.dtsi41 fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
47 fsl,liodn-reg = <&guts 0x554>; /* SATA2LIODNR */
A 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 */
A 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 */
A 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 */
/linux-6.3-rc2/Documentation/devicetree/bindings/soc/fsl/
A Dguts.txt16 "fsl,<chip>-guts"
33 compatible = "fsl,mpc8548-guts";
38 guts: global-utilities@e0000 {
/linux-6.3-rc2/include/linux/fsl/
A 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.3-rc2/drivers/clk/
A 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
1531 if (guts) { in _clockgen_init()
1532 clockgen.guts = of_iomap(guts, 0); in _clockgen_init()
1533 if (!clockgen.guts) { in _clockgen_init()
1535 guts); in _clockgen_init()
[all …]
/linux-6.3-rc2/drivers/soc/fsl/
A DMakefile10 obj-$(CONFIG_FSL_GUTS) += guts.o

Completed in 43 milliseconds

123