Lines Matching refs:sprintf

1059 		sprintf(revstr, "1.%d", ret);  in bq2415x_power_supply_init()
1116 return sprintf(buf, "%d\n", ret); in bq2415x_sysfs_show_status()
1155 return sprintf(buf, "%s\n", bq->timer_error); in bq2415x_sysfs_show_timer()
1158 return sprintf(buf, "auto\n"); in bq2415x_sysfs_show_timer()
1159 return sprintf(buf, "off\n"); in bq2415x_sysfs_show_timer()
1232 ret += sprintf(buf+ret, "auto ("); in bq2415x_sysfs_show_mode()
1236 ret += sprintf(buf+ret, "off"); in bq2415x_sysfs_show_mode()
1239 ret += sprintf(buf+ret, "none"); in bq2415x_sysfs_show_mode()
1242 ret += sprintf(buf+ret, "host"); in bq2415x_sysfs_show_mode()
1245 ret += sprintf(buf+ret, "dedicated"); in bq2415x_sysfs_show_mode()
1248 ret += sprintf(buf+ret, "boost"); in bq2415x_sysfs_show_mode()
1253 ret += sprintf(buf+ret, ")"); in bq2415x_sysfs_show_mode()
1255 ret += sprintf(buf+ret, "\n"); in bq2415x_sysfs_show_mode()
1272 return sprintf(buf, "off\n"); in bq2415x_sysfs_show_reported_mode()
1274 return sprintf(buf, "none\n"); in bq2415x_sysfs_show_reported_mode()
1276 return sprintf(buf, "host\n"); in bq2415x_sysfs_show_reported_mode()
1278 return sprintf(buf, "dedicated\n"); in bq2415x_sysfs_show_reported_mode()
1280 return sprintf(buf, "boost\n"); in bq2415x_sysfs_show_reported_mode()
1318 return sprintf(buf, "%#.2x=error %d\n", reg, ret); in bq2415x_sysfs_print_reg()
1319 return sprintf(buf, "%#.2x=%#.2x\n", reg, ret); in bq2415x_sysfs_print_reg()
1395 return sprintf(buf, "%d\n", ret); in bq2415x_sysfs_show_limit()
1458 return sprintf(buf, "%d\n", ret); in bq2415x_sysfs_show_enable()