Home
last modified time | relevance | path

Searched refs:im_port (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/scsi/bfa/
Dbfad_im.c37 static void bfad_im_fc_rport_add(struct bfad_im_port_s *im_port,
180 struct bfad_im_port_s *im_port = in bfad_im_info() local
182 struct bfad_s *bfad = im_port->bfad; in bfad_im_info()
201 struct bfad_im_port_s *im_port = in bfad_im_abort_handler() local
203 struct bfad_s *bfad = im_port->bfad; in bfad_im_abort_handler()
224 im_port->shost->host_no, cmnd, hal_io->iotag); in bfad_im_abort_handler()
241 im_port->shost->host_no, cmnd, hal_io->iotag); in bfad_im_abort_handler()
302 struct bfad_im_port_s *im_port = in bfad_im_reset_lun_handler() local
305 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_lun_handler()
380 struct bfad_im_port_s *im_port = in bfad_im_reset_target_handler() local
[all …]
Dbfad_attr.c33 struct bfad_im_port_s *im_port; in bfad_im_get_starget_port_id() local
40 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_id()
41 bfad = im_port->bfad; in bfad_im_get_starget_port_id()
44 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_id()
59 struct bfad_im_port_s *im_port; in bfad_im_get_starget_node_name() local
66 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_node_name()
67 bfad = im_port->bfad; in bfad_im_get_starget_node_name()
70 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_node_name()
85 struct bfad_im_port_s *im_port; in bfad_im_get_starget_port_name() local
92 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_name()
[all …]
Dbfad_im.h36 void bfad_im_port_clean(struct bfad_im_port_s *im_port);
38 struct bfad_im_port_s *im_port, struct device *dev);
40 struct bfad_im_port_s *im_port);
100 struct bfad_im_port_s *im_port; member
166 struct Scsi_Host *bfad_scsi_host_alloc(struct bfad_im_port_s *im_port,
170 void bfad_fc_host_init(struct bfad_im_port_s *im_port);
172 struct bfad_im_port_s *im_port);
176 struct bfad_itnim_s *bfad_get_itnim(struct bfad_im_port_s *im_port, int id);
Dbfad.c667 rc = bfad_im_scsi_host_alloc(bfad, vport->drv_port.im_port, in bfad_vport_create()
934 if (bfad->pport.im_port == NULL) { in bfad_cfg_pport()
939 rc = bfad_im_scsi_host_alloc(bfad, bfad->pport.im_port, in bfad_cfg_pport()
958 bfad_im_scsi_host_free(bfad, bfad->pport.im_port); in bfad_uncfg_pport()
959 bfad_im_port_clean(bfad->pport.im_port); in bfad_uncfg_pport()
960 kfree(bfad->pport.im_port); in bfad_uncfg_pport()
1016 bfad_fc_host_init(bfad->pport.im_port); in bfad_start_ops()
1045 fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid); in bfad_start_ops()
Dbfad_bsg.c84 struct bfad_im_port_s *im_port; in bfad_iocmd_ioc_get_info() local
99 im_port = bfad->pport.im_port; in bfad_iocmd_ioc_get_info()
100 iocmd->host = im_port->shost->host_no; in bfad_iocmd_ioc_get_info()
668 if (drv_itnim && drv_itnim->im_port) in bfad_iocmd_rport_get_addr()
669 iocmd->host = drv_itnim->im_port->shost->host_no; in bfad_iocmd_rport_get_addr()
2555 struct bfad_im_port_s *pport_im = bfad->pport.im_port; in bfad_iocmd_lunmask_reset_lunscan_mode()
2563 bfad_reset_sdev_bflags(vport->drv_port.im_port, lunmask_cfg); in bfad_iocmd_lunmask_reset_lunscan_mode()
3137 struct bfad_im_port_s *im_port = bfad_get_im_port(shost); in bfad_im_bsg_vendor_request() local
3138 struct bfad_s *bfad = im_port->bfad; in bfad_im_bsg_vendor_request()
3354 struct bfad_im_port_s *im_port = bfad_get_im_port(shost); in bfad_im_bsg_els_ct_request() local
[all …]
Dbfad_drv.h141 struct bfad_im_port_s *im_port; /* IM specific data */ member