Searched refs:bypass_attn (Results 1 – 1 of 1) sorted by relevance
202 u8 bypass_attn; /* Bypass voltage attenuator */ member285 static inline int reg2volt(int channel, u16 reg, u8 bypass_attn) in reg2volt() argument289 if (bypass_attn & (1 << channel)) in reg2volt()294 static inline u16 volt2reg(int channel, long volt, u8 bypass_attn) in volt2reg() argument299 if (bypass_attn & (1 << channel)) in volt2reg()344 reg2volt(sattr->index, val, data->bypass_attn)); in voltage_show()365 volt2reg(sattr->index, val, data->bypass_attn); in voltage_store()1728 data->bypass_attn = (0x3 << 3) | 0x3; in adt7475_probe()1730 data->bypass_attn = ((data->config4 & CONFIG4_ATTN_IN10) >> 4) | in adt7475_probe()1733 data->bypass_attn &= data->has_voltage; in adt7475_probe()[all …]