Home
last modified time | relevance | path

Searched refs:vp_id (Results 1 – 7 of 7) 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()
2192 u32 vp_id; in __vxge_hw_channel_allocate() local
2195 vp_id = vph->vpath->vp_id; in __vxge_hw_channel_allocate()
2221 channel->vp_id = vp_id; in __vxge_hw_channel_allocate()
2814 u32 vp_id; in __vxge_hw_ring_create() local
2825 vp_id = vp->vpath->vp_id; in __vxge_hw_ring_create()
2827 config = &hldev->config.vp_config[vp_id].ring; in __vxge_hw_ring_create()
2843 ring->vp_id = vp_id; in __vxge_hw_ring_create()
2932 device_config->vp_config[i].vp_id = i; in vxge_hw_device_config_default_get()
[all …]
Dvxge-main.c1358 static void vxge_vpath_intr_enable(struct vxgedev *vdev, int vp_id) in vxge_vpath_intr_enable() argument
1360 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_vpath_intr_enable()
1391 static void vxge_vpath_intr_disable(struct vxgedev *vdev, int vp_id) in vxge_vpath_intr_disable() argument
1393 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_vpath_intr_disable()
1509 static int vxge_reset_vpath(struct vxgedev *vdev, int vp_id) in vxge_reset_vpath() argument
1512 struct vxge_vpath *vpath = &vdev->vpaths[vp_id]; in vxge_reset_vpath()
1530 "failed for vpath:%d", vp_id); in vxge_reset_vpath()
1536 "vpath:%d", vp_id); in vxge_reset_vpath()
1558 vxge_vpath_intr_enable(vdev, vp_id); in vxge_reset_vpath()
1570 clear_bit(vp_id, &vdev->vp_reset); in vxge_reset_vpath()
[all …]
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()
2224 u32 vp_id = vp->vpath->vp_id; in vxge_hw_vpath_msix_set() local
2227 (vp_id * 4) + tim_msix_id[0]) | in vxge_hw_vpath_msix_set()
2229 (vp_id * 4) + tim_msix_id[1]); in vxge_hw_vpath_msix_set()
2335 tim_int_mask1, vp->vpath->vp_id); in vxge_hw_vpath_inta_mask_tx_rx()
2373 tim_int_mask1, vp->vpath->vp_id); in vxge_hw_vpath_inta_unmask_tx_rx()
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.h2114 u32 vp_id);
/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()
59 return vp_id; in qla24xx_allocate_vp_id()
65 uint16_t vp_id; in qla24xx_deallocate_vp_id() local
89 vp_id = vha->vp_idx; in qla24xx_deallocate_vp_id()
[all …]
Dqla_def.h2598 int vp_id; member