Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/sirf/
Dclk-atlas7.c233 struct clk_unit { struct
241 #define to_unitclk(_hw) container_of(_hw, struct clk_unit, hw) argument
1206 struct clk_unit *clk = to_unitclk(hw); in unit_clk_is_enabled()
1217 struct clk_unit *clk = to_unitclk(hw); in unit_clk_enable()
1237 struct clk_unit *clk = to_unitclk(hw); in unit_clk_disable()
1277 struct clk_unit *unit; in atlas7_unit_clk_register()
/Linux-v4.19/drivers/hwmon/
Daspeed-pwm-tacho.c508 u8 clk_unit, div_h, div_l, tacho_div; in aspeed_get_fan_tach_ch_measure_period() local
511 clk_unit = priv->type_pwm_clock_unit[type]; in aspeed_get_fan_tach_ch_measure_period()
524 return clk / (clk_unit * div_h * div_l * tacho_div * tacho_unit); in aspeed_get_fan_tach_ch_measure_period()