Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/input/misc/
Dsparcspkr.c223 of_iounmap(&op->resource[0], info->regs, 6); in bbc_beep_probe()
242 of_iounmap(&op->resource[0], info->regs, 6); in bbc_remove()
300 of_iounmap(&op->resource[3], info->enable_reg, 1); in grover_beep_probe()
303 of_iounmap(&op->resource[2], info->freq_regs, 2); in grover_beep_probe()
321 of_iounmap(&op->resource[3], info->enable_reg, 1); in grover_remove()
322 of_iounmap(&op->resource[2], info->freq_regs, 2); in grover_remove()
/linux-4.4.14/arch/sparc/kernel/
Dcentral.c128 of_iounmap(&op->resource[2], p->clock_ver_reg, in clock_board_probe()
132 of_iounmap(&op->resource[1], p->clock_regs, in clock_board_probe()
136 of_iounmap(&op->resource[0], p->clock_freq_regs, in clock_board_probe()
241 of_iounmap(&op->resource[0], p->pregs, resource_size(&op->resource[0])); in fhc_probe()
Dapc.c75 of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0])); in apc_free()
Dchmc.c478 of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); in jbusmc_probe()
778 of_iounmap(&op->resource[0], p->regs, 0x48); in chmc_destroy()
785 of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); in jbusmc_destroy()
Dioport.c168 void of_iounmap(struct resource *res, void __iomem *base, unsigned long size) in of_iounmap() function
172 EXPORT_SYMBOL(of_iounmap);
Dof_device_64.c32 void of_iounmap(struct resource *res, void __iomem *base, unsigned long size) in of_iounmap() function
39 EXPORT_SYMBOL(of_iounmap);
Dleon_pci_grpci2.c884 of_iounmap(&ofdev->resource[0], regs, in grpci2_of_probe()
/linux-4.4.14/drivers/sbus/char/
Dbbc_i2c.c352 of_iounmap(&op->resource[1], bp->i2c_bussel_reg, 1); in attach_one_i2c()
354 of_iounmap(&op->resource[0], bp->i2c_control_regs, 2); in attach_one_i2c()
375 of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); in bbc_i2c_probe()
377 of_iounmap(&op->resource[1], bp->i2c_control_regs, 2); in bbc_i2c_probe()
395 of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); in bbc_i2c_remove()
397 of_iounmap(&op->resource[1], bp->i2c_control_regs, 2); in bbc_i2c_remove()
Ddisplay7seg.c229 of_iounmap(&op->resource[0], p->regs, sizeof(u8)); in d7s_probe()
250 of_iounmap(&op->resource[0], p->regs, sizeof(u8)); in d7s_remove()
Ductrl.c397 of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); in uctrl_probe()
411 of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); in uctrl_remove()
Denvctrl.c1094 of_iounmap(&op->resource[0], i2c, 0x2); in envctrl_probe()
1107 of_iounmap(&op->resource[0], i2c, 0x2); in envctrl_remove()
/linux-4.4.14/drivers/input/serio/
Di8042-sparcio.h86 of_iounmap(kbd_res, kbd_iobase, 8); in sparc_i8042_remove()
126 of_iounmap(kbd_res, kbd_iobase, 8); in i8042_platform_init()
/linux-4.4.14/drivers/video/fbdev/
Dp9100.c317 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_probe()
320 of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs)); in p9100_probe()
337 of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs)); in p9100_remove()
338 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_remove()
Dbw2.c342 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe()
345 of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs)); in bw2_probe()
361 of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs)); in bw2_remove()
362 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_remove()
Dtcx.c349 of_iounmap(&op->resource[7], in tcx_unmap_regs()
352 of_iounmap(&op->resource[9], in tcx_unmap_regs()
355 of_iounmap(&op->resource[8], in tcx_unmap_regs()
358 of_iounmap(&op->resource[4], in tcx_unmap_regs()
361 of_iounmap(&op->resource[0], in tcx_unmap_regs()
Dleo.c536 of_iounmap(&op->resource[0], par->lc_ss0_usr, 0x1000); in leo_unmap_regs()
538 of_iounmap(&op->resource[0], par->ld_ss0, 0x1000); in leo_unmap_regs()
540 of_iounmap(&op->resource[0], par->ld_ss1, 0x1000); in leo_unmap_regs()
542 of_iounmap(&op->resource[0], par->lx_krn, 0x1000); in leo_unmap_regs()
544 of_iounmap(&op->resource[0], in leo_unmap_regs()
547 of_iounmap(&op->resource[0], info->screen_base, 0x800000); in leo_unmap_regs()
Dcg3.c424 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_probe()
427 of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs)); in cg3_probe()
444 of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs)); in cg3_remove()
445 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_remove()
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()
Dsunxvr1000.c167 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe()
185 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_remove()
Dcg6.c725 of_iounmap(&op->resource[0], par->fbc, 4096); in cg6_unmap_regs()
727 of_iounmap(&op->resource[0], par->tec, sizeof(struct cg6_tec)); in cg6_unmap_regs()
729 of_iounmap(&op->resource[0], par->thc, sizeof(struct cg6_thc)); in cg6_unmap_regs()
731 of_iounmap(&op->resource[0], par->bt, sizeof(struct bt_regs)); in cg6_unmap_regs()
733 of_iounmap(&op->resource[0], par->fhc, sizeof(u32)); in cg6_unmap_regs()
736 of_iounmap(&op->resource[0], info->screen_base, in cg6_unmap_regs()
Dffb.c1013 of_iounmap(&op->resource[1], par->dac, sizeof(struct ffb_dac)); in ffb_probe()
1016 of_iounmap(&op->resource[2], par->fbc, sizeof(struct ffb_fbc)); in ffb_probe()
1033 of_iounmap(&op->resource[2], par->fbc, sizeof(struct ffb_fbc)); in ffb_remove()
1034 of_iounmap(&op->resource[1], par->dac, sizeof(struct ffb_dac)); in ffb_remove()
Dgrvga.c506 of_iounmap(&dev->resource[0], par->regs, in grvga_probe()
524 of_iounmap(&device->resource[0], par->regs, in grvga_remove()
/linux-4.4.14/drivers/mtd/maps/
Dsun_uflash.c95 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_devinit()
132 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_remove()
/linux-4.4.14/drivers/watchdog/
Driowd.c213 of_iounmap(&op->resource[0], p->regs, 2); in riowd_probe()
224 of_iounmap(&op->resource[0], p->regs, 2); in riowd_remove()
Dcpwd.c635 of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ); in cpwd_probe()
663 of_iounmap(&op->resource[0], p->regs, 4 * WD_TIMER_REGSZ); in cpwd_remove()
/linux-4.4.14/arch/sparc/include/asm/
Dparport.h186 of_iounmap(&op->resource[2], sparc_ebus_dmas[slot].info.regs, d_len); in ecpp_probe()
210 of_iounmap(&op->resource[2], in ecpp_remove()
Dprom.h53 void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);
/linux-4.4.14/drivers/net/ethernet/sun/
Dsunbmac.c1207 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_ether_init()
1209 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_ether_init()
1211 of_iounmap(&op->resource[1], bp->bregs, BMAC_REG_SIZE); in bigmac_ether_init()
1213 of_iounmap(&op->resource[2], bp->tregs, TCVR_REG_SIZE); in bigmac_ether_init()
1250 of_iounmap(&qec_op->resource[0], bp->gregs, GLOB_REG_SIZE); in bigmac_sbus_remove()
1251 of_iounmap(&op->resource[0], bp->creg, CREG_REG_SIZE); in bigmac_sbus_remove()
1252 of_iounmap(&op->resource[1], bp->bregs, BMAC_REG_SIZE); in bigmac_sbus_remove()
1253 of_iounmap(&op->resource[2], bp->tregs, TCVR_REG_SIZE); in bigmac_sbus_remove()
Dsunqe.c815 of_iounmap(&op->resource[0], qecp->gregs, GLOB_REG_SIZE); in get_qec()
913 of_iounmap(&op->resource[0], qe->qcregs, CREG_REG_SIZE); in qec_ether_init()
915 of_iounmap(&op->resource[1], qe->mregs, MREGS_REG_SIZE); in qec_ether_init()
942 of_iounmap(&op->resource[0], qp->qcregs, CREG_REG_SIZE); in qec_sbus_remove()
943 of_iounmap(&op->resource[1], qp->mregs, MREGS_REG_SIZE); in qec_sbus_remove()
986 of_iounmap(&op->resource[0], root_qec_dev->gregs, in qec_exit()
Dsunhme.c2874 of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); in happy_meal_sbus_probe_one()
2876 of_iounmap(&op->resource[1], hp->etxregs, ETX_REG_SIZE); in happy_meal_sbus_probe_one()
2878 of_iounmap(&op->resource[2], hp->erxregs, ERX_REG_SIZE); in happy_meal_sbus_probe_one()
2880 of_iounmap(&op->resource[3], hp->bigmacregs, BMAC_REG_SIZE); in happy_meal_sbus_probe_one()
2882 of_iounmap(&op->resource[4], hp->tcvregs, TCVR_REG_SIZE); in happy_meal_sbus_probe_one()
3291 of_iounmap(&op->resource[0], hp->gregs, GREG_REG_SIZE); in hme_sbus_remove()
3292 of_iounmap(&op->resource[1], hp->etxregs, ETX_REG_SIZE); in hme_sbus_remove()
3293 of_iounmap(&op->resource[2], hp->erxregs, ERX_REG_SIZE); in hme_sbus_remove()
3294 of_iounmap(&op->resource[3], hp->bigmacregs, BMAC_REG_SIZE); in hme_sbus_remove()
3295 of_iounmap(&op->resource[4], hp->tcvregs, TCVR_REG_SIZE); in hme_sbus_remove()
Dniu.c10103 of_iounmap(&op->resource[2], np->vir_regs_1, in niu_of_probe()
10109 of_iounmap(&op->resource[3], np->vir_regs_2, in niu_of_probe()
10115 of_iounmap(&op->resource[1], np->regs, in niu_of_probe()
10140 of_iounmap(&op->resource[2], np->vir_regs_1, in niu_of_remove()
10146 of_iounmap(&op->resource[3], np->vir_regs_2, in niu_of_remove()
10152 of_iounmap(&op->resource[1], np->regs, in niu_of_remove()
/linux-4.4.14/drivers/parport/
Dparport_sunbpp.c327 of_iounmap(&op->resource[0], base, size); in bpp_probe()
344 of_iounmap(&op->resource[0], (void __iomem *) p->base, p->size); in bpp_remove()
/linux-4.4.14/drivers/hwmon/
Dultra45_env.c287 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_probe()
299 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_remove()
/linux-4.4.14/drivers/scsi/
Dsun_esp.c556 of_iounmap(&op->resource[(hme ? 1 : 0)], esp->regs, SBUS_ESP_REG_SIZE); in esp_sbus_probe_one()
607 of_iounmap(&op->resource[(is_hme ? 1 : 0)], esp->regs, in esp_sbus_remove()
609 of_iounmap(&dma_of->resource[0], esp->dma_regs, in esp_sbus_remove()
Dqlogicpti.c1389 of_iounmap(&op->resource[0], qpti->qregs, in qpti_sbus_probe()
1392 of_iounmap(&op->resource[0], qpti->sreg, in qpti_sbus_probe()
1427 of_iounmap(&op->resource[0], qpti->qregs, in qpti_sbus_remove()
1430 of_iounmap(&op->resource[0], qpti->sreg, sizeof(unsigned char)); in qpti_sbus_remove()
/linux-4.4.14/drivers/tty/serial/
Dsunsab.c1065 of_iounmap(&op->resource[0], in sab_probe()
1069 of_iounmap(&op->resource[0], in sab_probe()
1082 of_iounmap(&op->resource[0], in sab_remove()
1085 of_iounmap(&op->resource[0], in sab_remove()
Dsunsu.c1461 of_iounmap(&op->resource[0], in su_probe()
1502 of_iounmap(&op->resource[0], up->port.membase, up->reg_size); in su_probe()
1523 of_iounmap(&op->resource[0], up->port.membase, up->reg_size); in su_remove()
Dsunzilog.c1474 of_iounmap(&op->resource[0], in zs_probe()
1485 of_iounmap(&op->resource[0], in zs_probe()
1528 of_iounmap(&op->resource[0], regs, sizeof(struct zilog_layout)); in zs_remove()
/linux-4.4.14/drivers/net/ethernet/amd/
Dsunlance.c1261 of_iounmap(&lp->op->resource[0], lp->lregs, LANCE_REG_SIZE); in lance_free_hwresources()
1265 of_iounmap(&ledma->resource[0], lp->dregs, in lance_free_hwresources()
1269 of_iounmap(&lp->lebuffer->resource[0], lp->init_block_iomem, in lance_free_hwresources()
/linux-4.4.14/sound/sparc/
Dcs4231.c1780 of_iounmap(&op->resource[0], chip->port, chip->regs_size); in snd_cs4231_sbus_free()
1938 of_iounmap(&op->resource[2], chip->c_dma.ebus_info.regs, 0x10); in snd_cs4231_ebus_free()
1942 of_iounmap(&op->resource[1], chip->p_dma.ebus_info.regs, 0x10); in snd_cs4231_ebus_free()
1946 of_iounmap(&op->resource[0], chip->port, 0x10); in snd_cs4231_ebus_free()
Damd7930.c917 of_iounmap(&op->resource[0], amd->regs, in snd_amd7930_free()
Ddbri.c2560 of_iounmap(&op->resource[0], dbri->regs, dbri->regs_size); in snd_dbri_create()
2586 of_iounmap(&dbri->op->resource[0], dbri->regs, dbri->regs_size); in snd_dbri_free()
/linux-4.4.14/drivers/atm/
Dfore200e.c804 of_iounmap(&op->resource[0], fore200e->regs.sba.hcr, SBA200E_HCR_LENGTH); in fore200e_sba_unmap()
805 of_iounmap(&op->resource[1], fore200e->regs.sba.bsr, SBA200E_BSR_LENGTH); in fore200e_sba_unmap()
806 of_iounmap(&op->resource[2], fore200e->regs.sba.isr, SBA200E_ISR_LENGTH); in fore200e_sba_unmap()
807 of_iounmap(&op->resource[3], fore200e->virt_base, SBA200E_RAM_LENGTH); in fore200e_sba_unmap()
/linux-4.4.14/drivers/net/ethernet/aeroflex/
Dgreth.c1561 of_iounmap(&ofdev->resource[0], greth->regs, resource_size(&ofdev->resource[0])); in greth_of_probe()
1584 of_iounmap(&of_dev->resource[0], greth->regs, resource_size(&of_dev->resource[0])); in greth_of_remove()