/linux-master/drivers/hwmon/ |
H A D | max197.c | 89 struct device_attribute *devattr, char *buf) 92 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 116 struct device_attribute *devattr, 120 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 171 struct device_attribute *devattr, 175 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 88 max197_show_range(struct device *dev, struct device_attribute *devattr, char *buf) argument 115 max197_store_range(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 170 max197_show_input(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | w83627hf.c | 1007 in_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1009 int nr = to_sensor_dev_attr(devattr)->index; 1015 in_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1017 int nr = to_sensor_dev_attr(devattr)->index; 1023 in_min_store(struct device *dev, struct device_attribute *devattr, argument 1026 int nr = to_sensor_dev_attr(devattr)->index; 1043 in_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1045 int nr = to_sensor_dev_attr(devattr)->index; 1051 in_max_store(struct device *dev, struct device_attribute *devattr, argument 1054 int nr = to_sensor_dev_attr(devattr) 1096 fan_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1106 fan_min_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1115 fan_min_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1144 fan_div_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1159 fan_div_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1204 temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1215 temp_max_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1226 temp_max_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1248 temp_max_hyst_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1260 temp_max_hyst_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1292 temp_type_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1301 temp_type_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1429 pwm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1437 pwm_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1475 name_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1517 pwm_freq_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1530 pwm_freq_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 1603 pwm_enable_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 1612 pwm_enable_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument [all...] |
H A D | amc6821.c | 267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument 271 int ix = to_sensor_dev_attr(devattr)->index; 300 struct device_attribute *devattr, char *buf) 303 int ix = to_sensor_dev_attr(devattr)->index; 336 struct device_attribute *devattr, char *buf) 345 static ssize_t pwm1_show(struct device *dev, struct device_attribute *devattr, argument 353 struct device_attribute *devattr, const char *buf, 371 struct device_attribute *devattr, char *buf) 425 struct device_attribute *devattr, 433 struct device_attribute *devattr, 299 temp_alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 335 temp2_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 352 pwm1_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 370 pwm1_enable_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 424 pwm1_auto_channels_temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 432 temp_auto_point_temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 452 pwm1_auto_point_pwm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 592 fan_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 602 fan1_fault_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 642 fan1_div_show(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | coretemp.c | 342 struct device_attribute *devattr, char *buf) 345 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_LABEL]); 354 struct device_attribute *devattr, char *buf) 357 struct temp_data *tdata = container_of(devattr, struct temp_data, 368 struct device_attribute *devattr, char *buf) 370 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TJMAX]); 381 struct device_attribute *devattr, char *buf) 383 struct temp_data *tdata = container_of(devattr, struct temp_data, sd_attrs[ATTR_TTARGET]); 396 struct device_attribute *devattr, char *buf) 399 struct temp_data *tdata = container_of(devattr, struc 341 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument 353 show_crit_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 367 show_tjmax(struct device *dev, struct device_attribute *devattr, char *buf) argument 380 show_ttarget(struct device *dev, struct device_attribute *devattr, char *buf) argument 395 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | ibmaem.c | 108 struct device_attribute *devattr, 116 struct device_attribute *devattr, 119 struct device_attribute *devattr, 807 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, argument 818 struct device_attribute *devattr, char *buf) 828 struct device_attribute *devattr, 831 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 862 struct device_attribute *devattr, 865 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 877 struct device_attribute *devattr, 817 version_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 827 aem_show_power(struct device *dev, struct device_attribute *devattr, char *buf) argument 861 aem_show_energy(struct device *dev, struct device_attribute *devattr, char *buf) argument 876 aem_show_power_period(struct device *dev, struct device_attribute *devattr, char *buf) argument 888 aem_set_power_period(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 969 aem2_show_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 981 aem2_show_pcap_value(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | lm63.c | 331 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, argument 334 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 361 static ssize_t show_pwm1(struct device *dev, struct device_attribute *devattr, argument 364 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 379 static ssize_t set_pwm1(struct device *dev, struct device_attribute *devattr, argument 382 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 457 struct device_attribute *devattr, 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 466 struct device_attribute *devattr, 469 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 456 show_local_temp8(struct device *dev, struct device_attribute *devattr, char *buf) argument 465 show_remote_temp8(struct device *dev, struct device_attribute *devattr, char *buf) argument 475 show_lut_temp(struct device *dev, struct device_attribute *devattr, char *buf) argument 485 set_temp8(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 524 show_temp11(struct device *dev, struct device_attribute *devattr, char *buf) argument 550 set_temp11(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 600 show_lut_temp_hyst(struct device *dev, struct device_attribute *devattr, char *buf) argument 730 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | via-cputemp.c | 50 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, argument 54 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 64 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument 79 struct device_attribute *devattr, char *buf) 78 cpu0_vid_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | acpi_power_meter.c | 100 struct device_attribute *devattr, 103 struct device_attribute *devattr, 127 struct device_attribute *devattr, 141 struct device_attribute *devattr, 201 struct device_attribute *devattr, 214 static ssize_t set_cap(struct device *dev, struct device_attribute *devattr, argument 289 static ssize_t set_trip(struct device *dev, struct device_attribute *devattr, argument 292 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 342 struct device_attribute *devattr, 360 struct device_attribute *devattr, 126 show_avg_interval(struct device *dev, struct device_attribute *devattr, char *buf) argument 140 set_avg_interval(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 200 show_cap(struct device *dev, struct device_attribute *devattr, char *buf) argument 341 show_power(struct device *dev, struct device_attribute *devattr, char *buf) argument 359 show_str(struct device *dev, struct device_attribute *devattr, char *buf) argument 391 show_val(struct device *dev, struct device_attribute *devattr, char *buf) argument 447 show_accuracy(struct device *dev, struct device_attribute *devattr, char *buf) argument 458 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | abituguru3.c | 826 struct device_attribute *devattr, char *buf) 829 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 859 struct device_attribute *devattr, char *buf) 862 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 884 struct device_attribute *devattr, char *buf) 886 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 896 struct device_attribute *devattr, char *buf) 898 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 905 struct device_attribute *devattr, char *buf) 825 show_value(struct device *dev, struct device_attribute *devattr, char *buf) argument 858 show_alarm(struct device *dev, struct device_attribute *devattr, char *buf) argument 883 show_mask(struct device *dev, struct device_attribute *devattr, char *buf) argument 895 show_label(struct device *dev, struct device_attribute *devattr, char *buf) argument 904 show_name(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | gsc-hwmon.c | 54 struct device_attribute *devattr, 58 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 72 struct device_attribute *devattr, 76 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 98 struct device_attribute *devattr, 101 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 53 pwm_auto_point_temp_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 71 pwm_auto_point_temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 97 pwm_auto_point_pwm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | ibmpowernv.c | 97 static ssize_t show_sensor(struct device *dev, struct device_attribute *devattr, argument 100 struct sensor_data *sdata = container_of(devattr, struct sensor_data, 124 struct device_attribute *devattr, char *buf) 126 struct sensor_data *sdata = container_of(devattr, struct sensor_data, 133 struct device_attribute *devattr, 136 struct sensor_data *sdata = container_of(devattr, struct sensor_data, 163 static ssize_t show_label(struct device *dev, struct device_attribute *devattr, argument 166 struct sensor_data *sdata = container_of(devattr, struct sensor_data, 123 show_enable(struct device *dev, struct device_attribute *devattr, char *buf) argument 132 store_enable(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
|
H A D | smsc47b397.c | 159 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument 162 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 183 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, argument 186 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
|
H A D | max1619.c | 139 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument 142 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 149 struct device_attribute *devattr, const char *buf, 152 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 148 temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
|
H A D | max6697.c | 252 struct device_attribute *devattr, char *buf) 254 int index = to_sensor_dev_attr(devattr)->index; 267 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument 270 int nr = to_sensor_dev_attr_2(devattr)->nr; 271 int index = to_sensor_dev_attr_2(devattr)->index; 300 struct device_attribute *devattr, const char *buf, 303 int nr = to_sensor_dev_attr_2(devattr)->nr; 304 int index = to_sensor_dev_attr_2(devattr)->index; 326 static ssize_t offset_store(struct device *dev, struct device_attribute *devattr, const char *buf, argument 334 index = to_sensor_dev_attr(devattr) 251 temp_input_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 299 temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument 371 offset_show(struct device *dev, struct device_attribute *devattr, char *buf) argument [all...] |
H A D | max6650.c | 298 struct device_attribute *devattr, char *buf) 300 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 326 struct device_attribute *devattr; local 332 devattr = container_of(a, struct device_attribute, attr); 333 if (devattr == &sensor_dev_attr_gpio1_alarm.dev_attr || 334 devattr == &sensor_dev_attr_gpio2_alarm.dev_attr) { 335 if (!(data->alarm_en & to_sensor_dev_attr(devattr)->index)) 297 alarm_show(struct device *dev, struct device_attribute *devattr, char *buf) argument
|
H A D | max31760.c | 412 struct device_attribute *devattr, char *buf) 414 struct sensor_device_attribute *sda = to_sensor_dev_attr(devattr); 427 struct device_attribute *devattr, 430 struct sensor_device_attribute *sda = to_sensor_dev_attr(devattr); 411 lut_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 426 lut_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
|
H A D | w83l785ts.c | 112 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument 115 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
|
H A D | w83627ehf.c | 1113 struct device_attribute *devattr; local 1116 devattr = container_of(a, struct device_attribute, attr); 1119 if (devattr->show == cpu0_vid_show && data->have_vid) 1122 sda = (struct sensor_device_attribute *)devattr; 1125 (devattr->show == show_fan_stop_time || 1126 devattr->show == show_fan_start_output || 1127 devattr->show == show_fan_stop_output)) 1131 (devattr->show == show_fan_max_output || 1132 devattr->show == show_fan_step_output) && 1140 (devattr [all...] |
H A D | ibmpex.c | 259 static ssize_t name_show(struct device *dev, struct device_attribute *devattr, argument 267 struct device_attribute *devattr, 270 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); 280 struct device_attribute *devattr, 266 ibmpex_show_sensor(struct device *dev, struct device_attribute *devattr, char *buf) argument 279 ibmpex_high_low_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
|
H A D | lm80.c | 401 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, argument 404 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 412 struct device_attribute *devattr, const char *buf, 415 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 411 temp_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
|
H A D | hwmon.c | 315 struct device_attribute *devattr, char *buf) 317 struct hwmon_device_attribute *hattr = to_hwmon_attr(devattr); 333 struct device_attribute *devattr, 336 struct hwmon_device_attribute *hattr = to_hwmon_attr(devattr); 353 struct device_attribute *devattr, 356 struct hwmon_device_attribute *hattr = to_hwmon_attr(devattr); 314 hwmon_attr_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 332 hwmon_attr_show_string(struct device *dev, struct device_attribute *devattr, char *buf) argument 352 hwmon_attr_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | Makefile | 11 pvrusb2-ctrl.o pvrusb2-std.o pvrusb2-devattr.o \
|
/linux-master/drivers/memory/ |
H A D | bt1-l2-ctl.c | 216 struct l2_ctl_device_attribute *devattr = to_l2_ctl_dev_attr(attr); local 221 ret = l2_ctl_get_latency(l2, devattr->id, &data); 232 struct l2_ctl_device_attribute *devattr = to_l2_ctl_dev_attr(attr); local 240 ret = l2_ctl_set_latency(l2, devattr->id, data);
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | isl68137.c | 126 struct device_attribute *devattr, 130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 136 struct device_attribute *devattr, 140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); 125 isl68137_avs_enable_show(struct device *dev, struct device_attribute *devattr, char *buf) argument 135 isl68137_avs_enable_store(struct device *dev, struct device_attribute *devattr, const char *buf, size_t count) argument
|
/linux-master/drivers/input/touchscreen/ |
H A D | sun4i-ts.c | 204 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, argument 219 struct device_attribute *devattr, char *buf) 218 show_temp_label(struct device *dev, struct device_attribute *devattr, char *buf) argument
|