i40e_ptp_set_pin_hw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_ptp_set_pin_hw(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's episode is all about i40e_ptp_set_pin_hw(9), and honestly? she's a tiny little function but she does exactly one job and she does it flawlessly. no cap.


✨ NAME ✨

i40e_ptp_set_pin_hw β€” set the HW GPIO pin πŸŽ€

like… that's it. that's the whole vibe. set the pin. slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

void i40e_ptp_set_pin_hw (struct i40e_hw *hw , unsigned int pin , enum
i40e_ptp_gpio_pin_state state );

she takes three things and returns nothing β€” a true void queen, void is literally her whole personality πŸ’€


🌸 ARGUMENTS 🌸

  • hw β€” pointer to the hardware structure. the main character here tbh, you gotta hand her the hardware or nothing happens 🫢
  • pin β€” pin index. which pin are we talking about, bestie? specify. πŸ”₯
  • state β€” pin state. what state is that pin in. this is the whole point of the operation ngl.

πŸ’œ DESCRIPTION πŸ’œ

Set the status of the GPIO pin for external clock handling ⏰✨

that's literally the entire description, and honestly? iconic. she doesn't over-explain. she sets the GPIO pin status so external clock handling can do its thing, and then she leaves. no drama, no notes πŸ‘‘


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c β€” the source of truth, go read her πŸ’–

and now the full friend group, in the exact order they're listed, because we do NOT reorder the crew:

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_enable_pin(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_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)

fr fr, that's the whole squad β€” pins, LEDs, timestamps, hwtstamps, init/stop, all of it. go read them too, they're all eating πŸ”₯

okay that's the page!! mwah πŸ’‹ this one came from ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's filed under i40e_ptp_set_pin_hw(9) β€” periodt. go set some pins bestie, ily πŸ§šπŸ’œ

πŸ“¦ where this page comes from