Searched refs:brd_clk (Results 1 – 2 of 2) sorted by relevance
/external/arm-trusted-firmware/drivers/renesas/rzg/ddr/ddr_b/ |
D | boot_init_dram.c | 70 static uint32_t brd_clk; variable 353 (brd_clk * ddr_mul) / 2U; in pll3_control() 359 (brd_clk * ddr0800_mul) / 2U; in pll3_control() 3495 boardcnf_get_brd_clk(cnf_boardtype, &brd_clk, &brd_clkdiv); in rzg_dram_init() 3496 if ((brd_clk / brd_clkdiv) > 25U) { in rzg_dram_init() 3505 ddr0800_mul = CLK_DIV(800U, 2U, brd_clk, brd_clkdiv * (brd_clkdiva + 1U)); in rzg_dram_init() 3507 ddr_mul = CLK_DIV(ddr_mbps, ddr_mbpsdiv * 2U, brd_clk, in rzg_dram_init() 3516 bus_mbps = brd_clk * 0x60U * 2U; in rzg_dram_init() 3520 bus_mbps = brd_clk * 0x50U * 2U; in rzg_dram_init() 3524 bus_mbps = brd_clk * 0x40U * 2U; in rzg_dram_init() [all …]
|
/external/arm-trusted-firmware/drivers/renesas/rcar/ddr/ddr_b/ |
D | boot_init_dram.c | 82 static uint32_t brd_clk; variable 360 (brd_clk * ddr_mul) / 2; in pll3_control() 366 (brd_clk * ddr0800_mul) / 2; in pll3_control() 4239 boardcnf_get_brd_clk(cnf_boardtype, &brd_clk, &brd_clkdiv); in rcar_dram_init() 4240 if ((brd_clk / brd_clkdiv) > 25) { in rcar_dram_init() 4249 ddr0800_mul = CLK_DIV(800, 2, brd_clk, brd_clkdiv * (brd_clkdiva + 1)); in rcar_dram_init() 4251 ddr_mul = CLK_DIV(ddr_mbps, ddr_mbpsdiv * 2, brd_clk, in rcar_dram_init() 4260 bus_mbps = brd_clk * 0x60 * 2; in rcar_dram_init() 4264 bus_mbps = brd_clk * 0x50 * 2; in rcar_dram_init() 4268 bus_mbps = brd_clk * 0x40 * 2; in rcar_dram_init() [all …]
|