Lines Matching refs:config4
200 u8 config4; member
1023 return sprintf(buf, "%d\n", !!(data->config4 & CONFIG4_MAXDUTY)); in pwm_use_point2_pwm_at_crit_show()
1040 data->config4 = i2c_smbus_read_byte_data(client, REG_CONFIG4); in pwm_use_point2_pwm_at_crit_store()
1042 data->config4 |= CONFIG4_MAXDUTY; in pwm_use_point2_pwm_at_crit_store()
1044 data->config4 &= ~CONFIG4_MAXDUTY; in pwm_use_point2_pwm_at_crit_store()
1045 i2c_smbus_write_byte_data(client, REG_CONFIG4, data->config4); in pwm_use_point2_pwm_at_crit_store()
1359 data->config4 = ret; in adt7475_update_limits()
1494 u8 config4; in load_config4() local
1503 config4 = ret & ~CONFIG4_PINFUNC; in load_config4()
1508 config4 |= CONFIG4_THERM; in load_config4()
1510 config4 |= CONFIG4_SMBALERT; in load_config4()
1512 config4 |= CONFIG4_PINFUNC; in load_config4()
1516 return i2c_smbus_write_byte_data(client, REG_CONFIG4, config4); in load_config4()
1579 &data->config4, 4); in load_attenuators()
1581 &data->config4, 5); in load_attenuators()
1583 &data->config4, 6); in load_attenuators()
1585 &data->config4, 7); in load_attenuators()
1588 data->config4); in load_attenuators()
1689 data->config4 = adt7475_read(REG_CONFIG4); in adt7475_probe()
1691 if ((data->config4 & CONFIG4_PINFUNC) == 0x0) in adt7475_probe()
1700 if ((data->config4 & CONFIG4_PINFUNC) == 0x1 && in adt7475_probe()
1706 (data->config4 & CONFIG4_PINFUNC) == 0x1) in adt7475_probe()
1731 data->bypass_attn = ((data->config4 & CONFIG4_ATTN_IN10) >> 4) | in adt7475_probe()
1732 ((data->config4 & CONFIG4_ATTN_IN43) >> 3); in adt7475_probe()