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