STRUCT FSL_EASRC_PRIV(9)
π 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 vibesprefilβ pointer to prefilter coeff, the pre-game filter fr frfwβ firmware of coeff table, the whole coefficient table's firmwarefw_nameβ firmware name, gov, it's literally just her name πrs_num_tapsβ resample filter taps, and the valid values are32,64, or128β those three, bestie, don't get creative πbps_iec958β bits per sample of iec958, array of sizeEASRC_CTX_MAX_NUMπ§rs_coeffβ resampler coefficient, au64 *of pure mathconst_coeffβ one tap prefilter coefficient, a singleu64, tiny but mighty πΈfirmware_loadedβ firmware is loaded, the littleintthat 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
- 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