sdca_regmap_...te_constants(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Welcome to the Kernel API Manual, bestie! This is the page that shows up in the header as sdca_regmap_...te_constants(9), and it’s all about sdca_regmap_populate_constants β€” fill an array with DisCo constant values. πŸ’–

✨ SYNOPSIS ✨

int sdca_regmap_populate_constants (struct device *dev , struct sdca_function_data *function , struct reg_default *consts );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” Pointer to the device. 🫢
  • function β€” Pointer to the Function information, to be parsed. 🌟
  • consts β€” Pointer to the array which should be filled with the DisCo constant values. πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

Okay so this function will populate a regmap struct reg_default array with the values of the DisCo constants for a given Function. That means you can access the values of DisCo constants the same as any other physical register. Literally so convenient, no cap. ✨

πŸ”₯ RETURN πŸ”₯

On success, it returns the number of constants populated. On failure, it returns a negative error code. That’s the whole vibe. πŸ’€

🌈 SEE ALSO 🌈


Cute sign-off: source/version ./sound/soc/sdca, dated October 2026. Bye bestie, slay your regmap! πŸ«ΆπŸ’…

πŸ“¦ where this page comes from