ENUM XSDFEC_AXIS_WIDTH(9)
π enum xsdfec_axis_width(9)
okay so bestie, we're in the Kernel API Manual and today's main character is enum xsdfec_axis_width β literally the enum that tells you how wide your DIN lane situation is. it's <purple>128-bit width</purple> energy all the way down, no cap. π¦
β¨ NAME β¨
enum xsdfec_axis_width β the AXIS_WIDTH.DIN setting for 128-bit width. that's it, that's the vibe check. π
πΈ SYNOPSIS πΈ
here's the whole thing, copy it exactly bestie, don't be weird about it:
enum xsdfec_axis_width {
XSDFEC_1x128b ,
XSDFEC_2x128b ,
XSDFEC_4x128b
};
π Constants π
these are the three lanes girlies, and yes they are all iconic in their own way:
XSDFEC_1x128bβ the DIN data input stream is just one 128-bit lane. minimal, low-key, doing the most with the least. πXSDFEC_2x128bβ now the DIN data input stream is two 128-bit lanes. double the lanes, double the slay. β¨XSDFEC_4x128bβ and here we are at four 128-bit lanes. maximum lane energy, the DIN data input stream is eating fr fr. π₯
π¦ Description π¦
so the way that this works: this enum is used to indicate the AXIS_WIDTH.DIN setting for <cyan>128-bit width</cyan>. and the number of lanes of the DIN data input stream depends upon the AXIS_WIDTH.DIN parameter. that's the whole lore. the parameter decides, the lanes follow. periodt. π
β SEE ALSO β
calling out the whole friend group here β the kernel file is ./include/uapi/misc/xilinx_sdfec.h, and the rest of the crew is:
enum xsdfec_code(9)enum xsdfec_order(9)enum xsdfec_turbo_alg(9)enum xsdfec_state(9)enum xsdfec_axis_word_include(9)struct xsdfec_turbo(9)struct xsdfec_ldpc_params(9)struct xsdfec_status(9)struct xsdfec_irq(9)struct xsdfec_config(9)struct xsdfec_stats(9)struct xsdfec_ldpc_param_table_sizes(9)XSDFEC_START_DEV(9)XSDFEC_STOP_DEV(9)XSDFEC_GET_STATUS(9)XSDFEC_SET_IRQ(9)XSDFEC_SET_TURBO(9)XSDFEC_ADD_LDPC_CODE_PARAMS(9)XSDFEC_GET_CONFIG(9)XSDFEC_GET_TURBO(9)XSDFEC_SET_ORDER(9)XSDFEC_SET_BYPASS(9)XSDFEC_IS_ACTIVE(9)XSDFEC_CLEAR_STATS(9)XSDFEC_GET_STATS(9)XSDFEC_SET_DEFAULT_CONFIG(9)
ngl bestie, this one's short and sweet β no warnings, no scary bugs, just lanes. love that for us. π«Ά
and that's a wrap! this lil baddie lives in ./include/uapi/misc and the version stamp says October 2026, so go forth and lane responsibly. mwah ππ
π¦ 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