Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/pci/
H A Dpci.rs1437 let next_offset = (capability_header >> 8) as u8; in next() localVariable
1440 self.next_capability_offset = if next_offset == 0 { in next()
1442 } else if next_offset < 64 || next_offset & 0x3 != 0 { in next()
1443 warn!("Invalid next capability offset {:#04x}", next_offset); in next()
1446 Some(next_offset) in next()
1485 let next_offset = (capability_header >> 20) as u16; in next() localVariable
1488 self.next_capability_offset = if next_offset == 0 { in next()
1490 } else if next_offset < 0x100 || next_offset & 0x3 != 0 { in next()
1491 warn!("Invalid next capability offset {:#04x}", next_offset); in next()
1494 Some(next_offset) in next()