Searched refs:phandle (Results 1 - 6 of 6) sorted by relevance

/gem5/src/python/m5/util/
H A Dfdthelper.py99 def phandle(self, obj): member in class:FdtState
100 """Return a unique phandle number for a key. The key can be a SimObject
101 or any value that is castable to a string. If the phandle doesn't exist
176 """Create a new node and immediately set the phandle property, if obj
219 """Append a phandle property to this node with the phandle of the
224 phandle = state.phandle(obj)
225 self.append(FdtPropertyWords("phandle", [phandle]))
[all...]
/gem5/src/dev/
H A DDevice.py106 [ state.phandle(self._iommu), self.sid ]))
/gem5/src/dev/arm/
H A DDisplay.py92 state.phandle(self.timingNode())))
H A DRealView.py173 int_phandle = state.phandle(gic)
250 phandle = state.phandle(self)
251 node = FdtNode("osc@" + format(long(phandle), 'x'))
259 ["oscclk" + str(phandle)]))
310 io_phandle = state.phandle(self.osc_mcc.parent.unproxy(self))
342 io_phandle = state.phandle(self.osc_cpu.parent.unproxy(self))
370 [state.phandle(realview.mcc.osc_peripheral),
371 state.phandle(realview.dcc.osc_smb)]))
418 clock = state.phandle(sel
[all...]
/gem5/ext/libfdt/
H A Dfdt_ro.c309 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
311 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
472 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) argument
476 if ((phandle == 0) || (phandle == -1))
490 if (fdt_get_phandle(fdt, offset) == phandle)
H A Dlibfdt.h66 /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle
67 * value. phandle values of 0 and -1 are not permitted. */
535 * fdt_get_phandle - retrieve the phandle of a given node
539 * fdt_get_phandle() retrieves the phandle of the device tree node at
543 * the phandle of the node at nodeoffset, on success (!= 0, != -1)
544 * 0, if the node has no phandle, or another error occurs
721 * fdt_node_offset_by_phandle - find the node with a given phandle
723 * @phandle: phandle value
726 * which has the given phandle valu
[all...]

Completed in 15 milliseconds