Home
last modified time | relevance | path

Searched refs:tick_ps (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/memory/
Dmvebu-devbus.c83 unsigned long tick_ps; member
101 *ticks = (time_ps + devbus->tick_ps - 1) / devbus->tick_ps; in get_timing_param_ps()
296 devbus->tick_ps = 1000000000 / rate; in mvebu_devbus_probe()
299 devbus->tick_ps); in mvebu_devbus_probe()
Domap-gpmc.c303 unsigned long tick_ps = gpmc_get_fclk_period(); in gpmc_get_clk_period() local
313 tick_ps *= div; in gpmc_get_clk_period()
321 return tick_ps; in gpmc_get_clk_period()
328 unsigned long tick_ps; in gpmc_ns_to_clk_ticks() local
331 tick_ps = gpmc_get_clk_period(cs, cd); in gpmc_ns_to_clk_ticks()
333 return (time_ns * 1000 + tick_ps - 1) / tick_ps; in gpmc_ns_to_clk_ticks()
343 unsigned long tick_ps; in gpmc_ps_to_ticks() local
346 tick_ps = gpmc_get_fclk_period(); in gpmc_ps_to_ticks()
348 return (time_ps + tick_ps - 1) / tick_ps; in gpmc_ps_to_ticks()