/linux/arch/powerpc/sysdev/xive/ |
H A 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/arch/powerpc/include/asm/ |
H A 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/arch/arm/mach-omap2/ |
H A D | prm.h | 147 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);
|
H A D | vp.h | 31 u32 (*check_txdone)(u8 vp_id); 32 void (*clear_txdone)(u8 vp_id);
|
H A 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()
|
H A D | prm_common.c | 511 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()
|
H A 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/arch/x86/hyperv/ |
H A D | hv_vtl.c | 211 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/ |
H A 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()
|
H A 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/drivers/scsi/qla2xxx/ |
H A 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 …]
|
H A D | qla_def.h | 3405 int vp_id; member
|
/linux/arch/x86/kvm/svm/ |
H A D | hyperv.h | 26 hv_vcpu->nested.vp_id = hve->hv_vp_id; in nested_svm_hv_update_vm_vp_ids()
|
/linux/arch/x86/kvm/ |
H A D | hyperv.c | 1836 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/ |
H A 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()
|
H A D | qed.h | 904 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 1774 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()
|