Searched refs:to_num (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/scripts/dts/python-devicetree/tests/ |
D | test_dtlib.py | 819 phandle = dtlib.to_num(dt.root.props[prop].value[offset:offset + 4]) 1669 actual = dt.root.props[prop].to_num(signed) 1675 dt.root.props[prop].to_num() 1892 verify_raw_to_num(dtlib.to_num, "u", None, False, 1) 1893 verify_raw_to_num(dtlib.to_num, "u", 4, False, 1) 1894 verify_raw_to_num(dtlib.to_num, "s", None, False, 0xFFFFFFFF) 1895 verify_raw_to_num(dtlib.to_num, "s", None, True, -1) 1901 verify_raw_to_num_error(dtlib.to_num, 0, 0, "'0' has type 'int', expected 'bytes'") 1902 verify_raw_to_num_error(dtlib.to_num, b"", 0, "'length' must be greater than zero, was 0") 1903 verify_raw_to_num_error(dtlib.to_num, b"foo", 2, "b'foo' is 3 bytes long, expected 2")
|
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 87 from devicetree.dtlib import DT, DTError, to_num, to_nums, Type 1240 n_cells = self.parent._node.props["#gpio-cells"].to_num() 1544 return prop.to_num() 1621 child_address_cells = raw_child_address_cells.to_num() 1626 child_size_cells = raw_child_size_cells.to_num() 1650 child_bus_addr = to_num(raw_range[:4*child_address_cells]) 1655 parent_bus_addr = to_num( 1662 length = to_num( 1688 addr = _translate(to_num(raw_reg[:4*address_cells]), node) 1692 size = to_num(raw_reg[4*address_cells:]) [all …]
|
D | dtlib.py | 370 def to_num(self, signed=False) -> int: member in Property 2009 def to_num(data: bytes, length: Optional[int] = None, function
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | intel_cyclonev.py | 181 def to_num(self, number): member in IntelCycloneVBinaryRunner 203 return [self.to_num(i) for i in version]
|
D | openocd.py | 31 def to_num(number): function 228 return [to_num(i) for i in version]
|