Home
last modified time | relevance | path

Searched refs:io_virt (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/video/fbdev/
Dtridentfb.c32 void __iomem *io_virt; /* iospace virtual memory address */ member
165 fb_writeb(val, p->io_virt + reg); in t_outb()
170 return fb_readb(p->io_virt + reg); in t_inb()
175 fb_writel(v, par->io_virt + r); in writemmr()
180 return fb_readl(par->io_virt + r); in readmmr()
192 u8 reg = vga_mm_rcrt(par->io_virt, I2C) & DDC_MASK_TGUI; in tridentfb_ddc_setscl_tgui()
199 vga_mm_wcrt(par->io_virt, I2C, reg); in tridentfb_ddc_setscl_tgui()
205 u8 reg = vga_mm_rcrt(par->io_virt, I2C) & DDC_MASK_TGUI; in tridentfb_ddc_setsda_tgui()
212 vga_mm_wcrt(par->io_virt, I2C, reg); in tridentfb_ddc_setsda_tgui()
219 return !!(vga_mm_rcrt(par->io_virt, I2C) & DDC_SDA_TGUI); in tridentfb_ddc_getsda_tgui()
[all …]
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dodp.c367 u64 io_virt, size_t bcnt) in implicit_mr_get_data() argument
372 u64 addr = io_virt & MLX5_IMR_MTT_MASK; in implicit_mr_get_data()
381 io_virt, bcnt, addr, odp); in implicit_mr_get_data()
418 if (unlikely(addr < io_virt + bcnt)) { in implicit_mr_get_data()
498 u64 io_virt, size_t bcnt, u32 *bytes_mapped) in pagefault_mr() argument
509 odp = implicit_mr_get_data(mr, io_virt, bcnt); in pagefault_mr()
520 size = min_t(size_t, bcnt, ib_umem_end(odp->umem) - io_virt); in pagefault_mr()
524 start_idx = (io_virt - (mr->mmkey.iova & page_mask)) >> page_shift; in pagefault_mr()
536 ret = ib_umem_odp_map_dma_pages(mr->umem, io_virt, size, in pagefault_mr()
566 (io_virt - round_down(io_virt, 1 << page_shift)); in pagefault_mr()
[all …]
/Linux-v4.19/drivers/pcmcia/
Delectra_cf.c53 void __iomem *io_virt; member
226 cf->io_virt = (void __iomem *)(area->addr); in electra_cf_probe()
231 if (!cf->mem_base || !cf->io_virt || !cf->gpio_base || in electra_cf_probe()
232 (__ioremap_at(io.start, cf->io_virt, cf->io_size, in electra_cf_probe()
240 cf->io_base = (unsigned long)cf->io_virt - VMALLOC_END; in electra_cf_probe()
321 if (cf->io_virt) in electra_cf_probe()
322 __iounmap_at(cf->io_virt, cf->io_size); in electra_cf_probe()
346 __iounmap_at(cf->io_virt, cf->io_size); in electra_cf_remove()