Home
last modified time | relevance | path

Searched refs:ioarea (Results 1 – 11 of 11) sorted by relevance

/drivers/i2c/busses/
Di2c-simtec.c33 struct resource *ioarea; member
97 pd->ioarea = request_mem_region(res->start, size, dev->name); in simtec_i2c_probe()
98 if (pd->ioarea == NULL) { in simtec_i2c_probe()
137 release_resource(pd->ioarea); in simtec_i2c_probe()
138 kfree(pd->ioarea); in simtec_i2c_probe()
152 release_resource(pd->ioarea); in simtec_i2c_remove()
153 kfree(pd->ioarea); in simtec_i2c_remove()
Di2c-au1550.c47 struct resource *ioarea; member
392 priv->ioarea = request_mem_region(r->start, r->end - r->start + 1, in i2c_au1550_probe()
394 if (!priv->ioarea) { in i2c_au1550_probe()
421 release_resource(priv->ioarea); in i2c_au1550_probe()
422 kfree(priv->ioarea); in i2c_au1550_probe()
437 release_resource(priv->ioarea); in i2c_au1550_remove()
438 kfree(priv->ioarea); in i2c_au1550_remove()
Di2c-sh7760.c99 struct resource *ioarea; member
460 id->ioarea = request_mem_region(res->start, REGSIZE, pdev->name); in sh7760_i2c_probe()
461 if (!id->ioarea) { in sh7760_i2c_probe()
530 release_resource(id->ioarea); in sh7760_i2c_probe()
531 kfree(id->ioarea); in sh7760_i2c_probe()
545 release_resource(id->ioarea); in sh7760_i2c_remove()
546 kfree(id->ioarea); in sh7760_i2c_remove()
Di2c-s3c2410.c73 struct resource *ioarea; member
838 i2c->ioarea = request_mem_region(res->start, (res->end-res->start)+1, in s3c24xx_i2c_probe()
841 if (i2c->ioarea == NULL) { in s3c24xx_i2c_probe()
856 i2c->regs, i2c->ioarea, res); in s3c24xx_i2c_probe()
922 release_resource(i2c->ioarea); in s3c24xx_i2c_probe()
923 kfree(i2c->ioarea); in s3c24xx_i2c_probe()
953 release_resource(i2c->ioarea); in s3c24xx_i2c_remove()
954 kfree(i2c->ioarea); in s3c24xx_i2c_remove()
Di2c-davinci.c492 struct resource *mem, *irq, *ioarea; in davinci_i2c_probe() local
508 ioarea = request_mem_region(mem->start, (mem->end - mem->start) + 1, in davinci_i2c_probe()
510 if (!ioarea) { in davinci_i2c_probe()
Di2c-omap.c167 struct resource *ioarea; member
774 struct resource *mem, *irq, *ioarea; in omap_i2c_probe() local
791 ioarea = request_mem_region(mem->start, (mem->end - mem->start) + 1, in omap_i2c_probe()
793 if (!ioarea) { in omap_i2c_probe()
/drivers/spi/
Dspi_s3c24xx.c52 struct resource *ioarea; member
315 hw->ioarea = request_mem_region(res->start, (res->end - res->start)+1, in s3c24xx_spi_probe()
318 if (hw->ioarea == NULL) { in s3c24xx_spi_probe()
396 release_resource(hw->ioarea); in s3c24xx_spi_probe()
397 kfree(hw->ioarea); in s3c24xx_spi_probe()
424 release_resource(hw->ioarea); in s3c24xx_spi_remove()
425 kfree(hw->ioarea); in s3c24xx_spi_remove()
Dau1550_spi.c85 struct resource *ioarea; member
827 hw->ioarea = request_mem_region(r->start, sizeof(psc_spi_t), in au1550_spi_probe()
829 if (!hw->ioarea) { in au1550_spi_probe()
958 release_resource(hw->ioarea); in au1550_spi_probe()
959 kfree(hw->ioarea); in au1550_spi_probe()
979 release_resource(hw->ioarea); in au1550_spi_remove()
980 kfree(hw->ioarea); in au1550_spi_remove()
Dspi_imx.c207 struct resource *ioarea; member
1505 drv_data->ioarea = request_mem_region(res->start, in spi_imx_probe()
1508 if (drv_data->ioarea == NULL) { in spi_imx_probe()
1629 release_resource(drv_data->ioarea); in spi_imx_probe()
1630 kfree(drv_data->ioarea); in spi_imx_probe()
1684 release_resource(drv_data->ioarea); in spi_imx_remove()
1685 kfree(drv_data->ioarea); in spi_imx_remove()
/drivers/video/
Dsh7760fb.c45 struct resource *ioarea; member
469 par->ioarea = request_mem_region(res->start, in sh7760fb_probe()
471 if (!par->ioarea) { in sh7760fb_probe()
560 release_resource(par->ioarea); in sh7760fb_probe()
561 kfree(par->ioarea); in sh7760fb_probe()
579 release_resource(par->ioarea); in sh7760fb_remove()
580 kfree(par->ioarea); in sh7760fb_remove()
/drivers/mmc/host/
Dau1xmmc.c122 struct resource *ioarea; member
966 host->ioarea = request_mem_region(r->start, r->end - r->start + 1, in au1xmmc_probe()
968 if (!host->ioarea) { in au1xmmc_probe()
1086 release_resource(host->ioarea); in au1xmmc_probe()
1087 kfree(host->ioarea); in au1xmmc_probe()
1125 release_resource(host->ioarea); in au1xmmc_remove()
1126 kfree(host->ioarea); in au1xmmc_remove()