Searched refs:ch_thermal (Results 1 – 2 of 2) sorted by relevance
40 struct ch_thermal *ch_thermal = &adap->ch_thermal; in cxgb4_thermal_init() local62 ch_thermal->tzdev = thermal_zone_device_register_with_trips(ch_tz_name, &trip, num_trip, in cxgb4_thermal_init()66 if (IS_ERR(ch_thermal->tzdev)) { in cxgb4_thermal_init()67 ret = PTR_ERR(ch_thermal->tzdev); in cxgb4_thermal_init()69 ch_thermal->tzdev = NULL; in cxgb4_thermal_init()73 ret = thermal_zone_device_enable(ch_thermal->tzdev); in cxgb4_thermal_init()76 thermal_zone_device_unregister(adap->ch_thermal.tzdev); in cxgb4_thermal_init()85 if (adap->ch_thermal.tzdev) { in cxgb4_thermal_remove()86 thermal_zone_device_unregister(adap->ch_thermal.tzdev); in cxgb4_thermal_remove()87 adap->ch_thermal.tzdev = NULL; in cxgb4_thermal_remove()
1080 struct ch_thermal { struct1225 struct ch_thermal ch_thermal; member