Home
last modified time | relevance | path

Searched refs:tsensors (Results 1 – 3 of 3) sorted by relevance

/src/sys/arm64/qoriq/
H A Dqoriq_therm.c79 struct tsensor *tsensors; member
173 struct tsensor *tsensors; member
246 return(qoriq_therm_read_temp(sc, sc->tsensors + id, val)); in qoriq_therm_get_temp()
266 rv = qoriq_therm_read_temp(sc, sc->tsensors + id, &val); in qoriq_therm_sysctl_temperature()
292 SYSCTL_CHILDREN(oid), OID_AUTO, sc->tsensors[i].name, in qoriq_therm_init_sysctl()
415 sc->tsensors = default_sensors; in qoriq_therm_attach()
418 sc->tsensors = soc->tsensors; in qoriq_therm_attach()
437 WR4(sc, TMUV2_TMSAR(sc->tsensors[i].site_id), 0xE); in qoriq_therm_attach()
451 sites |= 1 << (15 - sc->tsensors[i].site_id); in qoriq_therm_attach()
455 sites |= 1 << sc->tsensors[i].site_id; in qoriq_therm_attach()
/src/sys/arm64/rockchip/
H A Drk_tsadc.c127 struct tsensor *tsensors; member
201 .tsensors = rk3288_tsensors,
255 .tsensors = rk3328_tsensors,
311 .tsensors = rk3399_tsensors,
368 .tsensors = rk3568_tsensors,
601 if (sc->conf->tsensors->id == id) { in tsadc_get_temp()
602 rv =tsadc_read_temp(sc, sc->conf->tsensors + id, val); in tsadc_get_temp()
626 rv = tsadc_read_temp(sc, sc->conf->tsensors + id, &val); in tsadc_sysctl_temperature()
653 SYSCTL_CHILDREN(oid), OID_AUTO, sc->conf->tsensors[i].name, in tsadc_init_sysctl()
807 tsadc_init_tsensor(sc, sc->conf->tsensors + i); in tsadc_attach()
/src/sys/arm/nvidia/
H A Dtegra_soctherm.c185 struct tsensor *tsensors; member
275 .tsensors = t124_tsensors,
364 .tsensors = t210_tsensors,
613 return(soctherm_read_temp(sc, sc->soc->tsensors + id, val)); in soctherm_get_temp()
617 if (sc->soc->tsensors->id == id) { in soctherm_get_temp()
618 return(soctherm_read_temp(sc, sc->soc->tsensors + id, in soctherm_get_temp()
642 rv = soctherm_read_temp(sc, sc->soc->tsensors + id, &val); in soctherm_sysctl_temperature()
669 SYSCTL_CHILDREN(oid), OID_AUTO, sc->soc->tsensors[i].name, in soctherm_init_sysctl()
774 soctherm_init_tsensor(sc, sc->soc->tsensors + i); in soctherm_attach()