Lines Matching refs:ioc_attr

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()
2730 ad_attr->mfg_day = ioc_attr->mfg_day; in bfa_ioc_get_adapter_attr()
2731 ad_attr->mfg_month = ioc_attr->mfg_month; in bfa_ioc_get_adapter_attr()
2732 ad_attr->mfg_year = ioc_attr->mfg_year; in bfa_ioc_get_adapter_attr()
2733 memcpy(ad_attr->uuid, ioc_attr->uuid, BFA_ADAPTER_UUID_LEN); in bfa_ioc_get_adapter_attr()
2797 struct bfi_ioc_attr_s *ioc_attr; in bfa_ioc_get_adapter_model() local
2803 ioc_attr = ioc->attr; in bfa_ioc_get_adapter_model()
2806 (!bfa_mfg_is_mezz(ioc_attr->card_type))) in bfa_ioc_get_adapter_model()
2808 BFA_MFG_NAME, ioc_attr->card_type, nports, "p"); in bfa_ioc_get_adapter_model()
2811 BFA_MFG_NAME, ioc_attr->card_type); in bfa_ioc_get_adapter_model()
2855 bfa_ioc_get_attr(struct bfa_ioc_s *ioc, struct bfa_ioc_attr_s *ioc_attr) in bfa_ioc_get_attr() argument
2857 memset((void *)ioc_attr, 0, sizeof(struct bfa_ioc_attr_s)); in bfa_ioc_get_attr()
2859 ioc_attr->state = bfa_ioc_get_state(ioc); in bfa_ioc_get_attr()
2860 ioc_attr->port_id = bfa_ioc_portid(ioc); in bfa_ioc_get_attr()
2861 ioc_attr->port_mode = ioc->port_mode; in bfa_ioc_get_attr()
2862 ioc_attr->port_mode_cfg = ioc->port_mode_cfg; in bfa_ioc_get_attr()
2863 ioc_attr->cap_bm = ioc->ad_cap_bm; in bfa_ioc_get_attr()
2865 ioc_attr->ioc_type = bfa_ioc_get_type(ioc); in bfa_ioc_get_attr()
2867 bfa_ioc_get_adapter_attr(ioc, &ioc_attr->adapter_attr); in bfa_ioc_get_attr()
2869 ioc_attr->pci_attr.device_id = bfa_ioc_devid(ioc); in bfa_ioc_get_attr()
2870 ioc_attr->pci_attr.pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_get_attr()
2871 ioc_attr->def_fn = (bfa_ioc_pcifn(ioc) == bfa_ioc_portid(ioc)); in bfa_ioc_get_attr()
2872 bfa_ioc_get_pci_chip_rev(ioc, ioc_attr->pci_attr.chip_rev); in bfa_ioc_get_attr()