Home
last modified time | relevance | path

Searched refs:bfad (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/scsi/bfa/
H A Dbfad_bsg.c19 bfad_iocmd_ioc_enable(struct bfad_s *bfad, void *cmd) in bfad_iocmd_ioc_enable() argument
24 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_enable()
26 if (!bfa_ioc_is_disabled(&bfad->bfa.ioc)) { in bfad_iocmd_ioc_enable()
27 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_enable()
32 init_completion(&bfad->enable_comp); in bfad_iocmd_ioc_enable()
33 bfa_iocfc_enable(&bfad->bfa); in bfad_iocmd_ioc_enable()
35 spin_unlock_irqrestore(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_enable()
36 wait_for_completion(&bfad->enable_comp); in bfad_iocmd_ioc_enable()
42 bfad_iocmd_ioc_disable(struct bfad_s *bfad, void *cmd) in bfad_iocmd_ioc_disable() argument
47 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_iocmd_ioc_disable()
[all …]
H A Dbfad_debugfs.c46 struct bfad_s *bfad = port->bfad; in bfad_debugfs_open_drvtrc() local
53 debug->debug_buffer = (void *) bfad->trcmod; in bfad_debugfs_open_drvtrc()
65 struct bfad_s *bfad = port->bfad; in bfad_debugfs_open_fwtrc() local
80 bfad->inst_no); in bfad_debugfs_open_fwtrc()
84 spin_lock_irqsave(&bfad->bfad_lock, flags); in bfad_debugfs_open_fwtrc()
85 rc = bfa_ioc_debug_fwtrc(&bfad->bfa.ioc, in bfad_debugfs_open_fwtrc()
88 spin_unlock_irqrestore(&bfad->bfad_lock, flags); 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
122 bfad->inst_no); in bfad_debugfs_open_fwsave()
[all …]
H A Dbfad_im.c38 struct bfad_s *bfad = drv; in bfa_cb_ioim_done() local
45 bfa_trc(bfad, scsi_status); in bfa_cb_ioim_done()
49 bfa_trc(bfad, sns_len); in bfa_cb_ioim_done()
56 bfa_trc(bfad, residue); in bfa_cb_ioim_done()
61 bfa_trc(bfad, 0); in bfa_cb_ioim_done()
84 bfa_trc(bfad, cmnd->result); in bfa_cb_ioim_done()
134 struct bfad_s *bfad = drv; in bfa_cb_ioim_abort() local
142 bfa_trc(bfad, cmnd->result); in bfa_cb_ioim_abort()
147 bfa_cb_tskim_done(void *bfad, struct bfad_tskim_s *dtsk, in bfa_cb_tskim_done() argument
174 struct bfad_s *bfad = im_port->bfad; in bfad_im_info() local
[all …]
H A Dbfad_im.h24 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,
H A Dbfa_fcs_fcpim.c293 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()
H A Dbfa_fcs.c30 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()
854 bfa_cb_lps_flogi_comp(void *bfad, void *uarg, bfa_status_t status) in bfa_cb_lps_flogi_comp() argument
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()
1381 bfad_im_post_vendor_event(aen_entry, bfad, ++port->fcs->fcs_aen_seq, 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
[all …]
H A DMakefile4 bfa-y := bfad.o bfad_im.o bfad_attr.o bfad_debugfs.o bfad_bsg.o