ENUM XSDFEC_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum xsdfec_state(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this lil page is all about enum xsdfec_state and honestly? it's giving "tiny enum, big feelings" πŸŽ€


🌸 NAME 🌸

enum xsdfec_state β€” State. that's it. that's the whole name. short, sweet, iconic. πŸ’…


✨ SYNOPSIS ✨

enum xsdfec_state {
    XSDFEC_INIT ,
    XSDFEC_STARTED ,
    XSDFEC_STOPPED ,
    XSDFEC_NEEDS_RESET ,
    XSDFEC_PL_RECONFIGURE

};

no cap, that's the whole thing β€” five constants, one vibe. πŸ¦‹

πŸŽ€ CONSTANTS πŸŽ€

  • XSDFEC_INIT β€” Driver is initialized. fresh out the box, first-day-of-school energy 🌸
  • XSDFEC_STARTED β€” Driver is started. up and running, main character mode activated πŸ‘‘
  • XSDFEC_STOPPED β€” Driver is stopped. napping. do not disturb πŸ’€
  • XSDFEC_NEEDS_RESET β€” Driver needs to be reset. it's going through something, give it a minute 😭
  • XSDFEC_PL_RECONFIGURE β€” Programmable Logic needs to be recofigured. (yes, "recofigured" β€” that's literally how it's spelled in the source, I'm not touching it, we respect the original πŸ™ˆ) the PL needs a glow-up reconfiguration, periodt ✨

πŸ’œ DESCRIPTION πŸ’œ

This enum is used to indicate the state of the driver. literally that's its whole job β€” one look at the value and you know exactly what chapter of the story the driver's in. no digging required 🫢


🌈 SEE ALSO 🌈

Kernel file ./include/uapi/misc/xilinx_sdfec.h β€” go read it, it's the source of truth bestie πŸ’–

the enums, all together now:

  • enum xsdfec_code(9), enum xsdfec_order(9), enum xsdfec_turbo_alg(9), enum xsdfec_axis_width(9), enum xsdfec_axis_word_include(9)

the structs, looking cute:

  • 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)

and the whole macro/ioctl friend group πŸ”₯:


ok that's the page!! sourced straight from ./include/uapi/misc πŸ’… dated October 2026 ✨ ty for reading bestie, go forth and check your driver's state, mwah πŸŽ€πŸ’–πŸŒΈ
πŸ“¦ where this page comes from