ENUM XSDFEC_CODE(9)
π NAME π
okay so bestie, welcome to enum xsdfec_code(9) from the Kernel API Manual β this is the page where we talk about the Code Type. Itβs giving tiny enum with big main-character energy, and weβre gonna read it together. π
enum xsdfec_code β Code Type.
β¨ SYNOPSIS β¨
Hereβs the exact shape, no cap:
enum xsdfec_code {
XSDFEC_TURBO_CODE ,
XSDFEC_LDPC_CODE
};
π§ Constants π§
XSDFEC_TURBO_CODEβ Driver is configured for Turbo mode. πXSDFEC_LDPC_CODEβ Driver is configured for LDPC mode. π
πΈ Description πΈ
This enum is used to indicate the mode of the driver. Thatβs the whole vibe check. β
The mode is determined by checking which codes are set in the driver.
Note that the mode cannot be changed by the driver. So donβt try to make it choose a different outfit β thatβs literally not how this works, bestie. π«
π₯ SEE ALSO π₯
Kernel file ./include/uapi/misc/xilinx_sdfec.h is the one to peek at, and hereβs the whole squad:
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_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 β source/version: ./include/uapi/misc, dated October 2026. 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