Lines Matching refs:fcs_hba_attr
1905 struct bfa_fcs_fdmi_hba_attr_s *fcs_hba_attr; in bfa_fcs_lport_fdmi_build_rhba_pyld() local
1912 fcs_hba_attr = kzalloc(sizeof(*fcs_hba_attr), GFP_KERNEL); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1913 if (!fcs_hba_attr) in bfa_fcs_lport_fdmi_build_rhba_pyld()
1919 bfa_fcs_fdmi_get_hbaattr(fdmi, fcs_hba_attr); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1953 templen = (u16) strlen(fcs_hba_attr->manufacturer); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1954 memcpy(attr->value, fcs_hba_attr->manufacturer, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1967 templen = (u16) strlen(fcs_hba_attr->serial_num); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1968 memcpy(attr->value, fcs_hba_attr->serial_num, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1981 templen = (u16) strlen(fcs_hba_attr->model); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1982 memcpy(attr->value, fcs_hba_attr->model, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1995 templen = (u16) strlen(fcs_hba_attr->model_desc); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1996 memcpy(attr->value, fcs_hba_attr->model_desc, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2007 if (fcs_hba_attr->hw_version[0] != '\0') { in bfa_fcs_lport_fdmi_build_rhba_pyld()
2010 templen = (u16) strlen(fcs_hba_attr->hw_version); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2011 memcpy(attr->value, fcs_hba_attr->hw_version, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2025 templen = (u16) strlen(fcs_hba_attr->driver_version); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2026 memcpy(attr->value, fcs_hba_attr->driver_version, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2037 if (fcs_hba_attr->option_rom_ver[0] != '\0') { in bfa_fcs_lport_fdmi_build_rhba_pyld()
2040 templen = (u16) strlen(fcs_hba_attr->option_rom_ver); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2041 memcpy(attr->value, fcs_hba_attr->option_rom_ver, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2052 templen = (u16) strlen(fcs_hba_attr->fw_version); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2053 memcpy(attr->value, fcs_hba_attr->fw_version, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2064 if (fcs_hba_attr->os_name[0] != '\0') { in bfa_fcs_lport_fdmi_build_rhba_pyld()
2067 templen = (u16) strlen(fcs_hba_attr->os_name); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2068 memcpy(attr->value, fcs_hba_attr->os_name, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2082 templen = sizeof(fcs_hba_attr->max_ct_pyld); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2083 memcpy(attr->value, &fcs_hba_attr->max_ct_pyld, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2096 templen = sizeof(fcs_hba_attr->node_sym_name); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2097 memcpy(attr->value, &fcs_hba_attr->node_sym_name, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2107 templen = sizeof(fcs_hba_attr->vendor_info); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2108 memcpy(attr->value, &fcs_hba_attr->vendor_info, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2118 templen = sizeof(fcs_hba_attr->num_ports); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2119 memcpy(attr->value, &fcs_hba_attr->num_ports, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2129 templen = sizeof(fcs_hba_attr->fabric_name); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2130 memcpy(attr->value, &fcs_hba_attr->fabric_name, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2140 templen = sizeof(fcs_hba_attr->bios_ver); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2141 memcpy(attr->value, &fcs_hba_attr->bios_ver, templen); in bfa_fcs_lport_fdmi_build_rhba_pyld()
2157 kfree(fcs_hba_attr); in bfa_fcs_lport_fdmi_build_rhba_pyld()