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

/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h1818 #define SD_PM_CAPABLE_IS_UNDEFINED(pm_cap) \
1819 (pm_cap == SD_PM_CAPABLE_UNDEFINED)
1821 #define SD_PM_CAPABLE_IS_FALSE(pm_cap) \
1822 ((pm_cap & PM_CAPABLE_PM_MASK) == 0)
1824 #define SD_PM_CAPABLE_IS_TRUE(pm_cap) \
1825 (!SD_PM_CAPABLE_IS_UNDEFINED(pm_cap) && \
1826 ((pm_cap & PM_CAPABLE_PM_MASK) > 0))
1828 #define SD_PM_CAPABLE_IS_SPC_4(pm_cap) \
1829 ((pm_cap & PM_CAPABLE_PM_MASK) == PM_CAPABLE_SPC4)
1831 #define SD_PM_CAP_LOG_SUPPORTED(pm_cap) \
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Ddb21554_config.h271 ushort_t pm_cap; /* power management capabilities reg */ member in struct:db_conf_regs
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c498 int pm = tp->pm_cap;
3161 int i, err, pm_cap; local
3174 pm_cap = pci_find_capability(pdev, PCI_CAP_ID_PM);
3175 if (pm_cap == 0) {
3188 tp->pm_cap = pm_cap;
H A Dtg3.h2114 int pm_cap; member in struct:tg3
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.c1184 uint8_t pm_cap; local
1196 pm_cap = yge_find_capability(dev, PCI_CAP_ID_PM);
1197 if (pm_cap != 0) {
1199 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR);
1201 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR,
1746 uint8_t pm_cap; local
1753 if ((pm_cap = yge_find_capability(dev, PCI_CAP_ID_PM)) != 0) {
1755 pmcsr = pci_config_get16(dev->d_pcih, pm_cap + PCI_PMCSR);
1757 pci_config_put16(dev->d_pcih, pm_cap + PCI_PMCSR,
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c1692 cr->pm_cap = pci_config_get16(config_handle, DB_CONF_PM_CAP);
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c30812 int pm_cap; local
30935 * If "pm-capable" doesn't exist then pm_cap will
30941 pm_cap = ddi_prop_get_int(DDI_DEV_T_ANY, devi,
30943 if (SD_PM_CAPABLE_IS_UNDEFINED(pm_cap)) {
30953 * Convert "TRUE" values for pm_cap to
30958 if (SD_PM_CAPABLE_IS_FALSE(pm_cap)) {
30964 SD_PM_CAPABLE_IS_SPC_4(pm_cap)) {
30968 if (SD_PM_CAP_LOG_SUPPORTED(pm_cap)) {
30971 SD_PM_CAP_SMART_LOG(pm_cap);
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c2139 uint32_t pm_cap; local
2142 pm_cap = SATA_CAP_POWER_CONDITON | SATA_CAP_SMART_PAGE |
2152 "pm-capable", pm_cap)) != DDI_PROP_SUCCESS) {

Completed in 187 milliseconds