• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/

Lines Matching defs:fcport

33 		sp->fcport->vha->hw->qla_stats.output_bytes +=
37 sp->fcport->vha->hw->qla_stats.input_bytes +=
218 vha = sp->fcport->vha;
276 vha = sp->fcport->vha;
334 vha = sp->fcport->vha;
405 SET_TARGET_ID(ha, cmd_pkt->target, sp->fcport->loop_id);
638 vha = sp->fcport->vha;
645 sp->fcport->vha->hw->qla_stats.output_bytes +=
650 sp->fcport->vha->hw->qla_stats.input_bytes +=
991 vha = sp->fcport->vha;
998 cmd_pkt->vp_index = sp->fcport->vp_idx;
1178 struct scsi_qla_host *vha = sp->fcport->vha;
1254 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id);
1255 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa;
1256 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area;
1257 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain;
1258 cmd_pkt->vp_index = sp->fcport->vp_idx;
1332 struct scsi_qla_host *vha = sp->fcport->vha;
1437 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id);
1438 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa;
1439 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area;
1440 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain;
1499 struct qla_hw_data *ha = sp->fcport->vha->hw;
1580 struct qla_hw_data *ha = sp->fcport->vha->hw;
1625 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id);
1626 logio->port_id[0] = sp->fcport->d_id.b.al_pa;
1627 logio->port_id[1] = sp->fcport->d_id.b.area;
1628 logio->port_id[2] = sp->fcport->d_id.b.domain;
1629 logio->vp_index = sp->fcport->vp_idx;
1635 struct qla_hw_data *ha = sp->fcport->vha->hw;
1641 SET_TARGET_ID(ha, mbx->loop_id, sp->fcport->loop_id);
1646 mbx->mb1 = cpu_to_le16(sp->fcport->loop_id);
1649 mbx->mb1 = cpu_to_le16((sp->fcport->loop_id << 8) | opts);
1651 mbx->mb2 = cpu_to_le16(sp->fcport->d_id.b.domain);
1652 mbx->mb3 = cpu_to_le16(sp->fcport->d_id.b.area << 8 |
1653 sp->fcport->d_id.b.al_pa);
1654 mbx->mb9 = cpu_to_le16(sp->fcport->vp_idx);
1663 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id);
1664 logio->port_id[0] = sp->fcport->d_id.b.al_pa;
1665 logio->port_id[1] = sp->fcport->d_id.b.area;
1666 logio->port_id[2] = sp->fcport->d_id.b.domain;
1667 logio->vp_index = sp->fcport->vp_idx;
1673 struct qla_hw_data *ha = sp->fcport->vha->hw;
1676 SET_TARGET_ID(ha, mbx->loop_id, sp->fcport->loop_id);
1679 cpu_to_le16(sp->fcport->loop_id):
1680 cpu_to_le16(sp->fcport->loop_id << 8);
1681 mbx->mb2 = cpu_to_le16(sp->fcport->d_id.b.domain);
1682 mbx->mb3 = cpu_to_le16(sp->fcport->d_id.b.area << 8 |
1683 sp->fcport->d_id.b.al_pa);
1684 mbx->mb9 = cpu_to_le16(sp->fcport->vp_idx);
1693 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id);
1694 logio->vp_index = sp->fcport->vp_idx;
1700 struct qla_hw_data *ha = sp->fcport->vha->hw;
1703 SET_TARGET_ID(ha, mbx->loop_id, sp->fcport->loop_id);
1706 mbx->mb1 = cpu_to_le16(sp->fcport->loop_id);
1709 mbx->mb1 = cpu_to_le16((sp->fcport->loop_id << 8) | BIT_0);
1715 mbx->mb9 = cpu_to_le16(sp->fcport->vp_idx);
1723 struct fc_port *fcport = sp->fcport;
1724 scsi_qla_host_t *vha = fcport->vha;
1736 tsk->nport_handle = cpu_to_le16(fcport->loop_id);
1739 tsk->port_id[0] = fcport->d_id.b.al_pa;
1740 tsk->port_id[1] = fcport->d_id.b.area;
1741 tsk->port_id[2] = fcport->d_id.b.domain;
1742 tsk->vp_index = fcport->vp_idx;
1761 els_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id);
1763 els_iocb->vp_index = sp->fcport->vp_idx;
1771 els_iocb->port_id[0] = sp->fcport->d_id.b.al_pa;
1772 els_iocb->port_id[1] = sp->fcport->d_id.b.area;
1773 els_iocb->port_id[2] = sp->fcport->d_id.b.domain;
1803 scsi_qla_host_t *vha = sp->fcport->vha;
1814 SET_TARGET_ID(ha, ct_iocb->loop_id, sp->fcport->loop_id);
1879 scsi_qla_host_t *vha = sp->fcport->vha;
1890 ct_iocb->nport_handle = cpu_to_le16(sp->fcport->loop_id);
1891 ct_iocb->vp_index = sp->fcport->vp_idx;
1946 struct qla_hw_data *ha = sp->fcport->vha->hw;
1953 pkt = qla2x00_alloc_iocbs(sp->fcport->vha, sp);