Home
last modified time | relevance | path

Searched refs:dw0 (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/pci/
Dmsi.c24 uint32_t dw0; in __msi_read_msix_cap_list() local
25dw0 = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, … in __msi_read_msix_cap_list()
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()
41 uint32_t dw0; in __msi_read_cap_list() local
42dw0 = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, … in __msi_read_cap_list()
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()
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c390 uint32_t dw0 = xhci_read_cap_reg32(id, list_off); in xhci_hc_get_protocol_offset() local
392 uint32_t next_list_off = (dw0 >> 8) & 0xff; in xhci_hc_get_protocol_offset()
395 if ((dw0 & 0xff) == XHCI_XECP_ID_PROTOCOL && ((dw0 & 0xff000000) >> 24) == version) in xhci_hc_get_protocol_offset()