Searched refs:ntrips (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/thermal/ |
D | thermal_of.c | 233 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init() argument 258 *ntrips = count; in thermal_of_trips_init() 273 *ntrips = 0; in thermal_of_trips_init() 596 int ntrips, mask; in thermal_of_zone_register() local 611 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register() 639 mask = GENMASK_ULL((ntrips) - 1, 0); in thermal_of_zone_register() 641 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips, in thermal_of_zone_register()
|
D | uniphier_thermal.c | 252 int i, ret, irq, ntrips, crit_temp = INT_MAX; in uniphier_tm_probe() local 301 ntrips = of_thermal_get_ntrips(tdev->tz_dev); in uniphier_tm_probe() 302 if (ntrips > ALERT_CH_NUM) { in uniphier_tm_probe() 308 for (i = 0; i < ntrips; i++) { in uniphier_tm_probe()
|
D | thermal_core.c | 1336 struct thermal_zone_device *thermal_zone_device_register(const char *type, int ntrips, int mask, in thermal_zone_device_register() argument 1341 return thermal_zone_device_register_with_trips(type, NULL, ntrips, mask, in thermal_zone_device_register()
|
/linux-6.1.9/drivers/thermal/qcom/ |
D | qcom-spmi-temp-alarm.c | 303 int ntrips; in qpnp_tm_get_critical_trip_temp() local 307 ntrips = of_thermal_get_ntrips(chip->tz_dev); in qpnp_tm_get_critical_trip_temp() 308 if (ntrips <= 0) in qpnp_tm_get_critical_trip_temp() 315 for (i = 0; i < ntrips; i++) { in qpnp_tm_get_critical_trip_temp()
|
/linux-6.1.9/drivers/thermal/tegra/ |
D | soctherm.c | 692 int ntrips, i, ret; in get_hot_temp() local 695 ntrips = of_thermal_get_ntrips(tz); in get_hot_temp() 696 if (ntrips <= 0) in get_hot_temp() 699 for (i = 0; i < ntrips; i++) { in get_hot_temp()
|
/linux-6.1.9/drivers/thermal/samsung/ |
D | exynos_tmu.c | 299 int i, ntrips = in exynos_tmu_initialize() local 305 for (i = 0; i < ntrips; i++) { in exynos_tmu_initialize()
|