thermal_zone_device_ops
Regular
4.4
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
4.8
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
4.10
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
4.13
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
4.15
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
4.18
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
5.0
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
5.3
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
5.4
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
5.8
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
5.11
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
void (*hot)(struct thermal_zone_device *);
void (*critical)(struct thermal_zone_device *);
};
5.13
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
void (*hot)(struct thermal_zone_device *);
void (*critical)(struct thermal_zone_device *);
};
5.15
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
void (*hot)(struct thermal_zone_device *);
void (*critical)(struct thermal_zone_device *);
};
5.19
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
void (*hot)(struct thermal_zone_device *);
void (*critical)(struct thermal_zone_device *);
};
6.2
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
void (*hot)(struct thermal_zone_device *);
void (*critical)(struct thermal_zone_device *);
};
6.5
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
void (*hot)(struct thermal_zone_device *);
void (*critical)(struct thermal_zone_device *);
};
6.8
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, const struct thermal_trip *, enum thermal_trend *);
void (*hot)(struct thermal_zone_device *);
void (*critical)(struct thermal_zone_device *);
};
arm64
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
armhf
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
ppc64el
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
riscv64
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
aws
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
azure
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
gcp
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
lowlatency
: ✅struct thermal_zone_device_ops {
int (*bind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*unbind)(struct thermal_zone_device *, struct thermal_cooling_device *);
int (*get_temp)(struct thermal_zone_device *, int *);
int (*set_trips)(struct thermal_zone_device *, int, int);
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *);
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode);
int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *);
int (*get_trip_temp)(struct thermal_zone_device *, int, int *);
int (*set_trip_temp)(struct thermal_zone_device *, int, int);
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *);
int (*set_trip_hyst)(struct thermal_zone_device *, int, int);
int (*get_crit_temp)(struct thermal_zone_device *, int *);
int (*set_emul_temp)(struct thermal_zone_device *, int);
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *);
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type);
};
Regular
4.4
and 4.8
✅
4.8
and 4.10
⚠️int (*set_trips)(struct thermal_zone_device *, int, int)
4.10
and 4.13
✅
4.13
and 4.15
✅
4.15
and 4.18
✅
4.18
and 5.0
✅
5.0
and 5.3
✅
5.3
and 5.4
✅
5.4
and 5.8
✅
5.8
and 5.11
⚠️int (*change_mode)(struct thermal_zone_device *, enum thermal_device_mode)
void (*hot)(struct thermal_zone_device *)
void (*critical)(struct thermal_zone_device *)
int (*get_mode)(struct thermal_zone_device *, enum thermal_device_mode *)
int (*set_mode)(struct thermal_zone_device *, enum thermal_device_mode)
int (*notify)(struct thermal_zone_device *, int, enum thermal_trip_type)
5.11
and 5.13
✅
5.13
and 5.15
✅
5.15
and 5.19
✅
5.19
and 6.2
✅
6.2
and 6.5
✅
6.5
and 6.8
⚠️int (*get_trip_type)(struct thermal_zone_device *, int, enum thermal_trip_type *)
int (*get_trip_temp)(struct thermal_zone_device *, int, int *)
int (*get_trip_hyst)(struct thermal_zone_device *, int, int *)
int (*get_trend)(struct thermal_zone_device *, int, enum thermal_trend *)
➡️ int (*get_trend)(struct thermal_zone_device *, const struct thermal_trip *, enum thermal_trend *)
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅