Lines Matching refs:rreg
42 struct logic_iomem_region *rreg; in logic_iomem_add_region() local
51 rreg = kzalloc(sizeof(*rreg), GFP_KERNEL); in logic_iomem_add_region()
52 if (!rreg) in logic_iomem_add_region()
57 kfree(rreg); in logic_iomem_add_region()
62 rreg->res = resource; in logic_iomem_add_region()
63 rreg->ops = ops; in logic_iomem_add_region()
64 list_add_tail(&rreg->list, ®ions_list); in logic_iomem_add_region()
89 struct logic_iomem_region *rreg, *found = NULL; in ioremap() local
93 list_for_each_entry(rreg, ®ions_list, list) { in ioremap()
94 if (rreg->res->start > offset) in ioremap()
96 if (rreg->res->end < offset + size - 1) in ioremap()
98 found = rreg; in ioremap()
111 offs = rreg->ops->map(offset - found->res->start, in ioremap()