Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs1512 let next_offset = (capability_header >> 8) as u8; in next() localVariable
1515 self.next_capability_offset = if next_offset == 0 { in next()
1517 } else if next_offset < 64 || next_offset & 0x3 != 0 { in next()
1518 kwarn!("Invalid next capability offset {:#04x}", next_offset); in next()
1521 Some(next_offset) in next()
1560 let next_offset = (capability_header >> 20) as u16; in next() localVariable
1563 self.next_capability_offset = if next_offset == 0 { in next()
1565 } else if next_offset < 0x100 || next_offset & 0x3 != 0 { in next()
1566 kwarn!("Invalid next capability offset {:#04x}", next_offset); in next()
1569 Some(next_offset) in next()