Searched refs:period_ps (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-lib.c | 382 unsigned int period_ps, reference_period_ps; in gpmi_nfc_compute_timings() local 405 period_ps = div_u64((u64)NSEC_PER_SEC * 1000, hw->clk_rate); in gpmi_nfc_compute_timings() 407 addr_setup_cycles = TO_CYCLES(sdr->tALS_min, period_ps); in gpmi_nfc_compute_timings() 408 data_setup_cycles = TO_CYCLES(sdr->tDS_min, period_ps); in gpmi_nfc_compute_timings() 409 data_hold_cycles = TO_CYCLES(sdr->tDH_min, period_ps); in gpmi_nfc_compute_timings() 410 busy_timeout_cycles = TO_CYCLES(sdr->tWB_max + sdr->tR_max, period_ps); in gpmi_nfc_compute_timings() 424 if (period_ps > dll_threshold_ps) { in gpmi_nfc_compute_timings() 426 reference_period_ps = period_ps / 2; in gpmi_nfc_compute_timings() 429 reference_period_ps = period_ps; in gpmi_nfc_compute_timings() 432 tRP_ps = data_setup_cycles * period_ps; in gpmi_nfc_compute_timings()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | gxt4500.c | 235 static int calc_pll(int period_ps, struct gxt4500_par *par) in calc_pll() argument 241 if (period_ps < 3333 || period_ps > 200000) in calc_pll() 248 pll_period = DIV_ROUND_UP(period_ps, postdiv); in calc_pll() 256 n = intf * postdiv / period_ps; in calc_pll() 260 t -= period_ps; in calc_pll()
|
/Linux-v4.19/drivers/mmc/host/ |
D | meson-gx-mmc.c | 217 unsigned long period_ps, p, d; in meson_mmc_clk_get_phase() local 226 period_ps = DIV_ROUND_UP((unsigned long)NSEC_PER_SEC * 1000, in meson_mmc_clk_get_phase() 229 degrees += d * mmc->delay_step_ps * 360 / period_ps; in meson_mmc_clk_get_phase() 258 unsigned long period_ps, d = 0, r; in meson_mmc_clk_set_phase() local 266 period_ps = DIV_ROUND_UP((unsigned long)NSEC_PER_SEC * 1000, in meson_mmc_clk_set_phase() 273 d = DIV_ROUND_CLOSEST(r * period_ps, in meson_mmc_clk_set_phase()
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | ni_tio.c | 179 u64 *period_ps) in ni_tio_clock_period_ps() argument 201 *period_ps = counter->clock_period_ps; in ni_tio_clock_period_ps() 217 *period_ps = clock_period_ps; in ni_tio_clock_period_ps()
|