Lines Matching refs:cstr
34 use cstr::cstr;
170 self.getprop_str(cstr!("device_type")) in device_type()
175 if let Some(cells) = self.getprop_cells(cstr!("reg"))? { in reg()
189 if let Some(cells) = self.getprop_cells(cstr!("ranges"))? { in ranges()
323 if let Some(prop) = self.getprop_u32(cstr!("phandle"))? { in get_phandle()
325 } else if let Some(prop) = self.getprop_u32(cstr!("linux,phandle"))? { in get_phandle()
696 let node = self.root().subnode(cstr!("memory"))?.ok_or(FdtError::NotFound)?; in memory()
697 if node.device_type()? != Some(cstr!("memory")) { in memory()
710 self.root().subnode(cstr!("chosen")) in chosen()
715 self.node_mut(cstr!("/chosen")) in chosen_mut()
725 self.root().subnode(cstr!("__symbols__")) in symbols()
730 self.node_mut(cstr!("/__symbols__")) in symbols_mut()