ENUM TUNER_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 enum tuner_mode 🌸

Okay bestie, welcome to the Kernel API Manual page for enum tuner_mode β€” manual name folded in right here, cute and accounted for. πŸ’–

πŸ’– NAME πŸ’–

enum tuner_mode β€” Mode of the tuner. Literally the mode. The tuner's mode. That's the whole name vibe. ✨

✨ SYNOPSIS ✨

Here's the enum in all its iconic glory:

enum tuner_mode {
    T_RADIO ,
    T_ANALOG_TV

};

πŸŽ€ Constants πŸŽ€

  • T_RADIO β€” Tuner core will work in radio mode. That's the assignment, bestie. πŸ“»
  • T_ANALOG_TV β€” Tuner core will work in analog TV mode. Old-school screen energy. πŸ“Ί

🌈 Description 🌈

Okay so story time: older boards only had a single tuner device, but some devices have a separate tuner for radio. In any case, the tuner-core needs to know if the tuner chip(s) will be used in radio mode or analog TV mode, because β€” and this is the key detail β€” on radio mode, frequencies are specified on a different range than on TV mode. No cap. πŸ”₯

This enum is used by the tuner core in order to work with the proper tuner range and eventually use a different tuner chip while in radio mode. So yeah, it's giving "range management with a side of chip-switching realness." πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/media/tuner.h
  • struct tuner_setup(9)

🫢 Source/version check: ./include/media, dated October 2026 β€” and the page title is enum tuner_mode(9). Bye bestie, go understand those tuner modes! πŸ’–βœ¨
πŸ“¦ where this page comes from