• 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

1470 	fc_port_t *fcport;
1473 list_for_each_entry(fcport, &vha->vp_fcports, list) {
1474 if (fcport->rport &&
1475 starget->id == fcport->rport->scsi_target_id) {
1476 node_name = wwn_to_u64(fcport->node_name);
1489 fc_port_t *fcport;
1492 list_for_each_entry(fcport, &vha->vp_fcports, list) {
1493 if (fcport->rport &&
1494 starget->id == fcport->rport->scsi_target_id) {
1495 port_name = wwn_to_u64(fcport->port_name);
1508 fc_port_t *fcport;
1511 list_for_each_entry(fcport, &vha->vp_fcports, list) {
1512 if (fcport->rport &&
1513 starget->id == fcport->rport->scsi_target_id) {
1514 port_id = fcport->d_id.b.domain << 16 |
1515 fcport->d_id.b.area << 8 | fcport->d_id.b.al_pa;
1536 fc_port_t *fcport = *(fc_port_t **)rport->dd_data;
1538 if (!fcport)
1541 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags))
1544 if (unlikely(pci_channel_offline(fcport->vha->hw->pdev))) {
1545 qla2x00_abort_all_cmds(fcport->vha, DID_NO_CONNECT << 16);
1554 fcport->rport = NULL;
1562 fc_port_t *fcport = *(fc_port_t **)rport->dd_data;
1564 if (!fcport)
1567 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags))
1570 if (unlikely(pci_channel_offline(fcport->vha->hw->pdev))) {
1571 qla2x00_abort_all_cmds(fcport->vha, DID_NO_CONNECT << 16);
1575 * At this point all fcport's software-states are cleared. Perform any
1578 if (fcport->loop_id != FC_NO_LOOP_ID &&
1579 !test_bit(UNLOADING, &fcport->vha->dpc_flags))
1580 fcport->vha->hw->isp_ops->fabric_logout(fcport->vha,
1581 fcport->loop_id, fcport->d_id.b.domain,
1582 fcport->d_id.b.area, fcport->d_id.b.al_pa);