Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dspeedstep-ich.c47 static u32 pmbase; variable
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()
118 pm2_blk = inb(pmbase + 0x20); in speedstep_set_state()
120 outb(pm2_blk, (pmbase + 0x20)); in speedstep_set_state()
123 outb(value, (pmbase + 0x50)); in speedstep_set_state()
127 outb(pm2_blk, (pmbase + 0x20)); in speedstep_set_state()
[all …]
/openbmc/linux/drivers/char/hw_random/
H A Damd-rng.c59 u32 pmbase; member
133 u32 pmbase; in amd_rng_mod_init() local
145 err = pci_read_config_dword(pdev, 0x58, &pmbase); in amd_rng_mod_init()
151 pmbase &= 0x0000FF00; in amd_rng_mod_init()
152 if (pmbase == 0) { in amd_rng_mod_init()
163 if (!request_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE, DRV_NAME)) { in amd_rng_mod_init()
165 pmbase + 0xF0); in amd_rng_mod_init()
170 priv->iobase = ioport_map(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_rng_mod_init()
178 priv->pmbase = pmbase; in amd_rng_mod_init()
192 release_region(pmbase + PMBASE_OFFSET, PMBASE_SIZE); in amd_rng_mod_init()
[all …]
/openbmc/linux/drivers/gpio/
H A 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()
/openbmc/u-boot/arch/x86/cpu/baytrail/
H A Dacpi.c21 u16 pmbase = ACPI_BASE_ADDRESS; in acpi_create_fadt() local
38 fadt->pm1a_evt_blk = pmbase; in acpi_create_fadt()
40 fadt->pm1a_cnt_blk = pmbase + 0x4; in acpi_create_fadt()
42 fadt->pm2_cnt_blk = pmbase + 0x50; in acpi_create_fadt()
43 fadt->pm_tmr_blk = pmbase + 0x8; in acpi_create_fadt()
44 fadt->gpe0_blk = pmbase + 0x20; in acpi_create_fadt()
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dlpc.c132 u16 reg16, pmbase; in pch_power_options() local
214 dm_pci_read_config16(pch, 0x40, &pmbase); in pch_power_options()
215 pmbase &= 0xfffe; in pch_power_options()
218 (ulong)pmbase + GPE0_EN); in pch_power_options()
220 (ulong)pmbase + ALT_GP_SMI_EN); in pch_power_options()
223 reg32 = inl(pmbase + 0x04); /* PM1_CNT */ in pch_power_options()
226 outl(reg32, pmbase + 0x04); in pch_power_options()
H A Dsdram.c414 .pmbase = DEFAULT_PMBASE, in dram_init()
/openbmc/u-boot/arch/x86/cpu/quark/
H A Dacpi.c16 u16 pmbase = ACPI_PM1_BASE_ADDRESS; in acpi_create_fadt() local
33 fadt->pm1a_evt_blk = pmbase; in acpi_create_fadt()
35 fadt->pm1a_cnt_blk = pmbase + 0x4; in acpi_create_fadt()
38 fadt->pm_tmr_blk = pmbase + 0x8; in acpi_create_fadt()
/openbmc/u-boot/arch/x86/include/asm/arch-ivybridge/
H A Dpei_data.h37 uint32_t pmbase; member
/openbmc/u-boot/arch/x86/include/asm/arch-broadwell/
H A Dpei_data.h81 uint32_t pmbase; member
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dsdram.c46 pei_data->pmbase = ACPI_BASE_ADDRESS; in broadwell_fill_pei_data()
/openbmc/qemu/hw/isa/
H A Dvt82c686.c56 uint32_t pmbase = pci_get_long(s->dev.config + 0x48) & 0xff80UL; in pm_io_space_update() local
59 memory_region_set_address(&s->io, pmbase); in pm_io_space_update()
/openbmc/linux/drivers/pci/
H A Dquirks.c384 u32 pmbase; in quirk_tigerpoint_bm_sts() local
387 pci_read_config_dword(dev, 0x40, &pmbase); in quirk_tigerpoint_bm_sts()
388 pmbase = pmbase & 0xff80; in quirk_tigerpoint_bm_sts()
389 pm1a = inw(pmbase); in quirk_tigerpoint_bm_sts()
393 outw(0x10, pmbase); in quirk_tigerpoint_bm_sts()