Searched refs:pmbase (Results 1 – 4 of 4) sorted by relevance
/drivers/cpufreq/ |
D | speedstep-ich.c | 47 static u32 pmbase; variable 71 pci_read_config_dword(speedstep_chipset_dev, 0x40, &pmbase); in speedstep_find_register() 72 if (!(pmbase & 0x01)) { in speedstep_find_register() 77 pmbase &= 0xFFFFFFFE; in speedstep_find_register() 78 if (!pmbase) { in speedstep_find_register() 83 pr_debug("pmbase is 0x%x\n", pmbase); in speedstep_find_register() 107 value = inb(pmbase + 0x50); in speedstep_set_state() 109 pr_debug("read at pmbase 0x%x + 0x50 returned 0x%x\n", pmbase, value); in speedstep_set_state() 115 pr_debug("writing 0x%x to pmbase 0x%x + 0x50\n", value, pmbase); in speedstep_set_state() 118 pm2_blk = inb(pmbase + 0x20); in speedstep_set_state() [all …]
|
/drivers/char/hw_random/ |
D | amd-rng.c | 58 u32 pmbase; member 132 u32 pmbase; in mod_init() local 144 err = pci_read_config_dword(pdev, 0x58, &pmbase); in mod_init() 148 pmbase &= 0x0000FF00; in mod_init() 149 if (pmbase == 0) { in mod_init() 160 if (!request_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE, DRV_NAME)) { in mod_init() 162 pmbase + 0xF0); in mod_init() 167 priv->iobase = ioport_map(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in mod_init() 175 priv->pmbase = pmbase; in mod_init() 189 release_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in mod_init() [all …]
|
/drivers/gpio/ |
D | gpio-amd8111.c | 72 u32 pmbase; member 201 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase); in amd_gpio_init() 205 gp.pmbase &= 0x0000FF00; in amd_gpio_init() 206 if (gp.pmbase == 0) in amd_gpio_init() 208 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET, in amd_gpio_init() 211 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init() 215 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init()
|
/drivers/pci/ |
D | quirks.c | 279 u32 pmbase; in quirk_tigerpoint_bm_sts() local 282 pci_read_config_dword(dev, 0x40, &pmbase); in quirk_tigerpoint_bm_sts() 283 pmbase = pmbase & 0xff80; in quirk_tigerpoint_bm_sts() 284 pm1a = inw(pmbase); in quirk_tigerpoint_bm_sts() 288 outw(0x10, pmbase); in quirk_tigerpoint_bm_sts()
|