Lines Matching refs:sprintf

1046 		sprintf(revstr, "1.%d", ret);  in bq2415x_power_supply_init()
1103 return sprintf(buf, "%d\n", ret); in bq2415x_sysfs_show_status()
1142 return sprintf(buf, "%s\n", bq->timer_error); in bq2415x_sysfs_show_timer()
1145 return sprintf(buf, "auto\n"); in bq2415x_sysfs_show_timer()
1146 return sprintf(buf, "off\n"); in bq2415x_sysfs_show_timer()
1219 ret += sprintf(buf+ret, "auto ("); in bq2415x_sysfs_show_mode()
1223 ret += sprintf(buf+ret, "off"); in bq2415x_sysfs_show_mode()
1226 ret += sprintf(buf+ret, "none"); in bq2415x_sysfs_show_mode()
1229 ret += sprintf(buf+ret, "host"); in bq2415x_sysfs_show_mode()
1232 ret += sprintf(buf+ret, "dedicated"); in bq2415x_sysfs_show_mode()
1235 ret += sprintf(buf+ret, "boost"); in bq2415x_sysfs_show_mode()
1240 ret += sprintf(buf+ret, ")"); in bq2415x_sysfs_show_mode()
1242 ret += sprintf(buf+ret, "\n"); in bq2415x_sysfs_show_mode()
1259 return sprintf(buf, "off\n"); in bq2415x_sysfs_show_reported_mode()
1261 return sprintf(buf, "none\n"); in bq2415x_sysfs_show_reported_mode()
1263 return sprintf(buf, "host\n"); in bq2415x_sysfs_show_reported_mode()
1265 return sprintf(buf, "dedicated\n"); in bq2415x_sysfs_show_reported_mode()
1267 return sprintf(buf, "boost\n"); in bq2415x_sysfs_show_reported_mode()
1305 return sprintf(buf, "%#.2x=error %d\n", reg, ret); in bq2415x_sysfs_print_reg()
1306 return sprintf(buf, "%#.2x=%#.2x\n", reg, ret); in bq2415x_sysfs_print_reg()
1382 return sprintf(buf, "%d\n", ret); in bq2415x_sysfs_show_limit()
1445 return sprintf(buf, "%d\n", ret); in bq2415x_sysfs_show_enable()