Home
last modified time | relevance | path

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

/drivers/net/ethernet/neterion/vxge/
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()
2808 config = &hldev->config.vp_config[vp_id].ring; in __vxge_hw_ring_create()
2824 ring->vp_id = vp_id; in __vxge_hw_ring_create()
2913 device_config->vp_config[i].vp_id = i; in vxge_hw_device_config_default_get()
[all …]
Dvxge-main.c1356 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()
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()
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()
1534 "vpath:%d", vp_id); in vxge_reset_vpath()
1556 vxge_vpath_intr_enable(vdev, vp_id); in vxge_reset_vpath()
1568 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
2085 int vxge_hw_vpath_wait_receive_idle(struct __vxge_hw_device *hldev, u32 vp_id);
Dvxge-traffic.c130 if (vpath->hldev->first_vp_id != vpath->vp_id) in vxge_hw_vpath_intr_enable()
492 __vxge_hw_device_handle_error(struct __vxge_hw_device *hldev, u32 vp_id, in __vxge_hw_device_handle_error() argument
526 type, vp_id); in __vxge_hw_device_handle_error()
849 __vxge_hw_device_handle_error(hldev, vpath->vp_id, alarm_event); in __vxge_hw_vpath_alarm_process()
2172 u32 vp_id = vp->vpath->vp_id; in vxge_hw_vpath_msix_set() local
2175 (vp_id * 4) + tim_msix_id[0]) | in vxge_hw_vpath_msix_set()
2177 (vp_id * 4) + tim_msix_id[1]); in vxge_hw_vpath_msix_set()
2283 tim_int_mask1, vp->vpath->vp_id); in vxge_hw_vpath_inta_mask_tx_rx()
2321 tim_int_mask1, vp->vpath->vp_id); in vxge_hw_vpath_inta_unmask_tx_rx()
Dvxge-traffic.h2114 u32 vp_id);
/drivers/scsi/qla2xxx/
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 …]
Dqla_def.h3347 int vp_id; member
/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c5092 struct qed_ptt *p_ptt, u16 vp_id, u32 rate) in __qed_configure_vport_wfq() argument
5100 p_hwfn->qm_info.wfq_data[vp_id].min_speed = rate; in __qed_configure_vport_wfq()
5101 p_hwfn->qm_info.wfq_data[vp_id].configured = true; in __qed_configure_vport_wfq()
5105 rc = qed_init_wfq_param(p_hwfn, vp_id, rate, p_link->min_pf_rate); in __qed_configure_vport_wfq()
5155 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate) in qed_configure_vport_wfq() argument
5174 rc = __qed_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate); in qed_configure_vport_wfq()
Dqed.h908 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);