Lines Matching refs:strncmp
614 if (strncmp(name, regulators_table[i].dt_node_name, in get_regulator_data()
688 if ((strncmp(name, "ldo3", 5) == 0) && ldo3_special_mode) { in stpmic1_regulator_voltage_set()
699 if (strncmp(name, "buck", 4) == 0) { in stpmic1_regulator_voltage_set()
701 } else if ((strncmp(name, "ldo", 3) == 0) && in stpmic1_regulator_voltage_set()
702 (strncmp(name, "ldo4", 5) != 0)) { in stpmic1_regulator_voltage_set()
756 if (strncmp(name, "ldo3", 5) != 0) { in stpmic1_regulator_sink_mode_set()
770 if (strncmp(name, "ldo3", 5) != 0) { in stpmic1_regulator_bypass_mode_set()
784 if (strncmp(name, "pwr_sw1", 8) == 0) { in stpmic1_active_discharge_mode_set()
790 if (strncmp(name, "pwr_sw2", 8) == 0) { in stpmic1_active_discharge_mode_set()
804 if ((strncmp(name, "ldo3", 5) == 0) && ldo3_special_mode) { in stpmic1_regulator_levels_mv()
822 if ((strncmp(name, "ldo3", 5) == 0) && ldo3_special_mode) { in stpmic1_regulator_voltage_get()
827 if (strncmp(name, "buck", 4) == 0) { in stpmic1_regulator_voltage_get()
829 } else if ((strncmp(name, "ldo", 3) == 0) && in stpmic1_regulator_voltage_get()
830 (strncmp(name, "ldo4", 5) != 0)) { in stpmic1_regulator_voltage_get()