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()
552 int entries, wm_size; in intel_calculate_wm() local566 wm_size = fifo_size - entries; in intel_calculate_wm()567 drm_dbg_kms(&i915->drm, "FIFO watermark level: %d\n", wm_size); in intel_calculate_wm()570 if (wm_size > wm->max_wm) in intel_calculate_wm()571 wm_size = wm->max_wm; in intel_calculate_wm()572 if (wm_size <= 0) in intel_calculate_wm()573 wm_size = wm->default_wm; in intel_calculate_wm()582 if (wm_size <= 8) in intel_calculate_wm()583 wm_size = 8; in intel_calculate_wm()585 return wm_size; in intel_calculate_wm()