st_sensors_dev_name_probe(9)
π st_sensors_dev_name_probe(9)
okay so bestie, welcome to the Kernel API Manual β¨ this is st_sensors_dev_name_probe(9) and she's lowkey a little legend, so let's get into it π«Ά
β¨ NAME β¨
st_sensors_dev_name_probe β the device probe for ST sensor name π
β¨ SYNOPSIS β¨
void st_sensors_dev_name_probe (struct device *dev , char *name , int
len );
no cap, that's the whole signature, she's not complicated π
β¨ ARGUMENTS β¨
devβ the driver model representation of the device. yes ma'am, this is the device's whole vibe in the driver model πΈnameβ a reference to the device name buffer. it's giving "here's where the name goes" π¦lenβ the length of that device name buffer. gotta know how much room we're working with, periodt π
β¨ DESCRIPTION β¨
so in effect, this function matches an ID to an internal kernel name for a certain sensor device π₯ and like, that's the whole point β once that match is made, the rest of the autodetection can rely on that name from this point on π
I2C/SPI devices will be renamed to match the internal kernel convention π§ β that's it, that's the tea, they get a glow-up into the internal naming scheme and honestly? iconic.
ngl bestie, this is the moment where autodetect stops guessing and starts knowing π
π SEE ALSO π
Kernel file ./drivers/iio/common/st_sensors/st_sensors_core.c β go read her, iykyk π
kay bye ily, this page came from ./drivers/iio/common/st_sensors, dated October 2026, and it's still out here being st_sensors_dev_name_probe(9) πβ¨ slay.
π¦ 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