Searched refs:pci_write_config (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.3/kernel/src/driver/pci/ |
D | msi.c | 192 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr, tmp); in pci_enable_msi() 202 …pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr + 0x4, (uint32_t)(message_addr & 0xffff… in pci_enable_msi() 205 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr + 0x8, in pci_enable_msi() 212 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr + 0xc, tmp); in pci_enable_msi() 214 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr + 0x8, tmp); in pci_enable_msi() 219 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr, tmp); in pci_enable_msi() 252 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr, tmp); in pci_start_msi() 269 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr, tmp); in pci_start_msi() 310 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr, tmp); in pci_disable_msi() 327 pci_write_config(ptr->bus, ptr->device, ptr->func, cap_ptr, tmp); in pci_disable_msi()
|
D | pci.h | 190 uint pci_write_config(uchar bus, uchar slot, uchar func, uchar offset, uint32_t data);
|
D | pci.c | 64 uint pci_write_config(uchar bus, uchar slot, uchar func, uchar offset, uint32_t data) in pci_write_config() function
|
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.c | 2108 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x4, tmp); in xhci_init() 2154 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x60, tmp); in xhci_init() 2163 …pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0xd8, 0xffffff… in xhci_init() 2164 …pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0xd0, 0xffffff… in xhci_init()
|