Searched refs:pm_cap (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 1814 #define SD_PM_CAPABLE_IS_UNDEFINED(pm_cap) \ argument 1815 (pm_cap == SD_PM_CAPABLE_UNDEFINED) 1817 #define SD_PM_CAPABLE_IS_FALSE(pm_cap) \ argument 1818 ((pm_cap & PM_CAPABLE_PM_MASK) == 0) 1820 #define SD_PM_CAPABLE_IS_TRUE(pm_cap) \ argument 1821 (!SD_PM_CAPABLE_IS_UNDEFINED(pm_cap) && \ 1822 ((pm_cap & PM_CAPABLE_PM_MASK) > 0)) 1824 #define SD_PM_CAPABLE_IS_SPC_4(pm_cap) \ argument 1825 ((pm_cap & PM_CAPABLE_PM_MASK) == PM_CAPABLE_SPC4) 1827 #define SD_PM_CAP_LOG_SUPPORTED(pm_cap) \ argument [all …]
|
/titanic_44/usr/src/uts/sun4u/sys/pci/ |
H A D | db21554_config.h | 271 ushort_t pm_cap; /* power management capabilities reg */ member
|
/titanic_44/usr/src/uts/common/io/yge/ |
H A D | yge.c | 1184 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()
|
/titanic_44/usr/src/grub/grub-0.97/netboot/ |
H A D | tg3.c | 498 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 D | tg3.h | 2114 int pm_cap; member
|
/titanic_44/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 30831 int pm_cap; local 30960 pm_cap = ddi_prop_get_int(DDI_DEV_T_ANY, devi, 30962 if (SD_PM_CAPABLE_IS_UNDEFINED(pm_cap)) { 30977 if (SD_PM_CAPABLE_IS_FALSE(pm_cap)) { 30983 SD_PM_CAPABLE_IS_SPC_4(pm_cap)) { 30987 if (SD_PM_CAP_LOG_SUPPORTED(pm_cap)) { 30990 SD_PM_CAP_SMART_LOG(pm_cap);
|
/titanic_44/usr/src/uts/sun4u/io/pci/ |
H A D | db21554.c | 1692 cr->pm_cap = pci_config_get16(config_handle, DB_CONF_PM_CAP); in db_pci_get_conf_regs()
|
/titanic_44/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 2139 uint32_t pm_cap; in sata_scsi_tgt_probe() local 2142 pm_cap = SATA_CAP_POWER_CONDITON | SATA_CAP_SMART_PAGE | in sata_scsi_tgt_probe() 2152 "pm-capable", pm_cap)) != DDI_PROP_SUCCESS) { in sata_scsi_tgt_probe()
|