Lines Matching refs:command
311 enum bq2415x_command command) in bq2415x_exec_command() argument
315 switch (command) { in bq2415x_exec_command()
1099 enum bq2415x_command command; in bq2415x_sysfs_show_status() local
1103 command = BQ2415X_OTG_STATUS; in bq2415x_sysfs_show_status()
1105 command = BQ2415X_CHARGE_STATUS; in bq2415x_sysfs_show_status()
1107 command = BQ2415X_BOOST_STATUS; in bq2415x_sysfs_show_status()
1109 command = BQ2415X_FAULT_STATUS; in bq2415x_sysfs_show_status()
1113 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_show_status()
1406 enum bq2415x_command command; in bq2415x_sysfs_set_enable() local
1414 command = val ? BQ2415X_CHARGE_TERMINATION_ENABLE : in bq2415x_sysfs_set_enable()
1417 command = val ? BQ2415X_HIGH_IMPEDANCE_ENABLE : in bq2415x_sysfs_set_enable()
1420 command = val ? BQ2415X_OTG_PIN_ENABLE : in bq2415x_sysfs_set_enable()
1423 command = val ? BQ2415X_STAT_PIN_ENABLE : in bq2415x_sysfs_set_enable()
1428 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_set_enable()
1441 enum bq2415x_command command; in bq2415x_sysfs_show_enable() local
1445 command = BQ2415X_CHARGE_TERMINATION_STATUS; in bq2415x_sysfs_show_enable()
1447 command = BQ2415X_HIGH_IMPEDANCE_STATUS; in bq2415x_sysfs_show_enable()
1449 command = BQ2415X_OTG_PIN_STATUS; in bq2415x_sysfs_show_enable()
1451 command = BQ2415X_STAT_PIN_STATUS; in bq2415x_sysfs_show_enable()
1455 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_show_enable()