Lines Matching refs:sync_clk
686 int gpmc_calc_divider(unsigned int sync_clk) in gpmc_calc_divider() argument
688 int div = gpmc_ps_to_ticks(sync_clk); in gpmc_calc_divider()
711 div = gpmc_calc_divider(t->sync_clk); in gpmc_cs_set_timings()
1493 static u32 gpmc_round_ps_to_sync_clk(u32 time_ps, u32 sync_clk) in gpmc_round_ps_to_sync_clk() argument
1498 div = gpmc_calc_divider(sync_clk); in gpmc_round_ps_to_sync_clk()
1538 temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); in gpmc_calc_sync_read_timings()
1550 temp = gpmc_round_ps_to_sync_clk(temp, gpmc_t->sync_clk) + in gpmc_calc_sync_read_timings()
1611 temp = gpmc_round_ps_to_sync_clk(dev_t->t_cez_w, gpmc_t->sync_clk); in gpmc_calc_sync_write_timings()
1709 gpmc_t->sync_clk = gpmc_calc_divider(dev_t->clk) * in gpmc_calc_sync_common_timings()
1714 gpmc_t->sync_clk); in gpmc_calc_sync_common_timings()
1719 if (gpmc_calc_divider(gpmc_t->sync_clk) != 1) in gpmc_calc_sync_common_timings()
1958 of_property_read_u32(np, "gpmc,sync-clk-ps", &gpmc_t->sync_clk); in gpmc_read_timings_dt()