/Linux-v6.6/arch/powerpc/sysdev/xive/ |
D | native.c | 131 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio, in xive_native_configure_queue() argument 152 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue() 157 vp_err(vp_id, "Failed to get queue %d info : %lld\n", prio, rc); in xive_native_configure_queue() 174 rc = opal_xive_set_queue_info(vp_id, prio, qpage_phys, order, flags); in xive_native_configure_queue() 180 vp_err(vp_id, "Failed to set queue %d info: %lld\n", prio, rc); in xive_native_configure_queue() 195 static void __xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in __xive_native_disable_queue() argument 201 rc = opal_xive_set_queue_info(vp_id, prio, 0, 0, 0); in __xive_native_disable_queue() 207 vp_err(vp_id, "Failed to disable queue %d : %lld\n", prio, rc); in __xive_native_disable_queue() 210 void xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in xive_native_disable_queue() argument 212 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue() [all …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | xive.h | 118 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-v6.6/arch/arm/mach-omap2/ |
D | prm.h | 146 u32 (*vp_check_txdone)(u8 vp_id); 147 void (*vp_clear_txdone)(u8 vp_id); 172 u32 omap_prm_vp_check_txdone(u8 vp_id); 173 void omap_prm_vp_clear_txdone(u8 vp_id);
|
D | vp.h | 31 u32 (*check_txdone)(u8 vp_id); 32 void (*clear_txdone)(u8 vp_id);
|
D | prm3xxx.c | 98 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()
|
D | prm_common.c | 504 u32 omap_prm_vp_check_txdone(u8 vp_id) in omap_prm_vp_check_txdone() argument 512 return prm_ll_data->vp_check_txdone(vp_id); in omap_prm_vp_check_txdone() 521 void omap_prm_vp_clear_txdone(u8 vp_id) in omap_prm_vp_clear_txdone() argument 529 prm_ll_data->vp_clear_txdone(vp_id); in omap_prm_vp_clear_txdone()
|
D | prm44xx.c | 147 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-v6.6/arch/x86/hyperv/ |
D | hv_vtl.c | 201 int vp_id; in hv_vtl_wakeup_secondary_cpu() local 204 vp_id = hv_vtl_apicid_to_vp_id(apicid); in hv_vtl_wakeup_secondary_cpu() 206 if (vp_id < 0) { in hv_vtl_wakeup_secondary_cpu() 210 if (vp_id > ms_hyperv.max_vp_index) { in hv_vtl_wakeup_secondary_cpu() 211 pr_err("Invalid CPU id %d for APIC ID %d\n", vp_id, apicid); in hv_vtl_wakeup_secondary_cpu() 215 return hv_vtl_bringup_vcpu(vp_id, start_eip); in hv_vtl_wakeup_secondary_cpu()
|
/Linux-v6.6/arch/powerpc/kvm/ |
D | book3s_xive_native.c | 49 xive_native_disable_queue(xc->vp_id, q, prio); in kvmppc_xive_native_cleanup_queue() 56 static int kvmppc_xive_native_configure_queue(u32 vp_id, struct xive_q *q, in kvmppc_xive_native_configure_queue() argument 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() 163 rc = xive_native_get_vp_info(xc->vp_id, &xc->vp_cam, &xc->vp_chip_id); in kvmppc_xive_native_connect_vcpu() 179 rc = xive_native_enable_vp(xc->vp_id, kvmppc_xive_has_single_escalation(xive)); 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() [all …]
|
D | book3s_xive.h | 164 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()
|
D | book3s_xive.c | 963 rc = xive_native_configure_queue(xc->vp_id, q, prio, qpage, in xive_provision_queue() 1837 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() [all …]
|
/Linux-v6.6/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 31 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 …]
|
D | qla_def.h | 3395 int vp_id; member
|
/Linux-v6.6/arch/x86/kvm/svm/ |
D | hyperv.h | 25 hv_vcpu->nested.vp_id = hve->hv_vp_id; in nested_svm_hv_update_vm_vp_ids()
|
/Linux-v6.6/arch/x86/kvm/ |
D | hyperv.c | 1783 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 1785 int valid_bit_nr = vp_id / HV_VCPUS_PER_SPARSE_BANK; in hv_is_vp_in_sparse_set() 1801 return test_bit(vp_id % HV_VCPUS_PER_SPARSE_BANK, in hv_is_vp_in_sparse_set() 2125 !hv_is_vp_in_sparse_set(hv_v->nested.vp_id, valid_bank_mask, in kvm_hv_flush_tlb()
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 5153 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()
|
D | qed.h | 906 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);
|
/Linux-v6.6/arch/x86/include/asm/ |
D | kvm_host.h | 673 u32 vp_id; member
|
/Linux-v6.6/arch/x86/kvm/vmx/ |
D | nested.c | 242 hv_vcpu->nested.vp_id = 0; in nested_release_evmcs() 1593 hv_vcpu->nested.vp_id = evmcs->hv_vp_id; in copy_enlightened_to_vmcs12()
|