Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/include/asm/
Dxive.h107 extern int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio,
109 extern void xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio);
113 extern int xive_native_enable_vp(u32 vp_id, bool single_escalation);
114 extern int xive_native_disable_vp(u32 vp_id);
115 extern int xive_native_get_vp_info(u32 vp_id, u32 *out_cam_id, u32 *out_chip_id);
/Linux-v4.19/arch/powerpc/sysdev/xive/
Dnative.c120 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio, in xive_native_configure_queue() argument
141 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue()
163 rc = opal_xive_set_queue_info(vp_id, prio, qpage_phys, order, flags); in xive_native_configure_queue()
184 static void __xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in __xive_native_disable_queue() argument
190 rc = opal_xive_set_queue_info(vp_id, prio, 0, 0, 0); in __xive_native_disable_queue()
199 void xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in xive_native_disable_queue() argument
201 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue()
671 int xive_native_enable_vp(u32 vp_id, bool single_escalation) in xive_native_enable_vp() argument
679 rc = opal_xive_set_vp_info(vp_id, flags, 0); in xive_native_enable_vp()
688 int xive_native_disable_vp(u32 vp_id) in xive_native_disable_vp() argument
[all …]
/Linux-v4.19/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c46 int vxge_hw_vpath_wait_receive_idle(struct __vxge_hw_device *hldev, u32 vp_id) in vxge_hw_vpath_wait_receive_idle() argument
53 vpath = &hldev->virtual_paths[vp_id]; in vxge_hw_vpath_wait_receive_idle()
2187 u32 vp_id; in __vxge_hw_channel_allocate() local
2190 vp_id = vph->vpath->vp_id; in __vxge_hw_channel_allocate()
2216 channel->vp_id = vp_id; in __vxge_hw_channel_allocate()
2799 u32 vp_id; in __vxge_hw_ring_create() local
2810 vp_id = vp->vpath->vp_id; in __vxge_hw_ring_create()
2812 config = &hldev->config.vp_config[vp_id].ring; in __vxge_hw_ring_create()
2828 ring->vp_id = vp_id; in __vxge_hw_ring_create()
2917 device_config->vp_config[i].vp_id = i; in vxge_hw_device_config_default_get()
[all …]
Dvxge-main.c1354 static void vxge_vpath_intr_enable(struct vxgedev *vdev, int vp_id) in vxge_vpath_intr_enable() argument
1356 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_vpath_intr_enable()
1387 static void vxge_vpath_intr_disable(struct vxgedev *vdev, int vp_id) in vxge_vpath_intr_disable() argument
1389 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_vpath_intr_disable()
1505 static int vxge_reset_vpath(struct vxgedev *vdev, int vp_id) in vxge_reset_vpath() argument
1508 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_reset_vpath()
1526 "failed for vpath:%d", vp_id); in vxge_reset_vpath()
1532 "vpath:%d", vp_id); in vxge_reset_vpath()
1554 vxge_vpath_intr_enable(vdev, vp_id); in vxge_reset_vpath()
1566 clear_bit(vp_id, &vdev->vp_reset); in vxge_reset_vpath()
[all …]
Dvxge-config.h361 u32 vp_id; member
631 u32 vp_id; member
675 u32 vp_id; member
930 u32 vp_id; member
1014 u32 vp_id; member
1844 u32 vp_id; member
2110 int vxge_hw_vpath_wait_receive_idle(struct __vxge_hw_device *hldev, u32 vp_id);
Dvxge-traffic.c131 if (vpath->hldev->first_vp_id != vpath->vp_id) in vxge_hw_vpath_intr_enable()
181 val64 = VXGE_HW_TIM_CLR_INT_EN_VP(1 << (16 - vpath->vp_id)); in vxge_hw_vpath_intr_disable()
503 __vxge_hw_device_handle_error(struct __vxge_hw_device *hldev, u32 vp_id, in __vxge_hw_device_handle_error() argument
537 type, vp_id); in __vxge_hw_device_handle_error()
860 __vxge_hw_device_handle_error(hldev, vpath->vp_id, alarm_event); in __vxge_hw_vpath_alarm_process()
2200 u32 vp_id = vp->vpath->vp_id; in vxge_hw_vpath_msix_set() local
2203 (vp_id * 4) + tim_msix_id[0]) | in vxge_hw_vpath_msix_set()
2205 (vp_id * 4) + tim_msix_id[1]); in vxge_hw_vpath_msix_set()
2311 tim_int_mask1, vp->vpath->vp_id); in vxge_hw_vpath_inta_mask_tx_rx()
2349 tim_int_mask1, vp->vpath->vp_id); in vxge_hw_vpath_inta_unmask_tx_rx()
Dvxge-traffic.h2114 u32 vp_id);
/Linux-v4.19/arch/arm/mach-omap2/
Dprm.h151 u32 (*vp_check_txdone)(u8 vp_id);
152 void (*vp_clear_txdone)(u8 vp_id);
179 u32 omap_prm_vp_check_txdone(u8 vp_id);
180 void omap_prm_vp_clear_txdone(u8 vp_id);
Dvp.h34 u32 (*check_txdone)(u8 vp_id);
35 void (*clear_txdone)(u8 vp_id);
Dprm3xxx.c100 static u32 omap3_prm_vp_check_txdone(u8 vp_id) in omap3_prm_vp_check_txdone() argument
102 struct omap3_vp *vp = &omap3_vp[vp_id]; in omap3_prm_vp_check_txdone()
110 static void omap3_prm_vp_clear_txdone(u8 vp_id) in omap3_prm_vp_clear_txdone() argument
112 struct omap3_vp *vp = &omap3_vp[vp_id]; in omap3_prm_vp_clear_txdone()
Dprm_common.c557 u32 omap_prm_vp_check_txdone(u8 vp_id) in omap_prm_vp_check_txdone() argument
565 return prm_ll_data->vp_check_txdone(vp_id); in omap_prm_vp_check_txdone()
574 void omap_prm_vp_clear_txdone(u8 vp_id) in omap_prm_vp_clear_txdone() argument
582 prm_ll_data->vp_clear_txdone(vp_id); in omap_prm_vp_clear_txdone()
Dprm44xx.c150 static u32 omap4_prm_vp_check_txdone(u8 vp_id) in omap4_prm_vp_check_txdone() argument
152 struct omap4_vp *vp = &omap4_vp[vp_id]; in omap4_prm_vp_check_txdone()
161 static void omap4_prm_vp_clear_txdone(u8 vp_id) in omap4_prm_vp_clear_txdone() argument
163 struct omap4_vp *vp = &omap4_vp[vp_id]; in omap4_prm_vp_clear_txdone()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_mid.c32 uint32_t vp_id; in qla24xx_allocate_vp_id() local
38 vp_id = find_first_zero_bit(ha->vp_idx_map, ha->max_npiv_vports + 1); in qla24xx_allocate_vp_id()
39 if (vp_id > ha->max_npiv_vports) { in qla24xx_allocate_vp_id()
42 vp_id, ha->max_npiv_vports); in qla24xx_allocate_vp_id()
44 return vp_id; in qla24xx_allocate_vp_id()
47 set_bit(vp_id, ha->vp_idx_map); in qla24xx_allocate_vp_id()
49 vha->vp_idx = vp_id; in qla24xx_allocate_vp_id()
60 return vp_id; in qla24xx_allocate_vp_id()
66 uint16_t vp_id; in qla24xx_deallocate_vp_id() local
91 vp_id = vha->vp_idx; in qla24xx_deallocate_vp_id()
[all …]
Dqla_def.h3089 int vp_id; member
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_xive.c202 rc = xive_native_configure_queue(xc->vp_id, q, prio, qpage, in xive_provision_queue()
1041 xive_native_disable_vp(xc->vp_id); in kvmppc_xive_cleanup_vcpu()
1054 xive_native_disable_queue(xc->vp_id, q, i); in kvmppc_xive_cleanup_vcpu()
1106 xc->vp_id = xive_vp(xive, cpu); in kvmppc_xive_connect_vcpu()
1110 r = xive_native_get_vp_info(xc->vp_id, &xc->vp_cam, &xc->vp_chip_id); in kvmppc_xive_connect_vcpu()
1135 r = xive_native_enable_vp(xc->vp_id, xive->single_escalation); in kvmppc_xive_connect_vcpu()
1163 r = xive_native_configure_queue(xc->vp_id, in kvmppc_xive_connect_vcpu()
1179 r = xive_native_configure_irq(xc->vp_ipi, xc->vp_id, 0, XICS_IPI); in kvmppc_xive_connect_vcpu()
Dbook3s_xive.h141 u32 vp_id; member
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c4100 struct qed_ptt *p_ptt, u16 vp_id, u32 rate) in __qed_configure_vport_wfq() argument
4108 p_hwfn->qm_info.wfq_data[vp_id].min_speed = rate; in __qed_configure_vport_wfq()
4109 p_hwfn->qm_info.wfq_data[vp_id].configured = true; in __qed_configure_vport_wfq()
4113 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq()
4163 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate) in qed_configure_vport_wfq() argument
4182 rc = __qed_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate); in qed_configure_vport_wfq()
Dqed.h866 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);