STRUCT SCMI_RANGE_ATTRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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