Lines Matching refs:sprintf
644 ret = sprintf(buf, "%d.%d\n",
656 return sprintf(buf, "%u\n", APDS_RANGE);
664 return sprintf(buf, "%u\n", APDS_CALIB_SCALER);
675 return sprintf(buf, "%u\n", chip->lux_calib);
705 pos += sprintf(buf + pos, "%d ", arates_hz[i]);
706 sprintf(buf + pos - 1, "\n");
715 return sprintf(buf, "%d\n", chip->arate);
779 ret = sprintf(buf, "%d\n", chip->prox_data);
789 return sprintf(buf, "%u\n", APDS_PROX_RANGE);
799 return sprintf(buf, "%d\n", chip->prox_en);
840 return sprintf(buf, "%s\n",
866 return sprintf(buf, "%s %s\n", reporting_modes[0], reporting_modes[1]);
878 return sprintf(buf, "%d\n", chip->lux_thres_hi);
886 return sprintf(buf, "%d\n", chip->lux_thres_lo);
952 return sprintf(buf, "%d\n", chip->prox_thres);
986 return sprintf(buf, "%d\n", !pm_runtime_suspended(dev));
1025 return sprintf(buf, "%s %d\n", chip->chipname, chip->revision);