Home
last modified time | relevance | path

Searched refs:pmc (Results 1 – 18 of 18) sorted by relevance

/haiku/headers/private/firewire/
H A Diec13213.h174 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 Dif_rl.c643 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 Dcpufunc.h306 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 Dcpufunc.h319 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 Dif_fxp.c434 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 Dif_ale.c456 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 Dif_jme.c629 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 Dif_vr.c610 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 Dif_ae.c243 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 Dif_sis.c892 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 Dif_age.c465 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 Dif_re.c3871 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 Dfwcrom.c598 src.businfo.pmc = 0; in main()
H A Dfwcontrol.c396 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 Dif_igc.c2240 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 Dif_nfe.c3319 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 Dif_em.c4064 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 Dfirewire.cpp683 src->businfo.pmc = 0; in fw_init_crom()
1656 binfo->bmc, binfo->pmc, binfo->cyc_clk_acc, in fw_explore_node()