Home
last modified time | relevance | path

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

/packages/modules/Virtualization/libs/fdtpci/src/
Dlib.rs72 Self::CamWrongSize(cam_size) => write!( in fmt()
75 cam_size, PCI_CFG_SIZE in fmt()
145 let cam_size = pci_reg.size.ok_or(PciError::FdtRegMissingSize)? as usize; in parse_cam_range() localVariable
146 debug!("Found PCI CAM at {:#x}-{:#x}", cam_addr, cam_addr + cam_size); in parse_cam_range()
150 if cam_size != PCI_CFG_SIZE { in parse_cam_range()
151 return Err(PciError::CamWrongSize(cam_size)); in parse_cam_range()
154 Ok(cam_addr..cam_addr + cam_size) in parse_cam_range()