Searched refs:im_port (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfad_im.c | 29 static void bfad_im_fc_rport_add(struct bfad_im_port_s *im_port, 172 struct bfad_im_port_s *im_port = in bfad_im_info() local 174 struct bfad_s *bfad = im_port->bfad; in bfad_im_info() 193 struct bfad_im_port_s *im_port = in bfad_im_abort_handler() local 195 struct bfad_s *bfad = im_port->bfad; in bfad_im_abort_handler() 216 im_port->shost->host_no, cmnd, hal_io->iotag); in bfad_im_abort_handler() 233 im_port->shost->host_no, cmnd, hal_io->iotag); in bfad_im_abort_handler() 294 struct bfad_im_port_s *im_port = in bfad_im_reset_lun_handler() local 297 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_lun_handler() 371 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 174 struct Scsi_Host *bfad_scsi_host_alloc(struct bfad_im_port_s *im_port, 178 void bfad_fc_host_init(struct bfad_im_port_s *im_port); 180 struct bfad_im_port_s *im_port); 184 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() 919 if (bfad->pport.im_port == NULL) { in bfad_cfg_pport() 924 rc = bfad_im_scsi_host_alloc(bfad, bfad->pport.im_port, in bfad_cfg_pport() 943 bfad_im_scsi_host_free(bfad, bfad->pport.im_port); in bfad_uncfg_pport() 944 bfad_im_port_clean(bfad->pport.im_port); in bfad_uncfg_pport() 945 kfree(bfad->pport.im_port); in bfad_uncfg_pport() 1001 bfad_fc_host_init(bfad->pport.im_port); in bfad_start_ops() 1030 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
|