Lines Matching defs:attr
325 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2947_show_value() local
339 static int ltc2947_read_temp(struct device *dev, const u32 attr, long *val, in ltc2947_read_temp()
404 static int ltc2947_read_power(struct device *dev, const u32 attr, long *val) in ltc2947_read_power()
451 static int ltc2947_read_curr(struct device *dev, const u32 attr, long *val) in ltc2947_read_curr()
498 static int ltc2947_read_in(struct device *dev, const u32 attr, long *val, in ltc2947_read_in()
591 u32 attr, int channel, long *val) in ltc2947_read()
607 static int ltc2947_write_temp(struct device *dev, const u32 attr, in ltc2947_write_temp()
658 static int ltc2947_write_power(struct device *dev, const u32 attr, in ltc2947_write_power()
684 static int ltc2947_write_curr(struct device *dev, const u32 attr, in ltc2947_write_curr()
710 static int ltc2947_write_in(struct device *dev, const u32 attr, long val, in ltc2947_write_in()
762 u32 attr, int channel, long val) in ltc2947_write()
780 u32 attr, int channel, const char **str) in ltc2947_read_labels()
806 static int ltc2947_in_is_visible(const u32 attr) in ltc2947_in_is_visible()
826 static int ltc2947_curr_is_visible(const u32 attr) in ltc2947_curr_is_visible()
846 static int ltc2947_power_is_visible(const u32 attr) in ltc2947_power_is_visible()
866 static int ltc2947_temp_is_visible(const u32 attr) in ltc2947_temp_is_visible()
888 u32 attr, int channel) in ltc2947_is_visible()