Home
last modified time | relevance | path

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

/dev/bus/pci/bus_mgr/
A Ddevice.cpp302 uint16_t control; in allocate_msi() local
303 pci_read_config_half(loc(), cap_offset + 2, &control); in allocate_msi()
304 pci_write_config_half(loc(), cap_offset + 2, control & ~(0x1)); // disable MSI in allocate_msi()
306 if (control & (1<<7)) { in allocate_msi()
315 control = 1; // NME/NMI = 1, no per vector masking, keep 64bit flag, enable in allocate_msi()
316 pci_write_config_half(loc(), cap_offset + 2, control); in allocate_msi()

Completed in 7 milliseconds