Lines Matching refs:d_id
132 routine, ms_pkt->entry_status, vha->d_id.b.domain, in qla2x00_chk_ms_status()
133 vha->d_id.b.area, vha->d_id.b.al_pa); in qla2x00_chk_ms_status()
148 routine, vha->d_id.b.domain, in qla2x00_chk_ms_status()
149 vha->d_id.b.area, vha->d_id.b.al_pa, in qla2x00_chk_ms_status()
184 vha->d_id.b.domain, vha->d_id.b.area, in qla2x00_chk_ms_status()
185 vha->d_id.b.al_pa); in qla2x00_chk_ms_status()
230 ct_req->req.port_id.port_id = port_id_to_be_id(fcport->d_id); in qla2x00_ga_nxt()
244 fcport->d_id = be_to_port_id(ct_rsp->rsp.ga_nxt.port_id); in qla2x00_ga_nxt()
256 fcport->d_id.b.domain = 0xf0; in qla2x00_ga_nxt()
262 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_ga_nxt()
263 fcport->d_id.b.al_pa); in qla2x00_ga_nxt()
337 list[i].d_id = be_to_port_id(gid_data->port_id); in qla2x00_gid_pt()
343 list[i].d_id.b.rsvd_1 = gid_data->control_byte; in qla2x00_gid_pt()
401 ct_req->req.port_id.port_id = port_id_to_be_id(list[i].d_id); in qla2x00_gpn_id()
422 if (list[i].d_id.b.rsvd_1 != 0) in qla2x00_gpn_id()
468 ct_req->req.port_id.port_id = port_id_to_be_id(list[i].d_id); in qla2x00_gnn_id()
491 list[i].d_id.b.domain, list[i].d_id.b.area, in qla2x00_gnn_id()
492 list[i].d_id.b.al_pa); in qla2x00_gnn_id()
496 if (list[i].d_id.b.rsvd_1 != 0) in qla2x00_gnn_id()
582 return qla_async_rftid(vha, &vha->d_id); in qla2x00_rft_id()
585 static int qla_async_rftid(scsi_qla_host_t *vha, port_id_t *d_id) in qla_async_rftid() argument
632 ct_req->req.rft_id.port_id = port_id_to_be_id(vha->d_id); in qla_async_rftid()
646 sp->name, sp->handle, d_id->b24); in qla_async_rftid()
679 return qla_async_rffid(vha, &vha->d_id, qlt_rff_id(vha), type); in qla2x00_rff_id()
682 static int qla_async_rffid(scsi_qla_host_t *vha, port_id_t *d_id, in qla_async_rffid() argument
727 ct_req->req.rff_id.port_id = port_id_to_be_id(*d_id); in qla_async_rffid()
739 sp->name, sp->handle, d_id->b24, fc4feature, fc4type); in qla_async_rffid()
770 return qla_async_rnnid(vha, &vha->d_id, vha->node_name); in qla2x00_rnn_id()
773 static int qla_async_rnnid(scsi_qla_host_t *vha, port_id_t *d_id, in qla_async_rnnid() argument
818 ct_req->req.rnn_id.port_id = port_id_to_be_id(vha->d_id); in qla_async_rnnid()
830 sp->name, sp->handle, d_id->b24); in qla_async_rnnid()
1014 sns_cmd->p.cmd.param[0] = fcport->d_id.b.al_pa; in qla2x00_sns_ga_nxt()
1015 sns_cmd->p.cmd.param[1] = fcport->d_id.b.area; in qla2x00_sns_ga_nxt()
1016 sns_cmd->p.cmd.param[2] = fcport->d_id.b.domain; in qla2x00_sns_ga_nxt()
1034 fcport->d_id.b.domain = sns_cmd->p.gan_data[17]; in qla2x00_sns_ga_nxt()
1035 fcport->d_id.b.area = sns_cmd->p.gan_data[18]; in qla2x00_sns_ga_nxt()
1036 fcport->d_id.b.al_pa = sns_cmd->p.gan_data[19]; in qla2x00_sns_ga_nxt()
1043 fcport->d_id.b.domain = 0xf0; in qla2x00_sns_ga_nxt()
1049 fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_sns_ga_nxt()
1050 fcport->d_id.b.al_pa); in qla2x00_sns_ga_nxt()
1105 list[i].d_id.b.domain = entry[1]; in qla2x00_sns_gid_pt()
1106 list[i].d_id.b.area = entry[2]; in qla2x00_sns_gid_pt()
1107 list[i].d_id.b.al_pa = entry[3]; in qla2x00_sns_gid_pt()
1111 list[i].d_id.b.rsvd_1 = entry[0]; in qla2x00_sns_gid_pt()
1153 sns_cmd->p.cmd.param[0] = list[i].d_id.b.al_pa; in qla2x00_sns_gpn_id()
1154 sns_cmd->p.cmd.param[1] = list[i].d_id.b.area; in qla2x00_sns_gpn_id()
1155 sns_cmd->p.cmd.param[2] = list[i].d_id.b.domain; in qla2x00_sns_gpn_id()
1178 if (list[i].d_id.b.rsvd_1 != 0) in qla2x00_sns_gpn_id()
1209 sns_cmd->p.cmd.param[0] = list[i].d_id.b.al_pa; in qla2x00_sns_gnn_id()
1210 sns_cmd->p.cmd.param[1] = list[i].d_id.b.area; in qla2x00_sns_gnn_id()
1211 sns_cmd->p.cmd.param[2] = list[i].d_id.b.domain; in qla2x00_sns_gnn_id()
1236 list[i].d_id.b.domain, list[i].d_id.b.area, in qla2x00_sns_gnn_id()
1237 list[i].d_id.b.al_pa); in qla2x00_sns_gnn_id()
1241 if (list[i].d_id.b.rsvd_1 != 0) in qla2x00_sns_gnn_id()
1269 sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; in qla2x00_sns_rft_id()
1270 sns_cmd->p.cmd.param[1] = vha->d_id.b.area; in qla2x00_sns_rft_id()
1271 sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; in qla2x00_sns_rft_id()
1318 sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; in qla2x00_sns_rnn_id()
1319 sns_cmd->p.cmd.param[1] = vha->d_id.b.area; in qla2x00_sns_rnn_id()
1320 sns_cmd->p.cmd.param[2] = vha->d_id.b.domain; in qla2x00_sns_rnn_id()
2047 eiter->a.port_id = cpu_to_be32(vha->d_id.b24); in qla2x00_port_attributes()
2557 ct_req->req.port_id.port_id = port_id_to_be_id(list[i].d_id); in qla2x00_gfpn_id()
2578 if (list[i].d_id.b.rsvd_1 != 0) in qla2x00_gfpn_id()
2709 if (list[i].d_id.b.rsvd_1 != 0) in qla2x00_gpsc()
2761 ct_req->req.port_id.port_id = port_id_to_be_id(list[i].d_id); in qla2x00_gff_id()
2795 if (list[i].d_id.b.rsvd_1 != 0) in qla2x00_gff_id()
2932 fcport->loop_id, fcport->d_id.b.domain, in qla24xx_async_gpsc()
2933 fcport->d_id.b.area, fcport->d_id.b.al_pa); in qla24xx_async_gpsc()
3005 if (fcport->d_id.b24 == ea->id.b24) in qla24xx_handle_gpnid_event()
3016 if ((conflict->d_id.b24 == ea->id.b24) && in qla24xx_handle_gpnid_event()
3055 fcport->d_id = ea->id; in qla24xx_handle_gpnid_event()
3059 fcport->d_id = ea->id; in qla24xx_handle_gpnid_event()
3062 fcport->d_id = ea->id; in qla24xx_handle_gpnid_event()
3068 if (conflict->d_id.b24 == ea->id.b24) { in qla24xx_handle_gpnid_event()
3288 sp->name, res, fcport->d_id.b24, fcport->port_name); in qla24xx_async_gffid_sp_done()
3350 ct_req->req.gff_id.port_id[0] = fcport->d_id.b.domain; in qla24xx_async_gffid()
3351 ct_req->req.gff_id.port_id[1] = fcport->d_id.b.area; in qla24xx_async_gffid()
3352 ct_req->req.gff_id.port_id[2] = fcport->d_id.b.al_pa; in qla24xx_async_gffid()
3500 } else if (fcport->d_id.b24 != rp->id.b24 || in qla24xx_async_gnnft_done()
3506 fcport->d_id.b24 = rp->id.b24; in qla24xx_async_gnnft_done()
4178 ct_req->req.port_id.port_id = port_id_to_be_id(fcport->d_id); in qla24xx_async_gnnid()
4195 sp->handle, fcport->loop_id, fcport->d_id.b24); in qla24xx_async_gnnid()
4306 ct_req->req.port_id.port_id = port_id_to_be_id(fcport->d_id); in qla24xx_async_gfpnid()
4323 sp->handle, fcport->loop_id, fcport->d_id.b24); in qla24xx_async_gfpnid()