STRUCT XSDFEC_CONFIG(9)
π struct xsdfec_config(9) π
okay bestie, so this is a page straight out of the Kernel API Manual β it's all about struct xsdfec_config, which is literally the configuration of the SD-FEC core. no cap, that's the whole vibe. π¦
β¨ SYNOPSIS β¨
here's the shape of it, keep it exact bestie:
struct xsdfec_config {
__u32 code;
__u32 order;
__u32 din_width;
__u32 din_word_include;
__u32 dout_width;
__u32 dout_word_include;
struct xsdfec_irq irq;
__s8 bypass;
__s8 code_wr_protect;
};
π Members π
codeβ the codes that the SD-FEC instance is using rn πorderβ the Order of Operation, iconic behavior onlydin_widthβ the width of the DIN AXI4-Stream πdin_word_includeβ tells you how DIN_WORDS get inputted, iykykdout_widthβ the width of the DOUT AXI4-Stream βdout_word_includeβ HOW DOUT_WORDS are outputted (yes it's shouting, that's how it is π )irqβ enabling or disabling interrupts, the drama switch π₯bypassβ is the core being bypassed? main character question fr frcode_wr_protectβ is write protection of LDPC codes enabled? π§
πΈ SEE ALSO πΈ
go look at the kernel file ./include/uapi/misc/xilinx_sdfec.h and also pls stan these besties:
enum xsdfec_code(9)enum xsdfec_order(9)enum xsdfec_turbo_alg(9)enum xsdfec_state(9)enum xsdfec_axis_width(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_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)
that's the whole page bestie, you ate it up π β¨
and like, a lil sign-off: this one lives at ./include/uapi/misc, dated October 2026, and she's officially struct xsdfec_config(9). periodt. π«Άππ
π¦ 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