Home
last modified time | relevance | path

Searched refs:ad_attr (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.c2752 struct bfa_adapter_attr *ad_attr) in bfa_ioc_get_adapter_attr() argument
2762 memcpy(&ad_attr->vpd, &ioc_attr->vpd, in bfa_ioc_get_adapter_attr()
2765 ad_attr->nports = bfa_ioc_get_nports(ioc); in bfa_ioc_get_adapter_attr()
2772 ad_attr->card_type = ioc_attr->card_type; in bfa_ioc_get_adapter_attr()
2776 ad_attr->prototype = 1; in bfa_ioc_get_adapter_attr()
2778 ad_attr->prototype = 0; in bfa_ioc_get_adapter_attr()
2780 ad_attr->pwwn = bfa_ioc_get_pwwn(ioc); in bfa_ioc_get_adapter_attr()
2781 bfa_nw_ioc_get_mac(ioc, ad_attr->mac); 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()
[all …]
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_ioc.c2689 struct bfa_adapter_attr_s *ad_attr) in bfa_ioc_get_adapter_attr() argument
2699 memcpy(&ad_attr->vpd, &ioc_attr->vpd, in bfa_ioc_get_adapter_attr()
2713 ad_attr->prototype = 1; in bfa_ioc_get_adapter_attr()
2715 ad_attr->prototype = 0; in bfa_ioc_get_adapter_attr()
2717 ad_attr->pwwn = ioc->attr->pwwn; in bfa_ioc_get_adapter_attr()
2718 ad_attr->mac = bfa_ioc_get_mac(ioc); in bfa_ioc_get_adapter_attr()
2720 ad_attr->pcie_gen = ioc_attr->pcie_gen; in bfa_ioc_get_adapter_attr()
2723 ad_attr->asic_rev = ioc_attr->asic_rev; in bfa_ioc_get_adapter_attr()
2728 ad_attr->trunk_capable = (ad_attr->nports > 1) && in bfa_ioc_get_adapter_attr()
2730 ad_attr->mfg_day = ioc_attr->mfg_day; in bfa_ioc_get_adapter_attr()
[all …]
H A Dbfa_ioc.h917 struct bfa_adapter_attr_s *ad_attr);