Searched refs:fcport (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_init.c1734 fc_port_t *fcport = data; local
1738 spin_lock_irqsave(&fcport->rport_lock, flags);
1739 rport = fcport->drport;
1740 fcport->drport = NULL;
1741 spin_unlock_irqrestore(&fcport->rport_lock, flags);
1748 * qla2x00_alloc_fcport() - Allocate a generic fcport.
1752 * Returns a pointer to the allocated fcport, or NULL, if none available.
1757 fc_port_t *fcport; local
1759 fcport = kmalloc(sizeof(fc_port_t), flags);
1760 if (fcport
1905 fc_port_t *fcport, *new_fcport; local
2073 fc_port_t *fcport; local
2085 qla2x00_iidma_fcport(scsi_qla_host_t *ha, fc_port_t *fcport) argument
2141 qla2x00_reg_remote_port(scsi_qla_host_t *ha, fc_port_t *fcport) argument
2198 qla2x00_update_fcport(scsi_qla_host_t *ha, fc_port_t *fcport) argument
2230 fc_port_t *fcport, *fcptemp; local
2422 fc_port_t *fcport, *new_fcport, *fcptemp; local
2636 fc_port_t *fcport; local
2706 fc_port_t *fcport; local
2813 qla2x00_fabric_dev_login(scsi_qla_host_t *ha, fc_port_t *fcport, uint16_t *next_loopid) argument
2858 qla2x00_fabric_login(scsi_qla_host_t *ha, fc_port_t *fcport, uint16_t *next_loopid) argument
2990 qla2x00_local_device_login(scsi_qla_host_t *ha, fc_port_t *fcport) argument
3067 fc_port_t *fcport; local
3085 fc_port_t *fcport; local
[all...]
H A Dqla_os.c353 qla2x00_get_new_sp(scsi_qla_host_t *ha, fc_port_t *fcport, argument
363 sp->fcport = fcport;
376 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local
387 /* Close window on fcport/rport state-transitioning. */
393 if (atomic_read(&fcport->state) != FCS_ONLINE) {
394 if (atomic_read(&fcport->state) == FCS_DEVICE_DEAD ||
404 sp = qla2x00_get_new_sp(ha, fcport, cmd, done);
437 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local
448 /* Close window on fcport/rpor
784 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local
915 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local
976 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local
1035 struct fc_port *fcport; local
1746 qla2x00_schedule_rport_del(struct scsi_qla_host *ha, fc_port_t *fcport, int defer) argument
1781 qla2x00_mark_device_lost(scsi_qla_host_t *ha, fc_port_t *fcport, int do_login, int defer) argument
1834 fc_port_t *fcport; local
2051 fc_port_t *fcport; local
2195 fc_port_t *fcport; local
2457 fc_port_t *fcport; local
[all...]
H A Dqla_gs.c163 * @fcport: fcport entry to updated
168 qla2x00_ga_nxt(scsi_qla_host_t *ha, fc_port_t *fcport) argument
177 return (qla2x00_sns_ga_nxt(ha, fcport));
190 ct_req->req.port_id.port_id[0] = fcport->d_id.b.domain;
191 ct_req->req.port_id.port_id[1] = fcport->d_id.b.area;
192 ct_req->req.port_id.port_id[2] = fcport->d_id.b.al_pa;
206 fcport->d_id.b.domain = ct_rsp->rsp.ga_nxt.port_id[0];
207 fcport->d_id.b.area = ct_rsp->rsp.ga_nxt.port_id[1];
208 fcport
727 qla2x00_sns_ga_nxt(scsi_qla_host_t *ha, fc_port_t *fcport) argument
[all...]
H A Dqla_mbx.c762 fc_port_t *fcport; local
770 fcport = sp->fcport;
786 mcp->mb[1] = fcport->loop_id;
788 mcp->mb[1] = fcport->loop_id << 8;
825 qla2x00_abort_target(fc_port_t *fcport) argument
832 if (fcport == NULL)
835 DEBUG11(printk("%s(%ld): entered.\n", __func__, fcport->ha->host_no));
837 ha = fcport->ha;
841 mcp->mb[1] = fcport
1057 qla2x00_get_port_database(scsi_qla_host_t *ha, fc_port_t *fcport, uint8_t opt) argument
1620 qla2x00_login_local_device(scsi_qla_host_t *ha, fc_port_t *fcport, uint16_t *mb_ret, uint8_t opt) argument
2178 fc_port_t *fcport; local
2247 qla24xx_abort_target(fc_port_t *fcport) argument
[all...]
H A Dqla_isr.c597 fc_port_t *fcport = data; local
599 if (fcport->ha->max_q_depth <= sdev->queue_depth)
609 fcport->last_ramp_up = jiffies;
611 DEBUG2(qla_printk(KERN_INFO, fcport->ha,
613 fcport->ha->host_no, sdev->channel, sdev->id, sdev->lun,
620 fc_port_t *fcport = data; local
625 DEBUG2(qla_printk(KERN_INFO, fcport->ha,
627 fcport->ha->host_no, sdev->channel, sdev->id, sdev->lun,
634 fc_port_t *fcport; local
641 fcport
782 fc_port_t *fcport; local
[all...]
H A Dqla_attr.c799 fc_port_t *fcport; local
802 list_for_each_entry(fcport, &ha->fcports, list) {
803 if (starget->id == fcport->os_target_id) {
804 node_name = wwn_to_u64(fcport->node_name);
817 fc_port_t *fcport; local
820 list_for_each_entry(fcport, &ha->fcports, list) {
821 if (starget->id == fcport->os_target_id) {
822 port_name = wwn_to_u64(fcport->port_name);
835 fc_port_t *fcport; local
838 list_for_each_entry(fcport,
[all...]
H A Dqla_iocb.c386 SET_TARGET_ID(ha, cmd_pkt->target, sp->fcport->loop_id);
812 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id);
813 cmd_pkt->port_id[0] = sp->fcport->d_id.b.al_pa;
814 cmd_pkt->port_id[1] = sp->fcport->d_id.b.area;
815 cmd_pkt->port_id[2] = sp->fcport->d_id.b.domain;
H A Dqla_def.h190 struct fc_port *fcport; member in struct:srb

Completed in 112 milliseconds