| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc83xx/ |
| H A D | speed.c | 81 u32 sccr; in get_clocks() local 155 sccr = im->clk.sccr; in get_clocks() 159 switch ((sccr & SCCR_TSEC1CM) >> SCCR_TSEC1CM_SHIFT) { in get_clocks() 180 switch ((sccr & SCCR_USBDRCM) >> SCCR_USBDRCM_SHIFT) { in get_clocks() 201 switch ((sccr & SCCR_TSEC2CM) >> SCCR_TSEC2CM_SHIFT) { in get_clocks() 221 if (!(sccr & SCCR_TSEC1ON)) in get_clocks() 223 if (!(sccr & SCCR_TSEC2ON)) in get_clocks() 228 switch ((sccr & SCCR_USBMPHCM) >> SCCR_USBMPHCM_SHIFT) { in get_clocks() 255 switch ((sccr & SCCR_ENCCM) >> SCCR_ENCCM_SHIFT) { in get_clocks() 275 switch ((sccr & SCCR_SDHCCM) >> SCCR_SDHCCM_SHIFT) { in get_clocks() [all …]
|
| H A D | cpu_init.c | 216 clrsetbits_be32(&im->clk.sccr, sccr_mask, sccr_val); in cpu_init_f()
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | imx-ssi.c | 58 u32 sccr; in imx_ssi_set_dai_tdm_slot() local 60 sccr = readl(ssi->base + SSI_STCCR); in imx_ssi_set_dai_tdm_slot() 61 sccr &= ~SSI_STCCR_DC_MASK; in imx_ssi_set_dai_tdm_slot() 62 sccr |= SSI_STCCR_DC(slots - 1); in imx_ssi_set_dai_tdm_slot() 63 writel(sccr, ssi->base + SSI_STCCR); in imx_ssi_set_dai_tdm_slot() 65 sccr = readl(ssi->base + SSI_SRCCR); in imx_ssi_set_dai_tdm_slot() 66 sccr &= ~SSI_STCCR_DC_MASK; in imx_ssi_set_dai_tdm_slot() 67 sccr |= SSI_STCCR_DC(slots - 1); in imx_ssi_set_dai_tdm_slot() 68 writel(sccr, ssi->base + SSI_SRCCR); in imx_ssi_set_dai_tdm_slot() 237 u32 reg, sccr; in imx_ssi_hw_params() local [all …]
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc8xx/ |
| H A D | speed.c | 22 uint sccr = in_be32(&immap->im_clkrst.car_sccr); in get_clocks() local 23 uint divider = 1 << (((sccr & SCCR_DFBRG11) >> 11) * 2); in get_clocks() 33 if ((sccr & SCCR_EBDF11) == 0) { in get_clocks()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/83xx/ |
| H A D | usb.c | 25 unsigned long sccr, sicrl, sicrh; in mpc834x_usb_cfg() local 37 sccr = in_be32(immap + MPC83XX_SCCR_OFFS) & ~MPC83XX_SCCR_USB_MASK; in mpc834x_usb_cfg() 43 sccr |= MPC83XX_SCCR_USB_DRCM_11; /* 1:3 */ in mpc834x_usb_cfg() 69 sccr |= MPC83XX_SCCR_USB_MPHCM_11; /* 1:3 */ in mpc834x_usb_cfg() 89 out_be32(immap + MPC83XX_SCCR_OFFS, sccr); in mpc834x_usb_cfg()
|
| H A D | suspend.c | 80 u32 sccr; member 96 u32 sccr; member 164 out_be32(&clock_regs->sccr, saved_regs.sccr); in mpc83xx_suspend_restore_regs() 171 saved_regs.sccr = in_be32(&clock_regs->sccr); in mpc83xx_suspend_save_regs()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/ |
| H A D | pq2.c | 32 u32 sccr, scmr, mainclk, busclk; in pq2_get_clocks() local 41 sccr = in_be32(&immr[PQ2_SCCR]); in pq2_get_clocks() 44 dfbrg = sccr & 3; in pq2_get_clocks()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | speed.c | 629 uint sccr, dfbrg; in get_clocks() local 632 cpm->im_cpm_intctl.sccr &= 0xfffffffc; in get_clocks() 633 sccr = cpm->im_cpm_intctl.sccr; in get_clocks() 634 dfbrg = (sccr & SCCR_DFBRG_MSK) >> SCCR_DFBRG_SHIFT; in get_clocks()
|
| /OK3568_Linux_fs/u-boot/board/freescale/mpc837xerdb/ |
| H A D | pci.c | 92 clrsetbits_be32(&clk->sccr, SCCR_PCIEXP1CM | SCCR_PCIEXP2CM, in pci_init_board()
|
| /OK3568_Linux_fs/u-boot/board/freescale/mpc837xemds/ |
| H A D | pci.c | 119 clrsetbits_be32(&clk->sccr, SCCR_PCIEXP1CM | SCCR_PCIEXP2CM, in pci_init_board()
|
| /OK3568_Linux_fs/u-boot/board/freescale/mpc8315erdb/ |
| H A D | mpc8315erdb.c | 143 clrsetbits_be32(&clk->sccr, SCCR_PCIEXP1CM | SCCR_PCIEXP2CM, in pci_init_board()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/ |
| H A D | immap_83xx.h | 208 u32 sccr; /* system clock control Register */ member
|
| H A D | immap_85xx.h | 962 u32 sccr; member
|