STRUCT FSL_EASRC_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 struct fsl_easrc_priv(9) 🌈

okay bestie, welcome to the Kernel API Manual β€” today's main character is struct fsl_easrc_priv, and it is literally the private data holder for EASRC. no cap, she's got a lot going on but we're gonna get through it together 🫢


✨ NAME ✨

struct fsl_easrc_priv β€” EASRC private data πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct fsl_easrc_priv {
    struct fsl_easrc_slot slot[EASRC_CTX_MAX_NUM][2];
    struct asrc_firmware_hdr *firmware_hdr;
    struct interp_params *interp;
    struct prefil_params *prefil;
    const struct firmware *fw;
    const char *fw_name;
    unsigned int rs_num_taps;
    unsigned int bps_iec958[EASRC_CTX_MAX_NUM];
    u64 *rs_coeff;
    u64 const_coeff;
    int firmware_loaded;
 };

like, look at her. iconic struct. no notes πŸ’œ


πŸŽ€ Members πŸŽ€

okay so let's meet the whole squad, one by one:

  • slot β€” the slot setting, and yes she's an array: [EASRC_CTX_MAX_NUM][2], she contains multitudes ✨
  • firmware_hdr β€” the header of firmware, the little crown on top πŸ‘‘
  • interp β€” pointer to interpolation filter coeff, pointing at the vibes
  • prefil β€” pointer to prefilter coeff, the pre-game filter fr fr
  • fw β€” firmware of coeff table, the whole coefficient table's firmware
  • fw_name β€” firmware name, gov, it's literally just her name 😭
  • rs_num_taps β€” resample filter taps, and the valid values are 32, 64, or 128 β€” those three, bestie, don't get creative πŸ’€
  • bps_iec958 β€” bits per sample of iec958, array of size EASRC_CTX_MAX_NUM 🎧
  • rs_coeff β€” resampler coefficient, a u64 * of pure math
  • const_coeff β€” one tap prefilter coefficient, a single u64, tiny but mighty 🌸
  • firmware_loaded β€” firmware is loaded, the little int that tells you if we're so back or if we're not 🫢

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./sound/soc/fsl/fsl_easrc.h
  • struct fsl_easrc_ctx_priv(9) β€” her sister, go read that one too 🧚

aaaand that's the whole page, bestie!! this one's from the source tree at ./sound/soc/fsl, dated October 2026 β€” slay, go forth and resample responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from