STRUCT SCMI_RANGE_ATTRS(9)
π struct scmi_range_attrs(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a lil' struct from the SCMI world and honestly? it's giving range queen π. its whole personality is: "what's the smallest number and what's the biggest number, that's it, that's the vibe." lowkey iconic for how simple it is π
πΈ NAME πΈ
struct scmi_range_attrs β literally just specifies a sensor or axis values' range π¦. no cap, that's the whole job.
β¨ SYNOPSIS β¨
struct scmi_range_attrs {
long long min_range;
long long max_range;
};
two long longs, holding hands, defining a range π«Ά. that's the struct. she's small but she knows what she is π
π Members π
min_rangeβ the minimum value which can be represented by the sensor/axis π. like, the floor. the "you shall not go lower than this" of it all.max_rangeβ the maximum value which can be represented by the sensor/axis π. the ceiling. the "this is as high as we go, bestie" moment.
so yeah, min_range to max_range, and everything in between is fair game β¨. main character energy from both of them tbh.
π¦ SEE ALSO π¦
the whole friend group, fr fr β Kernel file ./include/linux/scmi_protocol.h, plus:
struct scmi_base_info(9)struct scmi_clk_proto_ops(9)struct scmi_perf_proto_ops(9)struct scmi_power_proto_ops(9)struct scmi_sensor_reading(9)struct scmi_sensor_axis_info(9)struct scmi_sensor_intervals_info(9)struct scmi_sensor_info(9)struct scmi_sensor_proto_ops(9)struct scmi_reset_proto_ops(9)struct scmi_voltage_info(9)struct scmi_voltage_proto_ops(9)struct scmi_powercap_info(9)struct scmi_powercap_proto_ops(9)struct scmi_pinctrl_proto_ops(9)struct scmi_notify_ops(9)struct scmi_handle(9)module_scmi_driver(9)module_scmi_protocol(9)
π reminder bestie: this page is filed under ./include/linux, so if you're lost in the source, that's where she lives π§
okay that's the whole page, go slay your sensor ranges π β¨
β signed off from the ./include/linux corner of the universe, Kernel API Manual, dated October 2026 ππ¦π periodt
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms