Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/thermal/
Dintel_pch_thermal.c69 static int pch_wpt_init(struct pch_thermal_device *ptd, int *nr_trips) in pch_wpt_init() argument
74 *nr_trips = 0; in pch_wpt_init()
104 ++(*nr_trips); in pch_wpt_init()
113 ptd->hot_trip_id = *nr_trips; in pch_wpt_init()
114 ++(*nr_trips); in pch_wpt_init()
133 int (*hw_init)(struct pch_thermal_device *ptd, int *nr_trips);
192 int nr_trips; in intel_pch_thermal_probe() local
231 err = ptd->ops->hw_init(ptd, &nr_trips); in intel_pch_thermal_probe()
235 ptd->tzd = thermal_zone_device_register(dev_name, nr_trips, 0, ptd, in intel_pch_thermal_probe()