Lines Matching refs:attr
129 static int lm95241_read_chip(struct device *dev, u32 attr, int channel,
134 switch (attr) {
143 static int lm95241_read_temp(struct device *dev, u32 attr, int channel,
148 switch (attr) {
187 u32 attr, int channel, long *val)
191 return lm95241_read_chip(dev, attr, channel, val);
193 return lm95241_read_temp(dev, attr, channel, val);
199 static int lm95241_write_chip(struct device *dev, u32 attr, int channel,
209 switch (attr) {
238 static int lm95241_write_temp(struct device *dev, u32 attr, int channel,
247 switch (attr) {
323 u32 attr, int channel, long val)
327 return lm95241_write_chip(dev, attr, channel, val);
329 return lm95241_write_temp(dev, attr, channel, val);
337 u32 attr, int channel)
341 switch (attr) {
347 switch (attr) {