Lines Matching refs:sr
606 static void rm31_new_sensor(struct wf_sensor *sr) in rm31_new_sensor() argument
610 if (!strcmp(sr->name, "cpu-diode-temp-0")) in rm31_new_sensor()
611 sens_cpu_temp[0] = sr; in rm31_new_sensor()
612 else if (!strcmp(sr->name, "cpu-diode-temp-1")) in rm31_new_sensor()
613 sens_cpu_temp[1] = sr; in rm31_new_sensor()
614 else if (!strcmp(sr->name, "cpu-voltage-0")) in rm31_new_sensor()
615 sens_cpu_volts[0] = sr; in rm31_new_sensor()
616 else if (!strcmp(sr->name, "cpu-voltage-1")) in rm31_new_sensor()
617 sens_cpu_volts[1] = sr; in rm31_new_sensor()
618 else if (!strcmp(sr->name, "cpu-current-0")) in rm31_new_sensor()
619 sens_cpu_amps[0] = sr; in rm31_new_sensor()
620 else if (!strcmp(sr->name, "cpu-current-1")) in rm31_new_sensor()
621 sens_cpu_amps[1] = sr; in rm31_new_sensor()
622 else if (!strcmp(sr->name, "backside-temp")) in rm31_new_sensor()
623 backside_temp = sr; in rm31_new_sensor()
624 else if (!strcmp(sr->name, "slots-temp")) in rm31_new_sensor()
625 slots_temp = sr; in rm31_new_sensor()
626 else if (!strcmp(sr->name, "dimms-temp")) in rm31_new_sensor()
627 dimms_temp = sr; in rm31_new_sensor()