Lines Matching refs:priority

419 					u32 server, u8 priority, bool masked,  in kvmppc_xive_native_update_source_config()  argument
428 if (state->act_server == server && state->act_priority == priority && in kvmppc_xive_native_update_source_config()
433 priority, server, masked, state->act_server, in kvmppc_xive_native_update_source_config()
438 if (priority != MASKED && !masked) { in kvmppc_xive_native_update_source_config()
439 rc = kvmppc_xive_select_target(kvm, &server, priority); in kvmppc_xive_native_update_source_config()
443 state->act_priority = priority; in kvmppc_xive_native_update_source_config()
449 priority, eisn); in kvmppc_xive_native_update_source_config()
472 u8 priority; in kvmppc_xive_native_set_source_config() local
490 priority = (kvm_cfg & KVM_XIVE_SOURCE_PRIORITY_MASK) >> in kvmppc_xive_native_set_source_config()
499 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_set_source_config()
501 priority, server); in kvmppc_xive_native_set_source_config()
506 priority, masked, eisn); in kvmppc_xive_native_set_source_config()
567 u8 priority; in kvmppc_xive_native_set_queue_config() local
580 priority = (eq_idx & KVM_XIVE_EQ_PRIORITY_MASK) >> in kvmppc_xive_native_set_queue_config()
595 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_set_queue_config()
597 priority, server); in kvmppc_xive_native_set_queue_config()
600 q = &xc->queues[priority]; in kvmppc_xive_native_set_queue_config()
603 __func__, server, priority, kvm_eq.flags, in kvmppc_xive_native_set_queue_config()
611 rc = kvmppc_xive_native_configure_queue(xc->vp_id, q, priority, in kvmppc_xive_native_set_queue_config()
615 priority, xc->server_num, rc); in kvmppc_xive_native_set_queue_config()
678 rc = kvmppc_xive_native_configure_queue(xc->vp_id, q, priority, in kvmppc_xive_native_set_queue_config()
682 priority, xc->server_num, rc); in kvmppc_xive_native_set_queue_config()
692 rc = xive_native_set_queue_state(xc->vp_id, priority, in kvmppc_xive_native_set_queue_config()
699 rc = kvmppc_xive_attach_escalation(vcpu, priority, in kvmppc_xive_native_set_queue_config()
703 kvmppc_xive_native_cleanup_queue(vcpu, priority); in kvmppc_xive_native_set_queue_config()
716 u8 priority; in kvmppc_xive_native_get_queue_config() local
728 priority = (eq_idx & KVM_XIVE_EQ_PRIORITY_MASK) >> in kvmppc_xive_native_get_queue_config()
740 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_get_queue_config()
742 priority, server); in kvmppc_xive_native_get_queue_config()
745 q = &xc->queues[priority]; in kvmppc_xive_native_get_queue_config()
752 rc = xive_native_get_queue_info(xc->vp_id, priority, &qaddr, &qshift, in kvmppc_xive_native_get_queue_config()
764 rc = xive_native_get_queue_state(xc->vp_id, priority, &kvm_eq.qtoggle, in kvmppc_xive_native_get_queue_config()
770 __func__, server, priority, kvm_eq.flags, in kvmppc_xive_native_get_queue_config()