Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.rs1405 let next_offset = (capability_header >> 8) as u8; in next() localVariable
1408 self.next_capability_offset = if next_offset == 0 { in next()
1410 } else if next_offset < 64 || next_offset & 0x3 != 0 { in next()
1411 kwarn!("Invalid next capability offset {:#04x}", next_offset); in next()
1414 Some(next_offset) in next()
1453 let next_offset = (capability_header >> 20) as u16; in next() localVariable
1456 self.next_capability_offset = if next_offset == 0 { in next()
1458 } else if next_offset < 0x100 || next_offset & 0x3 != 0 { in next()
1459 kwarn!("Invalid next capability offset {:#04x}", next_offset); in next()
1462 Some(next_offset) in next()