Lines Matching refs:command
310 enum bq2415x_command command) in bq2415x_exec_command() argument
314 switch (command) { in bq2415x_exec_command()
1086 enum bq2415x_command command; in bq2415x_sysfs_show_status() local
1090 command = BQ2415X_OTG_STATUS; in bq2415x_sysfs_show_status()
1092 command = BQ2415X_CHARGE_STATUS; in bq2415x_sysfs_show_status()
1094 command = BQ2415X_BOOST_STATUS; in bq2415x_sysfs_show_status()
1096 command = BQ2415X_FAULT_STATUS; in bq2415x_sysfs_show_status()
1100 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_show_status()
1393 enum bq2415x_command command; in bq2415x_sysfs_set_enable() local
1401 command = val ? BQ2415X_CHARGE_TERMINATION_ENABLE : in bq2415x_sysfs_set_enable()
1404 command = val ? BQ2415X_HIGH_IMPEDANCE_ENABLE : in bq2415x_sysfs_set_enable()
1407 command = val ? BQ2415X_OTG_PIN_ENABLE : in bq2415x_sysfs_set_enable()
1410 command = val ? BQ2415X_STAT_PIN_ENABLE : in bq2415x_sysfs_set_enable()
1415 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_set_enable()
1428 enum bq2415x_command command; in bq2415x_sysfs_show_enable() local
1432 command = BQ2415X_CHARGE_TERMINATION_STATUS; in bq2415x_sysfs_show_enable()
1434 command = BQ2415X_HIGH_IMPEDANCE_STATUS; in bq2415x_sysfs_show_enable()
1436 command = BQ2415X_OTG_PIN_STATUS; in bq2415x_sysfs_show_enable()
1438 command = BQ2415X_STAT_PIN_STATUS; in bq2415x_sysfs_show_enable()
1442 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_show_enable()