STRUCT XSDFEC_TURBO(9)
π struct xsdfec_turbo(9) β the Kernel API Manual, but make it cute
okay so bestie, welcome to the glow-up of struct xsdfec_turbo(9) from the Kernel API Manual β yes that one, the Xilinx SDFEC corner of the kernel tree πΈ she's giving "small struct, big main character energy" and we're gonna get into it.
β¨ NAME β¨
struct xsdfec_turbo β literally the user data for Turbo codes π no cap.
π SYNOPSIS π
struct xsdfec_turbo {
__u32 alg;
__u8 scale;
};
that's it. that's the whole struct. two fields. iconic minimalism fr fr π
π¦ Members π¦
algβ says which Turbo decode algorithm you're gonna use. that's the whole job. it ate. β¨scaleβ the extrinsic scaling to apply when the Max Scale algorithm has been selected. so like,scaleis only doing its thing in that specific scenario, iykyk. π₯
π Description π
it's the Turbo code structure π« β her entire purpose in life is to communicate parameters over to the XSDFEC driver. that's it, that's the vibe check, she passed, periodt π
π SEE ALSO π
so the kernel file is ./include/uapi/misc/xilinx_sdfec.h and honestly the whole friend group is linked here, let's go through the roster π«Ά:
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_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)
like okayyyyy the crossover episode we didn't know we needed π go read them all, I'll wait π
and that's the whole page bestie, we're done π
muah. this lil masterpiece lives under ./include/uapi/misc and it's stamped October 2026 β β go off, xilinx_sdfec.h, you absolute queen πππ§
π¦ 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