Home
last modified time | relevance | path

Searched refs:BNXT_PF (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c42 if (!BNXT_PF(bp)) { in bnxt_dl_flash_update()
888 if (BNXT_PF(bp) && (bp->flags & BNXT_FLAG_DSN_VALID)) { in bnxt_dl_info_get()
935 if (BNXT_PF(bp) && !bnxt_hwrm_get_nvm_cfg_ver(bp, &ver)) { in bnxt_dl_info_get()
1260 if (BNXT_PF(bp)) in bnxt_dl_register()
1281 if (!BNXT_PF(bp)) in bnxt_dl_register()
1315 if (BNXT_PF(bp)) { in bnxt_dl_unregister()
H A Dbnxt.c301 if (BNXT_PF(bp)) in bnxt_queue_fw_reset_work()
309 if (BNXT_PF(bp)) in __bnxt_queue_sp_work()
2237 if (BNXT_PF(bp)) in bnxt_async_event_process()
5845 if (BNXT_PF(bp)) in bnxt_set_db()
6374 if (BNXT_PF(bp)) in bnxt_hwrm_reserve_rings()
6619 if (BNXT_PF(bp)) in bnxt_hwrm_check_rings()
10541 if (BNXT_PF(bp)) in __bnxt_open_nic()
10684 if (BNXT_PF(bp)) in __bnxt_close_nic()
13210 if (BNXT_PF(bp)) in bnxt_remove_one()
13632 if (BNXT_PF(bp)) in bnxt_init_one()
[all …]
H A Dbnxt.h1844 #define BNXT_PF(bp) (!((bp)->flags & BNXT_FLAG_VF)) macro
1848 #define BNXT_SINGLE_PF(bp) (BNXT_PF(bp) && !BNXT_NPAR(bp) && !BNXT_MH(bp))
1849 #define BNXT_SH_PORT_CFG_OK(bp) (BNXT_PF(bp) && \
2323 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
H A Dbnxt_ethtool.c952 if (BNXT_PF(bp)) { in bnxt_set_channels()
981 if ((!rc) && BNXT_PF(bp)) { in bnxt_set_channels()
1385 if (!BNXT_PF(bp)) in bnxt_get_regs_len()
2782 if (!BNXT_PF((struct bnxt *)netdev_priv(dev))) { in bnxt_flash_device()
3072 if (!BNXT_PF(bp)) { in bnxt_set_eeprom()
3701 if (!bp->num_tests || !BNXT_PF(bp)) in bnxt_self_test()
3796 if (!BNXT_PF(bp)) { in bnxt_reset()
3934 if (bp->hwrm_spec_code < 0x10704 || !BNXT_PF(bp)) in bnxt_ethtool_init()
H A Dbnxt_vfr.c190 if (cfa_code && bp->cfa_code_map && BNXT_PF(bp)) { in bnxt_get_vf_rep()
H A Dbnxt_sriov.c123 req->fid = cpu_to_le16(BNXT_PF(bp) ? vf->fw_fid : 0xffff); in bnxt_hwrm_func_qcfg_flags()
134 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_TRUSTED_VF)) in bnxt_is_trusted_vf()
H A Dbnxt_dcb.c774 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcb_init()