Lines Matching refs:free_pos
41 unsigned int free_pos; member
90 return !drm_WARN(&i915->drm, dsb->free_pos > dsb->size - 2, in assert_dsb_has_room()
108 dsb->free_pos = ALIGN(dsb->free_pos, 2); in intel_dsb_emit()
110 dsb->ins_start_offset = dsb->free_pos; in intel_dsb_emit()
112 buf[dsb->free_pos++] = ldw; in intel_dsb_emit()
113 buf[dsb->free_pos++] = udw; in intel_dsb_emit()
188 dsb->free_pos++; in intel_dsb_reg_write()
191 buf[dsb->free_pos++] = val; in intel_dsb_reg_write()
196 if (dsb->free_pos & 0x1) in intel_dsb_reg_write()
197 buf[dsb->free_pos] = 0; in intel_dsb_reg_write()
205 tail = dsb->free_pos * 4; in intel_dsb_align_tail()
209 memset(&dsb->cmd_buf[dsb->free_pos], 0, in intel_dsb_align_tail()
212 dsb->free_pos = aligned_tail / 4; in intel_dsb_align_tail()
256 dsb->free_pos = 0; in intel_dsb_commit()
318 dsb->free_pos = 0; in intel_dsb_prepare()