Home
last modified time | relevance | path

Searched refs:ch_thermal (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_thermal.c37 if (!adap->ch_thermal.trip_temp) in cxgb4_thermal_get_trip_type()
40 *type = adap->ch_thermal.trip_type; in cxgb4_thermal_get_trip_type()
49 if (!adap->ch_thermal.trip_temp) in cxgb4_thermal_get_trip_temp()
52 *temp = adap->ch_thermal.trip_temp; in cxgb4_thermal_get_trip_temp()
64 struct ch_thermal *ch_thermal = &adap->ch_thermal; in cxgb4_thermal_init() local
82 ch_thermal->trip_temp = val * 1000; in cxgb4_thermal_init()
83 ch_thermal->trip_type = THERMAL_TRIP_CRITICAL; in cxgb4_thermal_init()
87 ch_thermal in cxgb4_thermal_init()
[all...]
H A Dcxgb4.h1082 struct ch_thermal { struct
1229 struct ch_thermal ch_thermal; member
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_thermal.c40 struct ch_thermal *ch_thermal = &adap->ch_thermal; in cxgb4_thermal_init() local
62 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 in cxgb4_thermal_remove()
[all...]
H A Dcxgb4.h1080 struct ch_thermal { struct
1225 struct ch_thermal ch_thermal; member

Completed in 11 milliseconds