reg_fixed_get_irqs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is the reg_fixed_get_irqs(9) page from the Kernel API Manual β€” and it's literally the function that gets and registers the optional IRQ for a fixed voltage regulator. πŸ’…βœ¨

✨ SYNOPSIS ✨

int reg_fixed_get_irqs (struct device *dev , struct fixed_voltage_data *priv );

🫢 ARGUMENTS 🫢

  • dev β€” Pointer to the device structure. πŸ‘‘
  • priv β€” Pointer to the fixed_voltage_data structure containing private data. πŸŽ€

🌸 DESCRIPTION 🌸

This function tries to get the IRQ from the device firmware node. If it's an optional IRQ and it's not found, it returns 0 β€” no drama, no error, just a little "we're good" 😌. Otherwise, it attempts to request the threaded IRQ. That's the whole vibe: grab the IRQ if it's there, or request the threaded one when it is. πŸ”₯

πŸ’– RETURN πŸ’–

0 on success, or a negative error number on failure. So like, success is 0; failure gives you a negative error number. πŸ“‰

πŸ¦‹ SEE ALSO πŸ¦‹


bestie, that's the whole page πŸ’œ β€” source/version is ./drivers/regulator, and the date on this one is October 2026. Catch you in reg_fixed_get_irqs(9) land, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from