Searched refs:im_port (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/scsi/bfa/ |
| H A D | bfad_im.c | 30 static void bfad_im_fc_rport_add(struct bfad_im_port_s *im_port, 173 struct bfad_im_port_s *im_port = in bfad_im_info() local 175 struct bfad_s *bfad = im_port->bfad; in bfad_im_info() 194 struct bfad_im_port_s *im_port = in bfad_im_abort_handler() local 196 struct bfad_s *bfad = im_port->bfad; in bfad_im_abort_handler() 217 im_port->shost->host_no, cmnd, hal_io->iotag); in bfad_im_abort_handler() 234 im_port->shost->host_no, cmnd, hal_io->iotag); in bfad_im_abort_handler() 295 struct bfad_im_port_s *im_port = in bfad_im_reset_lun_handler() local 298 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_lun_handler() 372 struct bfad_im_port_s *im_port = in bfad_im_reset_target_handler() local [all …]
|
| H A D | bfad_attr.c | 25 struct bfad_im_port_s *im_port; in bfad_im_get_starget_port_id() local 32 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_id() 33 bfad = im_port->bfad; in bfad_im_get_starget_port_id() 36 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_id() 51 struct bfad_im_port_s *im_port; in bfad_im_get_starget_node_name() local 58 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_node_name() 59 bfad = im_port->bfad; in bfad_im_get_starget_node_name() 62 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_node_name() 77 struct bfad_im_port_s *im_port; in bfad_im_get_starget_port_name() local 84 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_name() [all …]
|
| H A D | bfad_im.h | 28 void bfad_im_port_clean(struct bfad_im_port_s *im_port); 30 struct bfad_im_port_s *im_port, struct device *dev); 32 struct bfad_im_port_s *im_port); 108 struct bfad_im_port_s *im_port; member 173 struct Scsi_Host *bfad_scsi_host_alloc(struct bfad_im_port_s *im_port, 177 void bfad_fc_host_init(struct bfad_im_port_s *im_port); 179 struct bfad_im_port_s *im_port); 183 struct bfad_itnim_s *bfad_get_itnim(struct bfad_im_port_s *im_port, int id);
|
| H A D | bfad.c | 659 rc = bfad_im_scsi_host_alloc(bfad, vport->drv_port.im_port, in bfad_vport_create() 900 if (bfad->pport.im_port == NULL) { in bfad_cfg_pport() 905 rc = bfad_im_scsi_host_alloc(bfad, bfad->pport.im_port, in bfad_cfg_pport() 924 bfad_im_scsi_host_free(bfad, bfad->pport.im_port); in bfad_uncfg_pport() 925 bfad_im_port_clean(bfad->pport.im_port); in bfad_uncfg_pport() 926 kfree(bfad->pport.im_port); in bfad_uncfg_pport() 982 bfad_fc_host_init(bfad->pport.im_port); in bfad_start_ops() 1011 fc_vport = fc_vport_create(bfad->pport.im_port->shost, 0, &vid); in bfad_start_ops()
|
| H A D | bfad_bsg.c | 76 struct bfad_im_port_s *im_port; in bfad_iocmd_ioc_get_info() local 91 im_port = bfad->pport.im_port; in bfad_iocmd_ioc_get_info() 92 iocmd->host = im_port->shost->host_no; in bfad_iocmd_ioc_get_info() 660 if (drv_itnim && drv_itnim->im_port) in bfad_iocmd_rport_get_addr() 661 iocmd->host = drv_itnim->im_port->shost->host_no; in bfad_iocmd_rport_get_addr() 2547 static void bfad_reset_sdev_bflags(struct bfad_im_port_s *im_port, in bfad_reset_sdev_bflags() argument 2555 spin_lock_irqsave(im_port->shost->host_lock, flags); in bfad_reset_sdev_bflags() 2556 list_for_each_entry(itnim, &im_port->itnim_mapped_list, list_entry) { in bfad_reset_sdev_bflags() 2557 sdev = __scsi_device_lookup(im_port->shost, itnim->channel, in bfad_reset_sdev_bflags() 2566 spin_unlock_irqrestore(im_port->shost->host_lock, flags); in bfad_reset_sdev_bflags() [all …]
|
| H A D | bfad_drv.h | 132 struct bfad_im_port_s *im_port; /* IM specific data */ member
|