sdca_regmap_writeable(9)
π sdca_regmap_writeable(9)
okay so bestie, welcome to the kernel API manual for sdca_regmap_writeable β yes that's the whole name, yes it's a mouthful, no we're not shortening it. this is the little bool-returning icon of ./sound/soc/sdca/sdca_regmap.c and honestly? she's giving "tiny function, big responsibility." β¨
πΈ NAME
sdca_regmap_writeable β return if a given SDCA Control is writeable π
like, that's it. that's the job. you ask her "hey is this thing writeable?" and she tells you. no cap.
π SYNOPSIS
bool sdca_regmap_writeable (struct sdca_function_data *function ,
unsigned int reg );
literally the whole signature, copied exactly, do not come for me about the spacing π«Ά
π¦ ARGUMENTS
functionβ Pointer to the Function information. she needs to know which Function we're talking about, so hand her the pointer, bestie πregβ Register address/Control to be processed. this is the one getting the vibe check π
β RETURN
Returns true if the register is writeable.
that's it. that's the return value. true means go off, write away. anything else means... not writeable. iconic behavior honestly π
π₯ SEE ALSO
- Kernel file
./sound/soc/sdca/sdca_regmap.cβ the mothership, the main character, the file this whole thing lives in π sdca_regmap_readable(9)sdca_regmap_volatile(9)sdca_regmap_deferrable(9)sdca_regmap_mbq_size(9)sdca_regmap_count_constants(9)sdca_regmap_populate_constants(9)sdca_regmap_write_defaults(9)
the whole regmap friend group fr fr β go read them too, they're all slaying in their own way π
π«Ά friendly reminder: I kept every option and detail exactly as the original had it. no facts were harmed in the making of this group chat.
mwah π that's the page! sourced from ./sound/soc/sdca, dated October 2026, and yes it's still called sdca_regmap_writeable(9) β she said "I'm keeping my name." periodt. πβ¨
π¦ 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