Lines Matching refs:port_cfg
359 struct bfa_lport_cfg_s port_cfg; in bfad_im_vport_create() local
364 memset(&port_cfg, 0, sizeof(port_cfg)); 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()
368 strcpy((char *)&port_cfg.sym_name, vname); in bfad_im_vport_create()
369 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfad_im_vport_create()
373 if (port_cfg.pwwn == in bfad_im_vport_create()
374 vp->fcs_vport.lport.port_cfg.pwwn) { in bfad_im_vport_create()
375 port_cfg.preboot_vp = in bfad_im_vport_create()
376 vp->fcs_vport.lport.port_cfg.preboot_vp; in bfad_im_vport_create()
382 rc = bfad_vport_create(bfad, 0, &port_cfg, &fc_vport->dev); in bfad_im_vport_create()
390 port_cfg.pwwn); in bfad_im_vport_create()
405 fc_host_node_name(vshost) = wwn_to_u64((u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
406 fc_host_port_name(vshost) = wwn_to_u64((u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
837 strlcpy(symname, port_attr.port_cfg.sym_name.symname, in bfad_im_symbolic_name_show()