vidtv_psi_p...ch_pat_entry(9)
π vidtv_psi_p...ch_pat_entry β Kernel API Manual β¨
okay so before we even get into it, this whole page lives in the Kernel API Manual, and it's all about one extremely specific little function. she's niche, she's focused, she knows exactly what she's about π
πΈ NAME πΈ
vidtv_psi_pmt_create_sec_for_each_pat_entry β literally creates a PMT section for every single program it finds chillin' in the PAT. every one. no skipping. bestie does not play favourites π
β¨ SYNOPSIS β¨
struct vidtv_psi_table_pmt** vidtv_psi_pmt_create_sec_for_each_pat_entry
(struct vidtv_psi_table_pat *pat , u16 pcr_pid );
look at her signature, so clean, so purposeful. returns a struct vidtv_psi_table_pmt** and takes exactly two things. minimalism ate π₯
π¦ ARGUMENTS π¦
patβ the PAT you want her to go digging through for programs π like, this is the guest list, she's checking it twice.pcr_pidβ the packet ID for the PCR that's gonna be used for the program described in this PMT section. that's it, that's the whole job, and she's gonna do it for every entry. periodt π
π SEE ALSO π
bestie she has SO many friends, this girl is connected. whole friend group, no cap:
- Kernel file
./drivers/media/test-drivers/vidtv/vidtv_psi.h struct psi_write_args(9)struct desc_write_args(9)struct crc32_write_args(9)struct header_write_args(9)vidtv_psi_sdt_service_assign(9)vidtv_psi_desc_assign(9)vidtv_pmt_desc_assign(9)vidtv_sdt_desc_assign(9)vidtv_psi_pat_program_assign(9)vidtv_psi_pmt_stream_assign(9)vidtv_psi_pmt_get_pid(9)vidtv_psi_pat_table_update_sec_len(9)vidtv_psi_pmt_table_update_sec_len(9)vidtv_psi_sdt_table_update_sec_len(9)struct vidtv_psi_pat_write_args(9)vidtv_psi_pat_write_into(9)struct vidtv_psi_sdt_write_args(9)vidtv_psi_sdt_write_into(9)struct vidtv_psi_pmt_write_args(9)vidtv_psi_pmt_write_into(9)vidtv_psi_find_pmt_sec(9)struct vidtv_psi_table_transport(9)struct vidtv_psi_table_nit(9)struct vidtv_psi_nit_write_args(9)vidtv_psi_nit_write_into(9)struct vidtv_psi_eit_write_args(9)vidtv_psi_eit_write_into(9)vidtv_psi_eit_table_update_sec_len(9)vidtv_psi_eit_event_assign(9)
likeβ¦ the whole squad showed up to the function's birthday party π«Ά go read them too, iykyk π
ngl if you're poking at the vidtv test drivers in ./drivers/media/test-drivers/v..., this is your girl. go build something iconic with her π§
okay that's the page, mwah, bye bestie πβ¨π
β cute lil sign-off from the Kernel API Manual, source ./drivers/media/test-drivers/v..., dated October 2026 ππΈ
π¦ 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