regmap_irq_...onfig_simple(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regmap_irq_set_type_config_simple(9) β€” Kernel API Manual ✨

okay so bestie, you're looking at the page for regmap_irq_set_type_config_simple(9) from the Kernel API Manual, and honestly? it's a little cutie. it's the "simple IRQ type configuration callback" β€” that's literally its NAME, no cap. let's get into it πŸŽ€


🌸 SYNOPSIS 🌸

int regmap_irq_set_type_config_simple (unsigned int **buf , unsigned int
type , const struct regmap_irq *irq_data , int idx , void *irq_drv_data
);

like, that's the whole signature. five args. she's not complicated and we love that for her πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • buf β€” the buffer holding your configuration register values. and listen, this is not a flat array, it's giving 2D main character energy: num_config_bases rows, and each row has num_config_regs elements. that detail matters, iykyk πŸ‘‘
  • type β€” the IRQ type you're asking for. that's it, that's the vibe.
  • irq_data β€” the IRQ that's being configured rn. point it at the right one pls.
  • idx β€” the index of the irq's config registers inside each array buf[i]. so it's like, which slot in every row you're touching. precision. slay.
  • irq_drv_data β€” driver specific IRQ data. your driver's own little bag of stuff, passed straight through 🫢

πŸ’œ DESCRIPTION πŸ’œ

so what even is this? it's a struct regmap_irq_chip->set_type_config callback β€” specifically the one that's suitable for chips with one config register. one. single. register. minimal queen πŸ’…

what it does: register values get updated according to the struct regmap_irq_type data associated with an IRQ. so the type info attached to the IRQ drives the update, and the callback does the register-writing dance. iconic, honestly.


⭐ SEE ALSO ⭐


ngl the whole squad is listed up there β€” if this page didn't answer it, one of those will. go read them, bestie, they're all in the same friend group 🧚

and that's the whole page!! πŸ₯³ it's from ./drivers/base/regmap, dated October 2026, in the classic regmap_irq_...onfig_simple(9) flavor β€” mwah πŸ’‹ go configure those IRQ types, you gorgeous nerd πŸ“πŸ’œ

πŸ“¦ where this page comes from