STRUCT HID_SENSOR_HUB_CALLBACKS_LIST(9)
π struct hid_s...llbacks_list(9) π
okay so this is a page from the Kernel API Manual β yes bestie, the kernel has lore too, and this particular entry is about struct hid_s...llbacks_list. the name got a lil truncated in the header (iykyk), but it's really struct hid_sensor_hub_callbacks_list. let's get into it π«Ά
β¨ NAME β¨
struct hid_sensor_hub_callbacks_list β literally just stores a callback list. that's the whole job. it's giving very "i hold things" energy π
π¦ SYNOPSIS π¦
struct hid_sensor_hub_callbacks_list {
struct list_head list;
u32 usage_id;
struct hid_sensor_hub_device *hsdev;
struct hid_sensor_hub_callbacks *usage_callback;
void *priv;
};
that's the whole struct, no cap. now let's meet the members one by one π
πΈ Members πΈ
listβ the list head. the anchor point. the main character of this list situation β¨usage_idβ the usage id for a physical device. it's the little ID badge that tells you which physical device we're talking about π₯hsdevβ stores the hid instance for the current hub device. like a lil saved reference to the hub it belongs to π§usage_callbackβ stores the registered callback functions. this is where the actual "call me back later bestie" lives πprivβ private data for a physical device. it'svoid *, so it's mysterious on purpose, respect it π
fr fr, everything here is a member of the struct above β don't go looking for extra fields, there are none, periodt.
π SEE ALSO π
- Kernel file
./drivers/hid/hid-sensor-hub.c struct sensor_hub_data(9)
okay that's the whole page, you ate that π this was brought to you from ./drivers/hid, dated October 2026, and yes β it's still the struct hid_s...llbacks_list(9) page, same truncated icon, same fine print β¨π see you in the next one bestie π
π¦ 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