regulator_b...supply_names(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Hiii bestie, welcome to regulator_b...supply_names(9) from the Kernel API Manual. This page is all about regulator_bulk_set_supply_names β€” the function that initializes the 'supply' fields in an array of regulator_bulk_data structs. Setup arc, but make it cute. ✨


πŸŽ€ SYNOPSIS πŸŽ€

void regulator_bulk_set_supply_names (struct regulator_bulk_data
       *consumers , const char *const *supply_names , unsigned int num_supplies
       );

That's the whole signature, and it's void, so no return-value drama. πŸ’…


🌸 ARGUMENTS 🌸

Three arguments, one little initialization mission:

  • consumers β€” an array of struct regulator_bulk_data entries you're initializing. This is the array getting its supply fields set up, periodt.
  • supply_names β€” an array of supply name strings. The names go here, bestie. πŸŽ€
  • num_supplies β€” the number of supply names to initialize. Count them correctly, fr fr. ✨

⚠️ NOTE ⚠️

The 'consumers' array must be the size of 'num_supplies'. Like, actually. Don't let them be mismatched, okay? πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/regulator/helpers.c β€” that's the source-file lore right there.


Okay that's the whole page, bestie. It's sourced from ./drivers/regulator, dated October 2026, and yep β€” it's the regulator_b...supply_names(9) page. Stay regulated, mwah! πŸ«ΆπŸ’–πŸŒˆ

πŸ“¦ where this page comes from