Searched refs:ntrips (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | thermal_of.c | 58 * @ntrips: number of trip points 59 * @trips: an array of trip points (0..ntrips - 1) 73 int ntrips; member 126 return data->ntrips; in of_thermal_get_ntrips() 144 if (!data || trip >= data->ntrips || trip < 0) in of_thermal_is_trip_valid() 278 if (trip >= data->ntrips || trip < 0) in of_thermal_get_trip_type() 291 if (trip >= data->ntrips || trip < 0) in of_thermal_get_trip_temp() 304 if (trip >= data->ntrips || trip < 0) in of_thermal_set_trip_temp() 326 if (trip >= data->ntrips || trip < 0) in of_thermal_get_trip_hyst() 339 if (trip >= data->ntrips || tri in of_thermal_set_trip_hyst() 676 thermal_of_populate_bind_params(struct device_node *np, struct __thermal_bind_params *__tbp, struct thermal_trip *trips, int ntrips) thermal_of_populate_bind_params() argument [all...] |
H A 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()
|
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | thermal_of.c | 123 static struct thermal_trip *thermal_of_trips_init(struct device_node *np, int *ntrips) in thermal_of_trips_init() argument 148 *ntrips = count; in thermal_of_trips_init() 163 *ntrips = 0; in thermal_of_trips_init() 479 int ntrips, mask; in thermal_of_zone_register() local 494 trips = thermal_of_trips_init(np, &ntrips); in thermal_of_zone_register() 512 mask = GENMASK_ULL((ntrips) - 1, 0); in thermal_of_zone_register() 514 tz = thermal_zone_device_register_with_trips(np->name, trips, ntrips, in thermal_of_zone_register()
|
/kernel/linux/linux-5.10/drivers/thermal/qcom/ |
H A D | qcom-spmi-temp-alarm.c | 278 int ntrips; in qpnp_tm_get_critical_trip_temp() local 282 ntrips = of_thermal_get_ntrips(chip->tz_dev); in qpnp_tm_get_critical_trip_temp() 283 if (ntrips <= 0) in qpnp_tm_get_critical_trip_temp() 290 for (i = 0; i < ntrips; i++) { in qpnp_tm_get_critical_trip_temp()
|
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
H A D | soctherm.c | 725 int ntrips, i, ret; in get_hot_temp() local 728 ntrips = of_thermal_get_ntrips(tz); in get_hot_temp() 729 if (ntrips <= 0) in get_hot_temp() 732 for (i = 0; i < ntrips; i++) { in get_hot_temp()
|
/kernel/linux/linux-5.10/drivers/thermal/samsung/ |
H A D | exynos_tmu.c | 299 int i, ntrips = in exynos_tmu_initialize() local 305 for (i = 0; i < ntrips; i++) { in exynos_tmu_initialize()
|
/kernel/linux/linux-6.6/drivers/thermal/samsung/ |
H A D | exynos_tmu.c | 290 int i, ntrips = in exynos_tmu_initialize() local 296 for (i = 0; i < ntrips; i++) { in exynos_tmu_initialize()
|
Completed in 10 milliseconds