tuner_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 tuner_lookup(9) β€” Kernel API Manual 🌸

okay so bestie, this is the tuner_lookup(9) page from the Kernel API Manual, and it is literally all about seeking for tuner adapters ✨. no cap, it's giving β€œfind the radio and TV tuners on this I2C adapter” energy, and we're gonna walk through it together 🫢.

✨ NAME ✨

tuner_lookup β€” Seek for tuner adapters. that's the whole name, periodt πŸ’….

πŸŽ€ SYNOPSIS πŸŽ€

void tuner_lookup (struct i2c_adapter *adap , struct tuner **radio ,
       struct tuner **tv );

πŸ’… ARGUMENTS πŸ’…

  • adap β€” the i2c_adapter struct. yes ma'am, that's the adapter we're checking πŸŽ€.
  • radio β€” pointer to be filled if the adapter is radio πŸ“». it gets the radio answer, iykyk.
  • tv β€” pointer to be filled if the adapter is TV πŸ“Ί. same vibe, but for TV.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the actual job: search for existing radio and/or TV tuners on the given I2C adapter, and it's discarding demod-only adapters (tda9887) πŸ™ˆ. like, bye demod-only, not today.

and here's the note bestie, highkey important: when this function is called from tuner_probe you can be certain no other devices will be added/deleted at the same time β€” I2C core protects against that, fr fr πŸ›‘οΈβœ¨.

🌈 SEE ALSO 🌈

Kernel file ./drivers/media/v4l2-core/tuner-core.c, plus all these iconique references:

and that's it, bestie 🫢 β€” the source/version is ./drivers/media/v4l2-core, and this page is dated October 2026. mwah, go slay your tuner lookups πŸ’–πŸ‘‘

πŸ“¦ where this page comes from