Lines Matching refs:iobase_ptr
461 void __iomem **iobase_ptr, u64 start, u32 size) in crb_map_res() argument
476 if (!*iobase_ptr) { in crb_map_res()
477 *iobase_ptr = devm_ioremap_resource(dev, iores); in crb_map_res()
478 if (IS_ERR(*iobase_ptr)) in crb_map_res()
479 return *iobase_ptr; in crb_map_res()
482 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
514 void __iomem **iobase_ptr; in crb_map_io() local
543 iobase_ptr = NULL; in crb_map_io()
549 iobase_ptr = iobase_array + i; in crb_map_io()
554 priv->regs_t = crb_map_res(dev, iores, iobase_ptr, buf->control_address, in crb_map_io()
569 priv->regs_h = *iobase_ptr; in crb_map_io()
592 iobase_ptr = NULL; in crb_map_io()
597 iobase_ptr = iobase_array + i; in crb_map_io()
608 priv->cmd = crb_map_res(dev, iores, iobase_ptr, cmd_pa, cmd_size); in crb_map_io()
619 iobase_ptr = NULL; in crb_map_io()
624 iobase_ptr = iobase_array + i; in crb_map_io()
633 priv->rsp = crb_map_res(dev, iores, iobase_ptr, in crb_map_io()