Home
last modified time | relevance | path

Searched refs:vp_id (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-6.6/arch/powerpc/sysdev/xive/
H A Dnative.c131 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, in xive_native_disable_queue()
716 xive_native_enable_vp(u32 vp_id, bool single_escalation) xive_native_enable_vp() argument
735 xive_native_disable_vp(u32 vp_id) xive_native_disable_vp() argument
751 xive_native_get_vp_info(u32 vp_id, u32 *out_cam_id, u32 *out_chip_id) xive_native_get_vp_info() argument
781 xive_native_get_queue_info(u32 vp_id, u32 prio, u64 *out_qpage, u64 *out_qsize, u64 *out_qeoi_page, u32 *out_escalate_irq, u64 *out_qflags) xive_native_get_queue_info() argument
817 xive_native_get_queue_state(u32 vp_id, u32 prio, u32 *qtoggle, u32 *qindex) xive_native_get_queue_state() argument
839 xive_native_set_queue_state(u32 vp_id, u32 prio, u32 qtoggle, u32 qindex) xive_native_set_queue_state() argument
860 xive_native_get_vp_state(u32 vp_id, u64 *out_state) xive_native_get_vp_state() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dxive.h116 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio,
118 void xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio);
123 int xive_native_enable_vp(u32 vp_id, bool single_escalation);
124 int xive_native_disable_vp(u32 vp_id);
125 int xive_native_get_vp_info(u32 vp_id, u32 *out_cam_id, u32 *out_chip_id);
128 int xive_native_get_queue_info(u32 vp_id, uint32_t prio,
135 int xive_native_get_queue_state(u32 vp_id, uint32_t prio, u32 *qtoggle,
137 int xive_native_set_queue_state(u32 vp_id, uint32_t prio, u32 qtoggle,
139 int xive_native_get_vp_state(u32 vp_id, u64 *out_state);
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H 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);
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/
H A Dnative.c132 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio, in xive_native_configure_queue() argument
153 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue()
175 rc = opal_xive_set_queue_info(vp_id, prio, qpage_phys, order, flags); in xive_native_configure_queue()
196 static void __xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in __xive_native_disable_queue() argument
202 rc = opal_xive_set_queue_info(vp_id, prio, 0, 0, 0); in __xive_native_disable_queue()
211 void xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in xive_native_disable_queue() argument
213 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue()
704 int xive_native_enable_vp(u32 vp_id, bool single_escalation) in xive_native_enable_vp() argument
712 rc = opal_xive_set_vp_info(vp_id, flags, 0); in xive_native_enable_vp()
721 int xive_native_disable_vp(u32 vp_id) in xive_native_disable_vp() argument
735 xive_native_get_vp_info(u32 vp_id, u32 *out_cam_id, u32 *out_chip_id) xive_native_get_vp_info() argument
757 xive_native_get_queue_info(u32 vp_id, u32 prio, u64 *out_qpage, u64 *out_qsize, u64 *out_qeoi_page, u32 *out_escalate_irq, u64 *out_qflags) xive_native_get_queue_info() argument
794 xive_native_get_queue_state(u32 vp_id, u32 prio, u32 *qtoggle, u32 *qindex) xive_native_get_queue_state() argument
817 xive_native_set_queue_state(u32 vp_id, u32 prio, u32 qtoggle, u32 qindex) xive_native_set_queue_state() argument
839 xive_native_get_vp_state(u32 vp_id, u64 *out_state) xive_native_get_vp_state() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/hyperv/
H 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()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dprm.h148 u32 (*vp_check_txdone)(u8 vp_id);
149 void (*vp_clear_txdone)(u8 vp_id);
176 u32 omap_prm_vp_check_txdone(u8 vp_id);
177 void omap_prm_vp_clear_txdone(u8 vp_id);
H A Dvp.h31 u32 (*check_txdone)(u8 vp_id);
32 void (*clear_txdone)(u8 vp_id);
H A Dprm_common.c555 u32 omap_prm_vp_check_txdone(u8 vp_id) in omap_prm_vp_check_txdone() argument
563 return prm_ll_data->vp_check_txdone(vp_id); in omap_prm_vp_check_txdone()
572 void omap_prm_vp_clear_txdone(u8 vp_id) in omap_prm_vp_clear_txdone() argument
580 prm_ll_data->vp_clear_txdone(vp_id); in omap_prm_vp_clear_txdone()
H 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()
H A Dprm3xxx.c97 static u32 omap3_prm_vp_check_txdone(u8 vp_id) in omap3_prm_vp_check_txdone() argument
99 struct omap3_vp *vp = &omap3_vp[vp_id]; in omap3_prm_vp_check_txdone()
107 static void omap3_prm_vp_clear_txdone(u8 vp_id) in omap3_prm_vp_clear_txdone() argument
109 struct omap3_vp *vp = &omap3_vp[vp_id]; in omap3_prm_vp_clear_txdone()
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Dprm.h146 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);
H A Dvp.h31 u32 (*check_txdone)(u8 vp_id);
32 void (*clear_txdone)(u8 vp_id);
H 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()
H A Dprm_common.c504 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
H A Dvxge-config.c47 int vxge_hw_vpath_wait_receive_idle(struct __vxge_hw_device *hldev, u32 vp_id) in vxge_hw_vpath_wait_receive_idle() argument
54 vpath = &hldev->virtual_paths[vp_id]; in vxge_hw_vpath_wait_receive_idle()
2191 u32 vp_id; in __vxge_hw_channel_allocate() local
2194 vp_id = vph->vpath->vp_id; in __vxge_hw_channel_allocate()
2220 channel->vp_id = vp_id; in __vxge_hw_channel_allocate()
2795 u32 vp_id; in __vxge_hw_ring_create() local
2806 vp_id = vp->vpath->vp_id; in __vxge_hw_ring_create()
4018 __vxge_hw_vpath_reset(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vpath_reset() argument
4035 __vxge_hw_vpath_sw_reset(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vpath_sw_reset() argument
4060 __vxge_hw_vpath_prc_configure(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vpath_prc_configure() argument
4132 __vxge_hw_vpath_kdfc_configure(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vpath_kdfc_configure() argument
4205 __vxge_hw_vpath_mac_configure(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vpath_mac_configure() argument
4272 __vxge_hw_vpath_tim_configure(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vpath_tim_configure() argument
4533 __vxge_hw_vpath_initialize(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vpath_initialize() argument
4595 __vxge_hw_vp_terminate(struct __vxge_hw_device *hldev, u32 vp_id) __vxge_hw_vp_terminate() argument
4639 __vxge_hw_vp_initialize(struct __vxge_hw_device *hldev, u32 vp_id, struct vxge_hw_vp_config *config) __vxge_hw_vp_initialize() argument
4961 u32 vp_id = vp->vpath->vp_id; vxge_hw_vpath_close() local
5011 u32 vp_id; vxge_hw_vpath_reset() local
5039 u32 vp_id; vxge_hw_vpath_recover_from_reset() local
[all...]
H A Dvxge-main.c1352 * @vp_id: vpath for which to enable the interrupts
1356 static void vxge_vpath_intr_enable(struct vxgedev *vdev, int vp_id) in vxge_vpath_intr_enable() argument
1358 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_vpath_intr_enable()
1385 * @vp_id: vpath for which to disable the interrupts
1389 static void vxge_vpath_intr_disable(struct vxgedev *vdev, int vp_id) in vxge_vpath_intr_disable() argument
1391 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_vpath_intr_disable()
1503 * @vp_id: vpath to reset
1507 static int vxge_reset_vpath(struct vxgedev *vdev, int vp_id) in vxge_reset_vpath() argument
1510 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_reset_vpath()
1528 "failed for vpath:%d", vp_id); in vxge_reset_vpath()
1610 int ret = 0, vp_id, i; do_vxge_reset() local
2027 u32 vp_id = 0; vxge_open_vpaths() local
3307 int vp_id; vxge_vlan_rx_add_vid() local
3333 int vp_id; vxge_vlan_rx_kill_vid() local
3546 vxge_callback_crit_err(struct __vxge_hw_device *hldev, enum vxge_hw_event type, u64 vp_id) vxge_callback_crit_err() argument
[all...]
H A Dvxge-config.h341 * @vp_id: Virtual Path Id
361 u32 vp_id; member
631 u32 vp_id; member
652 * @vp_id: Virtual path id
675 u32 vp_id; member
930 u32 vp_id; member
1014 u32 vp_id; member
1836 * @vp_id: Identifier of Virtual Path
1844 u32 vp_id; member
2085 int vxge_hw_vpath_wait_receive_idle(struct __vxge_hw_device *hldev, u32 vp_id);
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_xive_native.c52 xive_native_disable_queue(xc->vp_id, q, prio); in kvmppc_xive_native_cleanup_queue()
59 static int kvmppc_xive_native_configure_queue(u32 vp_id, struct xive_q *q, in kvmppc_xive_native_configure_queue() argument
66 rc = xive_native_configure_queue(vp_id, q, prio, qpage, order, in kvmppc_xive_native_configure_queue()
109 xive_native_disable_vp(xc->vp_id); in kvmppc_xive_native_cleanup_vcpu()
133 u32 vp_id; in kvmppc_xive_native_connect_vcpu() local
148 rc = kvmppc_xive_compute_vp_id(xive, server_num, &vp_id); in kvmppc_xive_native_connect_vcpu()
163 xc->vp_id = vp_id; in kvmppc_xive_native_connect_vcpu()
167 rc = xive_native_get_vp_info(xc->vp_id, &xc->vp_cam, &xc->vp_chip_id); in kvmppc_xive_native_connect_vcpu()
177 rc = xive_native_enable_vp(xc->vp_id, xiv in kvmppc_xive_native_connect_vcpu()
[all...]
H A Dbook3s_xive.h161 u32 vp_id; member
226 static inline bool kvmppc_xive_vp_in_use(struct kvm *kvm, u32 vp_id) in kvmppc_xive_vp_in_use() argument
232 if (vcpu->arch.xive_vcpu && vp_id == vcpu->arch.xive_vcpu->vp_id) in kvmppc_xive_vp_in_use()
H A Dbook3s_xive.c272 rc = xive_native_configure_queue(xc->vp_id, q, prio, qpage, in xive_provision_queue()
1184 xive_native_disable_vp(xc->vp_id); in kvmppc_xive_cleanup_vcpu()
1193 xive_native_disable_queue(xc->vp_id, q, i); in kvmppc_xive_cleanup_vcpu()
1224 u32 vp_id; in kvmppc_xive_compute_vp_id() local
1239 vp_id = kvmppc_xive_vp(xive, cpu); in kvmppc_xive_compute_vp_id()
1240 if (kvmppc_xive_vp_in_use(xive->kvm, vp_id)) { in kvmppc_xive_compute_vp_id()
1245 *vp = vp_id; in kvmppc_xive_compute_vp_id()
1256 u32 vp_id; in kvmppc_xive_connect_vcpu() local
1272 r = kvmppc_xive_compute_vp_id(xive, cpu, &vp_id); in kvmppc_xive_connect_vcpu()
1286 xc->vp_id in kvmppc_xive_connect_vcpu()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kvm/
H A Dbook3s_xive_native.c49 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_escalatio in kvmppc_xive_native_connect_vcpu()
[all...]
H 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()
H A Dbook3s_xive.c963 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 in kvmppc_xive_connect_vcpu()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_mid.c31 uint32_t vp_id; in qla24xx_allocate_vp_id() local
35 /* Find an empty slot and assign an vp_id */ in qla24xx_allocate_vp_id()
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()
40 "vp_id %d is bigger than max-supported %d.\n", 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; qla24xx_deallocate_vp_id() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_mid.c31 uint32_t vp_id; in qla24xx_allocate_vp_id() local
35 /* Find an empty slot and assign an vp_id */ in qla24xx_allocate_vp_id()
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()
40 "vp_id %d is bigger than max-supported %d.\n", 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; qla24xx_deallocate_vp_id() local
[all...]

Completed in 30 milliseconds

12