ice_ptp_write_perout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_ptp_write_perout(9)

okay so bestie, welcome to the Kernel API Manual ✨ this one's a function page, it lives in section 9 (that's the kernel-API girlies), and it's all about pushing your periodic wave settings down into the actual hardware. no cap, that's the whole vibe.


🌸 NAME 🌸

ice_ptp_write_perout β€” literally just Write periodic wave parameters to HW 🫢


✨ SYNOPSIS ✨

int ice_ptp_write_perout (struct ice_hw *hw , unsigned int chan ,
       unsigned int gpio_pin , u64 start , u64 period );

like, look at her. five args, returns an int, iconic. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct πŸ’œ that's your hardware, your main character.
  • chan β€” target channel πŸ¦‹ yes, which channel. you gotta pick one.
  • gpio_pin β€” target GPIO pin πŸ“ the actual pin that's getting this wave.
  • start β€” target time to start periodic output ⏰ when the wave kicks off.
  • period β€” target period 🌈 the length of one full cycle.

⭐ RETURN ⭐

0 on success, negative error code otherwise πŸ’€ so fr fr, check that return value. zero means slay, anything negative means something went sideways.


🧚 SEE ALSO 🧚

the whole friend group, honestly. like, this page is not doing it alone:


and that's the page!! πŸ“ this cutie came out of ./drivers/net/ethernet/intel/ice and it's dated October 2026 β€” go off, intel ice driver, we love a timestamps-and-periodic-output moment. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from