Lines Matching refs:im_port

32 	struct bfad_im_port_s *im_port;  in bfad_im_get_starget_port_id()  local
39 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_id()
40 bfad = im_port->bfad; in bfad_im_get_starget_port_id()
43 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_id()
58 struct bfad_im_port_s *im_port; in bfad_im_get_starget_node_name() local
65 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_node_name()
66 bfad = im_port->bfad; in bfad_im_get_starget_node_name()
69 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_node_name()
84 struct bfad_im_port_s *im_port; in bfad_im_get_starget_port_name() local
91 im_port = (struct bfad_im_port_s *) shost->hostdata[0]; in bfad_im_get_starget_port_name()
92 bfad = im_port->bfad; in bfad_im_get_starget_port_name()
95 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_name()
109 struct bfad_im_port_s *im_port = in bfad_im_get_host_port_id() local
111 struct bfad_port_s *port = im_port->port; in bfad_im_get_host_port_id()
123 struct bfad_im_port_s *im_port = in bfad_im_get_host_port_type() local
125 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_host_port_type()
155 struct bfad_im_port_s *im_port = in bfad_im_get_host_port_state() local
157 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_host_port_state()
192 struct bfad_im_port_s *im_port = in bfad_im_get_host_active_fc4s() local
194 struct bfad_port_s *port = im_port->port; in bfad_im_get_host_active_fc4s()
211 struct bfad_im_port_s *im_port = in bfad_im_get_host_speed() local
213 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_host_speed()
248 struct bfad_im_port_s *im_port = in bfad_im_get_host_fabric_name() local
250 struct bfad_port_s *port = im_port->port; in bfad_im_get_host_fabric_name()
265 struct bfad_im_port_s *im_port = in bfad_im_get_stats() local
267 struct bfad_s *bfad = im_port->bfad; in bfad_im_get_stats()
316 struct bfad_im_port_s *im_port = in bfad_im_reset_stats() local
318 struct bfad_s *bfad = im_port->bfad; in bfad_im_reset_stats()
361 struct bfad_im_port_s *im_port = in bfad_im_vport_create() local
363 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_create()
409 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_create()
430 vport->drv_port.im_port->fc_vport = fc_vport; in bfad_im_vport_create()
448 struct bfad_im_port_s *im_port = in bfad_im_issue_fc_host_lip() local
450 struct bfad_s *bfad = im_port->bfad; in bfad_im_issue_fc_host_lip()
486 struct bfad_im_port_s *im_port = in bfad_im_vport_delete() local
487 (struct bfad_im_port_s *) vport->drv_port.im_port; in bfad_im_vport_delete()
488 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 port = im_port->port; in bfad_im_vport_delete()
506 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_delete()
533 bfad_scsi_host_free(bfad, im_port); in bfad_im_vport_delete()
552 vshost = vport->drv_port.im_port->shost; in bfad_im_vport_disable()
577 struct bfad_im_port_s *im_port = in bfad_im_vport_set_symbolic_name() local
578 (struct bfad_im_port_s *)vport->drv_port.im_port; in bfad_im_vport_set_symbolic_name()
579 struct bfad_s *bfad = im_port->bfad; in bfad_im_vport_set_symbolic_name()
580 struct Scsi_Host *vshost = vport->drv_port.im_port->shost; in bfad_im_vport_set_symbolic_name()
716 struct bfad_im_port_s *im_port = in bfad_im_serial_num_show() local
718 struct bfad_s *bfad = im_port->bfad; in bfad_im_serial_num_show()
730 struct bfad_im_port_s *im_port = in bfad_im_model_show() local
732 struct bfad_s *bfad = im_port->bfad; in bfad_im_model_show()
744 struct bfad_im_port_s *im_port = in bfad_im_model_desc_show() local
746 struct bfad_s *bfad = im_port->bfad; in bfad_im_model_desc_show()
824 struct bfad_im_port_s *im_port = in bfad_im_node_name_show() local
826 struct bfad_port_s *port = im_port->port; in bfad_im_node_name_show()
838 struct bfad_im_port_s *im_port = in bfad_im_symbolic_name_show() local
840 struct bfad_s *bfad = im_port->bfad; in bfad_im_symbolic_name_show()
855 struct bfad_im_port_s *im_port = in bfad_im_hw_version_show() local
857 struct bfad_s *bfad = im_port->bfad; in bfad_im_hw_version_show()
876 struct bfad_im_port_s *im_port = in bfad_im_optionrom_version_show() local
878 struct bfad_s *bfad = im_port->bfad; in bfad_im_optionrom_version_show()
890 struct bfad_im_port_s *im_port = in bfad_im_fw_version_show() local
892 struct bfad_s *bfad = im_port->bfad; in bfad_im_fw_version_show()
904 struct bfad_im_port_s *im_port = in bfad_im_num_of_ports_show() local
906 struct bfad_s *bfad = im_port->bfad; in bfad_im_num_of_ports_show()
924 struct bfad_im_port_s *im_port = in bfad_im_num_of_discovered_ports_show() local
926 struct bfad_port_s *port = im_port->port; in bfad_im_num_of_discovered_ports_show()
927 struct bfad_s *bfad = im_port->bfad; in bfad_im_num_of_discovered_ports_show()