Searched refs:DRM_CRC_ENTRIES_NR (Results 1 – 2 of 2) sorted by relevance
181 return CIRC_CNT(crc->head, crc->tail, DRM_CRC_ENTRIES_NR); in crtc_crc_data_count()226 entries = kcalloc(DRM_CRC_ENTRIES_NR, sizeof(*entries), GFP_KERNEL); in crtc_crc_open()324 BUILD_BUG_ON_NOT_POWER_OF_2(DRM_CRC_ENTRIES_NR); in crtc_crc_read()325 crc->tail = (crc->tail + 1) & (DRM_CRC_ENTRIES_NR - 1); in crtc_crc_read()412 if (CIRC_SPACE(head, tail, DRM_CRC_ENTRIES_NR) < 1) { in drm_crtc_add_crc_entry()429 head = (head + 1) & (DRM_CRC_ENTRIES_NR - 1); in drm_crtc_add_crc_entry()
39 #define DRM_CRC_ENTRIES_NR 128 macro