Searched refs:baseclk (Results 1 – 2 of 2) sorted by relevance
81 int baseclk; member191 int n = DIV_ROUND_UP(c->baseclk, speed_hz) - 1; in txx9spi_work_one()355 c->baseclk = clk_get_rate(c->clk); in txx9spi_probe()356 master->min_speed_hz = DIV_ROUND_UP(c->baseclk, SPI_MAX_DIVIDER + 1); in txx9spi_probe()357 master->max_speed_hz = c->baseclk / (SPI_MIN_DIVIDER + 1); in txx9spi_probe()385 (c->baseclk + 500000) / 1000000); in txx9spi_probe()
436 static inline u16 calc_clkdiv(unsigned long baseclk, unsigned int f) in calc_clkdiv() argument438 return (baseclk - f) / f; in calc_clkdiv()