ENUM CPPI5_TR_EVENT_SIZE(9)
β¨ enum cppi5_tr_event_size(9) β¨
okay bestie, so this is a page from the Kernel API Manual and honestly it's giving very niche-but-iconic π
. We're talking about the EVENT_SIZE field of the TR Flags β that's the lil setting that decides when an event gets generated for each TR. Like, the timing of the whole thing. no cap. π
πΈ NAME πΈ
enum cppi5_tr_event_size β the TR Flags EVENT_SIZE field, which specifies when an event is generated for each TR. that's it, that's the vibe check π¦
β¨ SYNOPSIS β¨
enum cppi5_tr_event_size {
CPPI5_TR_EVENT_SIZE_COMPLETION ,
CPPI5_TR_EVENT_SIZE_ICNT1_DEC ,
CPPI5_TR_EVENT_SIZE_ICNT2_DEC ,
CPPI5_TR_EVENT_SIZE_ICNT3_DEC
};
like, four whole options, all of them slaying in their own way π
π Constants π
CPPI5_TR_EVENT_SIZE_COMPLETIONβ the moment of truth fr fr: you get the event when the TR is complete and all status for the TR has been received. finished, done, periodt πCPPI5_TR_EVENT_SIZE_ICNT1_DECβ it's giving conditional, bestie. For Type 0: event fires when the last data transaction is sent for the TR. For Type 1-11: event fires whenICNT1is decremented. iykyk πCPPI5_TR_EVENT_SIZE_ICNT2_DECβ for Type 0-1,10-11: when the last data transaction is sent for the TR. For all other types: whenICNT2is decremented. yes there's lore π«ΆCPPI5_TR_EVENT_SIZE_ICNT3_DECβ for Type 0-2,10-11: when the last data transaction is sent for the TR. For all other types: whenICNT3is decremented. the pattern is patterning π₯
bestie pls note: those type ranges are exactly as written β don't go round quoting Type 0-3 or anything, the numbers are the numbers π
π¦ SEE ALSO π¦
Kernel file ./include/linux/dma/ti-cppi5.h β and like, the whole cppi5 friend group, honestly, they all show up here:
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_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_init(9)cppi5_tr_set_trigger(9)cppi5_tr_csf_set(9)
like, read the whole squad, it's a mood π
kisses bestie, mwah π this lil page lives in ./include/linux/dma and it's stamped October 2026 β go off, you now understand enum cppi5_tr_event_size(9) better than most people alive π§ββοΈβπ
π¦ 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