STRUCT PPS_GEN_SOURCE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pps_gen_source_info(9) πŸ’–

✨ NAME ✨

struct pps_gen_source_info β€” the specific PPS generator info, bestie. this page is from the Kernel API Manual, and we are absolutely getting into it. 🫢


πŸ›  SYNOPSIS πŸ› 

okay so here's the struct, no cap β€” copy it exactly, do not freestyle the fields:

       struct pps_gen_source_info {
           bool use_system_clock;
           int (*get_time)(struct pps_gen_device *pps_gen, struct timespec64
       *time);
           int (*enable)(struct pps_gen_device *pps_gen, bool enable);
        };

🫢 Members 🫢

  • use_system_clock β€” true if the system clock is used to generate pulses. slay. ✨
  • get_time β€” query the time stored into the generator clock. iconic. πŸ‘‘
  • enable β€” enable/disable the PPS pulses generation. periodt. πŸ’…

πŸ’… Description πŸ’…

This is the main generator struct, periodt β€” all the needed information must be placed in here before calling the pps_gen_register_source. no skipping steps, bestie. πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./include/linux/pps_gen_kernel.h β€” go read it, iykyk. 🌈


xoxo signing off from source/version ./include/linux, dated October 2026, on the struct pps_gen_source_info(9) page β€” bye bestie, slay πŸ’–

πŸ“¦ where this page comes from