Lines Matching refs:sensor
227 static int32_t amdtemp_gettemp0f(device_t dev, amdsensor_t sensor);
228 static int32_t amdtemp_gettemp(device_t dev, amdsensor_t sensor);
229 static int32_t amdtemp_gettemp15hm60h(device_t dev, amdsensor_t sensor);
230 static int32_t amdtemp_gettemp17h(device_t dev, amdsensor_t sensor);
600 amdsensor_t sensor; in amdtemp_intrhook() local
619 sensor = sc->sc_ntemps > 1 ? in amdtemp_intrhook()
625 dev, sensor, amdtemp_sysctl, "IK", in amdtemp_intrhook()
654 amdsensor_t sensor = (amdsensor_t)arg2; in amdtemp_sysctl() local
658 switch (sensor) { in amdtemp_sysctl()
670 temp = sc->sc_gettemp(dev, sensor); in amdtemp_sysctl()
681 amdtemp_gettemp0f(device_t dev, amdsensor_t sensor) in amdtemp_gettemp0f() argument
691 switch (sensor) { in amdtemp_gettemp0f()
768 amdtemp_gettemp(device_t dev, amdsensor_t sensor) in amdtemp_gettemp() argument
778 amdtemp_gettemp15hm60h(device_t dev, amdsensor_t sensor) in amdtemp_gettemp15hm60h() argument
790 amdtemp_gettemp17h(device_t dev, amdsensor_t sensor) in amdtemp_gettemp17h() argument
796 switch (sensor) { in amdtemp_gettemp17h()
805 (((int)sensor - CCD_BASE) * sizeof(val)), &val); in amdtemp_gettemp17h()
808 ("sensor %d: not valid", (int)sensor)); in amdtemp_gettemp17h()