Lines Matching refs:to_num
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:])
2771 child_addr = to_num(raw_range[:4*child_address_cells])
2774 parent_addr = to_num(raw_range[:4*parent_address_cells])
2777 child_len = to_num(raw_range)
2889 return address_cells.to_num()
2919 return node.props[prop_name].to_num()
2979 phandle = to_num(raw[:4])
3133 phandle = to_num(raw[:4])
3146 n_cells = node.props[full_n_cells_name].to_num()
3163 return node.parent.props["#address-cells"].to_num()
3174 return node.parent.props["#size-cells"].to_num()
3184 return node.props["#interrupt-cells"].to_num()