Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/driver/pci/
Dpci.rs1467 let next_offset = (capability_header >> 8) as u8; in next() localVariable
1470 self.next_capability_offset = if next_offset == 0 { in next()
1472 } else if next_offset < 64 || next_offset & 0x3 != 0 { in next()
1473 kwarn!("Invalid next capability offset {:#04x}", next_offset); in next()
1476 Some(next_offset) in next()
1515 let next_offset = (capability_header >> 20) as u16; in next() localVariable
1518 self.next_capability_offset = if next_offset == 0 { in next()
1520 } else if next_offset < 0x100 || next_offset & 0x3 != 0 { in next()
1521 kwarn!("Invalid next capability offset {:#04x}", next_offset); in next()
1524 Some(next_offset) in next()