Searched refs:srds_regs (Results 1 – 10 of 10) sorted by relevance
/external/u-boot/board/freescale/b4860qds/ |
D | b4860qds.c | 596 static int calibrate_pll(serdes_corenet_t *srds_regs, int pll_num) in calibrate_pll() argument 604 clrbits_be32(&srds_regs->bank[pll_num].rstctl, in calibrate_pll() 607 clrbits_be32(&srds_regs->bank[pll_num].rstctl, in calibrate_pll() 610 setbits_be32(&srds_regs->bank[pll_num].rstctl, in calibrate_pll() 612 setbits_be32(&srds_regs->bank[pll_num].rstctl, in calibrate_pll() 619 rst_err = in_be32(&srds_regs->bank[pll_num].rstctl) & in calibrate_pll() 629 static int check_pll_locks(serdes_corenet_t *srds_regs, int pll_num) in check_pll_locks() argument 634 if (calibrate_pll(srds_regs, pll_num)) { in check_pll_locks() 637 clrbits_be32(&srds_regs->bank[pll_num].pllcr0, in check_pll_locks() 639 fcap = in_be32(&srds_regs->bank[pll_num].pllsr2) & in check_pll_locks() [all …]
|
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
D | fsl_corenet2_serdes.c | 207 serdes_corenet_t __iomem *srds_regs = (void *)sd_addr; in serdes_init() local 231 pll_status = in_be32(&srds_regs->bank[pll_num].pllcr0); in serdes_init() 266 pll_cr1 = in_be32(&srds_regs->bank[pll_num].pllcr1); in serdes_init() 269 out_be32(&srds_regs->bank[pll_num].pllcr1, in serdes_init() 275 pll_cr0 = in_be32(&srds_regs->bank[pll_num].pllcr0); in serdes_init() 276 out_be32(&srds_regs->bank[pll_num].pllcr0, in serdes_init() 283 pll_cr1 = in_be32(&srds_regs->bank[pll_num].pllcr1); in serdes_init() 285 out_be32(&srds_regs->bank[pll_num].pllcr1, in serdes_init() 293 pll_sr2 = in_be32(&srds_regs->bank[pll_num].pllsr2); in serdes_init() 302 pll_cr0 = in_be32(&srds_regs->bank[pll_num].pllcr0); in serdes_init() [all …]
|
D | fsl_corenet_serdes.c | 464 serdes_corenet_t *srds_regs = in wait_for_rstdone() local 472 rstctl = in_be32(&srds_regs->bank[bank].rstctl); in wait_for_rstdone() 492 serdes_corenet_t *srds_regs; in fsl_serdes_init() local 526 srds_regs = (void *)(CONFIG_SYS_FSL_CORENET_SERDES_ADDR); in fsl_serdes_init() 644 setbits_be32(&srds_regs->bank[bank].rstctl, in fsl_serdes_init() 647 setbits_be32(&srds_regs->bank[bank].rstctl, in fsl_serdes_init() 677 if (in_be32(&srds_regs->lane[idx].gcr0) & SRDS_GCR0_UOTHL) { in fsl_serdes_init() 679 setbits_be32(&srds_regs->bank[bank].pllcr0, in fsl_serdes_init() 735 out_be32(&srds_regs->lane[idx].ttlcr0, in fsl_serdes_init() 818 p4080_erratum_serdes_a005(srds_regs, cfg); in fsl_serdes_init() [all …]
|
D | cmd_errata.c | 85 const serdes_corenet_t __iomem *srds_regs = in check_erratum_a4580() local 92 &srds_regs->lane[serdes_get_lane_idx(lane)]; in check_erratum_a4580()
|
/external/u-boot/arch/powerpc/cpu/mpc8xxx/ |
D | srio.c | 73 serdes_corenet_t *srds_regs; in srio_erratum_a004034() local 81 srds_regs = (void *)(CONFIG_SYS_FSL_CORENET_SERDES_ADDR); in srio_erratum_a004034() 82 conf_lane = (in_be32((void *)&srds_regs->srdspccr0) in srio_erratum_a004034() 92 if (in_be32((void *)&srds_regs->bank[0].rstctl) in srio_erratum_a004034() 148 clrbits_be32(&srds_regs->lane[idx].gcr0, in srio_erratum_a004034() 155 in_be32(&srds_regs->lane[idx].gcr0); in srio_erratum_a004034() 165 setbits_be32(&srds_regs->lane[idx].gcr0, in srio_erratum_a004034() 172 in_be32(&srds_regs->lane[idx].gcr0); in srio_erratum_a004034()
|
/external/u-boot/board/freescale/t208xqds/ |
D | eth_t208xqds.c | 207 serdes_corenet_t *srds_regs = in board_ft_fman_fixup_port() local 209 u32 srds1_pccr1 = in_be32(&srds_regs->srdspccr1); in board_ft_fman_fixup_port() 228 out_be32(&srds_regs->srdspccr1, srds1_pccr1 | in board_ft_fman_fixup_port() 240 out_be32(&srds_regs->srdspccr1, srds1_pccr1 | in board_ft_fman_fixup_port() 252 out_be32(&srds_regs->srdspccr1, srds1_pccr1 | in board_ft_fman_fixup_port() 265 out_be32(&srds_regs->srdspccr1, srds1_pccr1 | in board_ft_fman_fixup_port() 287 out_be32(&srds_regs->srdspccr1, srds1_pccr1 | in board_ft_fman_fixup_port() 299 out_be32(&srds_regs->srdspccr1, srds1_pccr1 | in board_ft_fman_fixup_port()
|
/external/u-boot/board/freescale/corenet_ds/ |
D | corenet_ds.c | 133 serdes_corenet_t *srds_regs = (void *)CONFIG_SYS_FSL_CORENET_SERDES_ADDR; in misc_init_r() local 174 u32 expected = srds_regs->bank[i].pllcr0 & SRDS_PLLCR0_RFCK_SEL_MASK; in misc_init_r()
|
/external/u-boot/board/freescale/t1040qds/ |
D | t1040qds.c | 203 serdes_corenet_t *srds_regs = in misc_init_r() local 226 u32 pllcr0 = srds_regs->bank[i].pllcr0; in misc_init_r()
|
/external/u-boot/board/freescale/t4qds/ |
D | t4240qds.c | 641 serdes_corenet_t *srds_regs; in misc_init_r() local 666 srds_regs = srds_base + i * 0x1000; in misc_init_r() 667 pllcr0 = srds_regs->bank[0].pllcr0; in misc_init_r()
|
/external/u-boot/drivers/pci/ |
D | fsl_pci_init.c | 500 serdes_corenet_t *srds_regs = (void *)CONFIG_SYS_FSL_CORENET_SERDES_ADDR; in fsl_pci_init() local 501 temp32 = in_be32(&srds_regs->srdspccr0); in fsl_pci_init() 506 out_be32(&srds_regs->srdspccr0, 2 << 28); in fsl_pci_init()
|