Lines Matching refs:bq2415x_exec_command
301 static int bq2415x_exec_command(struct bq2415x_device *bq, in bq2415x_exec_command() function
408 int ret = bq2415x_exec_command(bq, BQ2415X_PART_NUMBER); in bq2415x_detect_chip()
457 int ret = bq2415x_exec_command(bq, BQ2415X_REVISION); in bq2415x_detect_revision()
499 ret = bq2415x_exec_command(bq, BQ2415X_VENDER_CODE); in bq2415x_get_vender_code()
701 bq2415x_exec_command(bq, BQ2415X_BOOST_MODE_DISABLE); in bq2415x_set_defaults()
702 bq2415x_exec_command(bq, BQ2415X_CHARGER_DISABLE); in bq2415x_set_defaults()
703 bq2415x_exec_command(bq, BQ2415X_CHARGE_TERMINATION_DISABLE); in bq2415x_set_defaults()
712 bq2415x_exec_command(bq, BQ2415X_CHARGE_TERMINATION_ENABLE); in bq2415x_set_defaults()
715 bq2415x_exec_command(bq, BQ2415X_CHARGER_ENABLE); in bq2415x_set_defaults()
734 ret = bq2415x_exec_command(bq, BQ2415X_CHARGER_DISABLE); in bq2415x_set_mode()
737 ret = bq2415x_exec_command(bq, BQ2415X_BOOST_MODE_DISABLE); in bq2415x_set_mode()
769 ret = bq2415x_exec_command(bq, BQ2415X_CHARGER_ENABLE); in bq2415x_set_mode()
771 ret = bq2415x_exec_command(bq, BQ2415X_BOOST_MODE_ENABLE); in bq2415x_set_mode()
863 bq2415x_exec_command(bq, BQ2415X_TIMER_RESET); in bq2415x_set_autotimer()
901 ret = bq2415x_exec_command(bq, BQ2415X_TIMER_RESET); in bq2415x_timer_work()
907 boost = bq2415x_exec_command(bq, BQ2415X_BOOST_MODE_STATUS); in bq2415x_timer_work()
913 error = bq2415x_exec_command(bq, BQ2415X_FAULT_STATUS); in bq2415x_timer_work()
1005 ret = bq2415x_exec_command(bq, BQ2415X_CHARGE_STATUS); in bq2415x_power_supply_get_property()
1059 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_show_status()
1085 ret = bq2415x_exec_command(bq, BQ2415X_TIMER_RESET); in bq2415x_sysfs_set_timer()
1374 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_set_enable()
1401 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_show_enable()