devm_ioremap_uc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ devm_ioremap_uc(9) ✨

okay so bestie, welcome to the managed ioremap glow-up πŸ’… this is the kernel API page for devm_ioremap_uc β€” that's the managed version of ioremap_uc(), and yes she ate πŸŽ€


🌸 NAME 🌸

devm_ioremap_uc β€” literally just ioremap_uc() but with the whole "devm" thing going on. Main character energy fr fr πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

void __iomem * devm_ioremap_uc (struct device *dev , resource_size_t
offset , resource_size_t size );

like, look at her. void __iomem * return type, three args, no notes πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the generic device you're remapping the IO address for. she's the reason the "managed" part even works, so be nice to her 🫢
  • offset β€” the resource address you wanna map. the where bestie πŸ“
  • size β€” how big the map is. the how much ✨

πŸ’œ DESCRIPTION πŸ’œ

Managed ioremap_uc β€” that's the whole vibe πŸ”₯

and here's the iconic part: the map is automatically unmapped on driver detach. no manual cleanup arc, no leak era, she just handles it πŸ’€βœ¨ devm said "i got u" and honestly? obsessed.


🌈 SEE ALSO 🌈

all the siblings and cousins, go give them a read (iykyk) 🧚


ngl, if you're mapping IO memory without the devm version in 2026, bestie... we need to talk πŸ™ˆ

and that's the page! mwah πŸ’‹ sign-off time: this one lives in ./lib, dated October 2026, and she's filed under devm_ioremap_uc(9) β€” periodt πŸ“πŸ’…

πŸ“¦ where this page comes from