Searched refs:pci_cap_ptr (Results 1 – 2 of 2) sorted by relevance
68 uint8_t pci_cap_ptr; /* PCI Capability pointer */ member
5277 uint8_t pci_cap_ptr; in gem_search_pci_cap() local5281 pci_cap_ptr = pci_config_get8(conf_handle, PCI_CONF_CAP_PTR); in gem_search_pci_cap()5282 while (pci_cap_ptr) { in gem_search_pci_cap()5284 pci_cap = pci_config_get32(conf_handle, pci_cap_ptr); in gem_search_pci_cap()5290 pci_cap_ptr = (pci_cap >> 8) & 0xff; in gem_search_pci_cap()5292 return (pci_cap_ptr); in gem_search_pci_cap()5299 uint8_t pci_cap_ptr; in gem_pci_set_power_state() local5310 pci_cap_ptr = gem_search_pci_cap(dip, conf_handle, PCI_CAP_ID_PM); in gem_pci_set_power_state()5312 if (pci_cap_ptr == 0) { in gem_pci_set_power_state()5320 pmcsr = pci_config_get32(conf_handle, pci_cap_ptr + PCI_PMCSR); in gem_pci_set_power_state()[all …]