Searched refs:pm_iobase (Results 1 – 2 of 2) sorted by relevance
63 struct resource *pm_iobase; in init_l440gx() local95 pm_iobase = &pm_dev->resource[PIIXE_IOBASE_RESOURCE]; in init_l440gx()96 if (!(pm_iobase->flags & IORESOURCE_IO)) { in init_l440gx()97 pm_iobase->name = "pm iobase"; in init_l440gx()98 pm_iobase->start = 0; in init_l440gx()99 pm_iobase->end = 63; in init_l440gx()100 pm_iobase->flags = IORESOURCE_IO; in init_l440gx()105 pm_iobase->start += iobase & ~1; in init_l440gx()106 pm_iobase->end += iobase & ~1; in init_l440gx()120 iobase = pm_iobase->start; in init_l440gx()
51 static unsigned int pm_iobase; variable365 pm_iobase = SP5100_IO_PM_INDEX_REG; in sp5100_tco_setupdevice()366 if (!request_region(pm_iobase, SP5100_PM_IOPORTS_SIZE, dev_name)) { in sp5100_tco_setupdevice()367 pr_err("I/O address 0x%04x already in use\n", pm_iobase); in sp5100_tco_setupdevice()473 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE); in sp5100_tco_setupdevice()520 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE); in sp5100_tco_init()534 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE); in sp5100_tco_cleanup()