/linux/drivers/scsi/bfa/ |
A D | bfad.c | 505 vport->drv_port.bfad = bfad; in bfa_fcb_pbc_vport_create() 649 vport->drv_port.bfad = bfad; in bfad_vport_create() 832 bfad->bfa.trcmod = bfad->trcmod; in bfad_drv_init() 833 bfad->bfa.plog = &bfad->plog_buf; in bfad_drv_init() 838 bfa_attach(&bfad->bfa, bfad, &bfad->ioc_cfg, &bfad->meminfo, in bfad_drv_init() 844 bfa_fcs_attach(&bfad->bfa_fcs, &bfad->bfa, bfad, BFA_FALSE); in bfad_drv_init() 1121 struct bfad_s *bfad = vec->bfad; in bfad_msix() local 1155 bfad->msix_tab[bfad->nvec].bfad = bfad; in bfad_init_msix_entry() 1350 bfad->pport.bfad = bfad; in bfad_pci_probe() 1397 bfa_trc(bfad, bfad->inst_no); in bfad_pci_remove() [all …]
|
A D | bfad_bsg.c | 579 bfa_trc(bfad, 0); in bfad_iocmd_lport_get_rports() 605 bfa_trc(bfad, 0); in bfad_iocmd_rport_get_attr() 617 bfa_trc(bfad, 0); in bfad_iocmd_rport_get_attr() 644 bfa_trc(bfad, 0); in bfad_iocmd_rport_get_addr() 652 bfa_trc(bfad, 0); in bfad_iocmd_rport_get_addr() 663 bfa_trc(bfad, 0); in bfad_iocmd_rport_get_addr() 2060 bfad->plog_buf.head = bfad->plog_buf.tail = 0; in bfad_iocmd_debug_ctl() 3130 struct bfad_s *bfad = im_port->bfad; in bfad_im_bsg_vendor_request() local 3306 struct bfad_s *bfad = drv_fcxp->port->bfad; in bfad_fcxp_bsg_send() local 3347 struct bfad_s *bfad = im_port->bfad; in bfad_im_bsg_els_ct_request() local [all …]
|
A D | bfad_debugfs.c | 46 struct bfad_s *bfad = port->bfad; in bfad_debugfs_open_drvtrc() local 65 struct bfad_s *bfad = port->bfad; in bfad_debugfs_open_fwtrc() local 80 bfad->inst_no); in bfad_debugfs_open_fwtrc() 94 bfad->inst_no); in bfad_debugfs_open_fwtrc() 107 struct bfad_s *bfad = port->bfad; in bfad_debugfs_open_fwsave() local 219 struct bfad_s *bfad = port->bfad; in bfad_debugfs_read_regrd() local 226 bfad->regdata, bfad->reglen); in bfad_debugfs_read_regrd() 243 struct bfad_s *bfad = port->bfad; in bfad_debugfs_write_regrd() local 312 struct bfad_s *bfad = port->bfad; in bfad_debugfs_write_regwr() local 443 struct bfad_s *bfad = port->bfad; in bfad_debugfs_init() local [all …]
|
A D | bfad_attr.c | 33 bfad = im_port->bfad; in bfad_im_get_starget_port_id() 59 bfad = im_port->bfad; in bfad_im_get_starget_node_name() 85 bfad = im_port->bfad; in bfad_im_get_starget_port_name() 358 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_create() local 445 struct bfad_s *bfad = im_port->bfad; in bfad_im_issue_fc_host_lip() local 483 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_delete() local 543 bfad = vport->drv_port.bfad; in bfad_im_vport_disable() 571 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_set_symbolic_name() local 710 struct bfad_s *bfad = im_port->bfad; in bfad_im_serial_num_show() local 724 struct bfad_s *bfad = im_port->bfad; in bfad_im_model_show() local [all …]
|
A D | bfad_im.c | 174 struct bfad_s *bfad = im_port->bfad; in bfad_im_info() local 195 struct bfad_s *bfad = im_port->bfad; in bfad_im_abort_handler() local 297 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_lun_handler() local 374 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_target_handler() local 516 bfad = port->bfad; in bfa_fcb_itnim_offline() 593 bfa_trc(bfad, bfad->inst_no); in bfad_im_scsi_host_free() 632 im_port->bfad = bfad; in bfad_im_port_new() 656 struct bfad_s *bfad = im_port->bfad; in bfad_im_port_clean() local 676 struct bfad_s *bfad = im->bfad; in bfad_aen_im_notify_handler() local 706 im->bfad = bfad; in bfad_im_probe() [all …]
|
A D | bfad_drv.h | 100 struct bfad_s *bfad; member 127 struct bfad_s *bfad; member 154 struct bfad_s *bfad; member 297 void bfad_drv_start(struct bfad_s *bfad); 298 void bfad_uncfg_pport(struct bfad_s *bfad); 299 void bfad_stop(struct bfad_s *bfad); 300 void bfad_fcs_stop(struct bfad_s *bfad); 301 void bfad_remove_intr(struct bfad_s *bfad); 305 int bfad_setup_intr(struct bfad_s *bfad); 310 void bfad_init_timer(struct bfad_s *bfad); [all …]
|
A D | bfad_im.h | 24 bfa_status_t bfad_im_probe(struct bfad_s *bfad); 25 void bfad_im_probe_undo(struct bfad_s *bfad); 26 bfa_status_t bfad_im_port_new(struct bfad_s *bfad, struct bfad_port_s *port); 27 void bfad_im_port_delete(struct bfad_s *bfad, struct bfad_port_s *port); 29 int bfad_im_scsi_host_alloc(struct bfad_s *bfad, 31 void bfad_im_scsi_host_free(struct bfad_s *bfad, 51 struct bfad_s *bfad; member 119 struct bfad_s *bfad; member 160 bfa_status_t bfad_thread_workq(struct bfad_s *bfad); 163 void bfad_scsi_host_free(struct bfad_s *bfad,
|
A D | bfa_fcs_fcpim.c | 276 struct bfad_s *bfad = (struct bfad_s *)itnim->fcs->bfad; in bfa_fcs_itnim_sm_hcb_online() local 289 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_itnim_sm_hcb_online() 314 struct bfad_s *bfad = (struct bfad_s *)itnim->fcs->bfad; in bfa_fcs_itnim_sm_online() local 329 BFA_LOG(KERN_ERR, bfad, bfa_log_level, in bfa_fcs_itnim_sm_online() 334 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_itnim_sm_online() 418 struct bfad_s *bfad = (struct bfad_s *)itnim->fcs->bfad; in bfa_fcs_itnim_aen_post() local 425 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcs_itnim_aen_post() 436 bfad_im_post_vendor_event(aen_entry, bfad, ++rport->fcs->fcs_aen_seq, in bfa_fcs_itnim_aen_post() 563 bfa_fcb_itnim_free(itnim->fcs->bfad, itnim->itnim_drv); in bfa_fcs_itnim_free() 588 ret = bfa_fcb_itnim_alloc(port->fcs->bfad, &itnim, &itnim_drv); in bfa_fcs_itnim_create()
|
A D | bfa_fcs.c | 30 struct bfad_s *bfad = fcs->bfad; in bfa_fcs_exit_comp() local 32 complete(&bfad->comp); in bfa_fcs_exit_comp() 90 bfa_fcb_pbc_vport_create(fcs->bfa->bfad, pbc_vports[i]); in bfa_fcs_pbc_vport_init() 629 struct bfad_s *bfad = (struct bfad_s *)fabric->fcs->bfad; in bfa_fcs_fabric_sm_isolated() local 636 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_fabric_sm_isolated() 1370 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_fabric_aen_post() local 1373 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcs_fabric_aen_post() 1396 struct bfad_s *bfad = (struct bfad_s *)fabric->fcs->bfad; in bfa_fcs_fabric_set_fabric_name() local 1413 BFA_LOG(KERN_WARNING, bfad, bfa_log_level, in bfa_fcs_fabric_set_fabric_name() 1422 bfa_cb_lps_flogo_comp(void *bfad, void *uarg) in bfa_cb_lps_flogo_comp() argument [all …]
|
A D | bfa_core.c | 1041 bfa->bfad = bfad; in bfa_iocfc_init_mem() 1214 struct bfad_s *bfad = bfa->bfad; in bfa_iocfc_stop_cb() local 1217 complete(&bfad->comp); in bfa_iocfc_stop_cb() 1224 struct bfad_s *bfad = bfa->bfad; in bfa_iocfc_enable_cb() local 1227 complete(&bfad->enable_comp); in bfa_iocfc_enable_cb() 1234 struct bfad_s *bfad = bfa->bfad; in bfa_iocfc_disable_cb() local 1237 complete(&bfad->disable_comp); in bfa_iocfc_disable_cb() 1863 bfa_lps_attach(bfa, bfad, cfg, pcidev); in bfa_attach() 1864 bfa_uf_attach(bfa, bfad, cfg, pcidev); in bfa_attach() 1866 bfa_fcp_attach(bfa, bfad, cfg, pcidev); in bfa_attach() [all …]
|
A D | bfa_fcs.h | 687 struct bfad_s *bfad; /* corresponding BDA driver instance */ member 781 struct bfad_s *bfad, 841 struct bfad_port_s *bfa_fcb_lport_new(struct bfad_s *bfad, 850 void bfa_fcb_pbc_vport_create(struct bfad_s *bfad, struct bfi_pbc_vport_s); 855 bfa_status_t bfa_fcb_rport_alloc(struct bfad_s *bfad, 862 int bfa_fcb_itnim_alloc(struct bfad_s *bfad, struct bfa_fcs_itnim_s **itnim, 864 void bfa_fcb_itnim_free(struct bfad_s *bfad,
|
A D | bfa_svc.c | 1999 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_aen_post() local 2002 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcport_aen_post() 2070 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_enabling_qwait() local 2100 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcport_sm_enabling_qwait() 2134 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_enabling() local 2167 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcport_sm_enabling() 2197 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_linkdown() local 2227 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcport_sm_linkdown() 2288 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_linkup() local 2485 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_disabling() local [all …]
|
A D | bfa_modules.h | 59 void *bfad; /* BFA driver instance */ member 114 void bfa_sgpg_attach(struct bfa_s *, void *bfad, struct bfa_iocfc_cfg_s *,
|
A D | bfa_fcpim.h | 380 void bfa_cb_ioim_done(void *bfad, struct bfad_ioim_s *dio, 388 void bfa_cb_ioim_good_comp(void *bfad, struct bfad_ioim_s *dio); 393 void bfa_cb_ioim_abort(void *bfad, struct bfad_ioim_s *dio); 404 void bfa_cb_tskim_done(void *bfad, struct bfad_tskim_s *dtsk,
|
A D | bfa_svc.h | 488 void *bfad; /* BFA driver handle */ member 675 void bfa_cb_lps_flogi_comp(void *bfad, void *uarg, bfa_status_t status); 676 void bfa_cb_lps_flogo_comp(void *bfad, void *uarg); 677 void bfa_cb_lps_fdisc_comp(void *bfad, void *uarg, bfa_status_t status); 678 void bfa_cb_lps_fdisclogo_comp(void *bfad, void *uarg); 679 void bfa_cb_lps_cvl_event(void *bfad, void *uarg);
|
A D | bfa.h | 296 void bfa_iocfc_attach(struct bfa_s *bfa, void *bfad, 399 void bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, 403 void bfa_cb_init(void *bfad, bfa_status_t status); 404 void bfa_cb_updateq(void *bfad, bfa_status_t status);
|
A D | Makefile | 4 bfa-y := bfad.o bfad_im.o bfad_attr.o bfad_debugfs.o bfad_bsg.o
|
A D | bfa_fcs_rport.c | 2316 if (bfa_fcb_rport_alloc(fcs->bfad, &rport, &rport_drv) in bfa_fcs_rport_alloc() 2396 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_rport_aen_post() local 2399 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcs_rport_aen_post() 2415 bfad_im_post_vendor_event(aen_entry, bfad, ++rport->fcs->fcs_aen_seq, in bfa_fcs_rport_aen_post() 2434 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_rport_hal_online_action() local 2454 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_rport_hal_online_action() 2474 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_rport_hal_offline_action() local 2489 BFA_LOG(KERN_ERR, bfad, bfa_log_level, in bfa_fcs_rport_hal_offline_action() 2496 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_rport_hal_offline_action() 2788 struct bfa_fcs_s *fcs = &((struct bfad_s *)bfa->bfad)->bfa_fcs; in bfa_cb_rport_scn_online() [all …]
|
A D | bfa_fcs_lport.c | 356 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post() local 359 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcs_lport_aen_post() 656 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_online_actions() local 670 bfad->bfad_flags |= BFAD_PORT_ONLINE; in bfa_fcs_lport_online_actions() 678 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_offline_actions() local 748 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_deleted() local 752 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_lport_deleted() 1097 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad; in bfa_fcs_lport_init() local 1108 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_lport_init() 6487 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post() local [all …]
|
A D | bfa_ioc.c | 414 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_sm_op_entry() local 462 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_sm_disabling_entry() local 2150 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_fail_notify() local 2169 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_pf_fwmismatch() local 2908 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_aen_post() local 2912 bfad_get_aen_entry(bfad, aen_entry); in bfa_ioc_aen_post() 3707 struct bfad_s *bfad = (struct bfad_s *)sfp->ioc->bfa->bfad; in bfa_sfp_scn_aen_post() local 3714 bfad_get_aen_entry(bfad, aen_entry); in bfa_sfp_scn_aen_post() 4192 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_flash_aen_audit_post() local 4195 bfad_get_aen_entry(bfad, aen_entry); in bfa_flash_aen_audit_post() [all …]
|
A D | bfa_fcpim.c | 308 bfa_fcpim_attach(struct bfa_fcp_mod_s *fcp, void *bfad, in bfa_fcpim_attach() argument 2127 bfa_cb_ioim_good_comp(ioim->bfa->bfad, ioim->dio); in __bfa_cb_ioim_good_comp() 2170 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, m->io_status, in __bfa_cb_ioim_comp() 2285 port = bfa_fcs_lookup_port(&((struct bfad_s *)bfa->bfad)->bfa_fcs, in bfa_fcpim_lunmask_add() 2352 &((struct bfad_s *)bfa->bfad)->bfa_fcs, in bfa_fcpim_lunmask_delete() 2396 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_ABORTED, in __bfa_cb_ioim_failed() 2411 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_PATHTOV, in __bfa_cb_ioim_pathtov() 2425 bfa_cb_ioim_abort(ioim->bfa->bfad, ioim->dio); in __bfa_cb_ioim_abort() 3261 bfa_cb_tskim_done(tskim->bfa->bfad, tskim->dtsk, tskim->tsk_status); in __bfa_cb_tskim_done() 3275 bfa_cb_tskim_done(tskim->bfa->bfad, tskim->dtsk, in __bfa_cb_tskim_failed() [all …]
|
A D | bfa_ioc.h | 785 void *bfad; member
|