ISP_GET_VPIDX
pt->ctp_vpidx = ISP_GET_VPIDX(isp, chan);
pt->ctp_vpidx = ISP_GET_VPIDX(isp, chan);
t7->req_vpidx = ISP_GET_VPIDX(isp, XS_CHANNEL(xs));
tmf->tmf_vpidx = ISP_GET_VPIDX(isp, chan);
ab->abrt_vpidx = ISP_GET_VPIDX(isp, chan);
cto->ct_vpidx = ISP_GET_VPIDX(isp, XS_CHANNEL(ccb));
int chan = ISP_GET_VPIDX(isp, inot->in_vpidx);
if (isp_find_pdb_by_loopid(isp, ISP_GET_VPIDX(isp, inot->in_vpidx), nphdl, &lp)) {
isp_del_wwn_entry(isp, ISP_GET_VPIDX(isp, inot->in_vpidx), lp->port_wwn, nphdl, lp->portid);
isp_prt(isp, ISP_LOGINFO, "Chan %d %s (sub-status 0x%x) for N-port handle 0x%x", ISP_GET_VPIDX(isp, inot->in_vpidx), ptr, inot->in_status_subcode, nphdl);
tmf->tmf_vpidx = ISP_GET_VPIDX(isp, chan);
ochan = chan = ISP_GET_VPIDX(isp, inot_24xx->in_vpidx);