/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/px30/ |
D | px30.c | 183 rk_clrsetreg(&grf->gpio1dl_iomux, in arch_cpu_init() 187 rk_clrsetreg(&grf->gpio1dh_iomux, in arch_cpu_init() 223 rk_clrsetreg(&cru->clksel_con[34], in board_debug_uart_init() 226 rk_clrsetreg(&cru->clksel_con[35], in board_debug_uart_init() 230 rk_clrsetreg(&grf->gpio1cl_iomux, in board_debug_uart_init() 244 rk_clrsetreg(&cru->clksel_con[40], in board_debug_uart_init() 247 rk_clrsetreg(&cru->clksel_con[41], in board_debug_uart_init() 252 rk_clrsetreg(&grf->iofunc_con0, in board_debug_uart_init() 256 rk_clrsetreg(&grf->gpio1bh_iomux, in board_debug_uart_init() 261 rk_clrsetreg(&grf->iofunc_con0, in board_debug_uart_init() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/rk3368/ |
D | rk3368.c | 67 rk_clrsetreg(&grf->soc_con14, MCU_SRAM_BASE_BIT31_BIT28_MASK, in mcu_init() 69 rk_clrsetreg(&grf->soc_con11, MCU_SRAM_BASE_BIT27_BIT12_MASK, in mcu_init() 71 rk_clrsetreg(&grf->soc_con14, MCU_EXSRAM_BASE_BIT31_BIT28_MASK, in mcu_init() 73 rk_clrsetreg(&grf->soc_con12, MCU_EXSRAM_BASE_BIT27_BIT12_MASK, in mcu_init() 75 rk_clrsetreg(&grf->soc_con14, MCU_EXPERI_BASE_BIT31_BIT28_MASK, in mcu_init() 77 rk_clrsetreg(&grf->soc_con13, MCU_EXPERI_BASE_BIT27_BIT12_MASK, in mcu_init() 80 rk_clrsetreg(&cru->clksel_con[12], MCU_PLL_SEL_MASK | MCU_CLK_DIV_MASK, in mcu_init() 191 rk_clrsetreg(&grf->gpio2d_iomux, in board_debug_uart_init() 193 rk_clrsetreg(&grf->gpio2d_iomux, in board_debug_uart_init() 211 rk_clrsetreg(&pmugrf->gpio0d_iomux, in board_debug_uart_init() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/rk3188/ |
D | rk3188.c | 40 rk_clrsetreg(&grf->gpio1b_iomux, in board_debug_uart_init() 59 rk_clrsetreg(&grf->uoc0_con[0], in arch_cpu_init() 63 rk_clrsetreg(&grf->uoc0_con[2], in arch_cpu_init() 65 rk_clrsetreg(&grf->uoc0_con[3], in arch_cpu_init() 72 rk_clrsetreg(&grf->uoc0_con[0], in arch_cpu_init() 78 rk_clrsetreg(&grf->soc_con0, in arch_cpu_init()
|
/third_party/uboot/u-boot-2020.01/drivers/net/ |
D | gmac_rockchip.c | 113 rk_clrsetreg(&grf->mac_con1, PX30_GMAC_SPEED_MASK, speed); in px30_gmac_fix_mac_speed() 146 rk_clrsetreg(&grf->mac_con[1], RK3228_GMAC_CLK_SEL_MASK, clk); in rk3228_gmac_fix_mac_speed() 172 rk_clrsetreg(&grf->soc_con1, RK3288_GMAC_CLK_SEL_MASK, clk); in rk3288_gmac_fix_mac_speed() 213 rk_clrsetreg(&grf->mac_con0, RK3308_GMAC_SPEED_MASK, speed); in rk3308_gmac_fix_mac_speed() 246 rk_clrsetreg(&grf->mac_con[1], RK3328_GMAC_CLK_SEL_MASK, clk); in rk3328_gmac_fix_mac_speed() 278 rk_clrsetreg(&grf->soc_con15, RK3368_GMAC_CLK_SEL_MASK, clk); in rk3368_gmac_fix_mac_speed() 304 rk_clrsetreg(&grf->soc_con5, RK3399_GMAC_CLK_SEL_MASK, clk); in rk3399_gmac_fix_mac_speed() 337 rk_clrsetreg(&grf->gmac_con0, in rv1108_set_rmii_speed() 355 rk_clrsetreg(&grf->mac_con1, in px30_gmac_set_to_rmii() 388 rk_clrsetreg(&grf->mac_con[1], in rk3228_gmac_set_to_rgmii() [all …]
|
/third_party/uboot/u-boot-2020.01/drivers/clk/rockchip/ |
D | clk_rv1108.c | 85 rk_clrsetreg(&pll->con3, WORK_MODE_MASK, in rkclk_set_pll() 93 rk_clrsetreg(&pll->con0, FBDIV_MASK, div->fbdiv << FBDIV_SHIFT); in rkclk_set_pll() 94 rk_clrsetreg(&pll->con1, POSTDIV1_MASK | POSTDIV2_MASK | REFDIV_MASK, in rkclk_set_pll() 98 rk_clrsetreg(&pll->con2, FRACDIV_MASK, in rkclk_set_pll() 111 rk_clrsetreg(&pll->con3, WORK_MODE_MASK, in rkclk_set_pll() 160 rk_clrsetreg(&cru->clksel_con[24], MAC_CLK_DIV_MASK, in rv1108_mac_set_clk() 181 rk_clrsetreg(&cru->clksel_con[27], SFC_CLK_DIV_MASK, in rv1108_sfc_set_clk() 207 rk_clrsetreg(&cru->clksel_con[22], in rv1108_saradc_set_clk() 232 rk_clrsetreg(&cru->clksel_con[28], in rv1108_aclk_vio1_set_clk() 258 rk_clrsetreg(&cru->clksel_con[28], in rv1108_aclk_vio0_set_clk() [all …]
|
D | clk_rk322x.c | 62 rk_clrsetreg(&pll->con0, in rkclk_set_pll() 65 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll() 86 rk_clrsetreg(&cru->cru_mode_con, in rkclk_init() 106 rk_clrsetreg(&cru->cru_clksel_con[0], in rkclk_init() 111 rk_clrsetreg(&cru->cru_clksel_con[1], in rkclk_init() 129 rk_clrsetreg(&cru->cru_clksel_con[0], in rkclk_init() 134 rk_clrsetreg(&cru->cru_clksel_con[1], in rkclk_init() 154 rk_clrsetreg(&cru->cru_clksel_con[10], in rkclk_init() 163 rk_clrsetreg(&cru->cru_mode_con, in rkclk_init() 264 rk_clrsetreg(&cru->cru_clksel_con[5], CLK_MAC_DIV_MASK, in rk322x_mac_set_clk() [all …]
|
D | clk_rk3288.c | 162 rk_clrsetreg(&pll->con0, CLKR_MASK | PLL_OD_MASK, in rkclk_set_pll() 164 rk_clrsetreg(&pll->con1, CLKF_MASK, div->nf - 1); in rkclk_set_pll() 165 rk_clrsetreg(&pll->con2, PLL_BWADJ_MASK, (div->nf >> 1) - 1); in rkclk_set_pll() 205 rk_clrsetreg(&cru->cru_mode_con, DPLL_MODE_MASK, in rkclk_configure_ddr() 215 rk_clrsetreg(&cru->cru_mode_con, DPLL_MODE_MASK, in rkclk_configure_ddr() 325 rk_clrsetreg(&cru->cru_clksel_con[21], MAC_DIV_CON_MASK, in rockchip_mac_set_clk() 347 rk_clrsetreg(&cru->cru_mode_con, NPLL_MODE_MASK, in rockchip_vop_set_clk() 358 rk_clrsetreg(&cru->cru_mode_con, NPLL_MODE_MASK, in rockchip_vop_set_clk() 364 rk_clrsetreg(&cru->cru_clksel_con[27], 0xff << 8 | 3 << 0, in rockchip_vop_set_clk() 368 rk_clrsetreg(&cru->cru_clksel_con[29], 0xff << 8 | 3 << 6, in rockchip_vop_set_clk() [all …]
|
D | clk_rk3188.c | 103 rk_clrsetreg(&pll->con0, in rkclk_set_pll() 106 rk_clrsetreg(&pll->con1, CLKF_MASK, div->nf - 1); in rkclk_set_pll() 109 rk_clrsetreg(&pll->con2, PLL_BWADJ_MASK, (div->nf >> 1) - 1); in rkclk_set_pll() 149 rk_clrsetreg(&cru->cru_mode_con, DPLL_MODE_MASK << DPLL_MODE_SHIFT, in rkclk_configure_ddr() 159 rk_clrsetreg(&cru->cru_mode_con, DPLL_MODE_MASK << DPLL_MODE_SHIFT, in rkclk_configure_ddr() 198 rk_clrsetreg(&cru->cru_mode_con, APLL_MODE_MASK << APLL_MODE_SHIFT, in rkclk_configure_cpu() 208 rk_clrsetreg(&cru->cru_clksel_con[0], in rkclk_configure_cpu() 213 rk_clrsetreg(&cru->cru_clksel_con[1], in rkclk_configure_cpu() 218 rk_clrsetreg(&cru->cru_mode_con, APLL_MODE_MASK << APLL_MODE_SHIFT, in rkclk_configure_cpu() 300 rk_clrsetreg(&cru->cru_clksel_con[12], in rockchip_mmc_set_clk() [all …]
|
D | clk_rk3399.c | 332 rk_clrsetreg(&pll_con[3], PLL_MODE_MASK, in rkclk_set_pll() 336 rk_clrsetreg(&pll_con[3], PLL_DSMPD_MASK, in rkclk_set_pll() 339 rk_clrsetreg(&pll_con[0], PLL_FBDIV_MASK, in rkclk_set_pll() 341 rk_clrsetreg(&pll_con[1], in rkclk_set_pll() 353 rk_clrsetreg(&pll_con[3], PLL_MODE_MASK, in rkclk_set_pll() 443 rk_clrsetreg(&cru->clksel_con[0], in rk3399_configure_cpu_l() 450 rk_clrsetreg(&cru->clksel_con[1], in rk3399_configure_cpu_l() 478 rk_clrsetreg(&cru->clksel_con[2], in rk3399_configure_cpu_b() 485 rk_clrsetreg(&cru->clksel_con[3], in rk3399_configure_cpu_b() 555 rk_clrsetreg(&cru->clksel_con[61], I2C_CLK_REG_MASK(1), in rk3399_i2c_set_clk() [all …]
|
D | clk_px30.c | 227 rk_clrsetreg(mode, pll_mode_mask[pll_id], in rkclk_set_pll() 235 rk_clrsetreg(&pll->con0, in rkclk_set_pll() 238 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll() 249 rk_clrsetreg(mode, pll_mode_mask[pll_id], in rkclk_set_pll() 323 rk_clrsetreg(&cru->clksel_con[49], in px30_i2c_set_clk() 330 rk_clrsetreg(&cru->clksel_con[49], in px30_i2c_set_clk() 337 rk_clrsetreg(&cru->clksel_con[50], in px30_i2c_set_clk() 344 rk_clrsetreg(&cru->clksel_con[50], in px30_i2c_set_clk() 454 rk_clrsetreg(&cru->clksel_con[30], in px30_i2s_set_clk() 456 rk_clrsetreg(&cru->clksel_con[30], in px30_i2s_set_clk() [all …]
|
D | clk_rk3328.c | 256 rk_clrsetreg(&cru->mode_con, mode_mask, PLL_MODE_SLOW << mode_shift); in rkclk_set_pll() 259 rk_clrsetreg(&pll_con[1], PLL_DSMPD_MASK, in rkclk_set_pll() 262 rk_clrsetreg(&pll_con[0], in rkclk_set_pll() 266 rk_clrsetreg(&pll_con[1], in rkclk_set_pll() 276 rk_clrsetreg(&cru->mode_con, mode_mask, PLL_MODE_NORM << mode_shift); in rkclk_set_pll() 296 rk_clrsetreg(&cru->clksel_con[28], in rkclk_init() 300 rk_clrsetreg(&cru->clksel_con[29], in rkclk_init() 319 rk_clrsetreg(&cru->clksel_con[0], in rk3328_configure_cpu() 324 rk_clrsetreg(&cru->clksel_con[1], in rk3328_configure_cpu() 369 rk_clrsetreg(&cru->clksel_con[34], in rk3328_i2c_set_clk() [all …]
|
D | clk_rk3128.c | 59 rk_clrsetreg(&pll->con0, in rkclk_set_pll() 62 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll() 147 rk_clrsetreg(&cru->cru_mode_con, in rkclk_init() 167 rk_clrsetreg(&cru->cru_clksel_con[0], in rkclk_init() 172 rk_clrsetreg(&cru->cru_clksel_con[1], in rkclk_init() 190 rk_clrsetreg(&cru->cru_clksel_con[0], in rkclk_init() 195 rk_clrsetreg(&cru->cru_clksel_con[1], in rkclk_init() 215 rk_clrsetreg(&cru->cru_clksel_con[10], in rkclk_init() 224 rk_clrsetreg(&cru->cru_mode_con, in rkclk_init() 231 rk_clrsetreg(&cru->cru_clksel_con[2], in rkclk_init() [all …]
|
D | clk_rk3036.c | 64 rk_clrsetreg(&pll->con0, in rkclk_set_pll() 67 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkclk_set_pll() 85 rk_clrsetreg(&cru->cru_mode_con, in rkclk_init() 105 rk_clrsetreg(&cru->cru_clksel_con[0], in rkclk_init() 110 rk_clrsetreg(&cru->cru_clksel_con[1], in rkclk_init() 128 rk_clrsetreg(&cru->cru_clksel_con[0], in rkclk_init() 133 rk_clrsetreg(&cru->cru_clksel_con[1], in rkclk_init() 153 rk_clrsetreg(&cru->cru_clksel_con[10], in rkclk_init() 162 rk_clrsetreg(&cru->cru_mode_con, in rkclk_init() 260 rk_clrsetreg(&cru->cru_clksel_con[12], in rockchip_mmc_set_clk() [all …]
|
D | clk_rk3308.c | 87 rk_clrsetreg(&cru->clksel_con[0], in rk3308_armclk_set_clk() 95 rk_clrsetreg(&cru->clksel_con[0], in rk3308_armclk_set_clk() 179 rk_clrsetreg(&cru->clksel_con[con_id], in rk3308_i2c_set_clk() 211 rk_clrsetreg(&cru->clksel_con[43], MAC_DIV_MASK, in rk3308_mac_set_clk() 227 rk_clrsetreg(&cru->clksel_con[43], MAC_CLK_SPEED_SEL_MASK, in rk3308_mac_set_speed_clk() 289 rk_clrsetreg(&cru->clksel_con[con_id], in rk3308_mmc_set_clk() 295 rk_clrsetreg(&cru->clksel_con[con_id], in rk3308_mmc_set_clk() 326 rk_clrsetreg(&cru->clksel_con[34], in rk3308_saradc_set_clk() 354 rk_clrsetreg(&cru->clksel_con[33], in rk3308_tsadc_set_clk() 412 rk_clrsetreg(&cru->clksel_con[con_id], in rk3308_spi_set_clk() [all …]
|
D | clk_pll.c | 202 rk_clrsetreg(base + pll->mode_offset, in rk3036_pll_set_rate() 210 rk_clrsetreg(base + pll->con_offset, in rk3036_pll_set_rate() 215 rk_clrsetreg(base + pll->con_offset + 0x4, in rk3036_pll_set_rate() 221 rk_clrsetreg(base + pll->con_offset + 0x4, in rk3036_pll_set_rate() 238 rk_clrsetreg(base + pll->mode_offset, pll->mode_mask << pll->mode_shift, in rk3036_pll_set_rate()
|
D | clk_rk3368.c | 100 rk_clrsetreg(&pll->con3, PLL_MODE_MASK | PLL_RESET_MASK, in rkclk_set_pll() 103 rk_clrsetreg(&pll->con0, PLL_NR_MASK | PLL_OD_MASK, in rkclk_set_pll() 122 rk_clrsetreg(&pll->con3, PLL_MODE_MASK, in rkclk_set_pll() 273 rk_clrsetreg(&cru->clksel_con[con_id], in rk3368_mmc_set_clk() 340 rk_clrsetreg(&cru->clksel_con[43], GMAC_DIV_CON_MASK, in rk3368_gmac_set_clk() 418 rk_clrsetreg(&cru->clksel_con[spiclk->reg], in rk3368_spi_set_clk() 445 rk_clrsetreg(&cru->clksel_con[25], in rk3368_saradc_set_clk()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/rk3399/ |
D | rk3399.c | 98 rk_clrsetreg(&sgrf->ddr_rgn_con[16], 0x1ff, 0); in arch_cpu_init() 123 rk_clrsetreg(&grf->gpio2c_iomux, in board_debug_uart_init() 126 rk_clrsetreg(&grf->gpio2c_iomux, in board_debug_uart_init() 131 rk_clrsetreg(&grf->gpio3b_iomux, in board_debug_uart_init() 134 rk_clrsetreg(&grf->gpio3b_iomux, in board_debug_uart_init() 153 rk_clrsetreg(&grf->gpio4c_iomux, in board_debug_uart_init() 156 rk_clrsetreg(&grf->gpio4c_iomux, in board_debug_uart_init() 160 rk_clrsetreg(&grf->soc_con7, in board_debug_uart_init()
|
/third_party/uboot/u-boot-2020.01/drivers/video/rockchip/ |
D | rk3399_mipi.c | 36 rk_clrsetreg(&grf->soc_con20, GRF_DSI0_VOP_SEL_MASK, in rk_mipi_dsi_source_select() 40 rk_clrsetreg(&grf->soc_con20, GRF_DSI0_VOP_SEL_MASK, in rk_mipi_dsi_source_select() 60 rk_clrsetreg(&grf->soc_con22, GRF_DPHY_TX0_RXMODE_MASK, val); in rk_mipi_dphy_mode_set() 64 rk_clrsetreg(&grf->soc_con22, GRF_DPHY_TX0_TXSTOPMODE_MASK, val); in rk_mipi_dphy_mode_set() 68 rk_clrsetreg(&grf->soc_con22, GRF_DPHY_TX0_TURNREQUEST_MASK, val); in rk_mipi_dphy_mode_set()
|
D | rk3288_mipi.c | 38 rk_clrsetreg(&grf->soc_con6, RK3288_DSI0_LCDC_SEL_MASK, in rk_mipi_dsi_source_select() 43 rk_clrsetreg(&grf->soc_con6, RK3288_DSI0_LCDC_SEL_MASK, in rk_mipi_dsi_source_select() 64 rk_clrsetreg(&grf->soc_con8, RK3288_DPHY_TX0_RXMODE_MASK, val); in rk_mipi_dphy_mode_set() 69 rk_clrsetreg(&grf->soc_con8, in rk_mipi_dphy_mode_set() 75 rk_clrsetreg(&grf->soc_con8, in rk_mipi_dphy_mode_set()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/rk3308/ |
D | rk3308.c | 161 rk_clrsetreg(&grf->soc_con0, IOVSEL3_CTRL_MASK | IOVSEL3_MASK, val); in rk_board_init() 173 rk_clrsetreg(&grf->soc_con5, UART2_IO_SEL_MASK, in board_debug_uart_init() 175 rk_clrsetreg(&grf->gpio4d_iomux, in board_debug_uart_init() 195 rk_clrsetreg(&grf->soc_con13, in arch_cpu_init() 203 rk_clrsetreg(&grf->soc_con15, in arch_cpu_init()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/rk322x/ |
D | rk322x.c | 41 rk_clrsetreg(&grf->gpio1b_iomux, in board_debug_uart_init() 46 rk_clrsetreg(&grf->con_iomux, in board_debug_uart_init() 67 rk_clrsetreg(&grf->macphy_con[0], in arch_cpu_init()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/rk3328/ |
D | rk3328.c | 88 rk_clrsetreg(&grf->com_iomux, in board_debug_uart_init() 91 rk_clrsetreg(&grf->gpio2a_iomux, in board_debug_uart_init() 94 rk_clrsetreg(&grf->gpio2a_iomux, in board_debug_uart_init()
|
/third_party/uboot/u-boot-2020.01/board/firefly/firefly-rk3308/ |
D | roc_cc_rk3308.c | 56 rk_clrsetreg(&grf->soc_con5, UART2_IO_SEL_MASK, in board_debug_uart_init() 58 rk_clrsetreg(&grf->gpio1ch_iomux, in board_debug_uart_init()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-rockchip/rk3036/ |
D | sdram_rk3036.c | 331 rk_clrsetreg(&priv->cru->cru_mode_con, DPLL_MODE_MASK, in rkdclk_init() 337 rk_clrsetreg(&pll->con0, in rkdclk_init() 341 rk_clrsetreg(&pll->con1, PLL_POSTDIV2_MASK | PLL_REFDIV_MASK, in rkdclk_init() 350 rk_clrsetreg(&priv->cru->cru_mode_con, DPLL_MODE_MASK, in rkdclk_init() 369 rk_clrsetreg(&priv->cru->cru_softrst_con[5], 1 << DDRCTRL_PSRST_SHIFT | in phy_pctrl_reset()
|
D | rk3036.c | 35 rk_clrsetreg(&grf->gpio1c_iomux, in board_debug_uart_init()
|