Lines Matching refs:fc_vport
352 bfad_im_vport_create(struct fc_vport *fc_vport, bool disable) in bfad_im_vport_create() argument
354 char *vname = fc_vport->symbolic_name; in bfad_im_vport_create()
355 struct Scsi_Host *shost = fc_vport->shost; in bfad_im_vport_create()
365 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
366 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
382 rc = bfad_vport_create(bfad, 0, &port_cfg, &fc_vport->dev); in bfad_im_vport_create()
395 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in bfad_im_vport_create()
400 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in bfad_im_vport_create()
424 fc_vport->dd_data = vport; in bfad_im_vport_create()
425 vport->drv_port.im_port->fc_vport = fc_vport; in bfad_im_vport_create()
478 bfad_im_vport_delete(struct fc_vport *fc_vport) in bfad_im_vport_delete() argument
480 struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data; in bfad_im_vport_delete()
533 bfad_im_vport_disable(struct fc_vport *fc_vport, bool disable) in bfad_im_vport_disable() argument
542 vport = (struct bfad_vport_s *)fc_vport->dd_data; in bfad_im_vport_disable()
556 fc_vport_set_state(fc_vport, FC_VPORT_DISABLED); in bfad_im_vport_disable()
559 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in bfad_im_vport_disable()
566 bfad_im_vport_set_symbolic_name(struct fc_vport *fc_vport) in bfad_im_vport_set_symbolic_name() argument
568 struct bfad_vport_s *vport = (struct bfad_vport_s *)fc_vport->dd_data; in bfad_im_vport_set_symbolic_name()
573 char *sym_name = fc_vport->symbolic_name; in bfad_im_vport_set_symbolic_name()