Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hwmon/
Dadt7475.c208 u8 bypass_attn; /* Bypass voltage attenuator */ member
292 static inline int reg2volt(int channel, u16 reg, u8 bypass_attn) in reg2volt() argument
296 if (bypass_attn & (1 << channel)) in reg2volt()
301 static inline u16 volt2reg(int channel, long volt, u8 bypass_attn) in volt2reg() argument
306 if (bypass_attn & (1 << channel)) in volt2reg()
351 reg2volt(sattr->index, val, data->bypass_attn)); in voltage_show()
372 volt2reg(sattr->index, val, data->bypass_attn); in voltage_store()
1884 data->bypass_attn = (0x3 << 3) | 0x3; in adt7475_probe()
1886 data->bypass_attn = ((data->config4 & CONFIG4_ATTN_IN10) >> 4) | in adt7475_probe()
1889 data->bypass_attn &= data->has_voltage; in adt7475_probe()
[all …]