ENUM DPLL_PIN_DIRECTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ enum dpll_pin_direction(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” yes, that manual, the one that lives in the kernel source, and today we're doing a little enum that's honestly so babygirl of it. it's called enum dpll_pin_direction and it's here to answer one very simple question: which way does this pin go? πŸ¦‹


✨ NAME ✨

enum dpll_pin_direction β€” literally defines the possible direction of a pin, and these are the valid values for the DPLL_A_PIN_DIRECTION attribute. that's it. that's the whole vibe check. πŸ’…


🌸 SYNOPSIS 🌸

enum dpll_pin_direction {
    DPLL_PIN_DIRECTION_INPUT ,
    DPLL_PIN_DIRECTION_OUTPUT

};

look at her. two constants. no drama. no extra fields. she said "I have exactly two moods" and honestly? iconic. πŸ‘‘


πŸ’– Constants πŸ’–

okay so these are the two choices, and ngl there are literally only two, so this is a very low-stakes quiz:

  • DPLL_PIN_DIRECTION_INPUT β€” this pin is being used as a input of a signal. she's receiving. she's listening. she's the one getting the text first and forwarding it to the group chat. 🫢
  • DPLL_PIN_DIRECTION_OUTPUT β€” this pin is used to output the signal. she's the sender now, main character energy, pushing the signal out into the world. πŸ”₯

🌈 SEE ALSO 🌈

if you're obsessed (and you should be), go check out the kernel file ./include/uapi/linux/dpll.h β€” that's the home base, the source of truth, the mothership. πŸ’œ

and then there's the whole friend group, fr fr:

  • enum dpll_mode(9)
  • enum dpll_lock_status(9)
  • enum dpll_lock_status_error(9)
  • enum dpll_type(9)
  • enum dpll_pin_type(9)
  • enum dpll_pin_state(9)
  • enum dpll_pin_operstate(9)
  • enum dpll_pin_capabilities(9)
  • enum dpll_feature_state(9)

like, that's the entire squad right there. go say hi. 🌸


quick reminder bestie: valid values for DPLL_A_PIN_DIRECTION are exactly those two β€” DPLL_PIN_DIRECTION_INPUT and DPLL_PIN_DIRECTION_OUTPUT. no third option, no secret menu, no "it depends". πŸŽ€

and that's the page!! ✨ brought to you by ./include/uapi/linux, dated October 2026, filed under the very official enum dpll_pin_direction(9) β€” mwah πŸ’‹ slay, bye! πŸ¦‹πŸ’–

πŸ“¦ where this page comes from