STRUCT SI476X_RADIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct si476x_radio(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this one's all about struct si476x_radio, aka the radio device. it's short, it's sweet, it's giving "small struct, big main character energy". let's get into it ✨


🌸 NAME 🌸

struct si476x_radio β€” radio device. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

struct si476x_radio {
    struct v4l2_device v4l2dev;
    struct video_device videodev;
    struct v4l2_ctrl_handler ctrl_handler;
    struct si476x_core  *core;
    const struct si476x_radio_ops *ops;
    struct dentry   *debugfs;
    u32 audmode;
 };

like, look at her. every field accounted for, nothing extra, no cap. 🫢


πŸ¦‹ Members πŸ¦‹

  • v4l2dev β€” pointer to the V4L2 device that the V4L2 subsystem created. yes, the subsystem made it, not us. lowkey iconic of it honestly.
  • videodev β€” pointer to the video device, also created by the V4L2 subsystem. she didn't build herself either πŸ’…
  • ctrl_handler β€” the V4L2 controls handler. (listed on its own line in the original, so giving it its own moment here too ✨)
  • core β€” pointer to the underlying core device. the foundation, the support system, the bestie behind the bestie 🫢
  • ops β€” the vtable of functions. for the full deets, go peek at struct si476x_radio_ops 😌
  • debugfs β€” pointer to the struct dentry for debugfs. (original says "strucd", which is a whole typo moment, but the meaning is struct dentry, iykyk πŸ™ˆ)
  • audmode β€” the audio mode, exactly as defined for the rxsubchans field over in videodev2.h. fr fr, that's the reference, don't come for me πŸ’€

🌈 Description 🌈

so the core structure is the radio device that's being used β€” that's the whole description, and honestly? she said what she said. periodt. πŸ‘‘


⭐ SEE ALSO ⭐

  • the kernel file ./drivers/media/radio/radio-si476x.c
  • struct si476x_radio_ops(9) β€” the vtable lore, go read it next 🧚

and that's the page, bestie!! source/version is ./drivers/media/radio and the date on this baby is October 2026 β€” so like, technically from the future, which is very slay of her. bye bestie, go read some kernel source πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from