of_check_coupling_data(9)
π NAME π
okay so bestie, welcome to the of_check_coupling_data(9) page in the Kernel API Manual β¨ This function is literally here to parse rdev's coupling properties and check data consistency β it's giving regulator vibe check, no cap π«Ά
π SYNOPSIS π
bool of_check_coupling_data (struct regulator_dev *rdev );
πΈ ARGUMENTS πΈ
rdevβ pointer toregulator_devwhose data is checked. That's the whole argument, and it's lowkey the main character of this page π
π₯ DESCRIPTION π₯
This function checks if all of the following conditions are met:
rdev'smax_spreadis greater than0- all coupled regulators have the same
max_spread - all coupled regulators have the same number of
regulator_devphandles - all regulators are linked to each other
It's a full-on data-consistency moment: every single condition has to pass, or the answer is just not it ππ
β RETURN β
True if all conditions are met; false otherwise.
π¦ SEE ALSO π¦
Kernel file ./drivers/regulator/of_regulator.c
of_get_regulator_init_data(9)of_regulator_match(9)of_get_child_regulator(9)of_get_regulator(9)of_regulator_dev_lookup(9)of_regulator_get(9)of_regulator_get_optional(9)of_parse_coupled_regulator(9)of_regulator_bulk_get_all(9)
π cute sign-off: this gorgeous little page lives under ./drivers/regulator, dated October 2026, and it's the of_check_coupling_data(9) manual β periodt, bestie π
π¦ 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