Home
last modified time | relevance | path

Searched refs:of_iounmap (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/linux/drivers/input/misc/
H A Dsparcspkr.c226 of_iounmap(&op->resource[0], info->regs, 6); in bbc_beep_probe()
245 of_iounmap(&op->resource[0], info->regs, 6); in bbc_remove()
303 of_iounmap(&op->resource[3], info->enable_reg, 1); in grover_beep_probe()
306 of_iounmap(&op->resource[2], info->freq_regs, 2); in grover_beep_probe()
324 of_iounmap(&op->resource[3], info->enable_reg, 1); in grover_remove()
325 of_iounmap(&op->resource[2], info->freq_regs, 2); in grover_remove()
/openbmc/linux/arch/sparc/kernel/
H A Dcentral.c129 of_iounmap(&op->resource[2], p->clock_ver_reg, in clock_board_probe()
133 of_iounmap(&op->resource[1], p->clock_regs, in clock_board_probe()
137 of_iounmap(&op->resource[0], p->clock_freq_regs, in clock_board_probe()
242 of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0])); in fhc_probe()
H A Dioport.c157 void of_iounmap(struct resource *res, void __iomem *base, unsigned long size) in of_iounmap() function
161 EXPORT_SYMBOL(of_iounmap);
H A Dapc.c76 of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0])); in apc_free()
H A Dchmc.c480 of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); in jbusmc_probe()
780 of_iounmap(&op->resource[0], p->regs, 0x48); in chmc_destroy()
787 of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); in jbusmc_destroy()
/openbmc/linux/drivers/sbus/char/
H A Dbbc_i2c.c354 of_iounmap(&op->resource[1], bp->i2c_bussel_reg, 1); in attach_one_i2c()
356 of_iounmap(&op->resource[0], bp->i2c_control_regs, 2); in attach_one_i2c()
377 of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); in bbc_i2c_probe()
379 of_iounmap(&op->resource[1], bp->i2c_control_regs, 2); in bbc_i2c_probe()
397 of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); in bbc_i2c_remove()
399 of_iounmap(&op->resource[1], bp->i2c_control_regs, 2); in bbc_i2c_remove()
H A Ddisplay7seg.c228 of_iounmap(&op->resource[0], p->regs, sizeof(u8)); in d7s_probe()
247 of_iounmap(&op->resource[0], p->regs, sizeof(u8)); in d7s_remove()
H A Ductrl.c395 of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); in uctrl_probe()
409 of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); in uctrl_remove()
/openbmc/linux/drivers/video/fbdev/
H A Dp9100.c318 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_probe()
321 of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs)); in p9100_probe()
338 of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs)); in p9100_remove()
339 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_remove()
H A Dbw2.c343 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe()
346 of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs)); in bw2_probe()
362 of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs)); in bw2_remove()
363 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_remove()
H A Dtcx.c351 of_iounmap(&op->resource[7], in tcx_unmap_regs()
354 of_iounmap(&op->resource[9], in tcx_unmap_regs()
357 of_iounmap(&op->resource[8], in tcx_unmap_regs()
360 of_iounmap(&op->resource[4], in tcx_unmap_regs()
363 of_iounmap(&op->resource[0], in tcx_unmap_regs()
H A Dleo.c538 of_iounmap(&op->resource[0], par->lc_ss0_usr, 0x1000); in leo_unmap_regs()
540 of_iounmap(&op->resource[0], par->ld_ss0, 0x1000); in leo_unmap_regs()
542 of_iounmap(&op->resource[0], par->ld_ss1, 0x1000); in leo_unmap_regs()
544 of_iounmap(&op->resource[0], par->lx_krn, 0x1000); in leo_unmap_regs()
546 of_iounmap(&op->resource[0], in leo_unmap_regs()
549 of_iounmap(&op->resource[0], info->screen_base, 0x800000); in leo_unmap_regs()
H A Dcg3.c425 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_probe()
428 of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs)); in cg3_probe()
445 of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs)); in cg3_remove()
446 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_remove()
H A Dcg14.c453 of_iounmap(&op->resource[0], in cg14_unmap_regs()
456 of_iounmap(&op->resource[0], in cg14_unmap_regs()
459 of_iounmap(&op->resource[0], in cg14_unmap_regs()
462 of_iounmap(&op->resource[1], in cg14_unmap_regs()
H A Dcg6.c727 of_iounmap(&op->resource[0], par->fbc, 4096); in cg6_unmap_regs()
729 of_iounmap(&op->resource[0], par->tec, sizeof(struct cg6_tec)); in cg6_unmap_regs()
731 of_iounmap(&op->resource[0], par->thc, sizeof(struct cg6_thc)); in cg6_unmap_regs()
733 of_iounmap(&op->resource[0], par->bt, sizeof(struct bt_regs)); in cg6_unmap_regs()
735 of_iounmap(&op->resource[0], par->fhc, sizeof(u32)); in cg6_unmap_regs()
738 of_iounmap(&op->resource[0], info->screen_base, in cg6_unmap_regs()
/openbmc/linux/drivers/input/serio/
H A Di8042-sparcio.h87 of_iounmap(kbd_res, kbd_iobase, 8); in sparc_i8042_remove()
141 of_iounmap(kbd_res, kbd_iobase, 8); in i8042_platform_init()
/openbmc/linux/drivers/mtd/maps/
H A Dsun_uflash.c93 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_devinit()
130 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_remove()
/openbmc/linux/drivers/watchdog/
H A Driowd.c214 of_iounmap(&op->resource[0], p->regs, 2); in riowd_probe()
225 of_iounmap(&op->resource[0], p->regs, 2); in riowd_remove()
/openbmc/linux/arch/sparc/include/asm/
H A Dparport_64.h190 of_iounmap(&op->resource[2], sparc_ebus_dmas[slot].info.regs, d_len); in ecpp_probe()
214 of_iounmap(&op->resource[2], in ecpp_remove()
H A Dprom.h49 void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c1205 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_ether_init()
1207 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_ether_init()
1209 of_iounmap(&op->resource[1], bp->bregs, BMAC_REG_SIZE); in bigmac_ether_init()
1211 of_iounmap(&op->resource[2], bp->tregs, TCVR_REG_SIZE); in bigmac_ether_init()
1248 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_sbus_remove()
1249 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_sbus_remove()
1250 of_iounmap(&op->resource[1], bp->bregs, BMAC_REG_SIZE); in bigmac_sbus_remove()
1251 of_iounmap(&op->resource[2], bp->tregs, TCVR_REG_SIZE); in bigmac_sbus_remove()
H A Dsunqe.c817 of_iounmap(&op->resource[0], qecp->gregs, GLOB_REG_SIZE); in get_qec()
914 of_iounmap(&op->resource[0], qe->qcregs, CREG_REG_SIZE); in qec_ether_init()
916 of_iounmap(&op->resource[1], qe->mregs, MREGS_REG_SIZE); in qec_ether_init()
943 of_iounmap(&op->resource[0], qp->qcregs, CREG_REG_SIZE); in qec_sbus_remove()
944 of_iounmap(&op->resource[1], qp->mregs, MREGS_REG_SIZE); in qec_sbus_remove()
987 of_iounmap(&op->resource[0], root_qec_dev->gregs, in qec_exit()
/openbmc/linux/drivers/parport/
H A Dparport_sunbpp.c332 of_iounmap(&op->resource[0], base, size); in bpp_probe()
349 of_iounmap(&op->resource[0], (void __iomem *) p->base, p->size); in bpp_remove()
/openbmc/linux/drivers/hwmon/
H A Dultra45_env.c289 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_probe()
301 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_remove()
/openbmc/linux/drivers/scsi/
H A Dsun_esp.c519 of_iounmap(&op->resource[(hme ? 1 : 0)], esp->regs, SBUS_ESP_REG_SIZE); in esp_sbus_probe_one()
574 of_iounmap(&op->resource[(is_hme ? 1 : 0)], esp->regs, in esp_sbus_remove()
576 of_iounmap(&dma_of->resource[0], esp->dma_regs, in esp_sbus_remove()

12