Home
last modified time | relevance | path

Searched refs:ntrips (Results 1 – 6 of 6) sorted by relevance

/drivers/thermal/
Dthermal_of.c235 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init() argument
260 *ntrips = count; in thermal_of_trips_init()
275 *ntrips = 0; in thermal_of_trips_init()
600 int ntrips, mask; in thermal_of_zone_register() local
615 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register()
643 mask = GENMASK_ULL((ntrips) - 1, 0); in thermal_of_zone_register()
645 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips, in thermal_of_zone_register()
Duniphier_thermal.c252 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()
Dthermal_core.c1342 struct thermal_zone_device *thermal_zone_device_register(const char *type, int ntrips, int mask, in thermal_zone_device_register() argument
1347 return thermal_zone_device_register_with_trips(type, NULL, ntrips, mask, in thermal_zone_device_register()
/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c303 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()
/drivers/thermal/tegra/
Dsoctherm.c692 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()
/drivers/thermal/samsung/
Dexynos_tmu.c299 int i, ntrips = in exynos_tmu_initialize() local
305 for (i = 0; i < ntrips; i++) { in exynos_tmu_initialize()