XSDFEC_ADD_LDPC_CODE_PARAMS(9)
π XSDFEC_ADD_LDPC_CODE_PARAMS(9) π
okay bestie, welcome to the Kernel API Manual entry for XSDFEC_ADD_LDPC_CODE_PARAMS β yes that's a whole mouthful, no we're not changing it, it's iconic as is β¨
π Parameters π
struct xsdfec_ldpc_params *β a pointer to thestruct xsdfec_ldpc_paramsthat's carrying all the LDPC code parameters you wanna add to the SD-FEC Block π like it's literally the little suitcase of settings, and the kernel is gonna unpack it for you.
πΈ Description πΈ
so this one is an ioctl that adds an LDPC code to the SD-FEC LDPC codes. that's the whole vibe. the way it justβ¦ adds the code π¦
but ngl, it's picky β it does not work unless all of these are true:
- the Driver is in the
XSDFEC_STOPPEDstate π (yeah, stopped, not running, it's giving "closed for business") - the SD-FEC core is configured as
LPDCπ - the SD-FEC Code Write Protection is disabled π
lowkey respect the boundaries fr fr, it's just protecting its peace π«Ά
π SEE ALSO π
Kernel file ./include/uapi/misc/xilinx_sdfec.h, plus the whole bestie squad:
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_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_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)
and that's the whole page bestie, you ate that π β¨
signing off from ./include/uapi/misc π dated October 2026 πΈ straight outta the Kernel API Manual π 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