Lines Matching refs:status

510 		int status = board->teardown(client, board->context);  in tps65010_remove()  local
511 if (status < 0) in tps65010_remove()
513 "teardown", client->name, status); in tps65010_remove()
527 int status; in tps65010_probe() local
551 status = request_irq(client->irq, tps65010_irq, in tps65010_probe()
553 if (status < 0) { in tps65010_probe()
555 client->irq, status); in tps65010_probe()
556 return status; in tps65010_probe()
640 status = gpiochip_add_data(&tps->chip, tps); in tps65010_probe()
641 if (status < 0) in tps65010_probe()
643 status); in tps65010_probe()
645 status = board->setup(client, board->context); in tps65010_probe()
646 if (status < 0) { in tps65010_probe()
649 "setup", client->name, status); in tps65010_probe()
650 status = 0; in tps65010_probe()
720 int status; in tps65010_set_gpio_out_value() local
746 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_gpio_out_value()
754 return status; in tps65010_set_gpio_out_value()
765 int status; in tps65010_set_led() local
808 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_led()
811 if (status != 0) { in tps65010_set_led()
815 return status; in tps65010_set_led()
821 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_led()
824 if (status != 0) { in tps65010_set_led()
828 return status; in tps65010_set_led()
837 return status; in tps65010_set_led()
847 int status; in tps65010_set_vib() local
859 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_vib()
865 return status; in tps65010_set_vib()
875 int status; in tps65010_set_low_pwr() local
899 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_set_low_pwr()
902 if (status != 0) in tps65010_set_low_pwr()
911 return status; in tps65010_set_low_pwr()
922 int status; in tps65010_config_vregs1() local
932 status = i2c_smbus_write_byte_data(the_tps->client, in tps65010_config_vregs1()
935 if (status != 0) in tps65010_config_vregs1()
944 return status; in tps65010_config_vregs1()
951 int status; in tps65010_config_vdcdc2() local
962 status = i2c_smbus_write_byte_data(c, TPS_VDCDC2, value); in tps65010_config_vdcdc2()
964 if (status != 0) in tps65010_config_vdcdc2()
972 return status; in tps65010_config_vdcdc2()
986 int status; in tps65013_set_low_pwr() local
1015 status = i2c_smbus_write_byte_data(the_tps->client, in tps65013_set_low_pwr()
1017 if (status != 0) { in tps65013_set_low_pwr()
1021 return status; in tps65013_set_low_pwr()
1028 status = i2c_smbus_write_byte_data(the_tps->client, in tps65013_set_low_pwr()
1031 if (status != 0) in tps65013_set_low_pwr()
1040 return status; in tps65013_set_low_pwr()