Home
last modified time | relevance | path

Searched refs:vp_id (Results 1 – 20 of 20) sorted by relevance

/linux/arch/powerpc/sysdev/xive/
A Dnative.c152 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue()
201 rc = opal_xive_set_queue_info(vp_id, prio, 0, 0, 0); in __xive_native_disable_queue()
212 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue()
722 rc = opal_xive_set_vp_info(vp_id, flags, 0); in xive_native_enable_vp()
728 vp_err(vp_id, "Failed to enable VP : %lld\n", rc); in xive_native_enable_vp()
733 int xive_native_disable_vp(u32 vp_id) in xive_native_disable_vp() argument
738 rc = opal_xive_set_vp_info(vp_id, 0, 0); in xive_native_disable_vp()
744 vp_err(vp_id, "Failed to disable VP : %lld\n", rc); in xive_native_disable_vp()
757 vp_err(vp_id, "Failed to get VP info : %lld\n", rc); in xive_native_get_vp_info()
779 int xive_native_get_queue_info(u32 vp_id, u32 prio, in xive_native_get_queue_info() argument
[all …]
/linux/arch/powerpc/include/asm/
A Dxive.h118 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio,
120 void xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio);
125 int xive_native_enable_vp(u32 vp_id, bool single_escalation);
126 int xive_native_disable_vp(u32 vp_id);
127 int xive_native_get_vp_info(u32 vp_id, u32 *out_cam_id, u32 *out_chip_id);
131 int xive_native_get_queue_info(u32 vp_id, uint32_t prio,
138 int xive_native_get_queue_state(u32 vp_id, uint32_t prio, u32 *qtoggle,
140 int xive_native_set_queue_state(u32 vp_id, uint32_t prio, u32 qtoggle,
142 int xive_native_get_vp_state(u32 vp_id, u64 *out_state);
/linux/arch/arm/mach-omap2/
A Dprm.h147 u32 (*vp_check_txdone)(u8 vp_id);
148 void (*vp_clear_txdone)(u8 vp_id);
173 u32 omap_prm_vp_check_txdone(u8 vp_id);
174 void omap_prm_vp_clear_txdone(u8 vp_id);
A Dvp.h31 u32 (*check_txdone)(u8 vp_id);
32 void (*clear_txdone)(u8 vp_id);
A Dprm3xxx.c98 static u32 omap3_prm_vp_check_txdone(u8 vp_id) in omap3_prm_vp_check_txdone() argument
100 struct omap3_vp *vp = &omap3_vp[vp_id]; in omap3_prm_vp_check_txdone()
108 static void omap3_prm_vp_clear_txdone(u8 vp_id) in omap3_prm_vp_clear_txdone() argument
110 struct omap3_vp *vp = &omap3_vp[vp_id]; in omap3_prm_vp_clear_txdone()
A Dprm_common.c511 u32 omap_prm_vp_check_txdone(u8 vp_id) in omap_prm_vp_check_txdone() argument
519 return prm_ll_data->vp_check_txdone(vp_id); in omap_prm_vp_check_txdone()
529 void omap_prm_vp_clear_txdone(u8 vp_id) in omap_prm_vp_clear_txdone() argument
537 prm_ll_data->vp_clear_txdone(vp_id); in omap_prm_vp_clear_txdone()
A Dprm44xx.c147 static u32 omap4_prm_vp_check_txdone(u8 vp_id) in omap4_prm_vp_check_txdone() argument
149 struct omap4_vp *vp = &omap4_vp[vp_id]; in omap4_prm_vp_check_txdone()
158 static void omap4_prm_vp_clear_txdone(u8 vp_id) in omap4_prm_vp_clear_txdone() argument
160 struct omap4_vp *vp = &omap4_vp[vp_id]; in omap4_prm_vp_clear_txdone()
/linux/arch/x86/hyperv/
A Dhv_vtl.c211 int vp_id, cpu; in hv_vtl_wakeup_secondary_cpu() local
222 vp_id = hv_vtl_apicid_to_vp_id(apicid); in hv_vtl_wakeup_secondary_cpu()
224 if (vp_id < 0) { in hv_vtl_wakeup_secondary_cpu()
228 if (vp_id > ms_hyperv.max_vp_index) { in hv_vtl_wakeup_secondary_cpu()
229 pr_err("Invalid CPU id %d for APIC ID %d\n", vp_id, apicid); in hv_vtl_wakeup_secondary_cpu()
233 return hv_vtl_bringup_vcpu(vp_id, cpu, start_eip); in hv_vtl_wakeup_secondary_cpu()
/linux/arch/powerpc/kvm/
A Dbook3s_xive_native.c49 xive_native_disable_queue(xc->vp_id, q, prio); in kvmppc_xive_native_cleanup_queue()
63 rc = xive_native_configure_queue(vp_id, q, prio, qpage, order, in kvmppc_xive_native_configure_queue()
105 xive_native_disable_vp(xc->vp_id); in kvmppc_xive_native_cleanup_vcpu()
129 u32 vp_id; in kvmppc_xive_native_connect_vcpu() local
144 rc = kvmppc_xive_compute_vp_id(xive, server_num, &vp_id); in kvmppc_xive_native_connect_vcpu()
159 xc->vp_id = vp_id; in kvmppc_xive_native_connect_vcpu()
611 rc = kvmppc_xive_native_configure_queue(xc->vp_id, q, priority, 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()
692 rc = xive_native_set_queue_state(xc->vp_id, priority, in kvmppc_xive_native_set_queue_config()
1152 rc = xive_native_get_vp_state(xc->vp_id, &opal_state); in kvmppc_xive_native_get_vp()
[all …]
A Dbook3s_xive.h164 u32 vp_id; member
240 static inline bool kvmppc_xive_vp_in_use(struct kvm *kvm, u32 vp_id) in kvmppc_xive_vp_in_use() argument
246 if (vcpu->arch.xive_vcpu && vp_id == vcpu->arch.xive_vcpu->vp_id) in kvmppc_xive_vp_in_use()
A Dbook3s_xive.c1837 xive_native_disable_vp(xc->vp_id); in kvmppc_xive_cleanup_vcpu()
1846 xive_native_disable_queue(xc->vp_id, q, i); in kvmppc_xive_cleanup_vcpu()
1877 u32 vp_id; in kvmppc_xive_compute_vp_id() local
1892 vp_id = kvmppc_xive_vp(xive, cpu); in kvmppc_xive_compute_vp_id()
1893 if (kvmppc_xive_vp_in_use(xive->kvm, vp_id)) { in kvmppc_xive_compute_vp_id()
1898 *vp = vp_id; in kvmppc_xive_compute_vp_id()
1909 u32 vp_id; in kvmppc_xive_connect_vcpu() local
1925 r = kvmppc_xive_compute_vp_id(xive, cpu, &vp_id); in kvmppc_xive_connect_vcpu()
1939 xc->vp_id = vp_id; in kvmppc_xive_connect_vcpu()
2003 r = xive_native_configure_queue(xc->vp_id, in kvmppc_xive_connect_vcpu()
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_mid.c31 uint32_t vp_id; in qla24xx_allocate_vp_id() local
37 vp_id = find_first_zero_bit(ha->vp_idx_map, ha->max_npiv_vports + 1); in qla24xx_allocate_vp_id()
38 if (vp_id > ha->max_npiv_vports) { in qla24xx_allocate_vp_id()
41 vp_id, ha->max_npiv_vports); in qla24xx_allocate_vp_id()
43 return vp_id; in qla24xx_allocate_vp_id()
46 set_bit(vp_id, ha->vp_idx_map); in qla24xx_allocate_vp_id()
48 vha->vp_idx = vp_id; in qla24xx_allocate_vp_id()
59 return vp_id; in qla24xx_allocate_vp_id()
65 uint16_t vp_id; in qla24xx_deallocate_vp_id() local
102 vp_id = vha->vp_idx; in qla24xx_deallocate_vp_id()
[all …]
A Dqla_def.h3405 int vp_id; member
/linux/arch/x86/kvm/svm/
A Dhyperv.h26 hv_vcpu->nested.vp_id = hve->hv_vp_id; in nested_svm_hv_update_vm_vp_ids()
/linux/arch/x86/kvm/
A Dhyperv.c1836 static bool hv_is_vp_in_sparse_set(u32 vp_id, u64 valid_bank_mask, u64 sparse_banks[]) in hv_is_vp_in_sparse_set() argument
1838 int valid_bit_nr = vp_id / HV_VCPUS_PER_SPARSE_BANK; in hv_is_vp_in_sparse_set()
1854 return test_bit(vp_id % HV_VCPUS_PER_SPARSE_BANK, in hv_is_vp_in_sparse_set()
2178 !hv_is_vp_in_sparse_set(hv_v->nested.vp_id, valid_bank_mask, in kvm_hv_flush_tlb()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_dev.c5153 struct qed_ptt *p_ptt, u16 vp_id, u32 rate) in __qed_configure_vport_wfq() argument
5161 p_hwfn->qm_info.wfq_data[vp_id].min_speed = rate; in __qed_configure_vport_wfq()
5162 p_hwfn->qm_info.wfq_data[vp_id].configured = true; in __qed_configure_vport_wfq()
5166 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq()
5216 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate) in qed_configure_vport_wfq() argument
5235 rc = __qed_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate); in qed_configure_vport_wfq()
A Dqed.h904 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);
/linux/drivers/gpu/drm/rockchip/
A Drockchip_drm_vop2.c1774 static u32 rk3588_get_mipi_port_mux(int vp_id) in rk3588_get_mipi_port_mux() argument
1776 if (vp_id == 1) in rk3588_get_mipi_port_mux()
1778 else if (vp_id == 3) in rk3588_get_mipi_port_mux()
/linux/arch/x86/include/asm/
A Dkvm_host.h697 u32 vp_id; member
/linux/arch/x86/kvm/vmx/
A Dnested.c244 hv_vcpu->nested.vp_id = 0; in nested_release_evmcs()
1669 hv_vcpu->nested.vp_id = evmcs->hv_vp_id; in copy_enlightened_to_vmcs12()

Completed in 109 milliseconds