regmap_irq_...q_reg_linear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

regmap_irq_get_irq_reg_linear β€” the linear IRQ register mapping callback, bestie. That's it, that's the whole gig. ✨


πŸŽ€ SYNOPSIS πŸŽ€

unsigned int regmap_irq_get_irq_reg_linear (struct regmap_irq_chip_data
       *data , unsigned int base , int index );

🌸 ARGUMENTS 🌸

  • data β€” the data for the struct regmap_irq_chip. Like, the whole vibe of your chip lives in here. 🫢
  • base β€” the base register. The starting point, the home base, the main character. πŸ‘‘
  • index β€” the register index. Which one you're reaching for, one by one down the line. πŸ’«

✨ DESCRIPTION ✨

Okay so here's the tea, bestie β€” this function hands you back the register address that lines up with the base and index you passed in. No cap, it literally just does the formula:

base + index * regmap_stride * irq_reg_stride

That's it. That's the whole function. Linear mapping, one formula, no drama. It's giving "simple and iconic" and honestly? Obsessed. πŸ¦‹


πŸ”₯ SEE ALSO πŸ”₯


Go off, read the whole squad. The way that they all ate, fr fr. πŸ’–

That's a wrap, babe β€” brought to you by the fine people over at ./drivers/base/regmap, stamped October 2026, and yes the man page header still says regmap_irq_...q_reg_linear(9) because truncation said "not me being mysterious" πŸ’€ slay, go map some registers. πŸ“

πŸ“¦ where this page comes from