ice_aq_get_gpio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_aq_get_gpio(9) πŸ’…

okay so picture this: it's a Kernel API Manual page (that's the manual name bestie, we're in section 9) and today's main character is ice_aq_get_gpio. she's short, she's sweet, she talks to the firmware. let's get into it 🫢


✨ NAME ✨

ice_aq_get_gpio β€” the little AQ call that goes and asks the firmware what a GPIO pin is up to rn 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_aq_get_gpio (struct ice_hw *hw , u16 gpio_ctrl_handle , u8
pin_idx , bool *value , struct ice_sq_cd *cd );

like, five arguments, no drama, we love a low-maintenance queen πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the hw struct. your whole hardware situation lives in here, she's the blueprint πŸ’–
  • gpio_ctrl_handle β€” the GPIO controller node handle. yes it's a u16, yes it's the way we find the right controller, iykyk
  • pin_idx β€” IO Number of the GPIO that needs to be set. literally the index of which pin we're talking about πŸ“
  • value β€” IO value read. it's a bool *, so this is where the answer gets dropped off 🎁
  • cd β€” pointer to command details structure or NULL. optional bestie, pass NULL and vibe ✌️

πŸ”₯ DESCRIPTION πŸ”₯

so what she actually does: she sends the 0x06ED AQ command to get the value of a GPIO signal which is part of the topology.

that's it. that's the whole job. one command, one value, no cap ✨ 0x06ED is a whole icon and she knows it πŸ‘‘


🌈 SEE ALSO 🌈

bestie. buckle up. this list is long long. it's giving "everyone in the ice driver knows each other". but every single one is here, fr fr no skipping πŸ‘‘πŸ’…

and yes, ice_aq_set_gpio(9) is in there too β€” she's the sibling, the setter to our getter, we stan a duo πŸ’œ


okay that's the whole page bestie, every flag, every path, every single SEE ALSO, nothing dropped, periodt ✨

this has been ice_aq_get_gpio(9) from the ./drivers/net/ethernet/intel/ice corner of the kernel, dated October 2026 β€” go read a GPIO value for me, ily πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from