devattr           376 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           377 drivers/counter/counter.c 	const struct counter_signal_unit *const component = devattr->component;
devattr           446 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           447 drivers/counter/counter.c 	const struct counter_signal_ext_unit *const comp = devattr->component;
devattr           457 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           458 drivers/counter/counter.c 	const struct counter_signal_ext_unit *const comp = devattr->component;
devattr           622 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           625 drivers/counter/counter.c 	const struct counter_action_unit *const component = devattr->component;
devattr           645 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           646 drivers/counter/counter.c 	const struct counter_action_unit *const component = devattr->component;
devattr           682 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           683 drivers/counter/counter.c 	const struct counter_action_avail_unit *const component = devattr->component;
devattr           787 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           788 drivers/counter/counter.c 	const struct counter_count_unit *const component = devattr->component;
devattr           805 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           806 drivers/counter/counter.c 	const struct counter_count_unit *const component = devattr->component;
devattr           834 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           835 drivers/counter/counter.c 	const struct counter_count_unit *const component = devattr->component;
devattr           854 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           855 drivers/counter/counter.c 	const struct counter_count_unit *const component = devattr->component;
devattr           890 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           891 drivers/counter/counter.c 	const struct counter_count_ext_unit *const comp = devattr->component;
devattr           901 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           902 drivers/counter/counter.c 	const struct counter_count_ext_unit *const comp = devattr->component;
devattr           961 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr           962 drivers/counter/counter.c 	const struct counter_func_avail_unit *const component = devattr->component;
devattr          1163 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr          1164 drivers/counter/counter.c 	const struct counter_ext_unit *const component = devattr->component;
devattr          1174 drivers/counter/counter.c 	const struct counter_device_attr *const devattr = to_counter_attr(attr);
devattr          1175 drivers/counter/counter.c 	const struct counter_ext_unit *const component = devattr->component;
devattr           114 drivers/hwmon/ab8500.c 		struct device_attribute *devattr, char *buf)
devattr           120 drivers/hwmon/ab8500.c 		struct device_attribute *devattr, char *buf)
devattr           123 drivers/hwmon/ab8500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           788 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           790 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           799 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           801 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           809 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           811 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           820 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           822 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           830 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
devattr           832 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           863 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
devattr           865 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           898 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           900 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           919 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           921 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           932 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           934 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           943 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           945 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           954 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, const char *buf, size_t count)
devattr           956 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           987 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, const char *buf, size_t count)
devattr           989 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr          1021 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr          1023 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr          1030 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
devattr          1032 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr          1080 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr          1082 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr          1098 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
devattr          1100 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr          1133 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr          1135 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr          1144 drivers/hwmon/abituguru.c 	*devattr, const char *buf, size_t count)
devattr          1146 drivers/hwmon/abituguru.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr          1182 drivers/hwmon/abituguru.c 	struct device_attribute *devattr, char *buf)
devattr           826 drivers/hwmon/abituguru3.c 	struct device_attribute *devattr, char *buf)
devattr           829 drivers/hwmon/abituguru3.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           859 drivers/hwmon/abituguru3.c 	struct device_attribute *devattr, char *buf)
devattr           862 drivers/hwmon/abituguru3.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           884 drivers/hwmon/abituguru3.c 	struct device_attribute *devattr, char *buf)
devattr           886 drivers/hwmon/abituguru3.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           896 drivers/hwmon/abituguru3.c 	struct device_attribute *devattr, char *buf)
devattr           898 drivers/hwmon/abituguru3.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           905 drivers/hwmon/abituguru3.c 	struct device_attribute *devattr, char *buf)
devattr           124 drivers/hwmon/abx500.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr           129 drivers/hwmon/abx500.c 	return data->ops.show_name(dev, devattr, buf);
devattr           133 drivers/hwmon/abx500.c 			  struct device_attribute *devattr, char *buf)
devattr           137 drivers/hwmon/abx500.c 	return data->ops.show_label(dev, devattr, buf);
devattr           141 drivers/hwmon/abx500.c 			  struct device_attribute *devattr, char *buf)
devattr           145 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           156 drivers/hwmon/abx500.c static ssize_t min_store(struct device *dev, struct device_attribute *devattr,
devattr           161 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           176 drivers/hwmon/abx500.c static ssize_t max_store(struct device *dev, struct device_attribute *devattr,
devattr           181 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           197 drivers/hwmon/abx500.c 			      struct device_attribute *devattr,
devattr           202 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           218 drivers/hwmon/abx500.c static ssize_t min_show(struct device *dev, struct device_attribute *devattr,
devattr           222 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           227 drivers/hwmon/abx500.c static ssize_t max_show(struct device *dev, struct device_attribute *devattr,
devattr           231 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           237 drivers/hwmon/abx500.c 			     struct device_attribute *devattr, char *buf)
devattr           240 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           246 drivers/hwmon/abx500.c 			      struct device_attribute *devattr, char *buf)
devattr           249 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           255 drivers/hwmon/abx500.c 			      struct device_attribute *devattr, char *buf)
devattr           258 drivers/hwmon/abx500.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           100 drivers/hwmon/acpi_power_meter.c 			struct device_attribute *devattr,
devattr           103 drivers/hwmon/acpi_power_meter.c 		       struct device_attribute *devattr,
devattr           126 drivers/hwmon/acpi_power_meter.c 				 struct device_attribute *devattr,
devattr           140 drivers/hwmon/acpi_power_meter.c 				struct device_attribute *devattr,
devattr           198 drivers/hwmon/acpi_power_meter.c 			struct device_attribute *devattr,
devattr           211 drivers/hwmon/acpi_power_meter.c static ssize_t set_cap(struct device *dev, struct device_attribute *devattr,
devattr           284 drivers/hwmon/acpi_power_meter.c static ssize_t set_trip(struct device *dev, struct device_attribute *devattr,
devattr           287 drivers/hwmon/acpi_power_meter.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           336 drivers/hwmon/acpi_power_meter.c 			  struct device_attribute *devattr,
devattr           351 drivers/hwmon/acpi_power_meter.c 			struct device_attribute *devattr,
devattr           354 drivers/hwmon/acpi_power_meter.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           380 drivers/hwmon/acpi_power_meter.c 			struct device_attribute *devattr,
devattr           383 drivers/hwmon/acpi_power_meter.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           436 drivers/hwmon/acpi_power_meter.c 			     struct device_attribute *devattr,
devattr           447 drivers/hwmon/acpi_power_meter.c 			 struct device_attribute *devattr,
devattr           126 drivers/hwmon/ad7418.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           129 drivers/hwmon/ad7418.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           141 drivers/hwmon/ad7418.c static ssize_t adc_show(struct device *dev, struct device_attribute *devattr,
devattr           144 drivers/hwmon/ad7418.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           157 drivers/hwmon/ad7418.c 			  struct device_attribute *devattr, const char *buf,
devattr           160 drivers/hwmon/ad7418.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr            48 drivers/hwmon/adcxx.c 			  struct device_attribute *devattr, char *buf)
devattr            51 drivers/hwmon/adcxx.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr            85 drivers/hwmon/adcxx.c 			      struct device_attribute *devattr, char *buf)
devattr            92 drivers/hwmon/adcxx.c 			      struct device_attribute *devattr, char *buf)
devattr           109 drivers/hwmon/adcxx.c 			       struct device_attribute *devattr,
devattr           130 drivers/hwmon/adcxx.c 			       struct device_attribute *devattr, char *buf)
devattr           146 drivers/hwmon/adm1021.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           149 drivers/hwmon/adm1021.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           156 drivers/hwmon/adm1021.c 			     struct device_attribute *devattr, char *buf)
devattr           158 drivers/hwmon/adm1021.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           165 drivers/hwmon/adm1021.c 			     struct device_attribute *devattr, char *buf)
devattr           167 drivers/hwmon/adm1021.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           190 drivers/hwmon/adm1021.c 			      struct device_attribute *devattr,
devattr           193 drivers/hwmon/adm1021.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           216 drivers/hwmon/adm1021.c 			      struct device_attribute *devattr,
devattr           219 drivers/hwmon/adm1021.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           242 drivers/hwmon/adm1021.c 			      struct device_attribute *devattr, char *buf)
devattr           249 drivers/hwmon/adm1021.c 			       struct device_attribute *devattr,
devattr           159 drivers/hwmon/adm1029.c temp_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           161 drivers/hwmon/adm1029.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           168 drivers/hwmon/adm1029.c fan_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           170 drivers/hwmon/adm1029.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           186 drivers/hwmon/adm1029.c fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           188 drivers/hwmon/adm1029.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           197 drivers/hwmon/adm1029.c 			     struct device_attribute *devattr,
devattr           202 drivers/hwmon/adm1029.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           259 drivers/hwmon/adm9240.c static ssize_t max_show(struct device *dev, struct device_attribute *devattr,
devattr           262 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           267 drivers/hwmon/adm9240.c static ssize_t max_store(struct device *dev, struct device_attribute *devattr,
devattr           270 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           293 drivers/hwmon/adm9240.c static ssize_t in_show(struct device *dev, struct device_attribute *devattr,
devattr           296 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           303 drivers/hwmon/adm9240.c 			   struct device_attribute *devattr, char *buf)
devattr           305 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           312 drivers/hwmon/adm9240.c 			   struct device_attribute *devattr, char *buf)
devattr           314 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           321 drivers/hwmon/adm9240.c 			    struct device_attribute *devattr, const char *buf,
devattr           324 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           343 drivers/hwmon/adm9240.c 			    struct device_attribute *devattr, const char *buf,
devattr           346 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           384 drivers/hwmon/adm9240.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr           387 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           394 drivers/hwmon/adm9240.c 			    struct device_attribute *devattr, char *buf)
devattr           396 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           403 drivers/hwmon/adm9240.c 			    struct device_attribute *devattr, char *buf)
devattr           405 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           422 drivers/hwmon/adm9240.c 			     struct device_attribute *devattr,
devattr           425 drivers/hwmon/adm9240.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           779 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr           781 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           791 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr           794 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           815 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr           817 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           827 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr           830 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           850 drivers/hwmon/adt7462.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           853 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           865 drivers/hwmon/adt7462.c 			       struct device_attribute *devattr, char *buf)
devattr           867 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           874 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr           876 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           887 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr           890 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           914 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr           916 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           927 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr           930 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           954 drivers/hwmon/adt7462.c 			    struct device_attribute *devattr, char *buf)
devattr           956 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           967 drivers/hwmon/adt7462.c 				  struct device_attribute *devattr, char *buf)
devattr           969 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           976 drivers/hwmon/adt7462.c 			  struct device_attribute *devattr, char *buf)
devattr           978 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           995 drivers/hwmon/adt7462.c 			    struct device_attribute *devattr, char *buf)
devattr           997 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1013 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr,
devattr          1016 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1038 drivers/hwmon/adt7462.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr          1041 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1053 drivers/hwmon/adt7462.c 				  struct device_attribute *devattr, char *buf)
devattr          1060 drivers/hwmon/adt7462.c 				   struct device_attribute *devattr,
devattr          1084 drivers/hwmon/adt7462.c static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr,
devattr          1087 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1092 drivers/hwmon/adt7462.c static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr,
devattr          1095 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1114 drivers/hwmon/adt7462.c 			    struct device_attribute *devattr, char *buf)
devattr          1121 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr,
devattr          1142 drivers/hwmon/adt7462.c 			    struct device_attribute *devattr, char *buf)
devattr          1144 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1150 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr,
devattr          1153 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1173 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr          1175 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1182 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr          1185 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1210 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr          1212 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1224 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr          1228 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1256 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr          1258 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1264 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr          1267 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1288 drivers/hwmon/adt7462.c 			     struct device_attribute *devattr, char *buf)
devattr          1290 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1319 drivers/hwmon/adt7462.c 			      struct device_attribute *devattr,
devattr          1322 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1343 drivers/hwmon/adt7462.c 				  struct device_attribute *devattr, char *buf)
devattr          1345 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1376 drivers/hwmon/adt7462.c 				   struct device_attribute *devattr,
devattr          1379 drivers/hwmon/adt7462.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           394 drivers/hwmon/adt7470.c 					 struct device_attribute *devattr,
devattr           402 drivers/hwmon/adt7470.c 					  struct device_attribute *devattr,
devattr           421 drivers/hwmon/adt7470.c 				     struct device_attribute *devattr,
devattr           429 drivers/hwmon/adt7470.c 				      struct device_attribute *devattr,
devattr           450 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr, char *buf)
devattr           452 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           458 drivers/hwmon/adt7470.c 			      struct device_attribute *devattr,
devattr           461 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           482 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr, char *buf)
devattr           484 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           490 drivers/hwmon/adt7470.c 			      struct device_attribute *devattr,
devattr           493 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           513 drivers/hwmon/adt7470.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           516 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           522 drivers/hwmon/adt7470.c 			   struct device_attribute *devattr,
devattr           531 drivers/hwmon/adt7470.c 				struct device_attribute *devattr,
devattr           552 drivers/hwmon/adt7470.c 			    struct device_attribute *devattr, char *buf)
devattr           554 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           565 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr,
devattr           568 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           588 drivers/hwmon/adt7470.c 			    struct device_attribute *devattr, char *buf)
devattr           590 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           601 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr,
devattr           604 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           623 drivers/hwmon/adt7470.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr           626 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           637 drivers/hwmon/adt7470.c 				  struct device_attribute *devattr, char *buf)
devattr           644 drivers/hwmon/adt7470.c 				   struct device_attribute *devattr,
devattr           668 drivers/hwmon/adt7470.c static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr,
devattr           671 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           676 drivers/hwmon/adt7470.c static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr,
devattr           679 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           703 drivers/hwmon/adt7470.c 			      struct device_attribute *devattr, char *buf)
devattr           725 drivers/hwmon/adt7470.c 			       struct device_attribute *devattr,
devattr           762 drivers/hwmon/adt7470.c 			    struct device_attribute *devattr, char *buf)
devattr           764 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           770 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr,
devattr           773 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           793 drivers/hwmon/adt7470.c 			    struct device_attribute *devattr, char *buf)
devattr           795 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           801 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr,
devattr           804 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           824 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr, char *buf)
devattr           826 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           833 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr, char *buf)
devattr           835 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           841 drivers/hwmon/adt7470.c 			      struct device_attribute *devattr,
devattr           844 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           865 drivers/hwmon/adt7470.c 			     struct device_attribute *devattr, char *buf)
devattr           867 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           873 drivers/hwmon/adt7470.c 			      struct device_attribute *devattr,
devattr           876 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           910 drivers/hwmon/adt7470.c 				  struct device_attribute *devattr, char *buf)
devattr           912 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           932 drivers/hwmon/adt7470.c 				   struct device_attribute *devattr,
devattr           935 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           968 drivers/hwmon/adt7470.c 			  struct device_attribute *devattr, char *buf)
devattr           970 drivers/hwmon/adt7470.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr          1011 drivers/hwmon/adt7475.c 					struct device_attribute *devattr,
devattr          1023 drivers/hwmon/adt7475.c 					struct device_attribute *devattr,
devattr          1047 drivers/hwmon/adt7475.c static ssize_t vrm_show(struct device *dev, struct device_attribute *devattr,
devattr          1054 drivers/hwmon/adt7475.c static ssize_t vrm_store(struct device *dev, struct device_attribute *devattr,
devattr          1070 drivers/hwmon/adt7475.c 			     struct device_attribute *devattr, char *buf)
devattr           267 drivers/hwmon/amc6821.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           271 drivers/hwmon/amc6821.c 	int ix = to_sensor_dev_attr(devattr)->index;
devattr           300 drivers/hwmon/amc6821.c 			       struct device_attribute *devattr, char *buf)
devattr           303 drivers/hwmon/amc6821.c 	int ix = to_sensor_dev_attr(devattr)->index;
devattr           336 drivers/hwmon/amc6821.c 				struct device_attribute *devattr, char *buf)
devattr           345 drivers/hwmon/amc6821.c static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr,
devattr           353 drivers/hwmon/amc6821.c 			  struct device_attribute *devattr, const char *buf,
devattr           371 drivers/hwmon/amc6821.c 				struct device_attribute *devattr, char *buf)
devattr           425 drivers/hwmon/amc6821.c 					    struct device_attribute *devattr,
devattr           433 drivers/hwmon/amc6821.c 					 struct device_attribute *devattr,
devattr           436 drivers/hwmon/amc6821.c 	int ix = to_sensor_dev_attr_2(devattr)->index;
devattr           437 drivers/hwmon/amc6821.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           453 drivers/hwmon/amc6821.c 					struct device_attribute *devattr,
devattr           456 drivers/hwmon/amc6821.c 	int ix = to_sensor_dev_attr(devattr)->index;
devattr           592 drivers/hwmon/amc6821.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr           596 drivers/hwmon/amc6821.c 	int ix = to_sensor_dev_attr(devattr)->index;
devattr           603 drivers/hwmon/amc6821.c 			       struct device_attribute *devattr, char *buf)
devattr           643 drivers/hwmon/amc6821.c 			     struct device_attribute *devattr, char *buf)
devattr           771 drivers/hwmon/applesmc.c 			struct device_attribute *devattr, char *sysfsbuf)
devattr           773 drivers/hwmon/applesmc.c 	const char *key = smcreg.index[to_index(devattr)];
devattr           780 drivers/hwmon/applesmc.c 			struct device_attribute *devattr, char *sysfsbuf)
devattr           782 drivers/hwmon/applesmc.c 	const char *key = smcreg.index[to_index(devattr)];
devattr           105 drivers/hwmon/coretemp.c 				struct device_attribute *devattr, char *buf)
devattr           107 drivers/hwmon/coretemp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           118 drivers/hwmon/coretemp.c 				struct device_attribute *devattr, char *buf)
devattr           121 drivers/hwmon/coretemp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           133 drivers/hwmon/coretemp.c 			struct device_attribute *devattr, char *buf)
devattr           135 drivers/hwmon/coretemp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           142 drivers/hwmon/coretemp.c 				struct device_attribute *devattr, char *buf)
devattr           144 drivers/hwmon/coretemp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           151 drivers/hwmon/coretemp.c 			struct device_attribute *devattr, char *buf)
devattr           154 drivers/hwmon/coretemp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           385 drivers/hwmon/coretemp.c 			struct device_attribute *devattr, char *buf) = {
devattr            86 drivers/hwmon/da9052-hwmon.c 				  struct device_attribute *devattr, char *buf)
devattr           118 drivers/hwmon/da9052-hwmon.c 			       struct device_attribute *devattr, char *buf)
devattr           132 drivers/hwmon/da9052-hwmon.c 				struct device_attribute *devattr, char *buf)
devattr           140 drivers/hwmon/da9052-hwmon.c 				struct device_attribute *devattr, char *buf)
devattr           153 drivers/hwmon/da9052-hwmon.c 					struct device_attribute *devattr,
devattr           157 drivers/hwmon/da9052-hwmon.c 	int channel = to_sensor_dev_attr(devattr)->index;
devattr           241 drivers/hwmon/da9052-hwmon.c 			       struct device_attribute *devattr, char *buf)
devattr           244 drivers/hwmon/da9052-hwmon.c 	int channel = to_sensor_dev_attr(devattr)->index;
devattr           258 drivers/hwmon/da9052-hwmon.c 				 struct device_attribute *devattr, char *buf)
devattr           280 drivers/hwmon/da9052-hwmon.c 				 struct device_attribute *devattr, char *buf)
devattr           293 drivers/hwmon/da9052-hwmon.c 			  struct device_attribute *devattr, char *buf)
devattr           296 drivers/hwmon/da9052-hwmon.c 		       input_names[to_sensor_dev_attr(devattr)->index]);
devattr           139 drivers/hwmon/da9055-hwmon.c 				   struct device_attribute *devattr,
devattr           144 drivers/hwmon/da9055-hwmon.c 	int channel = to_sensor_dev_attr(devattr)->index;
devattr           176 drivers/hwmon/da9055-hwmon.c 				 struct device_attribute *devattr, char *buf)
devattr           199 drivers/hwmon/da9055-hwmon.c 			  struct device_attribute *devattr, char *buf)
devattr           202 drivers/hwmon/da9055-hwmon.c 		       input_names[to_sensor_dev_attr(devattr)->index]);
devattr           619 drivers/hwmon/dell-smm-hwmon.c 					 struct device_attribute *devattr,
devattr           630 drivers/hwmon/dell-smm-hwmon.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           642 drivers/hwmon/dell-smm-hwmon.c 				   struct device_attribute *devattr,
devattr           645 drivers/hwmon/dell-smm-hwmon.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           655 drivers/hwmon/dell-smm-hwmon.c 					struct device_attribute *devattr,
devattr           666 drivers/hwmon/dell-smm-hwmon.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           686 drivers/hwmon/dell-smm-hwmon.c 				  struct device_attribute *devattr, char *buf)
devattr           688 drivers/hwmon/dell-smm-hwmon.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           698 drivers/hwmon/dell-smm-hwmon.c 				  struct device_attribute *devattr, char *buf)
devattr           700 drivers/hwmon/dell-smm-hwmon.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           179 drivers/hwmon/emc6w201.c static ssize_t in_show(struct device *dev, struct device_attribute *devattr,
devattr           183 drivers/hwmon/emc6w201.c 	int sf = to_sensor_dev_attr_2(devattr)->index;
devattr           184 drivers/hwmon/emc6w201.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           190 drivers/hwmon/emc6w201.c static ssize_t in_store(struct device *dev, struct device_attribute *devattr,
devattr           195 drivers/hwmon/emc6w201.c 	int sf = to_sensor_dev_attr_2(devattr)->index;
devattr           196 drivers/hwmon/emc6w201.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           218 drivers/hwmon/emc6w201.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           222 drivers/hwmon/emc6w201.c 	int sf = to_sensor_dev_attr_2(devattr)->index;
devattr           223 drivers/hwmon/emc6w201.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           229 drivers/hwmon/emc6w201.c 			  struct device_attribute *devattr, const char *buf,
devattr           234 drivers/hwmon/emc6w201.c 	int sf = to_sensor_dev_attr_2(devattr)->index;
devattr           235 drivers/hwmon/emc6w201.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           257 drivers/hwmon/emc6w201.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr           261 drivers/hwmon/emc6w201.c 	int sf = to_sensor_dev_attr_2(devattr)->index;
devattr           262 drivers/hwmon/emc6w201.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           273 drivers/hwmon/emc6w201.c static ssize_t fan_store(struct device *dev, struct device_attribute *devattr,
devattr           278 drivers/hwmon/emc6w201.c 	int sf = to_sensor_dev_attr_2(devattr)->index;
devattr           279 drivers/hwmon/emc6w201.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           419 drivers/hwmon/f71805f.c static ssize_t show_in0(struct device *dev, struct device_attribute *devattr,
devattr           423 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           430 drivers/hwmon/f71805f.c 			    *devattr, char *buf)
devattr           433 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           440 drivers/hwmon/f71805f.c 			    *devattr, char *buf)
devattr           443 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           450 drivers/hwmon/f71805f.c 			   *devattr, const char *buf, size_t count)
devattr           453 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           471 drivers/hwmon/f71805f.c 			   *devattr, const char *buf, size_t count)
devattr           474 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           491 drivers/hwmon/f71805f.c static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
devattr           495 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           502 drivers/hwmon/f71805f.c 			   *devattr, char *buf)
devattr           505 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           512 drivers/hwmon/f71805f.c 			   *devattr, char *buf)
devattr           515 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           522 drivers/hwmon/f71805f.c 			  *devattr, const char *buf, size_t count)
devattr           525 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           543 drivers/hwmon/f71805f.c 			  *devattr, const char *buf, size_t count)
devattr           546 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           563 drivers/hwmon/f71805f.c static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,
devattr           567 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           574 drivers/hwmon/f71805f.c 			    *devattr, char *buf)
devattr           577 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           584 drivers/hwmon/f71805f.c 			       *devattr, char *buf)
devattr           587 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           594 drivers/hwmon/f71805f.c 			   *devattr, const char *buf, size_t count)
devattr           597 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           615 drivers/hwmon/f71805f.c 			      *devattr, const char *buf, size_t count)
devattr           618 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           636 drivers/hwmon/f71805f.c static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr,
devattr           640 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           647 drivers/hwmon/f71805f.c 			       *devattr, char *buf)
devattr           650 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           669 drivers/hwmon/f71805f.c 			     *devattr, char *buf)
devattr           672 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           679 drivers/hwmon/f71805f.c 			     *devattr, char *buf)
devattr           682 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           688 drivers/hwmon/f71805f.c static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr,
devattr           692 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           715 drivers/hwmon/f71805f.c 			      *devattr, const char *buf, size_t count)
devattr           718 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           765 drivers/hwmon/f71805f.c 			    *devattr, const char *buf, size_t count)
devattr           768 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           786 drivers/hwmon/f71805f.c 					struct device_attribute *devattr,
devattr           790 drivers/hwmon/f71805f.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           799 drivers/hwmon/f71805f.c 				       struct device_attribute *devattr,
devattr           803 drivers/hwmon/f71805f.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           823 drivers/hwmon/f71805f.c 				       struct device_attribute *devattr,
devattr           827 drivers/hwmon/f71805f.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           836 drivers/hwmon/f71805f.c 				      struct device_attribute *devattr,
devattr           840 drivers/hwmon/f71805f.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           859 drivers/hwmon/f71805f.c static ssize_t show_temp(struct device *dev, struct device_attribute *devattr,
devattr           863 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           870 drivers/hwmon/f71805f.c 			     *devattr, char *buf)
devattr           873 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           880 drivers/hwmon/f71805f.c 			      *devattr, char *buf)
devattr           883 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           890 drivers/hwmon/f71805f.c 			      *devattr, char *buf)
devattr           893 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           901 drivers/hwmon/f71805f.c 			    *devattr, const char *buf, size_t count)
devattr           904 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           922 drivers/hwmon/f71805f.c 			     *devattr, const char *buf, size_t count)
devattr           925 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           943 drivers/hwmon/f71805f.c 			      *devattr, char *buf)
devattr           951 drivers/hwmon/f71805f.c 			       *devattr, char *buf)
devattr           959 drivers/hwmon/f71805f.c 				*devattr, char *buf)
devattr           967 drivers/hwmon/f71805f.c 			  *devattr, char *buf)
devattr           970 drivers/hwmon/f71805f.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           977 drivers/hwmon/f71805f.c 			 *devattr, char *buf)
devattr           294 drivers/hwmon/f71882fg.c static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
devattr           297 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           299 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
devattr           301 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           303 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
devattr           305 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           307 drivers/hwmon/f71882fg.c static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,
devattr           310 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           312 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
devattr           314 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           316 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
devattr           318 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           321 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           323 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           325 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
devattr           327 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           329 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
devattr           331 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           333 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
devattr           335 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           337 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           339 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           341 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count);
devattr           343 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           345 drivers/hwmon/f71882fg.c 	*devattr, char *buf);
devattr           347 drivers/hwmon/f71882fg.c static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr,
devattr           349 drivers/hwmon/f71882fg.c static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr,
devattr           352 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           354 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
devattr           356 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           358 drivers/hwmon/f71882fg.c 	struct device_attribute	*devattr, const char *buf, size_t count);
devattr           360 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           362 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
devattr           364 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           366 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
devattr           368 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           370 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
devattr           372 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           374 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
devattr           376 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, char *buf);
devattr           378 drivers/hwmon/f71882fg.c 	struct device_attribute *devattr, const char *buf, size_t count);
devattr           380 drivers/hwmon/f71882fg.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr          1371 drivers/hwmon/f71882fg.c static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,
devattr          1375 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1385 drivers/hwmon/f71882fg.c 				   struct device_attribute *devattr, char *buf)
devattr          1388 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1394 drivers/hwmon/f71882fg.c 				    struct device_attribute *devattr,
devattr          1398 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1417 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1420 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1429 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
devattr          1432 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1453 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1456 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1464 drivers/hwmon/f71882fg.c static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
devattr          1468 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1474 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1482 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
devattr          1507 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1510 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1519 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
devattr          1522 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1550 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1553 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1561 drivers/hwmon/f71882fg.c static ssize_t show_temp(struct device *dev, struct device_attribute *devattr,
devattr          1565 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1587 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1590 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1596 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
devattr          1599 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1618 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1621 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1636 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
devattr          1639 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1671 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1674 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1680 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
devattr          1683 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1702 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1705 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1720 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1723 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1729 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1732 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1741 drivers/hwmon/f71882fg.c 	*devattr, const char *buf, size_t count)
devattr          1744 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1765 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1768 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1777 drivers/hwmon/f71882fg.c 	*devattr, char *buf)
devattr          1780 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1789 drivers/hwmon/f71882fg.c 			struct device_attribute *devattr, char *buf)
devattr          1792 drivers/hwmon/f71882fg.c 	int val, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1807 drivers/hwmon/f71882fg.c 			 struct device_attribute *devattr, const char *buf,
devattr          1811 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1848 drivers/hwmon/f71882fg.c 			       struct device_attribute *devattr, char *buf)
devattr          1851 drivers/hwmon/f71882fg.c 	int val, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1858 drivers/hwmon/f71882fg.c 				struct device_attribute *devattr,
devattr          1862 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1880 drivers/hwmon/f71882fg.c 			       struct device_attribute *devattr, char *buf)
devattr          1884 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1906 drivers/hwmon/f71882fg.c 				*devattr, const char *buf, size_t count)
devattr          1909 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          1962 drivers/hwmon/f71882fg.c 				       struct device_attribute *devattr,
devattr          1967 drivers/hwmon/f71882fg.c 	int pwm = to_sensor_dev_attr_2(devattr)->index;
devattr          1968 drivers/hwmon/f71882fg.c 	int point = to_sensor_dev_attr_2(devattr)->nr;
devattr          1984 drivers/hwmon/f71882fg.c 					struct device_attribute *devattr,
devattr          1988 drivers/hwmon/f71882fg.c 	int err, pwm = to_sensor_dev_attr_2(devattr)->index;
devattr          1989 drivers/hwmon/f71882fg.c 	int point = to_sensor_dev_attr_2(devattr)->nr;
devattr          2017 drivers/hwmon/f71882fg.c 					     struct device_attribute *devattr,
devattr          2022 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          2023 drivers/hwmon/f71882fg.c 	int point = to_sensor_dev_attr_2(devattr)->nr;
devattr          2037 drivers/hwmon/f71882fg.c 					      struct device_attribute *devattr,
devattr          2041 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          2042 drivers/hwmon/f71882fg.c 	int point = to_sensor_dev_attr_2(devattr)->nr;
devattr          2073 drivers/hwmon/f71882fg.c 				    struct device_attribute *devattr, char *buf)
devattr          2077 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          2085 drivers/hwmon/f71882fg.c 				     struct device_attribute *devattr,
devattr          2089 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          2111 drivers/hwmon/f71882fg.c 					   struct device_attribute *devattr,
devattr          2116 drivers/hwmon/f71882fg.c 	int nr = to_sensor_dev_attr_2(devattr)->index;
devattr          2125 drivers/hwmon/f71882fg.c 					    struct device_attribute *devattr,
devattr          2129 drivers/hwmon/f71882fg.c 	int err, nr = to_sensor_dev_attr_2(devattr)->index;
devattr          2162 drivers/hwmon/f71882fg.c 					struct device_attribute *devattr,
devattr          2167 drivers/hwmon/f71882fg.c 	int pwm = to_sensor_dev_attr_2(devattr)->index;
devattr          2168 drivers/hwmon/f71882fg.c 	int point = to_sensor_dev_attr_2(devattr)->nr;
devattr          2175 drivers/hwmon/f71882fg.c 					 struct device_attribute *devattr,
devattr          2179 drivers/hwmon/f71882fg.c 	int err, pwm = to_sensor_dev_attr_2(devattr)->index;
devattr          2180 drivers/hwmon/f71882fg.c 	int point = to_sensor_dev_attr_2(devattr)->nr;
devattr          2202 drivers/hwmon/f71882fg.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr           322 drivers/hwmon/fschmd.c 			     struct device_attribute *devattr, char *buf)
devattr           325 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           340 drivers/hwmon/fschmd.c 			       struct device_attribute *devattr, char *buf)
devattr           342 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           349 drivers/hwmon/fschmd.c 			     struct device_attribute *devattr, char *buf)
devattr           351 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           358 drivers/hwmon/fschmd.c 			      struct device_attribute *devattr,
devattr           361 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           382 drivers/hwmon/fschmd.c 			       struct device_attribute *devattr, char *buf)
devattr           384 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           395 drivers/hwmon/fschmd.c 			       struct device_attribute *devattr, char *buf)
devattr           397 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           411 drivers/hwmon/fschmd.c 			      struct device_attribute *devattr, char *buf)
devattr           413 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           420 drivers/hwmon/fschmd.c 			    struct device_attribute *devattr, char *buf)
devattr           422 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           430 drivers/hwmon/fschmd.c 			     struct device_attribute *devattr,
devattr           434 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           481 drivers/hwmon/fschmd.c 			      struct device_attribute *devattr, char *buf)
devattr           483 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           493 drivers/hwmon/fschmd.c 			      struct device_attribute *devattr, char *buf)
devattr           495 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           506 drivers/hwmon/fschmd.c 					struct device_attribute *devattr,
devattr           509 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           521 drivers/hwmon/fschmd.c 					 struct device_attribute *devattr,
devattr           524 drivers/hwmon/fschmd.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           556 drivers/hwmon/fschmd.c 	struct device_attribute *devattr, char *buf)
devattr           567 drivers/hwmon/fschmd.c 	struct device_attribute *devattr, const char *buf, size_t count)
devattr           346 drivers/hwmon/ftsteutates.c 			     struct device_attribute *devattr, char *buf)
devattr           349 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           360 drivers/hwmon/ftsteutates.c 			       struct device_attribute *devattr, char *buf)
devattr           363 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           374 drivers/hwmon/ftsteutates.c 			       struct device_attribute *devattr, char *buf)
devattr           377 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           389 drivers/hwmon/ftsteutates.c 			       struct device_attribute *devattr, char *buf)
devattr           392 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           403 drivers/hwmon/ftsteutates.c temp_alarm_store(struct device *dev, struct device_attribute *devattr,
devattr           407 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           435 drivers/hwmon/ftsteutates.c 			      struct device_attribute *devattr, char *buf)
devattr           438 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           449 drivers/hwmon/ftsteutates.c 			       struct device_attribute *devattr, char *buf)
devattr           452 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           463 drivers/hwmon/ftsteutates.c 			      struct device_attribute *devattr, char *buf)
devattr           466 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           477 drivers/hwmon/ftsteutates.c fan_alarm_store(struct device *dev, struct device_attribute *devattr,
devattr           481 drivers/hwmon/ftsteutates.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           199 drivers/hwmon/hwmon.c 			       struct device_attribute *devattr, char *buf)
devattr           201 drivers/hwmon/hwmon.c 	struct hwmon_device_attribute *hattr = to_hwmon_attr(devattr);
devattr           217 drivers/hwmon/hwmon.c 				      struct device_attribute *devattr,
devattr           220 drivers/hwmon/hwmon.c 	struct hwmon_device_attribute *hattr = to_hwmon_attr(devattr);
devattr           237 drivers/hwmon/hwmon.c 				struct device_attribute *devattr,
devattr           240 drivers/hwmon/hwmon.c 	struct hwmon_device_attribute *hattr = to_hwmon_attr(devattr);
devattr            38 drivers/hwmon/i5500_temp.c 				struct device_attribute *devattr, char *buf)
devattr            53 drivers/hwmon/i5500_temp.c 			   struct device_attribute *devattr, char *buf)
devattr            56 drivers/hwmon/i5500_temp.c 	int reg = to_sensor_dev_attr(devattr)->index;
devattr            67 drivers/hwmon/i5500_temp.c 			  struct device_attribute *devattr, char *buf)
devattr            70 drivers/hwmon/i5500_temp.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           104 drivers/hwmon/i5k_amb.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr           127 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           130 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           141 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           145 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           161 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           165 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           181 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           185 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           201 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           204 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           211 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           214 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           221 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           224 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           231 drivers/hwmon/i5k_amb.c 			     struct device_attribute *devattr,
devattr           234 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           241 drivers/hwmon/i5k_amb.c 			  struct device_attribute *devattr,
devattr           244 drivers/hwmon/i5k_amb.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           108 drivers/hwmon/ibmaem.c 			struct device_attribute *devattr,
devattr           116 drivers/hwmon/ibmaem.c 			struct device_attribute *devattr,
devattr           119 drivers/hwmon/ibmaem.c 		       struct device_attribute *devattr,
devattr           803 drivers/hwmon/ibmaem.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr           814 drivers/hwmon/ibmaem.c 			    struct device_attribute *devattr, char *buf)
devattr           824 drivers/hwmon/ibmaem.c 			      struct device_attribute *devattr,
devattr           827 drivers/hwmon/ibmaem.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           858 drivers/hwmon/ibmaem.c 			       struct device_attribute *devattr,
devattr           861 drivers/hwmon/ibmaem.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           873 drivers/hwmon/ibmaem.c 				     struct device_attribute *devattr,
devattr           876 drivers/hwmon/ibmaem.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           885 drivers/hwmon/ibmaem.c 				    struct device_attribute *devattr,
devattr           888 drivers/hwmon/ibmaem.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           966 drivers/hwmon/ibmaem.c 			      struct device_attribute *devattr,
devattr           969 drivers/hwmon/ibmaem.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           978 drivers/hwmon/ibmaem.c 				    struct device_attribute *devattr,
devattr           981 drivers/hwmon/ibmaem.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           259 drivers/hwmon/ibmpex.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr           267 drivers/hwmon/ibmpex.c 				  struct device_attribute *devattr,
devattr           270 drivers/hwmon/ibmpex.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           280 drivers/hwmon/ibmpex.c 				     struct device_attribute *devattr,
devattr            97 drivers/hwmon/ibmpowernv.c static ssize_t show_sensor(struct device *dev, struct device_attribute *devattr,
devattr           100 drivers/hwmon/ibmpowernv.c 	struct sensor_data *sdata = container_of(devattr, struct sensor_data,
devattr           124 drivers/hwmon/ibmpowernv.c 			   struct device_attribute *devattr, char *buf)
devattr           126 drivers/hwmon/ibmpowernv.c 	struct sensor_data *sdata = container_of(devattr, struct sensor_data,
devattr           133 drivers/hwmon/ibmpowernv.c 			    struct device_attribute *devattr,
devattr           136 drivers/hwmon/ibmpowernv.c 	struct sensor_data *sdata = container_of(devattr, struct sensor_data,
devattr           163 drivers/hwmon/ibmpowernv.c static ssize_t show_label(struct device *dev, struct device_attribute *devattr,
devattr           166 drivers/hwmon/ibmpowernv.c 	struct sensor_data *sdata = container_of(devattr, struct sensor_data,
devattr           153 drivers/hwmon/k10temp.c 				struct device_attribute *devattr, char *buf)
devattr           162 drivers/hwmon/k10temp.c 			       struct device_attribute *devattr, char *buf)
devattr           164 drivers/hwmon/k10temp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           176 drivers/hwmon/k10temp.c 			      struct device_attribute *devattr, char *buf)
devattr           178 drivers/hwmon/k10temp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           331 drivers/hwmon/lm63.c static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,
devattr           334 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           361 drivers/hwmon/lm63.c static ssize_t show_pwm1(struct device *dev, struct device_attribute *devattr,
devattr           364 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           379 drivers/hwmon/lm63.c static ssize_t set_pwm1(struct device *dev, struct device_attribute *devattr,
devattr           382 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           457 drivers/hwmon/lm63.c 				struct device_attribute *devattr,
devattr           460 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           466 drivers/hwmon/lm63.c 				 struct device_attribute *devattr,
devattr           469 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           476 drivers/hwmon/lm63.c 			      struct device_attribute *devattr,
devattr           479 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           485 drivers/hwmon/lm63.c static ssize_t set_temp8(struct device *dev, struct device_attribute *devattr,
devattr           488 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           524 drivers/hwmon/lm63.c static ssize_t show_temp11(struct device *dev, struct device_attribute *devattr,
devattr           527 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           550 drivers/hwmon/lm63.c static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,
devattr           562 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           601 drivers/hwmon/lm63.c 				  struct device_attribute *devattr, char *buf)
devattr           603 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           730 drivers/hwmon/lm63.c static ssize_t show_alarm(struct device *dev, struct device_attribute *devattr,
devattr           733 drivers/hwmon/lm63.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           131 drivers/hwmon/lm77.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           134 drivers/hwmon/lm77.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           141 drivers/hwmon/lm77.c 			      struct device_attribute *devattr, char *buf)
devattr           143 drivers/hwmon/lm77.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           155 drivers/hwmon/lm77.c 			  struct device_attribute *devattr, const char *buf,
devattr           158 drivers/hwmon/lm77.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           182 drivers/hwmon/lm77.c 			       struct device_attribute *devattr,
devattr           401 drivers/hwmon/lm80.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           404 drivers/hwmon/lm80.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           412 drivers/hwmon/lm80.c 			  struct device_attribute *devattr, const char *buf,
devattr           415 drivers/hwmon/lm80.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           152 drivers/hwmon/lm83.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           155 drivers/hwmon/lm83.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           161 drivers/hwmon/lm83.c 			  struct device_attribute *devattr, const char *buf,
devattr           164 drivers/hwmon/lm83.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           191 drivers/hwmon/lm83.c 			  struct device_attribute *devattr, char *buf)
devattr           193 drivers/hwmon/lm83.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           137 drivers/hwmon/lm92.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           140 drivers/hwmon/lm92.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           147 drivers/hwmon/lm92.c 			  struct device_attribute *devattr, const char *buf,
devattr           150 drivers/hwmon/lm92.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           169 drivers/hwmon/lm92.c 			      struct device_attribute *devattr, char *buf)
devattr           171 drivers/hwmon/lm92.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           188 drivers/hwmon/lm92.c 			       struct device_attribute *devattr,
devattr           191 drivers/hwmon/lm92.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           139 drivers/hwmon/max1619.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           142 drivers/hwmon/max1619.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           149 drivers/hwmon/max1619.c 			  struct device_attribute *devattr, const char *buf,
devattr           152 drivers/hwmon/max1619.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           131 drivers/hwmon/max1668.c 			 struct device_attribute *devattr, char *buf)
devattr           133 drivers/hwmon/max1668.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           143 drivers/hwmon/max1668.c 			     struct device_attribute *devattr, char *buf)
devattr           145 drivers/hwmon/max1668.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           155 drivers/hwmon/max1668.c 			     struct device_attribute *devattr, char *buf)
devattr           157 drivers/hwmon/max1668.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           179 drivers/hwmon/max1668.c 			  struct device_attribute *devattr, char *buf)
devattr           181 drivers/hwmon/max1668.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           192 drivers/hwmon/max1668.c 			    struct device_attribute *devattr,
devattr           195 drivers/hwmon/max1668.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           218 drivers/hwmon/max1668.c 			    struct device_attribute *devattr,
devattr           221 drivers/hwmon/max1668.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr            89 drivers/hwmon/max197.c 				 struct device_attribute *devattr, char *buf)
devattr            92 drivers/hwmon/max197.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           116 drivers/hwmon/max197.c 				  struct device_attribute *devattr,
devattr           120 drivers/hwmon/max197.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           171 drivers/hwmon/max197.c 				 struct device_attribute *devattr,
devattr           175 drivers/hwmon/max197.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           298 drivers/hwmon/max6650.c 			  struct device_attribute *devattr, char *buf)
devattr           300 drivers/hwmon/max6650.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           326 drivers/hwmon/max6650.c 	struct device_attribute *devattr;
devattr           332 drivers/hwmon/max6650.c 	devattr = container_of(a, struct device_attribute, attr);
devattr           333 drivers/hwmon/max6650.c 	if (devattr == &sensor_dev_attr_gpio1_alarm.dev_attr ||
devattr           334 drivers/hwmon/max6650.c 	    devattr == &sensor_dev_attr_gpio2_alarm.dev_attr) {
devattr           335 drivers/hwmon/max6650.c 		if (!(data->alarm_en & to_sensor_dev_attr(devattr)->index))
devattr           245 drivers/hwmon/max6697.c 			       struct device_attribute *devattr, char *buf)
devattr           247 drivers/hwmon/max6697.c 	int index = to_sensor_dev_attr(devattr)->index;
devattr           260 drivers/hwmon/max6697.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           263 drivers/hwmon/max6697.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           264 drivers/hwmon/max6697.c 	int index = to_sensor_dev_attr_2(devattr)->index;
devattr           293 drivers/hwmon/max6697.c 			  struct device_attribute *devattr, const char *buf,
devattr           296 drivers/hwmon/max6697.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           297 drivers/hwmon/max6697.c 	int index = to_sensor_dev_attr_2(devattr)->index;
devattr            32 drivers/hwmon/mc13783-adc.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr            41 drivers/hwmon/mc13783-adc.c 		struct device_attribute *devattr, unsigned int *val)
devattr            44 drivers/hwmon/mc13783-adc.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr            67 drivers/hwmon/mc13783-adc.c 				   struct device_attribute *devattr,
devattr            73 drivers/hwmon/mc13783-adc.c 	int ret = mc13783_adc_read(dev, devattr, &val);
devattr            91 drivers/hwmon/mc13783-adc.c 				   struct device_attribute *devattr,
devattr            95 drivers/hwmon/mc13783-adc.c 	int ret = mc13783_adc_read(dev, devattr, &val);
devattr           110 drivers/hwmon/mc13783-adc.c 				    struct device_attribute *devattr,
devattr           116 drivers/hwmon/mc13783-adc.c 	int ret = mc13783_adc_read(dev, devattr, &val);
devattr           132 drivers/hwmon/mc13783-adc.c 				     struct device_attribute *devattr,
devattr           138 drivers/hwmon/mc13783-adc.c 	int ret = mc13783_adc_read(dev, devattr, &val);
devattr           100 drivers/hwmon/menf21bmc_hwmon.c label_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           102 drivers/hwmon/menf21bmc_hwmon.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           108 drivers/hwmon/menf21bmc_hwmon.c in_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           110 drivers/hwmon/menf21bmc_hwmon.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           120 drivers/hwmon/menf21bmc_hwmon.c min_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           122 drivers/hwmon/menf21bmc_hwmon.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           129 drivers/hwmon/menf21bmc_hwmon.c max_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           131 drivers/hwmon/menf21bmc_hwmon.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           119 drivers/hwmon/nct7802.c static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr,
devattr           122 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           137 drivers/hwmon/nct7802.c static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr,
devattr           140 drivers/hwmon/nct7802.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           245 drivers/hwmon/pc87360.c 			      struct device_attribute *devattr, char *buf)
devattr           247 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           253 drivers/hwmon/pc87360.c 			    struct device_attribute *devattr, char *buf)
devattr           255 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           261 drivers/hwmon/pc87360.c 			    struct device_attribute *devattr, char *buf)
devattr           263 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           269 drivers/hwmon/pc87360.c 			       struct device_attribute *devattr, char *buf)
devattr           271 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           277 drivers/hwmon/pc87360.c 			     struct device_attribute *devattr,
devattr           280 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           343 drivers/hwmon/pc87360.c static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr,
devattr           346 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           353 drivers/hwmon/pc87360.c static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr,
devattr           356 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           393 drivers/hwmon/pc87360.c 			     struct device_attribute *devattr, char *buf)
devattr           395 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           401 drivers/hwmon/pc87360.c 			   struct device_attribute *devattr, char *buf)
devattr           403 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           409 drivers/hwmon/pc87360.c 			   struct device_attribute *devattr, char *buf)
devattr           411 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           417 drivers/hwmon/pc87360.c 			      struct device_attribute *devattr, char *buf)
devattr           419 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           424 drivers/hwmon/pc87360.c 			    struct device_attribute *devattr, const char *buf,
devattr           427 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           444 drivers/hwmon/pc87360.c 			    struct device_attribute *devattr, const char *buf,
devattr           447 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           530 drivers/hwmon/pc87360.c 				 struct device_attribute *devattr, char *buf)
devattr           533 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr           538 drivers/hwmon/pc87360.c 				 struct device_attribute *devattr, char *buf)
devattr           541 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr           644 drivers/hwmon/pc87360.c 				struct device_attribute *devattr, char *buf)
devattr           646 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           652 drivers/hwmon/pc87360.c 			      struct device_attribute *devattr, char *buf)
devattr           654 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           660 drivers/hwmon/pc87360.c 			      struct device_attribute *devattr, char *buf)
devattr           662 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           668 drivers/hwmon/pc87360.c 			       struct device_attribute *devattr, char *buf)
devattr           670 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           676 drivers/hwmon/pc87360.c 				 struct device_attribute *devattr, char *buf)
devattr           678 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           684 drivers/hwmon/pc87360.c 			       struct device_attribute *devattr,
devattr           687 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           705 drivers/hwmon/pc87360.c 			       struct device_attribute *devattr,
devattr           708 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           725 drivers/hwmon/pc87360.c 				struct device_attribute *devattr,
devattr           728 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           781 drivers/hwmon/pc87360.c 				    struct device_attribute *devattr,
devattr           785 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr           790 drivers/hwmon/pc87360.c 				    struct device_attribute *devattr,
devattr           794 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr           799 drivers/hwmon/pc87360.c 				     struct device_attribute *devattr,
devattr           803 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr           845 drivers/hwmon/pc87360.c 			       struct device_attribute *devattr, char *buf)
devattr           847 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           853 drivers/hwmon/pc87360.c 			     struct device_attribute *devattr, char *buf)
devattr           855 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           861 drivers/hwmon/pc87360.c 			     struct device_attribute *devattr, char *buf)
devattr           863 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           869 drivers/hwmon/pc87360.c 			      struct device_attribute *devattr, char *buf)
devattr           871 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           878 drivers/hwmon/pc87360.c 				struct device_attribute *devattr, char *buf)
devattr           880 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           886 drivers/hwmon/pc87360.c 			      struct device_attribute *devattr,
devattr           889 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           907 drivers/hwmon/pc87360.c 			      struct device_attribute *devattr,
devattr           910 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           928 drivers/hwmon/pc87360.c 			       struct device_attribute *devattr,
devattr           931 drivers/hwmon/pc87360.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           990 drivers/hwmon/pc87360.c 				   struct device_attribute *devattr,
devattr           994 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr          1000 drivers/hwmon/pc87360.c 				   struct device_attribute *devattr,
devattr          1004 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr          1010 drivers/hwmon/pc87360.c 				    struct device_attribute *devattr,
devattr          1014 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr          1039 drivers/hwmon/pc87360.c 			       struct device_attribute *devattr, char *buf)
devattr          1042 drivers/hwmon/pc87360.c 	unsigned nr = to_sensor_dev_attr(devattr)->index;
devattr          1078 drivers/hwmon/pc87360.c 			struct device_attribute *devattr, char *buf)
devattr           388 drivers/hwmon/pc87427.c 			      struct device_attribute *devattr, char *buf)
devattr           391 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           397 drivers/hwmon/pc87427.c 			    struct device_attribute *devattr, char *buf)
devattr           400 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           406 drivers/hwmon/pc87427.c 			      struct device_attribute *devattr, char *buf)
devattr           409 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           416 drivers/hwmon/pc87427.c 			      struct device_attribute *devattr, char *buf)
devattr           419 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           426 drivers/hwmon/pc87427.c 			     struct device_attribute *devattr,
devattr           430 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           565 drivers/hwmon/pc87427.c 			       struct device_attribute *devattr, char *buf)
devattr           568 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           578 drivers/hwmon/pc87427.c 				struct device_attribute *devattr,
devattr           582 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           599 drivers/hwmon/pc87427.c static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr,
devattr           603 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           608 drivers/hwmon/pc87427.c static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr,
devattr           612 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           692 drivers/hwmon/pc87427.c 			       struct device_attribute *devattr, char *buf)
devattr           695 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           701 drivers/hwmon/pc87427.c 			     struct device_attribute *devattr, char *buf)
devattr           704 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           710 drivers/hwmon/pc87427.c 			     struct device_attribute *devattr, char *buf)
devattr           713 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           719 drivers/hwmon/pc87427.c 			      struct device_attribute *devattr, char *buf)
devattr           722 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           728 drivers/hwmon/pc87427.c 			      struct device_attribute *devattr, char *buf)
devattr           731 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           737 drivers/hwmon/pc87427.c 				   struct device_attribute *devattr,
devattr           741 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           748 drivers/hwmon/pc87427.c 				   struct device_attribute *devattr,
devattr           752 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           759 drivers/hwmon/pc87427.c 				    struct device_attribute *devattr,
devattr           763 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           770 drivers/hwmon/pc87427.c 			       struct device_attribute *devattr, char *buf)
devattr           773 drivers/hwmon/pc87427.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           922 drivers/hwmon/pc87427.c 			 *devattr, char *buf)
devattr            54 drivers/hwmon/pmbus/inspur-ipsps.c 				 struct device_attribute *devattr,
devattr            62 drivers/hwmon/pmbus/inspur-ipsps.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr            77 drivers/hwmon/pmbus/inspur-ipsps.c 				     struct device_attribute *devattr,
devattr            84 drivers/hwmon/pmbus/inspur-ipsps.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           100 drivers/hwmon/pmbus/inspur-ipsps.c 			       struct device_attribute *devattr, char *buf)
devattr           105 drivers/hwmon/pmbus/inspur-ipsps.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           131 drivers/hwmon/pmbus/inspur-ipsps.c 				struct device_attribute *devattr,
devattr           137 drivers/hwmon/pmbus/inspur-ipsps.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr            69 drivers/hwmon/pmbus/isl68137.c 					struct device_attribute *devattr,
devattr            73 drivers/hwmon/pmbus/isl68137.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr            79 drivers/hwmon/pmbus/isl68137.c 				struct device_attribute *devattr,
devattr            83 drivers/hwmon/pmbus/isl68137.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           949 drivers/hwmon/pmbus/pmbus_core.c 				 struct device_attribute *devattr, char *buf)
devattr           952 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_sensor *sensor = to_pmbus_sensor(devattr);
devattr           961 drivers/hwmon/pmbus/pmbus_core.c 				struct device_attribute *devattr,
devattr           966 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_sensor *sensor = to_pmbus_sensor(devattr);
devattr          1950 drivers/hwmon/pmbus/pmbus_core.c 				  struct device_attribute *devattr, char *buf)
devattr          1954 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_samples_reg *reg = to_samples_reg(devattr);
devattr          1964 drivers/hwmon/pmbus/pmbus_core.c 				 struct device_attribute *devattr,
devattr          1970 drivers/hwmon/pmbus/pmbus_core.c 	struct pmbus_samples_reg *reg = to_samples_reg(devattr);
devattr           195 drivers/hwmon/sch5627.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr           201 drivers/hwmon/sch5627.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           204 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           216 drivers/hwmon/sch5627.c 			       struct device_attribute *devattr, char *buf)
devattr           218 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           228 drivers/hwmon/sch5627.c 			     struct device_attribute *devattr, char *buf)
devattr           230 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           239 drivers/hwmon/sch5627.c 			      struct device_attribute *devattr, char *buf)
devattr           241 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           249 drivers/hwmon/sch5627.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr           252 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           267 drivers/hwmon/sch5627.c 			      struct device_attribute *devattr, char *buf)
devattr           269 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           280 drivers/hwmon/sch5627.c 			    struct device_attribute *devattr, char *buf)
devattr           282 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           291 drivers/hwmon/sch5627.c static ssize_t in_show(struct device *dev, struct device_attribute *devattr,
devattr           294 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           308 drivers/hwmon/sch5627.c 			     struct device_attribute *devattr, char *buf)
devattr           310 drivers/hwmon/sch5627.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           160 drivers/hwmon/sch5636.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr           167 drivers/hwmon/sch5636.c 			     struct device_attribute *devattr, char *buf)
devattr           169 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           183 drivers/hwmon/sch5636.c 			     struct device_attribute *devattr, char *buf)
devattr           185 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           192 drivers/hwmon/sch5636.c 			       struct device_attribute *devattr, char *buf)
devattr           194 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           206 drivers/hwmon/sch5636.c 			       struct device_attribute *devattr, char *buf)
devattr           208 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           220 drivers/hwmon/sch5636.c 			       struct device_attribute *devattr, char *buf)
devattr           222 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           234 drivers/hwmon/sch5636.c 			      struct device_attribute *devattr, char *buf)
devattr           236 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           251 drivers/hwmon/sch5636.c 			      struct device_attribute *devattr, char *buf)
devattr           253 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           265 drivers/hwmon/sch5636.c 			      struct device_attribute *devattr, char *buf)
devattr           267 drivers/hwmon/sch5636.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           159 drivers/hwmon/smsc47b397.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           162 drivers/hwmon/smsc47b397.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           183 drivers/hwmon/smsc47b397.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr           186 drivers/hwmon/smsc47b397.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           197 drivers/hwmon/smsc47m1.c static ssize_t fan_show(struct device *dev, struct device_attribute *devattr,
devattr           200 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           217 drivers/hwmon/smsc47m1.c 			    struct device_attribute *devattr, char *buf)
devattr           219 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           228 drivers/hwmon/smsc47m1.c 			    struct device_attribute *devattr, char *buf)
devattr           230 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           236 drivers/hwmon/smsc47m1.c 			      struct device_attribute *devattr, char *buf)
devattr           238 drivers/hwmon/smsc47m1.c 	int bitnr = to_sensor_dev_attr(devattr)->index;
devattr           243 drivers/hwmon/smsc47m1.c static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr,
devattr           246 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           252 drivers/hwmon/smsc47m1.c 			   struct device_attribute *devattr, char *buf)
devattr           254 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           260 drivers/hwmon/smsc47m1.c 			   struct device_attribute *devattr, char *buf)
devattr           267 drivers/hwmon/smsc47m1.c 			     struct device_attribute *devattr,
devattr           270 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           304 drivers/hwmon/smsc47m1.c 			     struct device_attribute *devattr,
devattr           307 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           369 drivers/hwmon/smsc47m1.c static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr,
devattr           372 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           396 drivers/hwmon/smsc47m1.c 			    struct device_attribute *devattr, const char *buf,
devattr           399 drivers/hwmon/smsc47m1.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           444 drivers/hwmon/smsc47m1.c 			 *devattr, char *buf)
devattr           278 drivers/hwmon/tmp401.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr           281 drivers/hwmon/tmp401.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           282 drivers/hwmon/tmp401.c 	int index = to_sensor_dev_attr_2(devattr)->index;
devattr           293 drivers/hwmon/tmp401.c 				   struct device_attribute *devattr,
devattr           296 drivers/hwmon/tmp401.c 	int temp, index = to_sensor_dev_attr(devattr)->index;
devattr           311 drivers/hwmon/tmp401.c 			   struct device_attribute *devattr, char *buf)
devattr           313 drivers/hwmon/tmp401.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           314 drivers/hwmon/tmp401.c 	int mask = to_sensor_dev_attr_2(devattr)->index;
devattr           324 drivers/hwmon/tmp401.c 			  struct device_attribute *devattr, const char *buf,
devattr           327 drivers/hwmon/tmp401.c 	int nr = to_sensor_dev_attr_2(devattr)->nr;
devattr           328 drivers/hwmon/tmp401.c 	int index = to_sensor_dev_attr_2(devattr)->index;
devattr           358 drivers/hwmon/tmp401.c 				    struct device_attribute *devattr,
devattr           361 drivers/hwmon/tmp401.c 	int temp, index = to_sensor_dev_attr(devattr)->index;
devattr           398 drivers/hwmon/tmp401.c 					struct device_attribute *devattr,
devattr            50 drivers/hwmon/via-cputemp.c static ssize_t name_show(struct device *dev, struct device_attribute *devattr,
devattr            54 drivers/hwmon/via-cputemp.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr            64 drivers/hwmon/via-cputemp.c static ssize_t temp_show(struct device *dev, struct device_attribute *devattr,
devattr            79 drivers/hwmon/via-cputemp.c 			     struct device_attribute *devattr, char *buf)
devattr           597 drivers/hwmon/via686a.c 			 *devattr, char *buf)
devattr           631 drivers/hwmon/vt8231.c 			 *devattr, char *buf)
devattr           477 drivers/hwmon/w83627hf.c in_input_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           479 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           484 drivers/hwmon/w83627hf.c in_min_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           486 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           491 drivers/hwmon/w83627hf.c in_max_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           493 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           498 drivers/hwmon/w83627hf.c in_min_store(struct device *dev, struct device_attribute *devattr,
devattr           501 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           517 drivers/hwmon/w83627hf.c in_max_store(struct device *dev, struct device_attribute *devattr,
devattr           520 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           665 drivers/hwmon/w83627hf.c fan_input_show(struct device *dev, struct device_attribute *devattr,
devattr           668 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           674 drivers/hwmon/w83627hf.c fan_min_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           676 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           682 drivers/hwmon/w83627hf.c fan_min_store(struct device *dev, struct device_attribute *devattr,
devattr           685 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           711 drivers/hwmon/w83627hf.c temp_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           713 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           722 drivers/hwmon/w83627hf.c temp_max_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           724 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           733 drivers/hwmon/w83627hf.c temp_max_hyst_show(struct device *dev, struct device_attribute *devattr,
devattr           736 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           745 drivers/hwmon/w83627hf.c temp_max_store(struct device *dev, struct device_attribute *devattr,
devattr           748 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           767 drivers/hwmon/w83627hf.c temp_max_hyst_store(struct device *dev, struct device_attribute *devattr,
devattr           770 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           977 drivers/hwmon/w83627hf.c fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           979 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr           991 drivers/hwmon/w83627hf.c fan_div_store(struct device *dev, struct device_attribute *devattr,
devattr           994 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1036 drivers/hwmon/w83627hf.c pwm_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr          1038 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1044 drivers/hwmon/w83627hf.c pwm_store(struct device *dev, struct device_attribute *devattr,
devattr          1047 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1082 drivers/hwmon/w83627hf.c pwm_enable_show(struct device *dev, struct device_attribute *devattr,
devattr          1085 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1091 drivers/hwmon/w83627hf.c pwm_enable_store(struct device *dev, struct device_attribute *devattr,
devattr          1094 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1121 drivers/hwmon/w83627hf.c pwm_freq_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr          1123 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1134 drivers/hwmon/w83627hf.c pwm_freq_store(struct device *dev, struct device_attribute *devattr,
devattr          1137 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1170 drivers/hwmon/w83627hf.c temp_type_show(struct device *dev, struct device_attribute *devattr,
devattr          1173 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1179 drivers/hwmon/w83627hf.c temp_type_store(struct device *dev, struct device_attribute *devattr,
devattr          1182 drivers/hwmon/w83627hf.c 	int nr = to_sensor_dev_attr(devattr)->index;
devattr          1239 drivers/hwmon/w83627hf.c name_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr          1600 drivers/hwmon/w83781d.c name_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           923 drivers/hwmon/w83791d.c static ssize_t show_temp1(struct device *dev, struct device_attribute *devattr,
devattr           926 drivers/hwmon/w83791d.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           931 drivers/hwmon/w83791d.c static ssize_t store_temp1(struct device *dev, struct device_attribute *devattr,
devattr           934 drivers/hwmon/w83791d.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           953 drivers/hwmon/w83791d.c static ssize_t show_temp23(struct device *dev, struct device_attribute *devattr,
devattr           956 drivers/hwmon/w83791d.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           964 drivers/hwmon/w83791d.c 				struct device_attribute *devattr,
devattr           967 drivers/hwmon/w83791d.c 	struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr);
devattr           113 drivers/hwmon/w83l785ts.c static ssize_t show_temp(struct device *dev, struct device_attribute *devattr,
devattr           116 drivers/hwmon/w83l785ts.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           343 drivers/hwmon/xgene-hwmon.c 					 struct device_attribute *devattr,
devattr          1806 drivers/input/mouse/psmouse-base.c ssize_t psmouse_attr_show_helper(struct device *dev, struct device_attribute *devattr,
devattr          1810 drivers/input/mouse/psmouse-base.c 	struct psmouse_attribute *attr = to_psmouse_attr(devattr);
devattr          1814 drivers/input/mouse/psmouse-base.c 			devattr != &psmouse_attr_protocol.dattr)
devattr          1820 drivers/input/mouse/psmouse-base.c ssize_t psmouse_attr_set_helper(struct device *dev, struct device_attribute *devattr,
devattr          1824 drivers/input/mouse/psmouse-base.c 	struct psmouse_attribute *attr = to_psmouse_attr(devattr);
devattr          1835 drivers/input/mouse/psmouse-base.c 			devattr != &psmouse_attr_protocol.dattr) {
devattr           204 drivers/input/touchscreen/sun4i-ts.c static ssize_t show_temp(struct device *dev, struct device_attribute *devattr,
devattr           219 drivers/input/touchscreen/sun4i-ts.c 			      struct device_attribute *devattr, char *buf)
devattr           664 drivers/memory/brcmstb_dpfe.c static ssize_t show_info(struct device *dev, struct device_attribute *devattr,
devattr           687 drivers/memory/brcmstb_dpfe.c 			    struct device_attribute *devattr, char *buf)
devattr           746 drivers/memory/brcmstb_dpfe.c static ssize_t show_vendor(struct device *dev, struct device_attribute *devattr,
devattr           777 drivers/memory/brcmstb_dpfe.c static ssize_t show_dram(struct device *dev, struct device_attribute *devattr,
devattr           150 drivers/misc/ics932s401.c 				   struct device_attribute *devattr,
devattr           197 drivers/misc/ics932s401.c 			      struct device_attribute *devattr,
devattr           206 drivers/misc/ics932s401.c 				  struct device_attribute *devattr,
devattr           254 drivers/misc/ics932s401.c 			      struct device_attribute *devattr,
devattr           263 drivers/misc/ics932s401.c 				  struct device_attribute *devattr,
devattr           302 drivers/misc/ics932s401.c 			      struct device_attribute *devattr,
devattr           311 drivers/misc/ics932s401.c 				  struct device_attribute *devattr,
devattr           326 drivers/misc/ics932s401.c 			  struct device_attribute *devattr,
devattr           330 drivers/misc/ics932s401.c 			   struct device_attribute *devattr,
devattr           361 drivers/misc/ics932s401.c 			  struct device_attribute *devattr,
devattr           366 drivers/misc/ics932s401.c 	if (devattr == &dev_attr_usb_clock)
devattr           368 drivers/misc/ics932s401.c 	else if (devattr == &dev_attr_ref_clock)
devattr           377 drivers/misc/ics932s401.c 			   struct device_attribute *devattr,
devattr           387 drivers/misc/ics932s401.c 	if (devattr == &dev_attr_src_spread)
devattr           389 drivers/misc/ics932s401.c 	else if (devattr == &dev_attr_cpu_spread)
devattr          8923 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			      struct device_attribute *devattr, char *buf)
devattr          10824 drivers/net/ethernet/broadcom/tg3.c 			     struct device_attribute *devattr, char *buf)
devattr          10826 drivers/net/ethernet/broadcom/tg3.c 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
devattr           643 drivers/platform/x86/sony-laptop.c 	struct device_attribute devattr;	/* sysfs attribute */
devattr           656 drivers/platform/x86/sony-laptop.c 		.devattr	= __ATTR(_name, 0, sony_nc_sysfs_show, sony_nc_sysfs_store), \
devattr           818 drivers/platform/x86/sony-laptop.c 	struct device_attribute devattr;
devattr           858 drivers/platform/x86/sony-laptop.c 		sysfs_attr_init(&handles->devattr.attr);
devattr           859 drivers/platform/x86/sony-laptop.c 		handles->devattr.attr.name = "handles";
devattr           860 drivers/platform/x86/sony-laptop.c 		handles->devattr.attr.mode = S_IRUGO;
devattr           861 drivers/platform/x86/sony-laptop.c 		handles->devattr.show = sony_nc_handles_show;
devattr           864 drivers/platform/x86/sony-laptop.c 		if (device_create_file(&pd->dev, &handles->devattr)) {
devattr           878 drivers/platform/x86/sony-laptop.c 			device_remove_file(&pd->dev, &handles->devattr);
devattr           961 drivers/platform/x86/sony-laptop.c 	    container_of(attr, struct sony_nc_value, devattr);
devattr           984 drivers/platform/x86/sony-laptop.c 	    container_of(attr, struct sony_nc_value, devattr);
devattr          3234 drivers/platform/x86/sony-laptop.c 				item->devattr.attr.mode |= S_IRUGO;
devattr          3245 drivers/platform/x86/sony-laptop.c 				item->devattr.attr.mode |= S_IWUSR;
devattr          3250 drivers/platform/x86/sony-laptop.c 		if (item->devattr.attr.mode != 0) {
devattr          3253 drivers/platform/x86/sony-laptop.c 					       &item->devattr);
devattr          3264 drivers/platform/x86/sony-laptop.c 		device_remove_file(&sony_pf_device->dev, &item->devattr);
devattr          3290 drivers/platform/x86/sony-laptop.c 		device_remove_file(&sony_pf_device->dev, &item->devattr);
devattr            78 drivers/thermal/intel/int340x_thermal/int3400_thermal.c 				 struct device_attribute *devattr, char *buf)
devattr           279 drivers/thermal/thermal_sysfs.c policy_show(struct device *dev, struct device_attribute *devattr, char *buf)
devattr           287 drivers/thermal/thermal_sysfs.c available_policies_show(struct device *dev, struct device_attribute *devattr,
devattr           322 drivers/thermal/thermal_sysfs.c sustainable_power_show(struct device *dev, struct device_attribute *devattr,
devattr           334 drivers/thermal/thermal_sysfs.c sustainable_power_store(struct device *dev, struct device_attribute *devattr,
devattr           353 drivers/thermal/thermal_sysfs.c 	name##_show(struct device *dev, struct device_attribute *devattr, \
devattr           365 drivers/thermal/thermal_sysfs.c 	name##_store(struct device *dev, struct device_attribute *devattr, \