Lines Matching refs:fcs_port_attr
2247 struct bfa_fcs_fdmi_port_attr_s fcs_port_attr; in bfa_fcs_lport_fdmi_build_portattr_block() local
2258 bfa_fcs_fdmi_get_portattr(fdmi, &fcs_port_attr); in bfa_fcs_lport_fdmi_build_portattr_block()
2272 templen = sizeof(fcs_port_attr.supp_fc4_types); in bfa_fcs_lport_fdmi_build_portattr_block()
2273 memcpy(attr->value, fcs_port_attr.supp_fc4_types, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2286 templen = sizeof(fcs_port_attr.supp_speed); in bfa_fcs_lport_fdmi_build_portattr_block()
2287 memcpy(attr->value, &fcs_port_attr.supp_speed, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2300 templen = sizeof(fcs_port_attr.curr_speed); in bfa_fcs_lport_fdmi_build_portattr_block()
2301 memcpy(attr->value, &fcs_port_attr.curr_speed, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2313 templen = sizeof(fcs_port_attr.max_frm_size); in bfa_fcs_lport_fdmi_build_portattr_block()
2314 memcpy(attr->value, &fcs_port_attr.max_frm_size, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2324 if (fcs_port_attr.os_device_name[0] != '\0') { in bfa_fcs_lport_fdmi_build_portattr_block()
2327 templen = (u16) strlen(fcs_port_attr.os_device_name); in bfa_fcs_lport_fdmi_build_portattr_block()
2328 memcpy(attr->value, fcs_port_attr.os_device_name, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2339 if (fcs_port_attr.host_name[0] != '\0') { in bfa_fcs_lport_fdmi_build_portattr_block()
2342 templen = (u16) strlen(fcs_port_attr.host_name); in bfa_fcs_lport_fdmi_build_portattr_block()
2343 memcpy(attr->value, fcs_port_attr.host_name, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2355 templen = sizeof(fcs_port_attr.node_name); in bfa_fcs_lport_fdmi_build_portattr_block()
2356 memcpy(attr->value, &fcs_port_attr.node_name, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2366 templen = sizeof(fcs_port_attr.port_name); in bfa_fcs_lport_fdmi_build_portattr_block()
2367 memcpy(attr->value, &fcs_port_attr.port_name, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2375 if (fcs_port_attr.port_sym_name.symname[0] != '\0') { in bfa_fcs_lport_fdmi_build_portattr_block()
2379 templen = sizeof(fcs_port_attr.port_sym_name); in bfa_fcs_lport_fdmi_build_portattr_block()
2381 &fcs_port_attr.port_sym_name, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2393 templen = sizeof(fcs_port_attr.port_type); in bfa_fcs_lport_fdmi_build_portattr_block()
2394 memcpy(attr->value, &fcs_port_attr.port_type, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2404 templen = sizeof(fcs_port_attr.scos); in bfa_fcs_lport_fdmi_build_portattr_block()
2405 memcpy(attr->value, &fcs_port_attr.scos, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2415 templen = sizeof(fcs_port_attr.port_fabric_name); in bfa_fcs_lport_fdmi_build_portattr_block()
2416 memcpy(attr->value, &fcs_port_attr.port_fabric_name, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2426 templen = sizeof(fcs_port_attr.port_act_fc4_type); in bfa_fcs_lport_fdmi_build_portattr_block()
2427 memcpy(attr->value, fcs_port_attr.port_act_fc4_type, in bfa_fcs_lport_fdmi_build_portattr_block()
2438 templen = sizeof(fcs_port_attr.port_state); in bfa_fcs_lport_fdmi_build_portattr_block()
2439 memcpy(attr->value, &fcs_port_attr.port_state, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2449 templen = sizeof(fcs_port_attr.num_ports); in bfa_fcs_lport_fdmi_build_portattr_block()
2450 memcpy(attr->value, &fcs_port_attr.num_ports, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2626 struct bfa_fcs_fdmi_port_attr_s fcs_port_attr; in bfa_fcs_fdmi_get_hbaattr() local
2663 bfa_fcs_fdmi_get_portattr(fdmi, &fcs_port_attr); in bfa_fcs_fdmi_get_hbaattr()
2664 hba_attr->max_ct_pyld = fcs_port_attr.max_frm_size; in bfa_fcs_fdmi_get_hbaattr()