Searched refs:ioc_attr (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 2754 struct bfi_ioc_attr *ioc_attr; in bfa_ioc_get_adapter_attr() local 2756 ioc_attr = ioc->attr; in bfa_ioc_get_adapter_attr() 2762 memcpy(&ad_attr->vpd, &ioc_attr->vpd, in bfa_ioc_get_adapter_attr() 2772 ad_attr->card_type = ioc_attr->card_type; in bfa_ioc_get_adapter_attr() 2773 ad_attr->is_mezz = bfa_mfg_is_mezz(ioc_attr->card_type); in bfa_ioc_get_adapter_attr() 2775 if (BFI_ADAPTER_IS_SPECIAL(ioc_attr->adapter_prop)) in bfa_ioc_get_adapter_attr() 2783 ad_attr->pcie_gen = ioc_attr->pcie_gen; in bfa_ioc_get_adapter_attr() 2784 ad_attr->pcie_lanes = ioc_attr->pcie_lanes; in bfa_ioc_get_adapter_attr() 2785 ad_attr->pcie_lanes_orig = ioc_attr->pcie_lanes_orig; in bfa_ioc_get_adapter_attr() 2786 ad_attr->asic_rev = ioc_attr->asic_rev; in bfa_ioc_get_adapter_attr() [all …]
|
D | bnad_ethtool.c | 283 struct bfa_ioc_attr *ioc_attr; in bnad_get_drvinfo() local 288 ioc_attr = kzalloc(sizeof(*ioc_attr), GFP_KERNEL); in bnad_get_drvinfo() 289 if (ioc_attr) { in bnad_get_drvinfo() 291 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, ioc_attr); in bnad_get_drvinfo() 294 strscpy(drvinfo->fw_version, ioc_attr->adapter_attr.fw_ver, in bnad_get_drvinfo() 296 kfree(ioc_attr); in bnad_get_drvinfo()
|
D | bnad.h | 360 struct bfa_ioc_attr ioc_attr; member
|
D | bfa_ioc.h | 280 void bfa_nw_ioc_get_attr(struct bfa_ioc *ioc, struct bfa_ioc_attr *ioc_attr);
|
D | bnad_debugfs.c | 146 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, &drvinfo->ioc_attr); in bnad_get_debug_drvinfo()
|
/linux-6.1.9/drivers/scsi/bfa/ |
D | bfad_im.c | 993 struct bfa_ioc_attr_s *ioc_attr; in bfad_im_supported_speeds() local 996 ioc_attr = kzalloc(sizeof(struct bfa_ioc_attr_s), GFP_KERNEL); in bfad_im_supported_speeds() 997 if (!ioc_attr) in bfad_im_supported_speeds() 1000 bfa_ioc_get_attr(&bfa->ioc, ioc_attr); in bfad_im_supported_speeds() 1001 if (ioc_attr->adapter_attr.max_speed == BFA_PORT_SPEED_16GBPS) in bfad_im_supported_speeds() 1004 else if (ioc_attr->adapter_attr.max_speed == BFA_PORT_SPEED_8GBPS) { in bfad_im_supported_speeds() 1005 if (ioc_attr->adapter_attr.is_mezz) { in bfad_im_supported_speeds() 1014 } else if (ioc_attr->adapter_attr.max_speed == BFA_PORT_SPEED_4GBPS) { in bfad_im_supported_speeds() 1017 } else if (ioc_attr->adapter_attr.max_speed == BFA_PORT_SPEED_10GBPS) { in bfad_im_supported_speeds() 1020 kfree(ioc_attr); in bfad_im_supported_speeds()
|
D | bfa_ioc.c | 2691 struct bfi_ioc_attr_s *ioc_attr; in bfa_ioc_get_adapter_attr() local 2693 ioc_attr = ioc->attr; in bfa_ioc_get_adapter_attr() 2699 memcpy(&ad_attr->vpd, &ioc_attr->vpd, in bfa_ioc_get_adapter_attr() 2709 ad_attr->card_type = ioc_attr->card_type; in bfa_ioc_get_adapter_attr() 2710 ad_attr->is_mezz = bfa_mfg_is_mezz(ioc_attr->card_type); in bfa_ioc_get_adapter_attr() 2712 if (BFI_ADAPTER_IS_SPECIAL(ioc_attr->adapter_prop)) in bfa_ioc_get_adapter_attr() 2720 ad_attr->pcie_gen = ioc_attr->pcie_gen; in bfa_ioc_get_adapter_attr() 2721 ad_attr->pcie_lanes = ioc_attr->pcie_lanes; in bfa_ioc_get_adapter_attr() 2722 ad_attr->pcie_lanes_orig = ioc_attr->pcie_lanes_orig; in bfa_ioc_get_adapter_attr() 2723 ad_attr->asic_rev = ioc_attr->asic_rev; in bfa_ioc_get_adapter_attr() [all …]
|
D | bfad_bsg.c | 117 bfa_ioc_get_attr(&bfad->bfa.ioc, &iocmd->ioc_attr); in bfad_iocmd_ioc_get_attr() 121 strcpy(iocmd->ioc_attr.driver_attr.driver, BFAD_DRIVER_NAME); in bfad_iocmd_ioc_get_attr() 122 strlcpy(iocmd->ioc_attr.driver_attr.driver_ver, in bfad_iocmd_ioc_get_attr() 124 strcpy(iocmd->ioc_attr.driver_attr.fw_ver, in bfad_iocmd_ioc_get_attr() 125 iocmd->ioc_attr.adapter_attr.fw_ver); in bfad_iocmd_ioc_get_attr() 126 strcpy(iocmd->ioc_attr.driver_attr.bios_ver, in bfad_iocmd_ioc_get_attr() 127 iocmd->ioc_attr.adapter_attr.optrom_ver); in bfad_iocmd_ioc_get_attr() 130 memcpy(bfad->pci_attr.chip_rev, iocmd->ioc_attr.pci_attr.chip_rev, in bfad_iocmd_ioc_get_attr() 132 memcpy(&iocmd->ioc_attr.pci_attr, &bfad->pci_attr, in bfad_iocmd_ioc_get_attr()
|
D | bfad_bsg.h | 226 struct bfa_ioc_attr_s ioc_attr; member
|
D | bfa_ioc.h | 911 void bfa_ioc_get_attr(struct bfa_ioc_s *ioc, struct bfa_ioc_attr_s *ioc_attr);
|