XSDFEC_ADD_LDPC_CODE_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the struct xsdfec_ldpc_params that'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_STOPPED state πŸ’€ (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