STRUCT PPS_GEN_SOURCE_INFO(9)
π 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βtrueif 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
- 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