Home
last modified time | relevance | path

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

/openbmc/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
710 tclk_hz = clk_get_rate(spi->clk); in orion_spi_probe()
722 DIV_ROUND_UP(tclk_hz, devdata->min_divisor)); in orion_spi_probe()
725 DIV_ROUND_UP(tclk_hz, devdata->min_divisor); in orion_spi_probe()
728 host->min_speed_hz = DIV_ROUND_UP(tclk_hz, devdata->max_divisor); in orion_spi_probe()