Lines Matching refs:values_cnt
91 size_t values_cnt;
99 &values_cnt)) {
127 size_t values_cnt;
146 ret = crtc->funcs->verify_crc_source(crtc, source, &values_cnt);
191 crc->values_cnt = 0;
200 size_t values_cnt;
216 ret = crtc->funcs->verify_crc_source(crtc, crc->source, &values_cnt);
220 if (WARN_ON(values_cnt > DRM_MAX_CRC_NR))
223 if (WARN_ON(values_cnt == 0))
234 crc->values_cnt = values_cnt;
281 #define LINE_LEN(values_cnt) (10 + 11 * values_cnt + 1 + 1)
319 if (count < LINE_LEN(crc->values_cnt)) {
334 for (i = 0; i < crc->values_cnt; i++)
336 sprintf(buf + 10 + crc->values_cnt * 11, "\n");
338 if (copy_to_user(user_buf, buf, LINE_LEN(crc->values_cnt)))
341 return LINE_LEN(crc->values_cnt);
388 * @crcs: array of CRC values, with length matching #drm_crtc_crc.values_cnt
427 memcpy(&entry->crcs, crcs, sizeof(*crcs) * crc->values_cnt);