Home
last modified time | relevance | path

Searched refs:pmbase (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/cpufreq/
Dspeedstep-ich.c47 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 …]
/linux-6.1.9/drivers/char/hw_random/
Damd-rng.c58 u32 pmbase; member
132 u32 pmbase; in amd_rng_mod_init() local
144 err = pci_read_config_dword(pdev, 0x58, &pmbase); in amd_rng_mod_init()
148 pmbase &= 0x0000FF00; in amd_rng_mod_init()
149 if (pmbase == 0) { in amd_rng_mod_init()
160 if (!request_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE, DRV_NAME)) { in amd_rng_mod_init()
162 pmbase + 0xF0); in amd_rng_mod_init()
167 priv->iobase = ioport_map(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_rng_mod_init()
175 priv->pmbase = pmbase; in amd_rng_mod_init()
189 release_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_rng_mod_init()
[all …]
/linux-6.1.9/drivers/gpio/
Dgpio-amd8111.c69 u32 pmbase; member
197 err = pci_read_config_dword(pdev, 0x58, &gp.pmbase); in amd_gpio_init()
201 gp.pmbase &= 0x0000FF00; in amd_gpio_init()
202 if (gp.pmbase == 0) in amd_gpio_init()
204 if (!devm_request_region(&pdev->dev, gp.pmbase + PMBASE_OFFSET, in amd_gpio_init()
207 gp.pmbase + PMBASE_OFFSET); in amd_gpio_init()
211 gp.pm = ioport_map(gp.pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_gpio_init()
/linux-6.1.9/drivers/pci/
Dquirks.c277 u32 pmbase; in quirk_tigerpoint_bm_sts() local
280 pci_read_config_dword(dev, 0x40, &pmbase); in quirk_tigerpoint_bm_sts()
281 pmbase = pmbase & 0xff80; in quirk_tigerpoint_bm_sts()
282 pm1a = inw(pmbase); in quirk_tigerpoint_bm_sts()
286 outw(0x10, pmbase); in quirk_tigerpoint_bm_sts()