Lines Matching refs:nodeoff
668 int nodeoff; in check_fdt_new_path() local
670 nodeoff = fdt_path_offset(blob, soc_path); in check_fdt_new_path()
671 if (nodeoff < 0) in check_fdt_new_path()
681 int nodeoff; in disable_fdt_nodes() local
685 nodeoff = fdt_path_offset(blob, nodes_path[i]); in disable_fdt_nodes()
686 if (nodeoff < 0) in disable_fdt_nodes()
692 rc = fdt_setprop(blob, nodeoff, "status", status, strlen(status) + 1); in disable_fdt_nodes()
780 int nodeoff; in check_mipi_dsi_nodes() local
784 nodeoff = fdt_path_offset(blob, lcdif_path[i]); in check_mipi_dsi_nodes()
785 if (nodeoff < 0 || !fdtdec_get_is_enabled(blob, nodeoff)) { in check_mipi_dsi_nodes()
794 nodeoff = fdt_path_offset(blob, mipi_dsi_path[i]); in check_mipi_dsi_nodes()
795 if (nodeoff < 0 || !fdtdec_get_is_enabled(blob, nodeoff)) in check_mipi_dsi_nodes()
798 nodeoff = fdt_path_offset(blob, lcdif_ep_path[i]); in check_mipi_dsi_nodes()
799 if (nodeoff < 0) { in check_mipi_dsi_nodes()
807 lookup_node = fdtdec_lookup_phandle(blob, nodeoff, "remote-endpoint"); in check_mipi_dsi_nodes()
808 nodeoff = fdt_path_offset(blob, mipi_dsi_ep_path[i]); in check_mipi_dsi_nodes()
810 if (nodeoff > 0 && nodeoff == lookup_node) in check_mipi_dsi_nodes()
854 int nodeoff, cnt, i; in low_drive_gpu_freq() local
857 nodeoff = fdt_path_offset(blob, nodes_path_8mn[0]); in low_drive_gpu_freq()
858 if (nodeoff < 0) in low_drive_gpu_freq()
859 return nodeoff; in low_drive_gpu_freq()
861 cnt = fdtdec_get_int_array_count(blob, nodeoff, "assigned-clock-rates", assignedclks, 7); in low_drive_gpu_freq()
877 return fdt_setprop(blob, nodeoff, "assigned-clock-rates", &assignedclks, sizeof(assignedclks)); in low_drive_gpu_freq()
925 int nodeoff, cnt, i, ret, j; in disable_thermal_cpu_nodes() local
929 nodeoff = fdt_path_offset(blob, thermal_path[i]); in disable_thermal_cpu_nodes()
930 if (nodeoff < 0) in disable_thermal_cpu_nodes()
933 cnt = fdtdec_get_int_array_count(blob, nodeoff, "cooling-device", cooling_dev, 12); in disable_thermal_cpu_nodes()
943 ret = fdt_setprop(blob, nodeoff, "cooling-device", &cooling_dev, in disable_thermal_cpu_nodes()
961 int nodeoff, cnt, i, ret, j; in disable_pmu_cpu_nodes() local
965 nodeoff = fdt_path_offset(blob, pmu_path[i]); in disable_pmu_cpu_nodes()
966 if (nodeoff < 0) in disable_pmu_cpu_nodes()
969 cnt = fdtdec_get_int_array_count(blob, nodeoff, "interrupt-affinity", in disable_pmu_cpu_nodes()
980 ret = fdt_setprop(blob, nodeoff, "interrupt-affinity", &irq_affinity, in disable_pmu_cpu_nodes()
1001 int nodeoff; in disable_cpu_nodes() local
1009 nodeoff = fdt_path_offset(blob, nodes_path[i]); in disable_cpu_nodes()
1010 if (nodeoff < 0) in disable_cpu_nodes()
1015 rc = fdt_del_node(blob, nodeoff); in disable_cpu_nodes()
1035 int nodeoff; in ft_system_setup() local
1047 nodeoff = fdt_path_offset(blob, usb_dwc3_path[v]); in ft_system_setup()
1048 if (nodeoff >= 0) { in ft_system_setup()
1055 rc = fdt_setprop(blob, nodeoff, "maximum-speed", speed, strlen(speed) + 1); in ft_system_setup()
1083 nodeoff = fdt_path_offset(blob, nodes_path[i]); in ft_system_setup()
1084 if (nodeoff < 0) in ft_system_setup()
1089 rc = fdt_delprop(blob, nodeoff, "cpu-idle-states"); in ft_system_setup()