Lines Matching refs:cap_list
23 struct pci_msix_cap_t cap_list = {0}; in __msi_read_msix_cap_list() local
27 cap_list.cap_id = dw0 & 0xff; in __msi_read_msix_cap_list()
28 cap_list.next_off = (dw0 >> 8) & 0xff; in __msi_read_msix_cap_list()
29 cap_list.msg_ctrl = (dw0 >> 16) & 0xffff; in __msi_read_msix_cap_list()
31 cap_list.dword1 = in __msi_read_msix_cap_list()
33 cap_list.dword2 = in __msi_read_msix_cap_list()
35 return cap_list; in __msi_read_msix_cap_list()
40 struct pci_msi_cap_t cap_list = {0}; in __msi_read_cap_list() local
43 cap_list.cap_id = dw0 & 0xff; in __msi_read_cap_list()
44 cap_list.next_off = (dw0 >> 8) & 0xff; in __msi_read_cap_list()
45 cap_list.msg_ctrl = (dw0 >> 16) & 0xffff; in __msi_read_cap_list()
47 cap_list.msg_addr_lo = in __msi_read_cap_list()
50 if (cap_list.msg_ctrl & (1 << 7)) // 64位 in __msi_read_cap_list()
52 cap_list.msg_addr_hi = in __msi_read_cap_list()
57 cap_list.msg_addr_hi = 0; in __msi_read_cap_list()
61 …cap_list.msg_data = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->p… in __msi_read_cap_list()
65 cap_list.mask = in __msi_read_cap_list()
67 cap_list.pending = in __msi_read_cap_list()
70 return cap_list; in __msi_read_cap_list()