st_sensors_dev_name_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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