cppi5_tr_init(9)
okay bestie, welcome to the cppi5_tr_init(9) page from the Kernel API Manual. this is the init-TR-record function, and we're about to give it a full vibe check. no cap, every detail is staying. πβ¨
πΈ NAME πΈ
cppi5_tr_init β Init TR record. that's the name, and honestly it ate. π
β¨ SYNOPSIS β¨
void cppi5_tr_init (cppi5_tr_flags_t *flags , enum cppi5_tr_types type ,
bool static_tr , bool wait , enum cppi5_tr_event_size event_size , u32
cmd_id );
π ARGUMENTS π
okay so here's the whole argument lineup, and yes, every single one matters:
flagsβ pointer to the TR's flags. it's giving "hold my flags." πtypeβ the TR type. lowkey important. β¨static_trβ says whether the TR is static. periodt.waitβ wait for the TR to complete before allowing the next TR to start. yes, it's the "wait your turn" energy. πevent_sizeβ output event generation cfg. that's it, that's the cfg. π¦cmd_idβ TR identifier (application specifics). keep it cute and app-specific. π
π DESCRIPTION π
Init TR record.
that's the entire description, bestie. no side quests, no bonus lore β it inits the TR record and that's iconic. π
π SEE ALSO π
the kernel file ./include/linux/dma/ti-cppi5.h is home base, and here's the whole squad of related man pages and types β all of them, no skips:
struct cppi5_desc_hdr_t(9)struct cppi5_host_desc_t(9)struct cppi5_desc_epib_t(9)struct cppi5_monolithic_desc_t(9)cppi5_desc_is_tdcm(9)cppi5_desc_get_type(9)cppi5_desc_get_errflags(9)cppi5_desc_get_pktids(9)cppi5_desc_set_pktids(9)cppi5_desc_set_retpolicy(9)cppi5_desc_get_tags_ids(9)cppi5_desc_set_tags_ids(9)cppi5_hdesc_calc_size(9)cppi5_hdesc_init(9)cppi5_hdesc_update_flags(9)cppi5_hdesc_update_psdata_size(9)cppi5_hdesc_get_psdata_size(9)cppi5_hdesc_get_pktlen(9)cppi5_hdesc_set_pktlen(9)cppi5_hdesc_get_psflags(9)cppi5_hdesc_set_psflags(9)cppi5_hdesc_get_pkttype(9)cppi5_hdesc_set_pkttype(9)cppi5_hdesc_attach_buf(9)cppi5_hdesc_link_hbdesc(9)cppi5_hdesc_epib_present(9)cppi5_hdesc_get_psdata(9)cppi5_hdesc_get_swdata(9)enum cppi5_tr_types(9)enum cppi5_tr_event_size(9)enum cppi5_tr_trigger(9)enum cppi5_tr_trigger_type(9)struct cppi5_tr_type0_t(9)struct cppi5_tr_type1_t(9)struct cppi5_tr_type2_t(9)struct cppi5_tr_type3_t(9)struct cppi5_tr_type15_t(9)struct cppi5_tr_resp_t(9)enum cppi5_tr_resp_status_type(9)enum cppi5_tr_resp_status_submission(9)enum cppi5_tr_resp_status_unsupported(9)cppi5_trdesc_calc_size(9)cppi5_trdesc_init(9)cppi5_tr_set_trigger(9)cppi5_tr_csf_set(9)
and that's the page! signing off from ./include/linux/dma, dated October 2026, on cppi5_tr_init(9). bye bestie, drink water and init your TRs responsibly π«Άππ
π¦ 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