Lines Matching refs:status

59 	int status = dt_pmic_status();  in dt_pmic_is_secure()  local
61 return (status >= 0) && in dt_pmic_is_secure()
62 (status == DT_SECURE) && in dt_pmic_is_secure()
132 int status; local
149 status = stpmic1_regulator_pull_down_set(node_name);
150 if (status != 0) {
151 return status;
158 status = stpmic1_regulator_mask_reset_set(node_name);
159 if (status != 0) {
160 return status;
173 status = stpmic1_regulator_voltage_set(node_name, voltage);
174 if (status != 0) {
175 return status;
179 status = stpmic1_regulator_enable(node_name);
180 if (status != 0) {
181 return status;
208 i2c->dt_status = i2c_info.status;
282 int status; local
287 status = stpmic1_register_read(LDO3_CONTROL_REG, &read_val);
288 if (status != 0) {
289 return status;
297 status = stpmic1_register_write(LDO3_CONTROL_REG, read_val);
298 if (status != 0) {
299 return status;
302 status = stpmic1_regulator_voltage_set("buck2", 1350);
303 if (status != 0) {
304 return status;
307 status = stpmic1_regulator_enable("buck2");
308 if (status != 0) {
309 return status;
314 status = stpmic1_regulator_enable("vref_ddr");
315 if (status != 0) {
316 return status;
321 status = stpmic1_regulator_enable("ldo3");
322 if (status != 0) {
323 return status;
336 status = stpmic1_register_read(BUCK3_CONTROL_REG, &read_val);
337 if (status != 0) {
338 return status;
345 status = stpmic1_register_read(LDO3_CONTROL_REG, &read_val);
346 if (status != 0) {
347 return status;
357 status = stpmic1_register_write(LDO3_CONTROL_REG, read_val);
358 if (status != 0) {
359 return status;
362 status = stpmic1_regulator_voltage_set("buck2", 1200);
363 if (status != 0) {
364 return status;
367 status = stpmic1_regulator_enable("ldo3");
368 if (status != 0) {
369 return status;
374 status = stpmic1_regulator_enable("buck2");
375 if (status != 0) {
376 return status;
381 status = stpmic1_regulator_enable("vref_ddr");
382 if (status != 0) {
383 return status;