STRUCT LOGIC_IOMEM_REGION_OPS(9)
β¨ NAME β¨
okay bestie, welcome to the Kernel API Manual page for struct logic_iomem_region_ops(9) β and no cap, the star of this page is struct logic_iomem_region_ops, which is literally ops for an IO memory handler π
π¦ SYNOPSIS π¦
here's the whole struct definition, copied exactly, zero edits:
struct logic_iomem_region_ops {
long (*map)(unsigned long offset, size_t size, const struct
logic_iomem_ops **ops, void **priv);
};
π Members π
mapβ maps a range in the registered IO memory region. It must fill*opswith the ops and may fill*privto be passed to the ops. The offset is given as the offset into the registered resource region. The return value is negative for errors, or>= 0for success. On success, the return value is added to the offset for later ops, to allow for partial mappings. so if it comes back negative that's an error bestie, and if it's>= 0we're slaying π«Ά
π SEE ALSO π
- Kernel file
./include/linux/logic_iomem.h struct logic_iomem_ops(9)logic_iomem_add_region(9)
okay that's the whole vibe π huge sign-off from ./include/linux, dated October 2026, with the footer serving struct logi...m_region_ops(9) β bye bestie, go map some IO memory responsibly π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms