STRUCT PCH_VBUS_GPIO_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual, section 9 β€” this is struct pch_vbus_gpio_data(9). And what is it? Literally the structure holding GPIO informaton (yes, that's the exact spelling from the page, iconic) for detecting VBUS. That's the whole name, no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the struct in all its glory, copied exactly so nothing gets twisted, fr fr:

struct pch_vbus_gpio_data {
    struct gpio_desc        *port;
    int intr;
    struct work_struct      irq_work_fall;
    struct work_struct      irq_work_rise;
 };

🌸 MEMBERS 🌸

Member-by-member, because we're thorough like that:

  • port β€” gpio descriptor for the VBUS GPIO. That's the one.
  • intr β€” gpio interrupt number. The number, the whole number, nothing but the number.
  • irq_work_fall β€” Structure for WorkQueue. Yes, that's literally what it says, and we're keeping it.
  • irq_work_rise β€” Structure for WorkQueue. Same energy, different work item.

✨ SEE ALSO ✨

First, the kernel file: ./drivers/usb/gadget/udc/pch_udc.c β€” and then the entire extended friend group, in the exact order the page gave it:

That's all of them, no skips, periodt. πŸ’…


And that's the whole vibe, bestie: from ./drivers/usb/gadget/udc, dated October 2026, for struct pch_vbus_gpio_data(9). Go off, queen. πŸ‘‘βœ¨

πŸ“¦ where this page comes from