STRUCT ICE_PTP_PIN_DESC(9)
β¨ 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 insideice_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.hstructice_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms