Lines Matching refs:nr_trips
82 int *nr_trips) in pch_wpt_add_acpi_psv_trip() argument
101 ptd->psv_trip_id = *nr_trips; in pch_wpt_add_acpi_psv_trip()
102 ++(*nr_trips); in pch_wpt_add_acpi_psv_trip()
109 int *nr_trips) in pch_wpt_add_acpi_psv_trip() argument
116 static int pch_wpt_init(struct pch_thermal_device *ptd, int *nr_trips) in pch_wpt_init() argument
121 *nr_trips = 0; in pch_wpt_init()
153 ++(*nr_trips); in pch_wpt_init()
162 ptd->hot_trip_id = *nr_trips; in pch_wpt_init()
163 ++(*nr_trips); in pch_wpt_init()
166 pch_wpt_add_acpi_psv_trip(ptd, nr_trips); in pch_wpt_init()
212 int (*hw_init)(struct pch_thermal_device *ptd, int *nr_trips);
314 int nr_trips; in intel_pch_thermal_probe() local
344 err = ptd->ops->hw_init(ptd, &nr_trips); in intel_pch_thermal_probe()
348 ptd->tzd = thermal_zone_device_register(bi->name, nr_trips, 0, ptd, in intel_pch_thermal_probe()