Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/pci/
H A Dpci.rs1328 let bar_orig = in pci_bar_init() localVariable
1345 bar_orig, in pci_bar_init()
1350 if bar_orig & 0x00000001 == 0x00000001 { in pci_bar_init()
1352 let address = bar_orig & 0xfffffffc; in pci_bar_init()
1356 let mut address = u64::from(bar_orig & 0xfffffff0); in pci_bar_init()
1357 let prefetchable = bar_orig & 0x00000008 != 0; in pci_bar_init()
1358 let address_type = MemoryBarType::try_from(((bar_orig & 0x00000006) >> 1) as u8)?; in pci_bar_init()