Searched refs:bypass_attn (Results 1 – 1 of 1) sorted by relevance
208 u8 bypass_attn; /* Bypass voltage attenuator */ member292 static inline int reg2volt(int channel, u16 reg, u8 bypass_attn) in reg2volt() argument296 if (bypass_attn & (1 << channel)) in reg2volt()301 static inline u16 volt2reg(int channel, long volt, u8 bypass_attn) in volt2reg() argument306 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 …]