Searched refs:bypass_attn (Results 1 – 1 of 1) sorted by relevance
201 u8 bypass_attn; /* Bypass voltage attenuator */ member284 static inline int reg2volt(int channel, u16 reg, u8 bypass_attn) in reg2volt() argument288 if (bypass_attn & (1 << channel)) in reg2volt()293 static inline u16 volt2reg(int channel, long volt, u8 bypass_attn) in volt2reg() argument298 if (bypass_attn & (1 << channel)) in volt2reg()343 reg2volt(sattr->index, val, data->bypass_attn)); in voltage_show()364 volt2reg(sattr->index, val, data->bypass_attn); in voltage_store()1636 data->bypass_attn = (0x3 << 3) | 0x3; in adt7475_probe()1638 data->bypass_attn = ((data->config4 & CONFIG4_ATTN_IN10) >> 4) | in adt7475_probe()1641 data->bypass_attn &= data->has_voltage; in adt7475_probe()[all …]