Lines Matching refs:im_port
33 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()
93 bfad = im_port->bfad; in bfad_im_get_starget_port_name()
96 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_name()
110 struct bfad_im_port_s *im_port = in bfad_im_get_host_port_id() local
112 struct bfad_port_s *port = im_port->port; in bfad_im_get_host_port_id()
124 struct bfad_im_port_s *im_port = in bfad_im_get_host_port_type() local
126 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_host_port_type()
156 struct bfad_im_port_s *im_port = in bfad_im_get_host_port_state() local
158 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_host_port_state()
193 struct bfad_im_port_s *im_port = in bfad_im_get_host_active_fc4s() local
195 struct bfad_port_s *port = im_port->port; in bfad_im_get_host_active_fc4s()
212 struct bfad_im_port_s *im_port = in bfad_im_get_host_speed() local
214 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_host_speed()
249 struct bfad_im_port_s *im_port = in bfad_im_get_host_fabric_name() local
251 struct bfad_port_s *port = im_port->port; in bfad_im_get_host_fabric_name()
266 struct bfad_im_port_s *im_port = in bfad_im_get_stats() local
268 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_stats()
317 struct bfad_im_port_s *im_port = in bfad_im_reset_stats() local
319 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_stats()
362 struct bfad_im_port_s *im_port = in bfad_im_vport_create() local
364 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_create()
410 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_create()
431 vport->drv_port.im_port->fc_vport = fc_vport; in bfad_im_vport_create()
449 struct bfad_im_port_s *im_port = in bfad_im_issue_fc_host_lip() local
451 struct bfad_s *bfad = im_port->bfad; in bfad_im_issue_fc_host_lip()
487 struct bfad_im_port_s *im_port = in bfad_im_vport_delete() local
488 (struct bfad_im_port_s *) vport->drv_port.im_port; in bfad_im_vport_delete()
489 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_delete()
497 if (im_port->flags & BFAD_PORT_DELETE) { in bfad_im_vport_delete()
498 bfad_scsi_host_free(bfad, im_port); in bfad_im_vport_delete()
504 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_delete()
531 bfad_scsi_host_free(bfad, im_port); in bfad_im_vport_delete()
550 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_disable()
575 struct bfad_im_port_s *im_port = in bfad_im_vport_set_symbolic_name() local
576 (struct bfad_im_port_s *)vport->drv_port.im_port; in bfad_im_vport_set_symbolic_name()
577 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_set_symbolic_name()
578 struct Scsi_Host *vshost = vport->drv_port.im_port->shost; in bfad_im_vport_set_symbolic_name()
714 struct bfad_im_port_s *im_port = in bfad_im_serial_num_show() local
716 struct bfad_s *bfad = im_port->bfad; in bfad_im_serial_num_show()
728 struct bfad_im_port_s *im_port = in bfad_im_model_show() local
730 struct bfad_s *bfad = im_port->bfad; in bfad_im_model_show()
742 struct bfad_im_port_s *im_port = in bfad_im_model_desc_show() local
744 struct bfad_s *bfad = im_port->bfad; in bfad_im_model_desc_show()
822 struct bfad_im_port_s *im_port = in bfad_im_node_name_show() local
824 struct bfad_port_s *port = im_port->port; in bfad_im_node_name_show()
836 struct bfad_im_port_s *im_port = in bfad_im_symbolic_name_show() local
838 struct bfad_s *bfad = im_port->bfad; in bfad_im_symbolic_name_show()
853 struct bfad_im_port_s *im_port = in bfad_im_hw_version_show() local
855 struct bfad_s *bfad = im_port->bfad; in bfad_im_hw_version_show()
874 struct bfad_im_port_s *im_port = in bfad_im_optionrom_version_show() local
876 struct bfad_s *bfad = im_port->bfad; in bfad_im_optionrom_version_show()
888 struct bfad_im_port_s *im_port = in bfad_im_fw_version_show() local
890 struct bfad_s *bfad = im_port->bfad; in bfad_im_fw_version_show()
902 struct bfad_im_port_s *im_port = in bfad_im_num_of_ports_show() local
904 struct bfad_s *bfad = im_port->bfad; in bfad_im_num_of_ports_show()
922 struct bfad_im_port_s *im_port = in bfad_im_num_of_discovered_ports_show() local
924 struct bfad_port_s *port = im_port->port; in bfad_im_num_of_discovered_ports_show()
925 struct bfad_s *bfad = im_port->bfad; in bfad_im_num_of_discovered_ports_show()