Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-hisi-kunpeng.c79 #define CLK_DIV_MAX ((1 + DIV_POST_MAX) * DIV_PRE_MAX) macro
300 if (chip->clk_div > CLK_DIV_MAX) in hisi_calc_effective_speed()
301 chip->clk_div = CLK_DIV_MAX; in hisi_calc_effective_speed()
501 host->min_speed_hz = DIV_ROUND_UP(host->max_speed_hz, CLK_DIV_MAX); in hisi_spi_probe()
/openbmc/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-dsi-core.c99 #define CLK_DIV_MAX GENMASK(3, 0) macro
827 for (div = 0; div <= CLK_DIV_MAX; div++) { in cdns_dsi_bridge_enable()