STRUCT VIDTV_PSI_PAT_WRITE_ARGS(9)
π struct vidtv_psi_pat_write_args β Kernel API Manual π
okay so bestie, this is a little struct page from the kernel docs, and honestly it's giving "plumbing that makes the whole thing work" energy. Let's get into it β¨
πΈ NAME πΈ
struct vidtv_psi_pat_write_args β literally just the args you hand over when you're writing a PAT table. that's it, that's the vibe π
β¨ SYNOPSIS β¨
struct vidtv_psi_pat_write_args {
char *buf;
u32 offset;
struct vidtv_psi_table_pat *pat;
u32 buf_sz;
u8 *continuity_counter;
};
π¦ Members π¦
like a little friend group, except every member here is a field. no cap, let's meet them π
bufβ the destination buffer, aka where all the writing actually lands. it's the spot π«Άoffsetβ how far into that destination buffer you're starting. like skipping ahead in the group chat πpatβ a pointer to the PAT. yes, THE PAT. main character energy honestly πbuf_szβ the size of the destination buffer. know your limits bestie, this is the limit πcontinuity_counterβ a pointer to the CC. and heads up: it gets incremented on every new packet. every single one. it's keeping count π
π₯ SEE ALSO π₯
the whole extended friend group, and you KNOW we're tagging everyone. Kernel file ./drivers/media/test-drivers/vidtv/vidtv_psi.h plus:
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_create_sec_for_each_pat_entry(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)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)
bestie this page is from ./drivers/media/test-drivers/v..., dated October 2026 β so like, go off, future kernel docs πΈβ¨ mwah, love u, read the header file π
π¦ 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