Searched refs:pci_cap_ptr (Results 1 – 2 of 2) sorted by relevance
68 uint8_t pci_cap_ptr; /* PCI Capability pointer */ member
5275 uint8_t pci_cap_ptr; in gem_search_pci_cap() local5279 pci_cap_ptr = pci_config_get8(conf_handle, PCI_CONF_CAP_PTR); in gem_search_pci_cap()5280 while (pci_cap_ptr) { in gem_search_pci_cap()5282 pci_cap = pci_config_get32(conf_handle, pci_cap_ptr); in gem_search_pci_cap()5288 pci_cap_ptr = (pci_cap >> 8) & 0xff; in gem_search_pci_cap()5290 return (pci_cap_ptr); in gem_search_pci_cap()5297 uint8_t pci_cap_ptr; in gem_pci_set_power_state() local5308 pci_cap_ptr = gem_search_pci_cap(dip, conf_handle, PCI_CAP_ID_PM); in gem_pci_set_power_state()5310 if (pci_cap_ptr == 0) { in gem_pci_set_power_state()5318 pmcsr = pci_config_get32(conf_handle, pci_cap_ptr + PCI_PMCSR); in gem_pci_set_power_state()[all …]