Home
last modified time | relevance | path

Searched refs:pm_value (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/lib/libpmc/
H A Dlibpmc.c327 const uint64_t pm_value; member
329 #define PMCMASK(N,V) { .pm_name = #N, .pm_value = (V) }
352 *evmask |= pm->pm_value; in pmc_parse_mask()
707 evmask |= pm->pm_value; in k8_allocate_pmc()
1776 pmc_read_op.pm_value = -1; in pmc_read()
1781 *value = pmc_read_op.pm_value; in pmc_read()
1801 pmc_rw_op.pm_value = newvalue; in pmc_rw()
1806 *oldvaluep = pmc_rw_op.pm_value; in pmc_rw()
1864 pmc_write_op.pm_value = value; in pmc_write()
/freebsd-12.1/sys/dev/pci/
H A Dpci_user.c879 if (!PCI_BAR_MEM(pm->pm_value)) in pci_bar_mmap()
881 membase = pm->pm_value & PCIM_BAR_MEM_BASE; in pci_bar_mmap()
1256 bio->pbi_base = pm->pm_value; in pci_ioctl()
H A Dpci.c3075 ln2range = pci_maprange(pm->pm_value); in pci_write_bar()
3079 pm->pm_value = pci_read_config(dev, pm->pm_reg, 4); in pci_write_bar()
3081 pm->pm_value |= (pci_addr_t)pci_read_config(dev, in pci_write_bar()
3107 !(pm->pm_value & PCIM_BIOS_ENABLE)) in pci_bar_enabled()
3110 if (PCIR_IS_BIOS(&dinfo->cfg, pm->pm_reg) || PCI_BAR_MEM(pm->pm_value)) in pci_bar_enabled()
3125 pm->pm_value = value; in pci_add_bar()
3153 ln2range = pci_maprange(pm->pm_value); in pci_restore_bars()
3154 pci_write_config(dev, pm->pm_reg, pm->pm_value, 4); in pci_restore_bars()
3157 pm->pm_value >> 32, 4); in pci_restore_bars()
3182 maprange = pci_maprange(pm->pm_value); in pci_add_map()
[all …]
H A Dpcivar.h63 pci_addr_t pm_value; /* Raw BAR value */ member
H A Dpci_iov.c995 bar_start = map->pm_value; in pci_vf_alloc_mem_resource()
/freebsd-12.1/sys/dev/de/
H A Dif_devar.h378 u_int16_t pm_value; member
H A Dif_de.c1317 if ((data & pm->pm_mask) == pm->pm_value) in tulip_mii_phy_readspecific()
1323 if ((data & pm->pm_mask) == pm->pm_value) in tulip_mii_phy_readspecific()
1329 if ((data & pm->pm_mask) == pm->pm_value) in tulip_mii_phy_readspecific()
1335 idx += ((data & pm->pm_mask) == pm->pm_value ? 4 : 0); in tulip_mii_phy_readspecific()
/freebsd-12.1/sys/sys/
H A Dpmc.h498 pmc_value_t pm_value; /* new&returned value */ member
/freebsd-12.1/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h304 if (PCI_BAR_IO(pm->pm_value)) in pci_resource_type()
/freebsd-12.1/sys/dev/hwpmc/
H A Dhwpmc_mod.c4396 pm->pm_gv.pm_savedvalue = prw.pm_value; in pmc_syscall_handler()
4423 prw.pm_value); in pmc_syscall_handler()
4436 ri, prw.pm_value, oldvalue); in pmc_syscall_handler()
4443 if ((error = copyout(&oldvalue, &pprw->pm_value, in pmc_syscall_handler()
4444 sizeof(prw.pm_value)))) in pmc_syscall_handler()