Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-hisi-kunpeng.c295 u32 effective_speed; in hisi_calc_effective_speed() local
303 effective_speed = host->max_speed_hz / chip->clk_div; in hisi_calc_effective_speed()
304 if (chip->speed_hz != effective_speed) { in hisi_calc_effective_speed()
306 chip->speed_hz = effective_speed; in hisi_calc_effective_speed()
309 return effective_speed; in hisi_calc_effective_speed()