Lines Matching full:area
154 struct logic_iomem_area *area = get_area(addr); in iounmap() local
156 if (!area) { in iounmap()
161 if (area->ops->unmap) in iounmap()
162 area->ops->unmap(area->priv); in iounmap()
165 area->ops = NULL; in iounmap()
166 area->priv = NULL; in iounmap()
221 struct logic_iomem_area *area = get_area(addr); \
223 if (!area) \
226 return (u ## sz) area->ops->read(area->priv, \
234 struct logic_iomem_area *area = get_area(addr); \
236 if (!area) { \
241 area->ops->write(area->priv, \
256 struct logic_iomem_area *area = get_area(addr); in memset_io() local
259 if (!area) { in memset_io()
266 if (area->ops->set) { in memset_io()
267 area->ops->set(area->priv, start, value, size); in memset_io()
272 area->ops->write(area->priv, start + offs, 1, value); in memset_io()
279 struct logic_iomem_area *area = get_area(addr); in memcpy_fromio() local
283 if (!area) { in memcpy_fromio()
290 if (area->ops->copy_from) { in memcpy_fromio()
291 area->ops->copy_from(area->priv, buffer, start, size); in memcpy_fromio()
296 buf[offs] = area->ops->read(area->priv, start + offs, 1); in memcpy_fromio()
302 struct logic_iomem_area *area = get_area(addr); in memcpy_toio() local
306 if (!area) { in memcpy_toio()
313 if (area->ops->copy_to) { in memcpy_toio()
314 area->ops->copy_to(area->priv, start, buffer, size); in memcpy_toio()
319 area->ops->write(area->priv, start + offs, 1, buf[offs]); in memcpy_toio()