STRUCT ICE_PTP_PIN_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ice_ptp_pin_desc(9) ✨

okay bestie, welcome to the Kernel API Manual β€” this one's a little struct from the ice driver and it's honestly giving "quiet overachiever" energy πŸ§ŠπŸ’…


🌸 NAME 🌸

struct ice_ptp_pin_desc β€” the hardware pin description data, periodt πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ice_ptp_pin_desc {
    int name_idx;
    int gpio[2];
    unsigned int delay[2];
 };

like, three fields, no cap. small but mighty πŸ‘‘


πŸŽ€ Members πŸŽ€

  • name_idx β€” this is the index of the pin's name inside ice_pin_names (iykyk, go look it up in the array πŸ“›)
  • gpio β€” the GPIO input and output pins that go with this pin 🫢 (yes, both, it's a two-slot situation)
  • delay β€” the input and output signal delays, measured in nanoseconds ⏱️✨

πŸ’œ Description πŸ’œ

so this struct literally describes a PTP-capable GPIO pin, and the way that it works is it extends the ptp_pin_desc array for the device 🌈

and here's the thing: device families each have their own separate sets of available pins, and those sets come with varying restrictions πŸ™ˆ so don't go assuming one family's pins behave like another's, bestie β€” that's not the vibe ⚠️


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.h struct ice_tx_tstamp(9)
  • enum ice_tx_tstamp_work(9)
  • struct ice_ptp_tx(9)
  • struct ice_ptp_port(9)
  • struct ice_ptp(9)

all the siblings in the ice_ptp.h friend group, go say hi πŸ‘‹πŸ’–


ngl this is a header-file struct, so it's the "read the source, king" situation β€” the SEE ALSO list above is your map πŸ—ΊοΈβ­

okay that's the whole page, mwah πŸ’‹ this lil gem lives down in ./drivers/net/ethernet/intel/ice, dated October 2026, in the Kernel API Manual β€” slay, go build something iconic with it πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from