Lines Matching refs:vp_idx
22 if (vha->vp_idx && vha->timer_active) { in qla2x00_vp_stop_timer()
48 vha->vp_idx = vp_id; in qla24xx_allocate_vp_id()
102 vp_id = vha->vp_idx; in qla24xx_deallocate_vp_id()
155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
237 "Virtual port with id: %d - Enabled.\n", vha->vp_idx); in qla24xx_enable_vp()
242 "Virtual port with id: %d - Disabled.\n", vha->vp_idx); in qla24xx_enable_vp()
256 ret = qla2x00_send_change_request(vha, 0x3, vha->vp_idx); in qla24xx_configure_vp()
284 if (vha->vp_idx) { in qla2x00_alert_all_vps()
305 if ((mb[3] & 0xff) == vha->vp_idx) { in qla2x00_alert_all_vps()
353 "Scheduling enable of Vport %d.\n", vha->vp_idx); in qla2x00_vp_abort_isp()
430 if (vha->vp_idx) in qla2x00_do_dpc_all_vps()
442 if (vp->vp_idx) { in qla2x00_do_dpc_all_vps()
517 vha->vp_idx = qla24xx_allocate_vp_id(vha); in qla24xx_create_vhost()
518 if (vha->vp_idx > ha->max_npiv_vports) { in qla24xx_create_vhost()
561 set_bit(vha->vp_idx, ha->vp_idx_map); in qla24xx_create_vhost()
699 uint8_t vp_idx, uint16_t rid, int rsp_que, uint8_t qos, bool startqp) in qla25xx_create_req_que() argument
741 req->vp_idx = vp_idx; in qla25xx_create_req_que()
746 que_id, req->rid, req->vp_idx, req->qos); in qla25xx_create_req_que()
749 que_id, req->rid, req->vp_idx, req->qos); in qla25xx_create_req_que()
827 uint8_t vp_idx, uint16_t rid, struct qla_qpair *qpair, bool startqp) in qla25xx_create_rsp_que() argument
867 rsp->vp_idx = vp_idx; in qla25xx_create_rsp_que()
871 que_id, rsp->rid, rsp->vp_idx, rsp->hw); in qla25xx_create_rsp_que()
950 int vp_index = vha->vp_idx; in qla24xx_control_vp()
1009 struct scsi_qla_host *qla_find_host_by_vp_idx(struct scsi_qla_host *vha, uint16_t vp_idx) in qla_find_host_by_vp_idx() argument
1013 if (vha->vp_idx == vp_idx) in qla_find_host_by_vp_idx()
1017 if (likely(test_bit(vp_idx, ha->vp_idx_map))) in qla_find_host_by_vp_idx()
1018 return ha->vp_map[vp_idx].vha; in qla_find_host_by_vp_idx()
1038 vha->hw->vp_map[vha->vp_idx].vha = vha; in qla_update_vp_map()
1058 vha->hw->vp_map[vha->vp_idx].vha = NULL; in qla_update_vp_map()
1264 if (vha->vp_idx) in qla_adjust_buf()