Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-orion.c137 u32 tclk_hz; in orion_spi_baudrate_set() local
147 tclk_hz = clk_get_rate(orion_spi->clk); in orion_spi_baudrate_set()
161 unsigned divider = DIV_ROUND_UP(tclk_hz, speed); in orion_spi_baudrate_set()
211 rate = DIV_ROUND_UP(tclk_hz, speed); in orion_spi_baudrate_set()
650 unsigned long tclk_hz; in orion_spi_probe() local
706 tclk_hz = clk_get_rate(spi->clk); in orion_spi_probe()
718 DIV_ROUND_UP(tclk_hz, devdata->min_divisor)); in orion_spi_probe()
721 DIV_ROUND_UP(tclk_hz, devdata->min_divisor); in orion_spi_probe()
724 host->min_speed_hz = DIV_ROUND_UP(tclk_hz, devdata->max_divisor); in orion_spi_probe()