Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dpwm-fan.c45 enum pwm_fan_enable_mode enable_mode; member
101 switch (enable_mode) { in pwm_fan_enable_mode_2_state()
178 pwm_fan_enable_mode_2_state(ctx->enable_mode, in pwm_fan_power_off()
204 if (ctx->enable_mode == pwm_off_reg_off) in __set_pwm()
252 if (ctx->enable_mode == val) in pwm_fan_update_enable()
255 old_val = ctx->enable_mode; in pwm_fan_update_enable()
256 ctx->enable_mode = val; in pwm_fan_update_enable()
265 ctx->enable_mode = old_val; in pwm_fan_update_enable()
333 *val = ctx->enable_mode; in pwm_fan_read()
471 ctx->enable_mode = pwm_disable_reg_disable; in pwm_fan_cleanup()
[all …]
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/
H A Dclock.c136 static inline void enable_clock_module(u32 *const clkctrl_addr, u32 enable_mode, in enable_clock_module() argument
140 enable_mode << MODULE_CLKCTRL_MODULEMODE_SHIFT); in enable_clock_module()
173 static inline void enable_clock_domain(u32 *const clkctrl_reg, u32 enable_mode) in enable_clock_domain() argument
176 enable_mode << CD_CLKCTRL_CLKTRCTRL_SHIFT); in enable_clock_domain()
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dclocks-common.c661 static inline void enable_clock_domain(u32 const clkctrl_reg, u32 enable_mode) in enable_clock_domain() argument
664 enable_mode << CD_CLKCTRL_CLKTRCTRL_SHIFT); in enable_clock_domain()
695 static inline void enable_clock_module(u32 const clkctrl_addr, u32 enable_mode, in enable_clock_module() argument
699 enable_mode << MODULE_CLKCTRL_MODULEMODE_SHIFT); in enable_clock_module()