Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dasc7621.c501 u8 config, altbit, regval; in show_pwm_ac() local
510 regval = config | (altbit << 3); in show_pwm_ac()
522 u8 currval, config, altbit, newval; in store_pwm_ac() local
541 altbit = (reqval >> 3) & 0x01; in store_pwm_ac()
544 altbit = (altbit & param->mask[1]) << param->shift[1]; in store_pwm_ac()
549 newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); in store_pwm_ac()
560 u8 config, altbit, minoff, val, newval; in show_pwm_enable() local
568 val = config | (altbit << 3); in show_pwm_enable()
590 u8 currval, config, altbit, newval, minoff = 255; in store_pwm_enable() local
618 altbit = (newval >> 3) & 0x01; in store_pwm_enable()
[all …]