Searched refs:ioc_attr (Results 1 – 10 of 10) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 2320 struct bfi_ioc_attr *ioc_attr; in bfa_ioc_get_adapter_attr() local 2322 ioc_attr = ioc->attr; in bfa_ioc_get_adapter_attr() 2328 memcpy(&ad_attr->vpd, &ioc_attr->vpd, in bfa_ioc_get_adapter_attr() 2338 ad_attr->card_type = ioc_attr->card_type; in bfa_ioc_get_adapter_attr() 2339 ad_attr->is_mezz = bfa_mfg_is_mezz(ioc_attr->card_type); in bfa_ioc_get_adapter_attr() 2341 if (BFI_ADAPTER_IS_SPECIAL(ioc_attr->adapter_prop)) in bfa_ioc_get_adapter_attr() 2349 ad_attr->pcie_gen = ioc_attr->pcie_gen; in bfa_ioc_get_adapter_attr() 2350 ad_attr->pcie_lanes = ioc_attr->pcie_lanes; in bfa_ioc_get_adapter_attr() 2351 ad_attr->pcie_lanes_orig = ioc_attr->pcie_lanes_orig; in bfa_ioc_get_adapter_attr() 2352 ad_attr->asic_rev = ioc_attr->asic_rev; in bfa_ioc_get_adapter_attr() [all …]
|
D | bnad_ethtool.c | 296 struct bfa_ioc_attr *ioc_attr; in bnad_get_drvinfo() local 302 ioc_attr = kzalloc(sizeof(*ioc_attr), GFP_KERNEL); in bnad_get_drvinfo() 303 if (ioc_attr) { in bnad_get_drvinfo() 305 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, ioc_attr); in bnad_get_drvinfo() 308 strlcpy(drvinfo->fw_version, ioc_attr->adapter_attr.fw_ver, in bnad_get_drvinfo() 310 kfree(ioc_attr); in bnad_get_drvinfo()
|
D | bnad.h | 340 struct bfa_ioc_attr ioc_attr; member
|
D | bfa_ioc.h | 312 void bfa_nw_ioc_get_attr(struct bfa_ioc *ioc, struct bfa_ioc_attr *ioc_attr);
|
D | bnad_debugfs.c | 155 bfa_nw_ioc_get_attr(&bnad->bna.ioceth.ioc, &drvinfo->ioc_attr); in bnad_get_debug_drvinfo()
|
/linux-3.4.99/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 | 2451 struct bfi_ioc_attr_s *ioc_attr; in bfa_ioc_get_adapter_attr() local 2453 ioc_attr = ioc->attr; in bfa_ioc_get_adapter_attr() 2459 memcpy(&ad_attr->vpd, &ioc_attr->vpd, in bfa_ioc_get_adapter_attr() 2469 ad_attr->card_type = ioc_attr->card_type; in bfa_ioc_get_adapter_attr() 2470 ad_attr->is_mezz = bfa_mfg_is_mezz(ioc_attr->card_type); in bfa_ioc_get_adapter_attr() 2472 if (BFI_ADAPTER_IS_SPECIAL(ioc_attr->adapter_prop)) in bfa_ioc_get_adapter_attr() 2480 ad_attr->pcie_gen = ioc_attr->pcie_gen; in bfa_ioc_get_adapter_attr() 2481 ad_attr->pcie_lanes = ioc_attr->pcie_lanes; in bfa_ioc_get_adapter_attr() 2482 ad_attr->pcie_lanes_orig = ioc_attr->pcie_lanes_orig; in bfa_ioc_get_adapter_attr() 2483 ad_attr->asic_rev = ioc_attr->asic_rev; in bfa_ioc_get_adapter_attr() [all …]
|
D | bfad_bsg.c | 119 bfa_ioc_get_attr(&bfad->bfa.ioc, &iocmd->ioc_attr); in bfad_iocmd_ioc_get_attr() 123 strcpy(iocmd->ioc_attr.driver_attr.driver, BFAD_DRIVER_NAME); in bfad_iocmd_ioc_get_attr() 124 strncpy(iocmd->ioc_attr.driver_attr.driver_ver, in bfad_iocmd_ioc_get_attr() 126 strcpy(iocmd->ioc_attr.driver_attr.fw_ver, in bfad_iocmd_ioc_get_attr() 127 iocmd->ioc_attr.adapter_attr.fw_ver); in bfad_iocmd_ioc_get_attr() 128 strcpy(iocmd->ioc_attr.driver_attr.bios_ver, in bfad_iocmd_ioc_get_attr() 129 iocmd->ioc_attr.adapter_attr.optrom_ver); in bfad_iocmd_ioc_get_attr() 132 memcpy(bfad->pci_attr.chip_rev, iocmd->ioc_attr.pci_attr.chip_rev, in bfad_iocmd_ioc_get_attr() 134 memcpy(&iocmd->ioc_attr.pci_attr, &bfad->pci_attr, in bfad_iocmd_ioc_get_attr()
|
D | bfad_bsg.h | 219 struct bfa_ioc_attr_s ioc_attr; member
|
D | bfa_ioc.h | 851 void bfa_ioc_get_attr(struct bfa_ioc_s *ioc, struct bfa_ioc_attr_s *ioc_attr);
|