i40e_ptp_enable_pin(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_ptp_enable_pin β€” like, the manual page, bestie

okay so real talk: this is the i40e_ptp_enable_pin(9) page from the Kernel API Manual, and it's genuinely the shortest little icon in the i40e PTP saga, so we're gonna get through it together, no stress 🫢


✨ NAME ✨

i40e_ptp_enable_pin β€” bestie, it enables PINs. that's it. that's the whole vibe. πŸ”₯


🌸 SYNOPSIS 🌸

int i40e_ptp_enable_pin (struct i40e_pf *pf , unsigned int chan , enum
ptp_pin_function func , int on );

look at her go, she's gorgeous, she returns an int πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” the private board structure πŸ’– like, the whole personality of the board lives in here
  • chan β€” the channel 🌈 which one are we talking about, babes
  • func β€” the PIN function πŸ¦‹ this is an enum ptp_pin_function, so it's giving very specific-choices energy
  • on β€” the state ⭐ on or... not on. the duality of woman

🧚 DESCRIPTION 🧚

so the tea is: this function enables PTP pins for an external clock source. πŸ•°οΈβœ¨ that's literally the job. main character behavior, no notes.

it returns 0 on success, or an error code on failure β€” so like, check it, bestie, don't just ghost the return value 😭


πŸ”₯ SEE ALSO πŸ”₯

okay this list is long, but I refuse to skip a single one because every one of these deserves her moment. go read all of them, iykyk πŸ’œ

the kernel file herself: ./drivers/net/ethernet/intel/i40e/i40e_ptp.c

and now, the full roster, in the exact order the manpage gives them, because we do not shuffle the lineup:

i40e_ptp_extts0_work(9), i40e_is_ptp_pin_dev(9), i40e_can_set_pins(9), i40_ptp_reset_timing_events(9), i40e_ptp_verify(9), i40e_ptp_read(9), i40e_ptp_write(9), i40e_ptp_convert_to_hwtstamp(9), i40e_ptp_adjfine(9), i40e_ptp_set_1pps_signal_hw(9), i40e_ptp_adjtime(9), i40e_ptp_gettimex(9), i40e_ptp_settime(9), i40e_pps_configure(9), i40e_pin_state(9), i40e_ptp_feature_enable(9), i40e_ptp_get_rx_events(9), i40e_ptp_rx_hang(9), i40e_ptp_tx_hang(9), i40e_ptp_tx_hwtstamp(9), i40e_ptp_rx_hwtstamp(9), i40e_ptp_set_increment(9), i40e_ptp_hwtstamp_get(9), i40e_ptp_free_pins(9), i40e_ptp_set_pin_hw(9), i40e_ptp_set_led_hw(9), i40e_ptp_init_leds_hw(9), i40e_ptp_set_pins_hw(9), i40e_ptp_set_pins(9), i40e_ptp_alloc_pins(9), i40e_ptp_set_timestamp_mode(9), i40e_ptp_hwtstamp_set(9), i40e_init_pin_config(9), i40e_ptp_create_clock(9), i40e_ptp_save_hw_time(9), i40e_ptp_restore_hw_time(9), i40e_ptp_init(9), i40e_ptp_stop(9)

and yes, i40_ptp_reset_timing_events(9) really does have that name up there β€” one e short of the party. don't @ me, that's literally what the page says, we're just reporting the facts πŸ’€

πŸ¦‹ sign-off πŸ¦‹

this little masterpiece lives at ./drivers/net/ethernet/intel/i40e, it's part of the Kernel API Manual, and it was stamped October 2026. periodt. go enable some pins, bestie β€” you're gonna slay πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from