Home
last modified time | relevance | path

Searched refs:pm_cap (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h1811 #define SD_PM_CAPABLE_IS_UNDEFINED(pm_cap) \ argument
1812 (pm_cap == SD_PM_CAPABLE_UNDEFINED)
1814 #define SD_PM_CAPABLE_IS_FALSE(pm_cap) \ argument
1815 ((pm_cap & PM_CAPABLE_PM_MASK) == 0)
1817 #define SD_PM_CAPABLE_IS_TRUE(pm_cap) \ argument
1818 (!SD_PM_CAPABLE_IS_UNDEFINED(pm_cap) && \
1819 ((pm_cap & PM_CAPABLE_PM_MASK) > 0))
1821 #define SD_PM_CAPABLE_IS_SPC_4(pm_cap) \ argument
1822 ((pm_cap & PM_CAPABLE_PM_MASK) == PM_CAPABLE_SPC4)
1824 #define SD_PM_CAP_LOG_SUPPORTED(pm_cap) \ argument
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Ddb21554_config.h271 ushort_t pm_cap; /* power management capabilities reg */ member
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c1184 uint8_t pm_cap; in yge_attach() local
1196 pm_cap = yge_find_capability(dev, PCI_CAP_ID_PM); in yge_attach()
1197 if (pm_cap != 0) { in yge_attach()
1199 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR); in yge_attach()
1201 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR, in yge_attach()
1746 uint8_t pm_cap; in yge_resume() local
1753 if ((pm_cap = yge_find_capability(dev, PCI_CAP_ID_PM)) != 0) { in yge_resume()
1755 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR); in yge_resume()
1757 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR, in yge_resume()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c498 int pm = tp->pm_cap; in tg3_set_power_state_0()
3161 int i, err, pm_cap; in tg3_probe() local
3174 pm_cap = pci_find_capability(pdev, PCI_CAP_ID_PM); in tg3_probe()
3175 if (pm_cap == 0) { in tg3_probe()
3188 tp->pm_cap = pm_cap; in tg3_probe()
H A Dtg3.h2114 int pm_cap; member
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c30242 int pm_cap; local
30371 pm_cap = ddi_prop_get_int(DDI_DEV_T_ANY, devi,
30373 if (SD_PM_CAPABLE_IS_UNDEFINED(pm_cap)) {
30388 if (SD_PM_CAPABLE_IS_FALSE(pm_cap)) {
30394 SD_PM_CAPABLE_IS_SPC_4(pm_cap)) {
30398 if (SD_PM_CAP_LOG_SUPPORTED(pm_cap)) {
30401 SD_PM_CAP_SMART_LOG(pm_cap);
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c1692 cr->pm_cap = pci_config_get16(config_handle, DB_CONF_PM_CAP); in db_pci_get_conf_regs()
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c2157 uint32_t pm_cap; in sata_scsi_tgt_probe() local
2160 pm_cap = SATA_CAP_POWER_CONDITON | SATA_CAP_SMART_PAGE | in sata_scsi_tgt_probe()
2170 "pm-capable", pm_cap)) != DDI_PROP_SUCCESS) { in sata_scsi_tgt_probe()