Lines Matching defs:hdr
60 static uint8_t pci_cap_find(pci_hdr0_t *hdr, struct pci_address *addr,
69 status = pci_hdr0_status_rd(hdr);
76 offset = pci_hdr0_cap_ptr_rd(hdr) & ~0x3U;
102 pci_hdr0_t hdr;
103 pci_hdr0_initialize(&hdr, *addr);
104 if (!(off = pci_cap_find(&hdr, addr, PCI_CAP_MSIX))) {
135 pci_hdr0_t hdr;
137 pci_hdr0_initialize(&hdr, *addr);
139 if (!(off = pci_cap_find(&hdr, addr, PCI_CAP_MSIX))) {
198 pci_hdr0_command_int_dis_wrf(&hdr, 1);