| /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() 824 bfad->bfa.trcmod = bfad->trcmod; in bfad_drv_init() 825 bfad->bfa.plog = &bfad->plog_buf; in bfad_drv_init() 830 bfa_attach(&bfad->bfa, bfad, &bfad->ioc_cfg, &bfad->meminfo, in bfad_drv_init() 836 bfa_fcs_attach(&bfad->bfa_fcs, &bfad->bfa, bfad, BFA_FALSE); in bfad_drv_init() 1113 struct bfad_s *bfad = vec->bfad; in bfad_msix() local 1147 bfad->msix_tab[bfad->nvec].bfad = bfad; in bfad_init_msix_entry() 1342 bfad->pport.bfad = bfad; in bfad_pci_probe() 1389 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() 3156 struct bfad_s *bfad = im_port->bfad; in bfad_im_bsg_vendor_request() local 3332 struct bfad_s *bfad = drv_fcxp->port->bfad; in bfad_fcxp_bsg_send() local 3373 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 442 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 373 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_target_handler() local 515 bfad = port->bfad; in bfa_fcb_itnim_offline() 592 bfa_trc(bfad, bfad->inst_no); in bfad_im_scsi_host_free() 631 im_port->bfad = bfad; in bfad_im_port_new() 655 struct bfad_s *bfad = im_port->bfad; in bfad_im_port_clean() local 675 struct bfad_s *bfad = im->bfad; in bfad_aen_im_notify_handler() local 705 im->bfad = bfad; in bfad_im_probe() [all …]
|
| A D | bfad_drv.h | 99 struct bfad_s *bfad; member 126 struct bfad_s *bfad; member 153 struct bfad_s *bfad; member 299 void bfad_drv_start(struct bfad_s *bfad); 300 void bfad_uncfg_pport(struct bfad_s *bfad); 301 void bfad_stop(struct bfad_s *bfad); 302 void bfad_fcs_stop(struct bfad_s *bfad); 303 void bfad_remove_intr(struct bfad_s *bfad); 307 int bfad_setup_intr(struct bfad_s *bfad); 312 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, 67 struct bfad_s *bfad; member 135 struct bfad_s *bfad; member 175 bfa_status_t bfad_thread_workq(struct bfad_s *bfad); 178 void bfad_scsi_host_free(struct bfad_s *bfad,
|
| A D | bfa_fcs_fcpim.c | 293 struct bfad_s *bfad = (struct bfad_s *)itnim->fcs->bfad; in bfa_fcs_itnim_sm_hcb_online() local 306 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_itnim_sm_hcb_online() 331 struct bfad_s *bfad = (struct bfad_s *)itnim->fcs->bfad; in bfa_fcs_itnim_sm_online() local 346 BFA_LOG(KERN_ERR, bfad, bfa_log_level, in bfa_fcs_itnim_sm_online() 351 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_itnim_sm_online() 435 struct bfad_s *bfad = (struct bfad_s *)itnim->fcs->bfad; in bfa_fcs_itnim_aen_post() local 442 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcs_itnim_aen_post() 453 bfad_im_post_vendor_event(aen_entry, bfad, ++rport->fcs->fcs_aen_seq, in bfa_fcs_itnim_aen_post() 580 bfa_fcb_itnim_free(itnim->fcs->bfad, itnim->itnim_drv); in bfa_fcs_itnim_free() 605 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_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_fcs.h | 873 struct bfad_s *bfad; /* corresponding BDA driver instance */ member 895 struct bfad_s *bfad, 953 struct bfad_port_s *bfa_fcb_lport_new(struct bfad_s *bfad, 962 void bfa_fcb_pbc_vport_create(struct bfad_s *bfad, struct bfi_pbc_vport_s); 967 bfa_status_t bfa_fcb_rport_alloc(struct bfad_s *bfad, 974 int bfa_fcb_itnim_alloc(struct bfad_s *bfad, struct bfa_fcs_itnim_s **itnim, 976 void bfa_fcb_itnim_free(struct bfad_s *bfad,
|
| A D | bfa_svc.c | 1985 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_aen_post() local 1988 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcport_aen_post() 2056 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_enabling_qwait() local 2086 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcport_sm_enabling_qwait() 2120 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_enabling() local 2153 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcport_sm_enabling() 2183 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_linkdown() local 2213 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcport_sm_linkdown() 2274 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_linkup() local 2471 struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad; in bfa_fcport_sm_disabling() local [all …]
|
| A D | bfa_fcpim.h | 440 void bfa_cb_ioim_done(void *bfad, struct bfad_ioim_s *dio, 448 void bfa_cb_ioim_good_comp(void *bfad, struct bfad_ioim_s *dio); 453 void bfa_cb_ioim_abort(void *bfad, struct bfad_ioim_s *dio); 464 void bfa_cb_tskim_done(void *bfad, struct bfad_tskim_s *dtsk,
|
| A D | bfa_svc.h | 544 void *bfad; /* BFA driver handle */ member 731 void bfa_cb_lps_flogi_comp(void *bfad, void *uarg, bfa_status_t status); 732 void bfa_cb_lps_flogo_comp(void *bfad, void *uarg); 733 void bfa_cb_lps_fdisc_comp(void *bfad, void *uarg, bfa_status_t status); 734 void bfa_cb_lps_fdisclogo_comp(void *bfad, void *uarg); 735 void bfa_cb_lps_cvl_event(void *bfad, void *uarg);
|
| A D | Makefile | 4 bfa-y := bfad.o bfad_im.o bfad_attr.o bfad_debugfs.o bfad_bsg.o
|
| A D | bfa.h | 314 void bfa_iocfc_attach(struct bfa_s *bfa, void *bfad, 417 void bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, 421 void bfa_cb_init(void *bfad, bfa_status_t status); 422 void bfa_cb_updateq(void *bfad, bfa_status_t status);
|
| A D | bfa_fcs_rport.c | 2332 if (bfa_fcb_rport_alloc(fcs->bfad, &rport, &rport_drv) in bfa_fcs_rport_alloc() 2412 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_rport_aen_post() local 2415 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcs_rport_aen_post() 2431 bfad_im_post_vendor_event(aen_entry, bfad, ++rport->fcs->fcs_aen_seq, in bfa_fcs_rport_aen_post() 2450 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_rport_hal_online_action() local 2470 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_rport_hal_online_action() 2490 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_rport_hal_offline_action() local 2505 BFA_LOG(KERN_ERR, bfad, bfa_log_level, in bfa_fcs_rport_hal_offline_action() 2512 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_rport_hal_offline_action() 2804 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 | 343 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_lport_aen_post() local 346 bfad_get_aen_entry(bfad, aen_entry); in bfa_fcs_lport_aen_post() 643 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_online_actions() local 657 bfad->bfad_flags |= BFAD_PORT_ONLINE; in bfa_fcs_lport_online_actions() 665 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_offline_actions() local 735 struct bfad_s *bfad = (struct bfad_s *)port->fcs->bfad; in bfa_fcs_lport_deleted() local 739 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_lport_deleted() 1084 struct bfad_s *bfad = (struct bfad_s *)lport->fcs->bfad; in bfa_fcs_lport_init() local 1095 BFA_LOG(KERN_INFO, bfad, bfa_log_level, in bfa_fcs_lport_init() 6411 struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; in bfa_fcs_vport_aen_post() local [all …]
|
| A D | bfa_ioc.c | 413 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_sm_op_entry() local 461 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_sm_disabling_entry() local 2149 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_fail_notify() local 2168 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_pf_fwmismatch() local 2907 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_ioc_aen_post() local 2911 bfad_get_aen_entry(bfad, aen_entry); in bfa_ioc_aen_post() 3706 struct bfad_s *bfad = (struct bfad_s *)sfp->ioc->bfa->bfad; in bfa_sfp_scn_aen_post() local 3713 bfad_get_aen_entry(bfad, aen_entry); in bfa_sfp_scn_aen_post() 4191 struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad; in bfa_flash_aen_audit_post() local 4194 bfad_get_aen_entry(bfad, aen_entry); in bfa_flash_aen_audit_post() [all …]
|
| A D | bfa_fcpim.c | 257 bfa_fcpim_attach(struct bfa_fcp_mod_s *fcp, void *bfad, in bfa_fcpim_attach() argument 2076 bfa_cb_ioim_good_comp(ioim->bfa->bfad, ioim->dio); in __bfa_cb_ioim_good_comp() 2119 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, m->io_status, in __bfa_cb_ioim_comp() 2234 port = bfa_fcs_lookup_port(&((struct bfad_s *)bfa->bfad)->bfa_fcs, in bfa_fcpim_lunmask_add() 2301 &((struct bfad_s *)bfa->bfad)->bfa_fcs, in bfa_fcpim_lunmask_delete() 2345 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_ABORTED, in __bfa_cb_ioim_failed() 2360 bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_PATHTOV, in __bfa_cb_ioim_pathtov() 2374 bfa_cb_ioim_abort(ioim->bfa->bfad, ioim->dio); in __bfa_cb_ioim_abort() 3210 bfa_cb_tskim_done(tskim->bfa->bfad, tskim->dtsk, tskim->tsk_status); in __bfa_cb_tskim_done() 3224 bfa_cb_tskim_done(tskim->bfa->bfad, tskim->dtsk, in __bfa_cb_tskim_failed() [all …]
|
| A D | bfa_ioc.h | 827 void *bfad; member
|