• Home
  • Raw
  • Download

Lines Matching refs:sattr

1874 	struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr);  in show_in_reg()  local
1875 int index = sattr->index; in show_in_reg()
1876 int nr = sattr->nr; in show_in_reg()
1886 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_in_reg() local
1887 int index = sattr->index; in store_in_reg()
1888 int nr = sattr->nr; in store_in_reg()
1907 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_alarm() local
1908 int nr = data->ALARM_BITS[sattr->index]; in show_alarm()
1933 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_temp_alarm() local
1942 nr = find_temp_source(data, sattr->index, data->num_temp_alarms); in show_temp_alarm()
1954 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_beep() local
1956 int nr = data->BEEP_BITS[sattr->index]; in show_beep()
1966 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_beep() local
1968 int nr = data->BEEP_BITS[sattr->index]; in store_beep()
1993 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_temp_beep() local
2003 nr = find_temp_source(data, sattr->index, data->num_temp_beeps); in show_temp_beep()
2016 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp_beep() local
2028 nr = find_temp_source(data, sattr->index, data->num_temp_beeps); in store_temp_beep()
2092 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_fan() local
2093 int nr = sattr->index; in show_fan()
2102 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_fan_min() local
2103 int nr = sattr->index; in show_fan_min()
2114 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_fan_div() local
2115 int nr = sattr->index; in show_fan_div()
2125 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_fan_min() local
2126 int nr = sattr->index; in store_fan_min()
2218 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_fan_pulses() local
2219 int p = data->fan_pulses[sattr->index]; in show_fan_pulses()
2229 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_fan_pulses() local
2230 int nr = sattr->index; in store_fan_pulses()
2314 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_temp_label() local
2315 int nr = sattr->index; in show_temp_label()
2324 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp() local
2325 int nr = sattr->nr; in show_temp()
2326 int index = sattr->index; in show_temp()
2336 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp() local
2337 int nr = sattr->nr; in store_temp()
2338 int index = sattr->index; in store_temp()
2358 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_temp_offset() local
2360 return sprintf(buf, "%d\n", data->temp_offset[sattr->index] * 1000); in show_temp_offset()
2368 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_temp_offset() local
2369 int nr = sattr->index; in store_temp_offset()
2391 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_temp_type() local
2392 int nr = sattr->index; in show_temp_type()
2402 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_temp_type() local
2403 int nr = sattr->index; in store_temp_type()
2526 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_pwm_mode() local
2528 return sprintf(buf, "%d\n", data->pwm_mode[sattr->index]); in show_pwm_mode()
2536 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_pwm_mode() local
2537 int nr = sattr->index; in store_pwm_mode()
2571 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_pwm() local
2572 int nr = sattr->nr; in show_pwm()
2573 int index = sattr->index; in show_pwm()
2593 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_pwm() local
2594 int nr = sattr->nr; in store_pwm()
2595 int index = sattr->index; in store_pwm()
2686 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_pwm_enable() local
2688 return sprintf(buf, "%d\n", data->pwm_enable[sattr->index]); in show_pwm_enable()
2696 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_pwm_enable() local
2697 int nr = sattr->index; in store_pwm_enable()
2757 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_pwm_temp_sel() local
2758 int index = sattr->index; in show_pwm_temp_sel()
2768 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_pwm_temp_sel() local
2769 int nr = sattr->index; in store_pwm_temp_sel()
2798 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_pwm_weight_temp_sel() local
2799 int index = sattr->index; in show_pwm_weight_temp_sel()
2810 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_pwm_weight_temp_sel() local
2811 int nr = sattr->index; in store_pwm_weight_temp_sel()
2848 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_target_temp() local
2850 return sprintf(buf, "%d\n", data->target_temp[sattr->index] * 1000); in show_target_temp()
2858 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_target_temp() local
2859 int nr = sattr->index; in store_target_temp()
2881 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_target_speed() local
2882 int nr = sattr->index; in show_target_speed()
2894 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_target_speed() local
2895 int nr = sattr->index; in store_target_speed()
2919 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_temp_tolerance() local
2920 int nr = sattr->nr; in show_temp_tolerance()
2921 int index = sattr->index; in show_temp_tolerance()
2931 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_temp_tolerance() local
2932 int nr = sattr->nr; in store_temp_tolerance()
2933 int index = sattr->index; in store_temp_tolerance()
2968 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in show_speed_tolerance() local
2969 int nr = sattr->index; in show_speed_tolerance()
2996 struct sensor_device_attribute *sattr = to_sensor_dev_attr(attr); in store_speed_tolerance() local
2997 int nr = sattr->index; in store_speed_tolerance()
3048 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_weight_temp() local
3049 int nr = sattr->nr; in show_weight_temp()
3050 int index = sattr->index; in show_weight_temp()
3060 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_weight_temp() local
3061 int nr = sattr->nr; in store_weight_temp()
3062 int index = sattr->index; in store_weight_temp()
3096 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_fan_time() local
3097 int nr = sattr->nr; in show_fan_time()
3098 int index = sattr->index; in show_fan_time()
3110 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_fan_time() local
3111 int nr = sattr->nr; in store_fan_time()
3112 int index = sattr->index; in store_fan_time()
3132 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_auto_pwm() local
3134 return sprintf(buf, "%d\n", data->auto_pwm[sattr->nr][sattr->index]); in show_auto_pwm()
3142 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_auto_pwm() local
3143 int nr = sattr->nr; in store_auto_pwm()
3144 int point = sattr->index; in store_auto_pwm()
3215 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in show_auto_temp() local
3216 int nr = sattr->nr; in show_auto_temp()
3217 int point = sattr->index; in show_auto_temp()
3231 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in store_auto_temp() local
3232 int nr = sattr->nr; in store_auto_temp()
3233 int point = sattr->index; in store_auto_temp()