Home
last modified time | relevance | path

Searched refs:cdm (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/arch/powerpc/platforms/52xx/
Dlite5200.c56 struct mpc52xx_cdm __iomem *cdm; in lite5200_fix_clock_config() local
59 cdm = of_iomap(np, 0); in lite5200_fix_clock_config()
61 if (!cdm) { in lite5200_fix_clock_config()
68 out_8(&cdm->ext_48mhz_en, 0x00); in lite5200_fix_clock_config()
69 out_8(&cdm->fd_enable, 0x01); in lite5200_fix_clock_config()
70 if (in_be32(&cdm->rstcfg) & 0x40) /* Assumes 33Mhz clock */ in lite5200_fix_clock_config()
71 out_be16(&cdm->fd_counters, 0x0001); in lite5200_fix_clock_config()
73 out_be16(&cdm->fd_counters, 0x5555); in lite5200_fix_clock_config()
76 iounmap(cdm); in lite5200_fix_clock_config()
Dlite5200_pm.c14 static struct mpc52xx_cdm __iomem *cdm; variable
80 cdm = mbar + 0x200; in lite5200_pm_prepare()
105 _memcpy_fromio(&scdm, cdm, sizeof(*cdm)); in lite5200_save_regs()
141 out_8(&cdm->ipb_clk_sel, scdm.ipb_clk_sel); in lite5200_restore_regs()
142 out_8(&cdm->pci_clk_sel, scdm.pci_clk_sel); in lite5200_restore_regs()
144 out_8(&cdm->ext_48mhz_en, scdm.ext_48mhz_en); in lite5200_restore_regs()
145 out_8(&cdm->fd_enable, scdm.fd_enable); in lite5200_restore_regs()
146 out_be16(&cdm->fd_counters, scdm.fd_counters); in lite5200_restore_regs()
148 out_be32(&cdm->clk_enables, scdm.clk_enables); in lite5200_restore_regs()
150 out_8(&cdm->osc_disable, scdm.osc_disable); in lite5200_restore_regs()
[all …]
Dmpc52xx_pm.c21 static struct mpc52xx_cdm __iomem *cdm; variable
90 cdm = mbar + 0x200; in mpc52xx_pm_prepare()
140 out_8(&cdm->ccs_sleep_enable, 1); in mpc52xx_pm_enter()
141 out_8(&cdm->osc_sleep_enable, 1); in mpc52xx_pm_enter()
142 out_8(&cdm->ccs_qreq_test, 1); in mpc52xx_pm_enter()
145 clk_enables = in_be32(&cdm->clk_enables); in mpc52xx_pm_enter()
146 out_be32(&cdm->clk_enables, clk_enables & 0x00088000); in mpc52xx_pm_enter()
162 mpc52xx_deep_sleep(sram, sdram, cdm, intr); in mpc52xx_pm_enter()
173 out_be32(&cdm->clk_enables, clk_enables); in mpc52xx_pm_enter()
174 out_8(&cdm->ccs_sleep_enable, 0); in mpc52xx_pm_enter()
[all …]
/linux-5.19.10/drivers/spi/
Dspi-ppc4xx.c106 u8 cdm; member
167 u8 cdm = 0; in spi_ppc4xx_setupxfer() local
199 cdm = min(scr, 0xff); in spi_ppc4xx_setupxfer()
201 dev_dbg(&spi->dev, "setting pre-scaler to %d (hz %d)\n", cdm, speed); in spi_ppc4xx_setupxfer()
203 if (in_8(&hw->regs->cdm) != cdm) in spi_ppc4xx_setupxfer()
204 out_8(&hw->regs->cdm, cdm); in spi_ppc4xx_setupxfer()
/linux-5.19.10/drivers/net/can/mscan/
Dmpc5xxx_can.c46 struct mpc52xx_cdm __iomem *cdm; in mpc52xx_can_get_clock() local
79 cdm = of_iomap(np_cdm, 0); in mpc52xx_can_get_clock()
80 if (!cdm) { in mpc52xx_can_get_clock()
86 if (in_8(&cdm->ipb_clk_sel) & 0x1) in mpc52xx_can_get_clock()
88 val = in_be32(&cdm->rstcfg); in mpc52xx_can_get_clock()
94 iounmap(cdm); in mpc52xx_can_get_clock()
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.c633 .cdm = {
828 .cdm = {
914 .cdm = {
1016 .cdm = {
1114 .cdm = {
1212 .cdm = {
Dmdp5_cfg.h100 struct mdp5_sub_block cdm; member
/linux-5.19.10/arch/powerpc/boot/dts/
Dtqm5200.dts49 cdm@200 {
50 compatible = "fsl,mpc5200-cdm";
Dmpc5200b.dtsi50 cdm@200 {
51 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
Dcharon.dts52 cdm@200 {
53 compatible = "fsl,mpc5200-cdm";
Dlite5200.dts49 cdm@200 {
50 compatible = "fsl,mpc5200-cdm";
Da4m072.dts32 cdm@200 {
/linux-5.19.10/Documentation/devicetree/bindings/pci/
Dsnps,dw-pcie-ep.yaml48 snps,enable-cdm-check:
Dsnps,dw-pcie.yaml61 snps,enable-cdm-check:
/linux-5.19.10/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt76 cdm@<addr> fsl,mpc5200-cdm Clock Distribution