Home
last modified time | relevance | path

Searched refs:LINE_LEN (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c281 #define LINE_LEN(values_cnt) (10 + 11 * values_cnt + 1 + 1) macro
282 #define MAX_LINE_LEN (LINE_LEN(DRM_MAX_CRC_NR))
319 if (count < LINE_LEN(crc->values_cnt)) { in crtc_crc_read()
338 if (copy_to_user(user_buf, buf, LINE_LEN(crc->values_cnt))) in crtc_crc_read()
341 return LINE_LEN(crc->values_cnt); in crtc_crc_read()
/openbmc/linux/tools/power/cpupower/utils/
H A Dcpufreq-info.c21 #define LINE_LEN 10 macro
26 char value[LINE_LEN]; in count_cpus()
37 if (!fgets(value, LINE_LEN, fp)) in count_cpus()
39 value[LINE_LEN - 1] = '\0'; in count_cpus()
40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus()
H A Dcpuidle-info.c21 #define LINE_LEN 10 macro