Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/hwmon/
Dadt7475.c142 #define PWM_CONFIG_REG(idx) (REG_PWM_CONFIG_BASE + (idx)) macro
789 adt7475_read(PWM_CONFIG_REG(sattr->index)); in pwm_store()
909 i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index), in hw_set_pwm()
1525 ret = adt7475_read(PWM_CONFIG_REG(i)); in adt7475_set_pwm_polarity()
1534 ret = i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(i), val); in adt7475_set_pwm_polarity()
1751 data->pwm[CONTROL][index] = adt7475_read(PWM_CONFIG_REG(index)); in adt7475_read_pwm()
1773 i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index), in adt7475_read_pwm()
1776 i2c_smbus_write_byte_data(client, PWM_CONFIG_REG(index), in adt7475_read_pwm()