Lines Matching refs:reg_field
261 uint32_t reg_field = 0; in xen_pt_status_reg_init() local
271 reg_field |= PCI_STATUS_CAP_LIST; in xen_pt_status_reg_init()
273 reg_field &= ~PCI_STATUS_CAP_LIST; in xen_pt_status_reg_init()
287 *data = reg_field; in xen_pt_status_reg_init()
415 uint32_t reg_field = 0; in xen_pt_bar_reg_init() local
427 reg_field = XEN_PT_INVALID_REG; in xen_pt_bar_reg_init()
430 *data = reg_field; in xen_pt_bar_reg_init()
898 uint32_t reg_field = 0; in xen_pt_linkctrl2_reg_init() local
902 reg_field = XEN_PT_INVALID_REG; in xen_pt_linkctrl2_reg_init()
913 reg_field |= PCI_EXP_LNKCAP_SLS & lnkcap; in xen_pt_linkctrl2_reg_init()
916 *data = reg_field; in xen_pt_linkctrl2_reg_init()
1077 uint16_t reg_field; in xen_pt_msgctrl_reg_init() local
1081 rc = xen_host_pci_get_word(&s->real_device, real_offset, ®_field); in xen_pt_msgctrl_reg_init()
1085 if (reg_field & PCI_MSI_FLAGS_ENABLE) { in xen_pt_msgctrl_reg_init()
1088 reg_field & ~PCI_MSI_FLAGS_ENABLE); in xen_pt_msgctrl_reg_init()
1090 msi->flags |= reg_field; in xen_pt_msgctrl_reg_init()
1470 uint16_t reg_field; in xen_pt_msixctrl_reg_init() local
1474 rc = xen_host_pci_get_word(&s->real_device, real_offset, ®_field); in xen_pt_msixctrl_reg_init()
1478 if (reg_field & PCI_MSIX_FLAGS_ENABLE) { in xen_pt_msixctrl_reg_init()
1481 reg_field & ~PCI_MSIX_FLAGS_ENABLE); in xen_pt_msixctrl_reg_init()
1828 uint8_t reg_field; in xen_pt_ptr_reg_init() local
1831 rc = xen_host_pci_get_byte(&s->real_device, real_offset, ®_field); in xen_pt_ptr_reg_init()
1836 while (reg_field) { in xen_pt_ptr_reg_init()
1844 reg_field + PCI_CAP_LIST_ID, &cap_id); in xen_pt_ptr_reg_init()
1847 reg_field + PCI_CAP_LIST_ID, rc); in xen_pt_ptr_reg_init()
1861 reg_field + PCI_CAP_LIST_NEXT, ®_field); in xen_pt_ptr_reg_init()
1868 *data = reg_field; in xen_pt_ptr_reg_init()