idpf_ptp_get_access(9)
π idpf_ptp_get_access β a little kernel API moment
okay so bestie, welcome to the idpf_ptp_get_access page π this one lives in the Kernel API Manual, section 9, and honestly it's a short one but it's iconic in its own way. it does exactly one thing and it does it slayfully: it tells you what kind of access the PTP features are gonna get. periodt.
β¨ NAME β¨
idpf_ptp_get_access β determine the access type of the PTP features π
π¦ SYNOPSIS π¦
enum idpf_ptp_access idpf_ptp_get_access (const struct idpf_adapter
*adapter , u32 direct , u32 mailbox );
so it hands you back an enum idpf_ptp_access, and it wants three things. lowkey simple. ngl. β¨
πΈ ARGUMENTS πΈ
adapterβ the driver specific private structure π like, the main character struct, the one holding all the driver's private lil secrets.directβ a capability that indicates the direct access π this flag is basically telling you "hey, can we do the thing directly?"mailboxβ a capability that indicates the mailbox access π¬ and this one's the "or do we gotta send a message through the mailbox instead" vibe.
β RETURN β
it returns the type of supported access for the PTP feature π«Ά that's it, that's the whole return value. no cap.
π SEE ALSO π
okay so this is the part where the whole friend group shows up, because PTP in idpf is a squad:
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_ptp.cπ idpf_ptp_get_features_access(9)idpf_ptp_enable_shtime(9)idpf_ptp_read_src_clk_reg_direct(9)idpf_ptp_read_src_clk_reg_mailbox(9)idpf_ptp_read_src_clk_reg(9)idpf_ptp_get_sync_device_time_direct(9)idpf_ptp_get_sync_device_time_mailbox(9)idpf_ptp_get_sync_device_time(9)idpf_ptp_get_crosststamp(9)idpf_ptp_gettimex64(9)idpf_ptp_update_phctime_rxq_grp(9)idpf_ptp_update_cached_phctime(9)idpf_ptp_settime64(9)idpf_ptp_adjtime_nonatomic(9)idpf_ptp_adjtime(9)idpf_ptp_adjfine(9)idpf_ptp_verify_pin(9)idpf_ptp_gpio_enable(9)idpf_ptp_tstamp_extend_32b_to_64b(9)idpf_ptp_extend_ts(9)idpf_ptp_request_ts(9)idpf_ptp_set_rx_tstamp(9)idpf_ptp_set_timestamp_mode(9)idpf_tstamp_task(9)idpf_ptp_do_aux_work(9)idpf_ptp_set_caps(9)idpf_ptp_create_clock(9)idpf_ptp_release_vport_tstamp(9)idpf_ptp_release_tstamp(9)idpf_ptp_get_txq_tstamp_capability(9)idpf_ptp_init(9)idpf_ptp_release(9)
like, the whole roster. go read them all, iykyk π
π§ friendly reminder: this page is from the kernel tree at./drivers/net/ethernet/intel/idpf, dated October 2026, and yes that's the sameidpf_ptp_get_access(9)we've been talking about this whole time. bye bestie, go get that access type ππβ¨
π¦ 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