/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 29 BFA_MODULE(fcport); variable 163 static bfa_boolean_t bfa_fcport_send_enable(struct bfa_fcport_s *fcport); 164 static bfa_boolean_t bfa_fcport_send_disable(struct bfa_fcport_s *fcport); 165 static void bfa_fcport_update_linkinfo(struct bfa_fcport_s *fcport); 166 static void bfa_fcport_reset_linkinfo(struct bfa_fcport_s *fcport); 167 static void bfa_fcport_set_wwns(struct bfa_fcport_s *fcport); 169 static void bfa_fcport_scn(struct bfa_fcport_s *fcport, 181 static void bfa_fcport_sm_uninit(struct bfa_fcport_s *fcport, 183 static void bfa_fcport_sm_enabling_qwait(struct bfa_fcport_s *fcport, 185 static void bfa_fcport_sm_enabling(struct bfa_fcport_s *fcport, 2068 bfa_fcport_aen_post(struct bfa_fcport_s *fcport, enum bfa_port_aen_event event) argument 2089 bfa_fcport_sm_uninit(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2137 bfa_fcport_sm_enabling_qwait(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2201 bfa_fcport_sm_enabling(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2263 bfa_fcport_sm_linkdown(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2355 bfa_fcport_sm_linkup(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2454 bfa_fcport_sm_disabling_qwait(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2505 bfa_fcport_sm_toggling_qwait(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2552 bfa_fcport_sm_disabling(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2607 bfa_fcport_sm_disabled(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2664 bfa_fcport_sm_stopped(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2690 bfa_fcport_sm_iocdown(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2716 bfa_fcport_sm_iocfail(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2739 bfa_fcport_sm_dport(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2771 bfa_fcport_sm_ddport(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 2805 bfa_fcport_sm_faa_misconfig(struct bfa_fcport_s *fcport, enum bfa_fcport_sm_event event) argument 3021 bfa_fcport_scn(struct bfa_fcport_s *fcport, enum bfa_port_linkstate event, bfa_boolean_t trunk) argument 3042 struct bfa_fcport_s *fcport = ln->fcport; local 3069 struct bfa_fcport_s *fcport = cbarg; local 3075 bfa_fcport_mem_claim(struct bfa_fcport_s *fcport) argument 3092 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3163 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3173 bfa_fcport_update_loop_info(struct bfa_fcport_s *fcport, struct bfa_fcport_loop_info_s *loop_info) argument 3185 bfa_fcport_update_linkinfo(struct bfa_fcport_s *fcport) argument 3223 bfa_fcport_reset_linkinfo(struct bfa_fcport_s *fcport) argument 3234 bfa_fcport_send_enable(struct bfa_fcport_s *fcport) argument 3277 bfa_fcport_send_disable(struct bfa_fcport_s *fcport) argument 3310 bfa_fcport_set_wwns(struct bfa_fcport_s *fcport) argument 3355 struct bfa_fcport_s *fcport = (struct bfa_fcport_s *)cbarg; local 3394 struct bfa_fcport_s *fcport = (struct bfa_fcport_s *) cbarg; local 3410 struct bfa_fcport_s *fcport = (struct bfa_fcport_s *) cbarg; local 3434 struct bfa_fcport_s *fcport = (struct bfa_fcport_s *) cbarg; local 3462 struct bfa_fcport_s *fcport = (struct bfa_fcport_s *) cbarg; local 3478 struct bfa_fcport_s *fcport = (struct bfa_fcport_s *) cbarg; local 3503 bfa_trunk_scn(struct bfa_fcport_s *fcport, struct bfi_fcport_trunk_scn_s *scn) argument 3581 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3612 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3637 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3767 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3776 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3808 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3825 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3870 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3881 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3927 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3938 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3946 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3961 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3973 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3982 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 3990 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4010 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4028 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4040 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4050 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4105 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4132 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4159 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4169 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4178 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4187 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4212 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4224 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4236 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4248 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4262 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4273 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4281 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4289 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 4344 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa); local 5839 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(fcdiag->bfa); local [all...] |
H A D | bfad_bsg.c | 934 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 939 if ((fcport->cfg.topology == BFA_PORT_TOPOLOGY_LOOP) && 940 (fcport->topology == BFA_PORT_TOPOLOGY_LOOP)) 944 fcport->cfg.ratelimit = BFA_TRUE; 946 fcport->cfg.ratelimit = BFA_FALSE; 948 if (fcport->cfg.trl_def_speed == BFA_PORT_SPEED_UNKNOWN) 949 fcport->cfg.trl_def_speed = BFA_PORT_SPEED_1GBPS; 963 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 970 (iocmd->speed > fcport->speed_sup)) { 976 if ((fcport 2299 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 2339 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 2362 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 2390 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 2417 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 2452 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 2483 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local [all...] |
H A D | bfa_modules.h | 33 struct bfa_fcport_s fcport; /* fc port module */ member in struct:bfa_modules_s
|
H A D | bfa_svc.h | 453 struct bfa_fcport_s *fcport; member in struct:bfa_fcport_ln_s 519 #define BFA_FCPORT_MOD(__bfa) (&(__bfa)->modules.fcport) 529 * bfa fcport API functions
|
H A D | bfad_im.c | 1027 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); local 1050 fc_host_maxframe_size(host) = fcport->cfg.maxfrsize;
|
H A D | bfa_fcs_lport.c | 1287 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa); local 1289 port->port_topo.ploop.alpabm_valid = fcport->alpabm_valid; 1290 port->pid = fcport->myalpa; 1295 bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]); 1296 bit = (fcport->alpabm.alpa_bm[i] & (1 << (7 - j)));
|
/drivers/scsi/qla2xxx/ |
H A D | qla_inline.h | 120 qla2x00_clear_loop_id(fc_port_t *fcport) { argument 121 struct qla_hw_data *ha = fcport->vha->hw; 123 if (fcport->loop_id == FC_NO_LOOP_ID || 124 qla2x00_is_reserved_id(fcport->vha, fcport->loop_id)) 127 clear_bit(fcport->loop_id, ha->loop_id_map); 128 fcport->loop_id = FC_NO_LOOP_ID; 159 qla2x00_set_fcport_state(fc_port_t *fcport, int state) argument 163 old_state = atomic_read(&fcport->state); 164 atomic_set(&fcport 219 qla2x00_get_sp(scsi_qla_host_t *vha, fc_port_t *fcport, gfp_t flag) argument 284 qla2x00_set_retry_delay_timestamp(fc_port_t *fcport, uint16_t retry_delay) argument [all...] |
H A D | qla_init.c | 50 fc_port_t *fcport = sp->fcport; local 51 struct qla_hw_data *ha = fcport->vha->hw; 60 sp->free(fcport->vha, sp); 101 fc_port_t *fcport = sp->fcport; local 103 ql_dbg(ql_dbg_disc, fcport->vha, 0x2071, 105 sp->name, sp->handle, fcport->d_id.b.domain, fcport->d_id.b.area, 106 fcport 135 qla2x00_async_login(struct scsi_qla_host *vha, fc_port_t *fcport, uint16_t *data) argument 188 qla2x00_async_logout(struct scsi_qla_host *vha, fc_port_t *fcport) argument 236 qla2x00_async_adisc(struct scsi_qla_host *vha, fc_port_t *fcport, uint16_t *data) argument 292 qla2x00_async_tm_cmd(fc_port_t *fcport, uint32_t flags, uint32_t lun, uint32_t tag) argument 373 fc_port_t *fcport = cmd_sp->fcport; local 416 fc_port_t *fcport = sp->fcport; local 439 qla2x00_async_login_done(struct scsi_qla_host *vha, fc_port_t *fcport, uint16_t *data) argument 497 qla2x00_async_logout_done(struct scsi_qla_host *vha, fc_port_t *fcport, uint16_t *data) argument 505 qla2x00_async_adisc_done(struct scsi_qla_host *vha, fc_port_t *fcport, uint16_t *data) argument 2872 fc_port_t *fcport = data; local 2901 fc_port_t *fcport; local 3050 fc_port_t *fcport, *new_fcport; local 3203 qla2x00_iidma_fcport(scsi_qla_host_t *vha, fc_port_t *fcport) argument 3234 qla2x00_reg_remote_port(scsi_qla_host_t *vha, fc_port_t *fcport) argument 3289 qla2x00_update_fcport(scsi_qla_host_t *vha, fc_port_t *fcport) argument 3322 fc_port_t *fcport, *fcptemp; local 3522 fc_port_t *fcport, *new_fcport, *fcptemp; local 3806 qla2x00_fabric_dev_login(scsi_qla_host_t *vha, fc_port_t *fcport, uint16_t *next_loopid) argument 3865 qla2x00_fabric_login(scsi_qla_host_t *vha, fc_port_t *fcport, uint16_t *next_loopid) argument 4009 qla2x00_local_device_login(scsi_qla_host_t *vha, fc_port_t *fcport) argument 4128 fc_port_t *fcport; local 4503 fc_port_t *fcport; local 6269 qla24xx_get_fcp_prio(scsi_qla_host_t *vha, fc_port_t *fcport) argument 6362 qla24xx_update_fcport_fcp_prio(scsi_qla_host_t *vha, fc_port_t *fcport) argument 6416 fc_port_t *fcport; local [all...] |
H A D | qla_iocb.c | 27 struct scsi_qla_host *vha = sp->fcport->vha; 215 vha = sp->fcport->vha; 273 vha = sp->fcport->vha; 332 vha = sp->fcport->vha; 405 SET_TARGET_ID(ha, cmd_pkt->target, sp->fcport->loop_id); 629 vha = sp->fcport->vha; 747 vha = sp->fcport->vha; 960 vha = sp->fcport->vha; 1075 vha = sp->fcport->vha; 1165 vha = sp->fcport 2061 struct fc_port *fcport = sp->fcport; local [all...] |
H A D | qla_mr.c | 729 qlafx00_abort_target(fc_port_t *fcport, uint64_t l, int tag) argument 731 return qla2x00_async_tm_cmd(fcport, TCF_TARGET_RESET, l, tag); 735 qlafx00_lun_reset(fc_port_t *fcport, uint64_t l, int tag) argument 737 return qla2x00_async_tm_cmd(fcport, TCF_LUN_RESET, l, tag); 744 struct fc_port *fcport; local 748 list_for_each_entry(fcport, &vha->vp_fcports, list) { 749 if (fcport->port_type != FCT_TARGET) 752 ret = ha->isp_ops->target_reset(fcport, 0, 0); 756 "d_id=%x.\n", ret, fcport->d_id.b24); 1121 fc_port_t *fcport, *new_fcpor local 1249 fc_port_t *fcport, *rmptemp; local 1354 fc_port_t *fcport; local 1678 fc_port_t *fcport; local 1696 fc_port_t *fcport; local 1806 qlafx00_fx_disc(scsi_qla_host_t *vha, fc_port_t *fcport, uint16_t fx_type) argument 2277 fc_port_t *fcport; local [all...] |
H A D | qla_bsg.c | 30 struct scsi_qla_host *vha = sp->fcport->vha; 59 kfree(sp->fcport); 248 fc_port_t *fcport = NULL; local 260 fcport = *(fc_port_t **) rport->dd_data; 303 if (qla2x00_fabric_login(vha, fcport, &nextlid)) { 306 fcport->d_id.b24); 311 /* Allocate a dummy fcport structure, since functions 313 * specific information from fcport structure. For Host based 314 * ELS commands there will be no fcport structure allocated 316 fcport 432 struct fc_port *fcport; local 1281 fc_port_t *fcport = NULL; local 1920 struct fc_port *fcport; local 2177 fc_port_t *fcport = NULL; local [all...] |
H A D | qla_os.c | 604 struct qla_hw_data *ha = sp->fcport->vha->hw; 643 qla2x00_rel_sp(sp->fcport->vha, sp); 656 ql_dbg(ql_dbg_io, sp->fcport->vha, 0x3015, 677 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local 716 if (!fcport) { 721 if (atomic_read(&fcport->state) != FCS_ONLINE) { 722 if (atomic_read(&fcport->state) == FCS_DEVICE_DEAD || 726 atomic_read(&fcport->state), 738 if (time_after(jiffies, fcport->retry_delay_timestamp)) 739 fcport 1079 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local 1168 fc_port_t *fcport = (struct fc_port *) cmd->device->hostdata; local 1311 struct fc_port *fcport; local 1423 fc_port_t *fcport = (struct fc_port *) sdev->hostdata; local 1435 fc_port_t *fcport = sdev->hostdata; local 3277 fc_port_t *fcport, *tfcport; local 3288 qla2x00_schedule_rport_del(struct scsi_qla_host *vha, fc_port_t *fcport, int defer) argument 3321 qla2x00_mark_device_lost(scsi_qla_host_t *vha, fc_port_t *fcport, int do_login, int defer) argument 3371 fc_port_t *fcport; local 4054 fc_port_t *fcport; local [all...] |
H A D | qla_isr.c | 580 fc_port_t *fcport = NULL; local 987 list_for_each_entry(fcport, &vha->vp_fcports, list) { 988 if (atomic_read(&fcport->state) != FCS_ONLINE) 990 tmp_pid = fcport->d_id.b24; 991 if (fcport->d_id.b24 == rscn_entry) { 992 qla2x00_mark_device_lost(vha, fcport, 0, 0); 1218 fc_port_t *fcport; local 1230 fcport = sp->fcport; 1241 fcport 1445 fc_port_t *fcport; local 1538 fc_port_t *fcport; local 1992 fc_port_t *fcport; local [all...] |
H A D | qla_attr.c | 1701 fc_port_t *fcport; local 1704 list_for_each_entry(fcport, &vha->vp_fcports, list) { 1705 if (fcport->rport && 1706 starget->id == fcport->rport->scsi_target_id) { 1707 node_name = wwn_to_u64(fcport->node_name); 1720 fc_port_t *fcport; local 1723 list_for_each_entry(fcport, &vha->vp_fcports, list) { 1724 if (fcport->rport && 1725 starget->id == fcport->rport->scsi_target_id) { 1726 port_name = wwn_to_u64(fcport 1739 fc_port_t *fcport; local 1767 fc_port_t *fcport = *(fc_port_t **)rport->dd_data; local 1798 fc_port_t *fcport = *(fc_port_t **)rport->dd_data; local [all...] |
H A D | qla_mbx.c | 904 fc_port_t *fcport = sp->fcport; local 905 scsi_qla_host_t *vha = fcport->vha; 927 mcp->mb[1] = fcport->loop_id; 929 mcp->mb[1] = fcport->loop_id << 8; 950 qla2x00_abort_target(struct fc_port *fcport, uint64_t l, int tag) argument 960 vha = fcport->vha; 970 mcp->mb[1] = fcport->loop_id; 974 mcp->mb[1] = fcport->loop_id << 8; 989 rval2 = qla2x00_marker(vha, req, rsp, fcport 1003 qla2x00_lun_reset(struct fc_port *fcport, uint64_t l, int tag) argument 1381 qla2x00_get_port_database(scsi_qla_host_t *vha, fc_port_t *fcport, uint8_t opt) argument 2064 qla2x00_login_local_device(scsi_qla_host_t *vha, fc_port_t *fcport, uint16_t *mb_ret, uint8_t opt) argument 2610 fc_port_t *fcport = sp->fcport; local 2687 __qla24xx_issue_tmf(char *name, uint32_t type, struct fc_port *fcport, uint64_t l, int tag) argument 2782 qla24xx_abort_target(struct fc_port *fcport, uint64_t l, int tag) argument 2793 qla24xx_lun_reset(struct fc_port *fcport, uint64_t l, int tag) argument 5232 qla2x00_port_logout(scsi_qla_host_t *vha, struct fc_port *fcport) argument [all...] |
H A D | qla_target.c | 624 fc_port_t *fcport, 636 if (!memcmp(sess->port_name, fcport->port_name, WWN_SIZE)) { 642 sess->loop_id, fcport->d_id.b.domain, 643 fcport->d_id.b.al_pa, fcport->d_id.b.area, 644 fcport->loop_id); 650 ha->tgt.tgt_ops->update_sess(sess, fcport->d_id, fcport->loop_id, 651 (fcport->flags & FCF_CONF_COMP_SUPPORTED)); 667 fcport 622 qlt_create_sess( struct scsi_qla_host *vha, fc_port_t *fcport, bool local) argument 723 qlt_fc_port_added(struct scsi_qla_host *vha, fc_port_t *fcport) argument 783 qlt_fc_port_deleted(struct scsi_qla_host *vha, fc_port_t *fcport) argument 4905 fc_port_t *fcport; local 4936 fc_port_t *fcport = NULL; local [all...] |
H A D | qla_gs.c | 173 * @fcport: fcport entry to updated 178 qla2x00_ga_nxt(scsi_qla_host_t *vha, fc_port_t *fcport) argument 188 return qla2x00_sns_ga_nxt(vha, fcport); 201 ct_req->req.port_id.port_id[0] = fcport->d_id.b.domain; 202 ct_req->req.port_id.port_id[1] = fcport->d_id.b.area; 203 ct_req->req.port_id.port_id[2] = fcport->d_id.b.al_pa; 217 fcport->d_id.b.domain = ct_rsp->rsp.ga_nxt.port_id[0]; 218 fcport->d_id.b.area = ct_rsp->rsp.ga_nxt.port_id[1]; 219 fcport 748 qla2x00_sns_ga_nxt(scsi_qla_host_t *vha, fc_port_t *fcport) argument [all...] |
H A D | qla_mid.c | 117 * Updates fcport state when device goes offline. 121 * fcport = port structure pointer. 137 fc_port_t *fcport; local 139 list_for_each_entry(fcport, &vha->vp_fcports, list) { 142 fcport->loop_id, fcport->vha->vp_idx); 144 qla2x00_mark_device_lost(vha, fcport, 0, 0); 145 qla2x00_set_fcport_state(fcport, FCS_UNCONFIGURED);
|
H A D | qla_mr.h | 475 fc_port_t fcport; /* fcport used for requests member in struct:mr_data_fx00
|
H A D | qla_def.h | 388 struct fc_port *fcport; member in struct:srb 2736 struct fc_port *fcport; member in struct:qla_work_evt::__anon6071::__anon6074 3552 fc_port_t bidir_fcport; /* fcport used for bidir cmnds
|