Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-hisi-kunpeng.c297 u32 effective_speed; in hisi_calc_effective_speed() local
305 effective_speed = host->max_speed_hz / chip->clk_div; in hisi_calc_effective_speed()
306 if (chip->speed_hz != effective_speed) { in hisi_calc_effective_speed()
308 chip->speed_hz = effective_speed; in hisi_calc_effective_speed()
311 return effective_speed; in hisi_calc_effective_speed()