Lines Matching refs:scaler_state
314 static int intel_atomic_setup_scaler(struct intel_crtc_scaler_state *scaler_state, in intel_atomic_setup_scaler() argument
327 if (scaler_state->scalers[j].in_use) in intel_atomic_setup_scaler()
331 scaler_state->scalers[*scaler_id].in_use = 1; in intel_atomic_setup_scaler()
371 scaler_state->scalers[*scaler_id].in_use = 0; in intel_atomic_setup_scaler()
373 scaler_state->scalers[0].in_use = 1; in intel_atomic_setup_scaler()
441 scaler_state->scalers[*scaler_id].mode = mode; in intel_atomic_setup_scaler()
470 struct intel_crtc_scaler_state *scaler_state = in intel_atomic_setup_scalers() local
471 &crtc_state->scaler_state; in intel_atomic_setup_scalers()
477 num_scalers_need = hweight32(scaler_state->scaler_users); in intel_atomic_setup_scalers()
500 for (i = 0; i < sizeof(scaler_state->scaler_users) * 8; i++) { in intel_atomic_setup_scalers()
506 if (!(scaler_state->scaler_users & (1 << i))) in intel_atomic_setup_scalers()
514 scaler_id = &scaler_state->scaler_id; in intel_atomic_setup_scalers()
560 ret = intel_atomic_setup_scaler(scaler_state, num_scalers_need, in intel_atomic_setup_scalers()