Searched refs:wm_size (Results 1 – 2 of 2) sorted by relevance
169 size_t wm_size; in inv_icm42600_wm_truncate() local172 wm_size = watermark * packet_size; in inv_icm42600_wm_truncate()173 if (wm_size > INV_ICM42600_FIFO_WATERMARK_MAX) in inv_icm42600_wm_truncate()174 wm_size = INV_ICM42600_FIFO_WATERMARK_MAX; in inv_icm42600_wm_truncate()176 wm = wm_size / packet_size; in inv_icm42600_wm_truncate()205 size_t packet_size, wm_size; in inv_icm42600_buffer_update_watermark() local259 wm_size = watermark * packet_size; in inv_icm42600_buffer_update_watermark()268 raw_wm = INV_ICM42600_FIFO_WATERMARK_VAL(wm_size); in inv_icm42600_buffer_update_watermark()
563 int entries, wm_size; in intel_calculate_wm() local577 wm_size = fifo_size - entries; in intel_calculate_wm()578 drm_dbg_kms(&i915->drm, "FIFO watermark level: %d\n", wm_size); in intel_calculate_wm()581 if (wm_size > wm->max_wm) in intel_calculate_wm()582 wm_size = wm->max_wm; in intel_calculate_wm()583 if (wm_size <= 0) in intel_calculate_wm()584 wm_size = wm->default_wm; in intel_calculate_wm()593 if (wm_size <= 8) in intel_calculate_wm()594 wm_size = 8; in intel_calculate_wm()596 return wm_size; in intel_calculate_wm()