/haiku/headers/private/firewire/ |
H A D | iec13213.h | 174 pmc:1, /* power manager capable */ member 192 pmc:1, /* power manager capable */
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/ |
H A D | if_rl.c | 643 int error = 0, hwrev, i, phy, pmc, rid; in rl_attach() local 812 pci_find_cap(sc->rl_dev, PCIY_PMG, &pmc) == 0) { in rl_attach() 1982 int pmc; in rl_resume() local 1991 pci_find_cap(sc->rl_dev, PCIY_PMG, &pmc) == 0) { in rl_resume() 1994 pmc + PCIR_POWER_STATUS, 2); in rl_resume() 1998 pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_resume() 2047 int pmc; in rl_setwol() local 2056 if (pci_find_cap(sc->rl_dev, PCIY_PMG, &pmc) != 0) in rl_setwol() 2090 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in rl_setwol() 2094 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in rl_setwol()
|
/haiku/src/libs/compat/freebsd_network/compat/machine/x86/ |
H A D | cpufunc.h | 306 rdpmc(u_int pmc) in rdpmc() argument 310 __asm __volatile("rdpmc" : "=A" (rv) : "c" (pmc)); in rdpmc() 729 uint64_t rdpmc(u_int pmc);
|
/haiku/src/libs/compat/freebsd_network/compat/machine/x86_64/ |
H A D | cpufunc.h | 319 rdpmc(u_int pmc) in rdpmc() argument 323 __asm __volatile("rdpmc" : "=a" (low), "=d" (high) : "c" (pmc)); in rdpmc() 838 uint64_t rdpmc(u_int pmc);
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/ |
H A D | if_fxp.c | 434 int error, flags, i, pmc, prefer_iomap; in fxp_attach() local 527 pci_find_cap(sc->dev, PCIY_PMG, &pmc) == 0) in fxp_attach() 1064 int pmc; in fxp_suspend() local 1070 if (pci_find_cap(sc->dev, PCIY_PMG, &pmc) == 0) { in fxp_suspend() 1071 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_suspend() 1081 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_suspend() 1100 int pmc; in fxp_resume() local 1105 if (pci_find_cap(sc->dev, PCIY_PMG, &pmc) == 0) { in fxp_resume() 1107 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in fxp_resume() 1110 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in fxp_resume()
|
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/ |
H A D | if_ale.c | 456 int error, i, msic, msixc, pmc; in ale_attach() local 629 if (pci_find_cap(dev, PCIY_PMG, &pmc) == 0) { in ale_attach() 1488 int pmc; in ale_setwol() local 1492 if (pci_find_cap(sc->ale_dev, PCIY_PMG, &pmc) != 0) { in ale_setwol() 1538 pmstat = pci_read_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, 2); in ale_setwol() 1542 pci_write_config(sc->ale_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_setwol() 1565 int pmc; in ale_resume() local 1571 if (pci_find_cap(sc->ale_dev, PCIY_PMG, &pmc) == 0) { in ale_resume() 1574 pmc + PCIR_POWER_STATUS, 2); in ale_resume() 1578 pmc + PCIR_POWER_STATUS, pmstat, 2); in ale_resume()
|
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/ |
H A D | if_jme.c | 629 int error, i, mii_flags, msic, msixc, pmc; in jme_attach() local 825 if (pci_find_cap(dev, PCIY_PMG, &pmc) == 0) { in jme_attach() 1583 int pmc; in jme_setwol() local 1587 if (pci_find_cap(sc->jme_dev, PCIY_PMG, &pmc) != 0) { in jme_setwol() 1622 pmstat = pci_read_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, 2); in jme_setwol() 1626 pci_write_config(sc->jme_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_setwol() 1654 int pmc; in jme_resume() local 1659 if (pci_find_cap(sc->jme_dev, PCIY_PMG, &pmc) == 0) { in jme_resume() 1661 pmc + PCIR_POWER_STATUS, 2); in jme_resume() 1665 pmc + PCIR_POWER_STATUS, pmstat, 2); in jme_resume()
|
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/vr/ |
H A D | if_vr.c | 610 int i, phy, pmc; in vr_attach() local 697 pci_find_cap(dev, PCIY_PMG, &pmc) == 0) in vr_attach() 712 if (pci_find_cap(dev, PCIY_PMG, &pmc) == 0) in vr_attach() 2536 int pmc; in vr_setwol() local 2543 pci_find_cap(sc->vr_dev, PCIY_PMG, &pmc) != 0) in vr_setwol() 2582 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol() 2586 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l2/dev/ae/ |
H A D | if_ae.c | 243 int nmsi, pmc; in ae_attach() local 347 if (pci_find_cap(dev, PCIY_PMG, &pmc) == 0) { in ae_attach() 1325 int pmc; in ae_pm_init() local 1384 if (pci_find_cap(sc->dev, PCIY_PMG, &pmc) == 0) { in ae_pm_init() 1385 pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); in ae_pm_init() 1389 pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ae_pm_init()
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis900/dev/sis/ |
H A D | if_sis.c | 892 int error = 0, pmc, waittime = 0; in sis_attach() local 1067 if (pci_find_cap(sc->sis_dev, PCIY_PMG, &pmc) == 0) { in sis_attach() 2319 int pmc; in sis_wol() local 2346 if (pci_find_cap(sc->sis_dev, PCIY_PMG, &pmc) != 0) in sis_wol() 2354 pmc + PCIR_POWER_STATUS, 2); in sis_wol() 2359 pmc + PCIR_POWER_STATUS, pmstat, 2); in sis_wol()
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/ |
H A D | if_age.c | 465 int error, i, msic, msixc, pmc; in age_attach() local 611 if (pci_find_cap(dev, PCIY_PMG, &pmc) == 0) { in age_attach() 1325 int aneg, i, pmc; in age_setwol() local 1329 if (pci_find_cap(sc->age_dev, PCIY_PMG, &pmc) != 0) { in age_setwol() 1435 pmstat = pci_read_config(sc->age_dev, pmc + PCIR_POWER_STATUS, 2); in age_setwol() 1439 pci_write_config(sc->age_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in age_setwol()
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/re/ |
H A D | if_re.c | 3871 int pmc; in re_setwol() local 3877 if (pci_find_cap(sc->rl_dev, PCIY_PMG, &pmc) != 0) in re_setwol() 3939 pmstat = pci_read_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, 2); in re_setwol() 3943 pci_write_config(sc->rl_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in re_setwol() 3949 int pmc; in re_clrwol() local 3954 if (pci_find_cap(sc->rl_dev, PCIY_PMG, &pmc) != 0) in re_clrwol()
|
/haiku/src/bin/fwcontrol/ |
H A D | fwcrom.c | 598 src.businfo.pmc = 0; in main()
|
H A D | fwcontrol.c | 396 bi->irmc, bi->cmc, bi->isc, bi->bmc, bi->pmc, in parse_bus_info_block()
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | if_igc.c | 2240 u32 pmc, ctrl, rctl; in igc_enable_wakeup() local 2243 if (pci_find_cap(dev, PCIY_PMG, &pmc) != 0) in igc_enable_wakeup() 2277 status = pci_read_config(dev, pmc + PCIR_POWER_STATUS, 2); in igc_enable_wakeup() 2281 pci_write_config(dev, pmc + PCIR_POWER_STATUS, status, 2); in igc_enable_wakeup()
|
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/ |
H A D | if_nfe.c | 3319 int pmc; in nfe_set_wol() local 3324 if (pci_find_cap(sc->nfe_dev, PCIY_PMG, &pmc) != 0) in nfe_set_wol() 3344 pmstat = pci_read_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, 2); in nfe_set_wol() 3348 pci_write_config(sc->nfe_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in nfe_set_wol()
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | if_em.c | 4064 u32 pmc, ctrl, ctrl_ext, rctl; local 4067 if (pci_find_cap(dev, PCIY_PMG, &pmc) != 0) 4124 status = pci_read_config(dev, pmc + PCIR_POWER_STATUS, 2); 4128 pci_write_config(dev, pmc + PCIR_POWER_STATUS, status, 2);
|
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire.cpp | 683 src->businfo.pmc = 0; in fw_init_crom() 1656 binfo->bmc, binfo->pmc, binfo->cyc_clk_acc, in fw_explore_node()
|