Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/sirf/
Dclk-atlas7.c232 struct clk_unit { struct
240 #define to_unitclk(_hw) container_of(_hw, struct clk_unit, hw) argument
1205 struct clk_unit *clk = to_unitclk(hw); in unit_clk_is_enabled()
1216 struct clk_unit *clk = to_unitclk(hw); in unit_clk_enable()
1236 struct clk_unit *clk = to_unitclk(hw); in unit_clk_disable()
1276 struct clk_unit *unit; in atlas7_unit_clk_register()
/Linux-v5.4/drivers/hwmon/
Daspeed-pwm-tacho.c505 u8 clk_unit, div_h, div_l, tacho_div; in aspeed_get_fan_tach_ch_measure_period() local
508 clk_unit = priv->type_pwm_clock_unit[type]; in aspeed_get_fan_tach_ch_measure_period()
521 return clk / (clk_unit * div_h * div_l * tacho_div * tacho_unit); in aspeed_get_fan_tach_ch_measure_period()