Lines Matching refs:port_attr

1135 	struct bfa_lport_attr_s *port_attr)  in bfa_fcs_lport_get_attr()  argument
1138 port_attr->pid = port->pid; in bfa_fcs_lport_get_attr()
1140 port_attr->pid = 0; in bfa_fcs_lport_get_attr()
1142 port_attr->port_cfg = port->port_cfg; in bfa_fcs_lport_get_attr()
1145 port_attr->port_type = port->fabric->oper_type; in bfa_fcs_lport_get_attr()
1146 port_attr->loopback = bfa_sm_cmp_state(port->fabric, in bfa_fcs_lport_get_attr()
1148 port_attr->authfail = in bfa_fcs_lport_get_attr()
1151 port_attr->fabric_name = bfa_fcs_lport_get_fabric_name(port); in bfa_fcs_lport_get_attr()
1152 memcpy(port_attr->fabric_ip_addr, in bfa_fcs_lport_get_attr()
1157 port_attr->port_type = BFA_PORT_TYPE_VPORT; in bfa_fcs_lport_get_attr()
1158 port_attr->fpma_mac = in bfa_fcs_lport_get_attr()
1161 port_attr->fpma_mac = in bfa_fcs_lport_get_attr()
1165 port_attr->port_type = BFA_PORT_TYPE_UNKNOWN; in bfa_fcs_lport_get_attr()
1166 port_attr->state = BFA_LPORT_UNINIT; in bfa_fcs_lport_get_attr()
1422 struct bfa_fcs_fdmi_port_attr_s *port_attr);
2265 curr_ptr = (u8 *) &port_attrib->port_attr; in bfa_fcs_lport_fdmi_build_portattr_block()
2678 struct bfa_fcs_fdmi_port_attr_s *port_attr) in bfa_fcs_fdmi_get_portattr() argument
2685 memset(port_attr, 0, sizeof(struct bfa_fcs_fdmi_port_attr_s)); in bfa_fcs_fdmi_get_portattr()
2695 fc_get_fc4type_bitmask(FC_TYPE_FCP, port_attr->supp_fc4_types); in bfa_fcs_fdmi_get_portattr()
2702 port_attr->supp_speed = in bfa_fcs_fdmi_get_portattr()
2707 port_attr->supp_speed = in bfa_fcs_fdmi_get_portattr()
2712 port_attr->supp_speed = in bfa_fcs_fdmi_get_portattr()
2717 port_attr->supp_speed = in bfa_fcs_fdmi_get_portattr()
2728 port_attr->curr_speed = cpu_to_be32( in bfa_fcs_fdmi_get_portattr()
2734 port_attr->max_frm_size = cpu_to_be32(pport_attr.pport_cfg.maxfrsize); in bfa_fcs_fdmi_get_portattr()
2739 strlcpy(port_attr->os_device_name, driver_info->os_device_name, in bfa_fcs_fdmi_get_portattr()
2740 sizeof(port_attr->os_device_name)); in bfa_fcs_fdmi_get_portattr()
2745 strlcpy(port_attr->host_name, driver_info->host_machine_name, in bfa_fcs_fdmi_get_portattr()
2746 sizeof(port_attr->host_name)); in bfa_fcs_fdmi_get_portattr()
2748 port_attr->node_name = bfa_fcs_lport_get_nwwn(port); in bfa_fcs_fdmi_get_portattr()
2749 port_attr->port_name = bfa_fcs_lport_get_pwwn(port); in bfa_fcs_fdmi_get_portattr()
2751 strlcpy(port_attr->port_sym_name.symname, in bfa_fcs_fdmi_get_portattr()
2754 port_attr->port_type = cpu_to_be32(lport_attr.port_type); in bfa_fcs_fdmi_get_portattr()
2755 port_attr->scos = pport_attr.cos_supported; in bfa_fcs_fdmi_get_portattr()
2756 port_attr->port_fabric_name = port->fabric->lps->pr_nwwn; in bfa_fcs_fdmi_get_portattr()
2757 fc_get_fc4type_bitmask(FC_TYPE_FCP, port_attr->port_act_fc4_type); in bfa_fcs_fdmi_get_portattr()
2758 port_attr->port_state = cpu_to_be32(pport_attr.port_state); in bfa_fcs_fdmi_get_portattr()
2759 port_attr->num_ports = cpu_to_be32(port->num_rports); in bfa_fcs_fdmi_get_portattr()
5825 struct bfa_port_attr_s port_attr; in bfa_fcs_lport_get_rport_max_speed() local
5836 bfa_fcport_get_attr(port->fcs->bfa, &port_attr); in bfa_fcs_lport_get_rport_max_speed()
5837 port_speed = port_attr.speed; in bfa_fcs_lport_get_rport_max_speed()
6866 bfa_fcs_lport_get_attr(&vport->lport, &attr->port_attr); in bfa_fcs_vport_get_attr()