Home
last modified time | relevance | path

Searched refs:vp_idx (Results 1 – 12 of 12) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_mid.c23 if (vha->vp_idx && vha->timer_active) { in qla2x00_vp_stop_timer()
49 vha->vp_idx = vp_id; in qla24xx_allocate_vp_id()
89 vp_id = vha->vp_idx; in qla24xx_deallocate_vp_id()
142 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
203 "Virtual port with id: %d - Enabled.\n", vha->vp_idx); in qla24xx_enable_vp()
208 "Virtual port with id: %d - Disabled.\n", vha->vp_idx); in qla24xx_enable_vp()
222 ret = qla2x00_send_change_request(vha, 0x3, vha->vp_idx); in qla24xx_configure_vp()
250 if (vha->vp_idx) { in qla2x00_alert_all_vps()
302 "Scheduling enable of Vport %d.\n", vha->vp_idx); in qla2x00_vp_abort_isp()
378 if (vha->vp_idx) in qla2x00_do_dpc_all_vps()
[all …]
Dqla_target.c164 vha->vp_idx); in qlt_issue_marker()
176 uint8_t vp_idx; in qlt_find_host_by_d_id() local
185 vp_idx = ha->tgt.tgt_vp_map[d_id[2]].idx; in qlt_find_host_by_d_id()
186 if (likely(test_bit(vp_idx, ha->vp_idx_map))) in qlt_find_host_by_d_id()
187 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_d_id()
194 uint16_t vp_idx) in qlt_find_host_by_vp_idx() argument
198 if (vha->vp_idx == vp_idx) in qlt_find_host_by_vp_idx()
202 if (likely(test_bit(vp_idx, ha->vp_idx_map))) in qlt_find_host_by_vp_idx()
203 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_vp_idx()
234 __func__, vha->vp_idx, atio->u.raw.entry_type, in qlt_24xx_atio_pkt_all_vps()
[all …]
Dqla_iocb.c525 mrk24->vp_index = vha->vp_idx; in __qla2x00_marker()
1245 cmd_pkt->vp_index = sp->fcport->vha->vp_idx; in qla24xx_build_scsi_crc_2_iocbs()
1512 cmd_pkt->vp_index = sp->fcport->vha->vp_idx; in qla24xx_start_scsi()
1889 logio->vp_index = sp->fcport->vha->vp_idx; in qla24xx_login_iocb()
1913 mbx->mb9 = cpu_to_le16(sp->fcport->vha->vp_idx); in qla2x00_login_iocb()
1929 logio->vp_index = sp->fcport->vha->vp_idx; in qla24xx_logout_iocb()
1946 mbx->mb9 = cpu_to_le16(sp->fcport->vha->vp_idx); in qla2x00_logout_iocb()
1956 logio->vp_index = sp->fcport->vha->vp_idx; in qla24xx_adisc_iocb()
1977 mbx->mb9 = cpu_to_le16(sp->fcport->vha->vp_idx); in qla2x00_adisc_iocb()
2003 tsk->vp_index = fcport->vha->vp_idx; in qla24xx_tm_iocb()
[all …]
Dqla_isr.c329 if (vha->hw->notify_dcbx_comp && !vha->vp_idx) in qla81xx_idc_event()
730 if (vha->vp_idx) { in qla2x00_async_event()
773 if (!vha->vp_idx) { in qla2x00_async_event()
792 if (vha->vp_idx) { in qla2x00_async_event()
812 if (vha->vp_idx) { in qla2x00_async_event()
833 if (ha->notify_dcbx_comp && !vha->vp_idx) in qla2x00_async_event()
852 if (vha->vp_idx) { in qla2x00_async_event()
882 if (vha->vp_idx) { in qla2x00_async_event()
909 (mb[1] != 0xffff)) && vha->vp_idx != (mb[3] & 0xff)) in qla2x00_async_event()
946 if (vha->vp_idx) { in qla2x00_async_event()
[all …]
Dqla_mbx.c1002 mcp->mb[9] = vha->vp_idx; in qla2x00_abort_target()
1052 mcp->mb[9] = vha->vp_idx; in qla2x00_lun_reset()
1108 mcp->mb[9] = vha->vp_idx; in qla2x00_get_adapter_id()
1437 mcp->mb[9] = vha->vp_idx; in qla2x00_get_port_database()
1653 mcp->mb[9] = vha->vp_idx; in qla2x00_get_port_name()
1910 lg->vp_index = vha->vp_idx; in qla24xx_login_fabric()
2182 lg->vp_index = vha->vp_idx; in qla24xx_fabric_logout()
2346 mcp->mb[9] = vha->vp_idx; in qla2x00_get_id_list()
2595 mcp->mb[9] = vha->vp_idx; in qla24xx_get_isp_stats()
2672 abt->vp_index = fcport->vha->vp_idx; in qla24xx_abort_command()
[all …]
Dqla_attr.c1698 if (vha->vp_idx) { in qla2x00_get_host_port_type()
2044 "VP entry id %d assigned.\n", vha->vp_idx); in qla24xx_vport_create()
2091 "scsi_add_host failure for VP[%d].\n", vha->vp_idx); in qla24xx_vport_create()
2112 req, vha->vp_idx, ha->flags.cpu_affinity_enabled); in qla24xx_vport_create()
2127 ret = qla25xx_create_req_que(ha, options, vha->vp_idx, 0, 0, in qla24xx_vport_create()
2132 vha->vp_idx); in qla24xx_vport_create()
2136 ret, qos, vha->vp_idx); in qla24xx_vport_create()
2139 ret, qos, vha->vp_idx); in qla24xx_vport_create()
2160 uint16_t id = vha->vp_idx; in qla24xx_vport_delete()
2182 "Timer for the VP[%d] has stopped\n", vha->vp_idx); in qla24xx_vport_delete()
[all …]
Dqla_os.c1040 if (vha->vp_idx != sp->fcport->vha->vp_idx) in qla2x00_eh_wait_for_pending_commands()
2577 base_vha->mgmt_svr_loop_id = 10 + base_vha->vp_idx; in qla2x00_probe_one()
2580 base_vha->vp_idx; in qla2x00_probe_one()
3260 vha->vp_idx == fcport->vha->vp_idx) { in qla2x00_mark_device_lost()
3304 if (vha->vp_idx != 0 && vha->vp_idx != fcport->vha->vp_idx) in qla2x00_mark_all_devices_lost()
3317 else if (vha->vp_idx == fcport->vha->vp_idx) in qla2x00_mark_all_devices_lost()
5166 if (!vha->vp_idx && IS_P3P_TYPE(ha)) { in qla2x00_timer()
5175 if (!vha->vp_idx && IS_QLAFX00(ha)) in qla2x00_timer()
5198 if (!vha->vp_idx) { in qla2x00_timer()
5249 if (!vha->vp_idx && (ha->beacon_blink_led == 1)) { in qla2x00_timer()
Dqla_def.h2820 uint16_t vp_idx; member
2849 uint16_t vp_idx; member
3602 uint16_t vp_idx; /* vport ID */ member
Dqla_gs.c91 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_iocb()
1208 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_fdmi_iocb()
2499 ct_pkt->vp_index = vha->vp_idx; in qla24xx_prep_ms_fm_iocb()
Dqla_fw.h1283 uint16_t vp_idx; /* Format 0 -- Reserved. */ member
Dqla_init.c4867 if (vp->vp_idx) { in qla2x00_abort_isp()
5904 if (!vha->vp_idx) in qla24xx_configure_vhba()
6372 if (vp->vp_idx) { in qla82xx_restart_isp()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c2458 int vp_idx = 0, intr_idx = 0, intr_cnt = 0, msix_idx = 0, irq_req = 0; in vxge_add_isr() local
2486 pci_fun, vp_idx); in vxge_add_isr()
2491 &vdev->vpaths[vp_idx].fifo); in vxge_add_isr()
2493 &vdev->vpaths[vp_idx].fifo; in vxge_add_isr()
2501 pci_fun, vp_idx); in vxge_add_isr()
2507 &vdev->vpaths[vp_idx].ring); in vxge_add_isr()
2509 &vdev->vpaths[vp_idx].ring; in vxge_add_isr()
2529 msix_idx += vdev->vpaths[vp_idx].device_id * in vxge_add_isr()
2532 vdev->vpaths[vp_idx].handle, in vxge_add_isr()
2539 (vp_idx < (vdev->no_of_vpath - 1))) in vxge_add_isr()
[all …]