Lines Matching refs:phandle
156 let phandle = Phandle::new(value).unwrap(); in phandle_new() localVariable
158 assert_eq!(value.try_into(), Ok(phandle)); in phandle_new()
159 assert_eq!(u32::from(phandle), value); in phandle_new()
177 let phandle = Phandle::new(0xFF).unwrap(); in max_phandle() localVariable
179 assert_eq!(fdt.max_phandle(), Ok(phandle)); in max_phandle()
188 let phandle = Phandle::new(0xFF).unwrap(); in node_with_phandle() localVariable
189 let node = fdt.node_with_phandle(phandle).unwrap().unwrap(); in node_with_phandle()
193 let phandle = Phandle::new(0x22).unwrap(); in node_with_phandle() localVariable
194 let node = fdt.node_with_phandle(phandle).unwrap().unwrap(); in node_with_phandle()
204 let phandle = Phandle::new(0xFF).unwrap(); in node_mut_with_phandle() localVariable
205 let node: FdtNodeMut = fdt.node_mut_with_phandle(phandle).unwrap().unwrap(); in node_mut_with_phandle()
209 let phandle = Phandle::new(0x22).unwrap(); in node_mut_with_phandle() localVariable
210 let node: FdtNodeMut = fdt.node_mut_with_phandle(phandle).unwrap().unwrap(); in node_mut_with_phandle()
236 let phandle = Phandle::new(0xFF).unwrap(); in node_nop() localVariable
239 fdt.node_with_phandle(phandle).unwrap().unwrap(); in node_nop()
244 assert_eq!(fdt.node_with_phandle(phandle), Ok(None)); in node_nop()
250 assert_eq!(fdt.node_with_phandle(phandle), Ok(None)); in node_nop()