Home
last modified time | relevance | path

Searched refs:fw_cap (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_fw.c106 memset(&fbd->fw_cap, 0, sizeof(fbd->fw_cap)); in fbnic_mbx_init()
631 fbd->fw_cap.running.mgmt.version = version; in fbnic_fw_parse_cap_resp()
632 if (!fbd->fw_cap.running.mgmt.version) in fbnic_fw_parse_cap_resp()
635 if (fbd->fw_cap.running.mgmt.version < MIN_FW_VER_CODE) { in fbnic_fw_parse_cap_resp()
639 fbnic_mk_fw_ver_str(fbd->fw_cap.running.mgmt.version, in fbnic_fw_parse_cap_resp()
652 fbd->fw_cap.running.mgmt.commit, in fbnic_fw_parse_cap_resp()
657 fbd->fw_cap.stored.mgmt.version = version; in fbnic_fw_parse_cap_resp()
659 fbd->fw_cap.stored.mgmt.commit, in fbnic_fw_parse_cap_resp()
663 fbd->fw_cap.running.bootloader.version = version; in fbnic_fw_parse_cap_resp()
665 fbd->fw_cap.running.bootloader.commit, in fbnic_fw_parse_cap_resp()
[all …]
H A Dfbnic_rpc.c120 if (fbnic_bmc_present(fbd) && fbd->fw_cap.all_multi) { in fbnic_bmc_rpc_all_multi_config()
151 if (!fbnic_bmc_present(fbd) || !fbd->fw_cap.all_multi || enable_host) { in fbnic_bmc_rpc_all_multi_config()
190 u8 *bmc_mac = fbd->fw_cap.bmc_mac_addr[j]; in fbnic_bmc_rpc_init()
245 if (fbd->fw_cap.need_bmc_tcam_reinit) { in fbnic_bmc_rpc_check()
250 fbd->fw_cap.need_bmc_tcam_reinit = false; in fbnic_bmc_rpc_check()
253 if (fbd->fw_cap.need_bmc_macda_sync) { in fbnic_bmc_rpc_check()
258 fbd->fw_cap.need_bmc_macda_sync = false; in fbnic_bmc_rpc_check()
492 (!fbnic_bmc_present(fbd) || !fbd->fw_cap.all_multi)) { in fbnic_promisc_sync()
663 if (fbd->fw_cap.need_bmc_tcam_reinit) in fbnic_write_macda()
668 fbd->fw_cap.need_bmc_macda_sync = true; in fbnic_write_macda()
H A Dfbnic_fw_log.c18 if (fbd->fw_cap.running.mgmt.version < MIN_FW_VER_CODE_HIST) in fbnic_fw_log_enable()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hwmon.c64 bp->fw_cap |= BNXT_FW_CAP_THRESHOLD_TEMP_SUPPORTED; in bnxt_hwrm_temp_query()
92 if (!(bp->fw_cap & BNXT_FW_CAP_THRESHOLD_TEMP_SUPPORTED)) in bnxt_hwmon_is_visible()
197 if (!(bp->fw_cap & BNXT_FW_CAP_THRESHOLD_TEMP_SUPPORTED) || in bnxt_temp_extra_attrs_visible()
H A Dbnxt_ptp.c373 if (!(bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) && (ptp->tstamp_filters & in bnxt_ptp_cfg_tstamp_filters()
405 if (!ptp || !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) || in bnxt_ptp_reapply_pps()
527 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_hwrm_ptp_cfg()
574 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) { in bnxt_hwtstamp_set()
1009 return !(bp->fw_cap & BNXT_FW_CAP_PTP_PPS) == !ptp->ptp_info.pin_config; in bnxt_pps_config_ok()
1121 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PPS)) { in bnxt_ptp_init()
1126 if ((bp->fw_cap & BNXT_FW_CAP_PTP_PTM) && pcie_ptm_enabled(bp->pdev) && in bnxt_ptp_init()
H A Dbnxt.c584 if (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP) { in bnxt_start_xmit()
823 if (!(bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) in bnxt_start_xmit()
864 if (is_ts_pkt && (bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) { in __bnxt_tx_int()
2263 !(bp->fw_cap & BNXT_FW_CAP_RING_MONITOR)) { in bnxt_rx_pkt()
3558 if (bp->ptp_cfg && !(bp->fw_cap & BNXT_FW_CAP_TX_TS_CMP)) in bnxt_free_tx_skbs()
5244 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_HW_STATS_SUPPORTED) || in bnxt_hwrm_func_qstat_ext()
5406 if (!(bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) in bnxt_alloc_stats()
5423 (bp->fw_cap & BNXT_FW_CAP_EXT_STATS_SUPPORTED)) { in bnxt_alloc_stats()
5838 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_hwrm_func_drv_rgtr()
5840 if (bp->fw_cap in bnxt_hwrm_func_drv_rgtr()
[all...]
H A Dbnxt.h2506 u64 fw_cap;
2554 #define BNXT_NEW_RM(bp) ((bp)->fw_cap & BNXT_FW_CAP_NEW_RM)
2556 ((bp)->fw_cap & BNXT_FW_CAP_PTP_RTC))
2558 (BNXT_PF(bp) && ((bp)->fw_cap & BNXT_FW_CAP_CFA_RFS_RING_TBL_IDX_V3))
2564 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_DYN_ALLOC_SUPPORT)
2567 ((bp)->fw_cap & BNXT_FW_CAP_VNIC_RE_FLUSH))
2569 ((bp)->fw_cap & BNXT_FW_CAP_ENABLE_RDMA_SRIOV)
2571 ((bp)->fw_cap & BNXT_FW_CAP_ROCE_VF_RESC_MGMT_SUPPORTED)
2573 ((bp)->fw_cap & BNXT_FW_CAP_SW_MAX_RESOURCE_LIMITS)
2575 ((bp)->fw_cap
2507 u64 fw_cap; global() member
[all...]
H A Dbnxt_hwrm.h123 return (bp->fw_cap & BNXT_FW_CAP_KONG_MB_CHNL && in bnxt_kong_hwrm_message()
H A Dbnxt_dcb.c741 if (BNXT_VF(bp) || (bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcbnl_setdcbx()
776 if (BNXT_PF(bp) && !(bp->fw_cap & BNXT_FW_CAP_LLDP_AGENT)) in bnxt_dcb_init()
778 else if (bp->fw_cap & BNXT_FW_CAP_DCBX_AGENT) in bnxt_dcb_init()
H A Dbnxt_hwrm.c213 if ((bp->fw_cap & BNXT_FW_CAP_SHORT_CMD) || len > BNXT_HWRM_MAX_REQ_LEN) { in hwrm_req_replace()
513 if ((bp->fw_cap & BNXT_FW_CAP_SHORT_CMD) || in __hwrm_send()
H A Dbnxt_ethtool.c1555 !(bp->fw_cap & BNXT_FW_CAP_CFA_NTUPLE_RX_EXT_IP_PROTO)) in bnxt_srxclsrlins()
2159 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_get_regs()
3649 if (bp->fw_cap & BNXT_FW_CAP_HOT_RESET) in bnxt_firmware_reset_chip()
5359 !(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) { in bnxt_reset()
5370 if (!(bp->fw_cap & BNXT_FW_CAP_HOT_RESET)) in bnxt_reset()
5479 if (bp->fw_cap & BNXT_FW_CAP_RX_ALL_PKT_TS) in bnxt_get_ts_info()
5490 if (!(bp->fw_cap & BNXT_FW_CAP_PCIE_STATS_SUPPORTED)) in bnxt_hwrm_pcie_qstats()
5513 if (!(bp->fw_cap & BNXT_FW_CAP_PKG_VER)) in bnxt_ethtool_init()
H A Dbnxt_tc.c515 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) in bnxt_hwrm_cfa_flow_free()
784 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) { in bnxt_hwrm_cfa_flow_alloc()
1664 if (bp->fw_cap & BNXT_FW_CAP_OVS_64BIT_HANDLE) { in bnxt_fill_cfa_stats_req()
H A Dbnxt_coredump.c609 if (!(bp->fw_cap & BNXT_FW_CAP_DBG_QCAPS)) in bnxt_hwrm_get_dump_len()
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_hwrm_lib.c81 bd->fw_cap |= BNGE_FW_CAP_PKG_VER; in bnge_hwrm_ver_get()
106 bd->fw_cap |= BNGE_FW_CAP_SHORT_CMD; in bnge_hwrm_ver_get()
109 bd->fw_cap |= BNGE_FW_CAP_KONG_MB_CHNL; in bnge_hwrm_ver_get()
113 bd->fw_cap |= BNGE_FW_CAP_CFA_ADV_FLOW; in bnge_hwrm_ver_get()
217 bd->fw_cap |= BNGE_FW_CAP_IF_CHANGE; in bnge_hwrm_func_drv_rgtr()
623 bd->fw_cap |= BNGE_FW_CAP_EXT_STATS_SUPPORTED; in bnge_hwrm_func_qcaps()
627 bd->fw_cap |= BNGE_FW_CAP_EXT_HW_STATS_SUPPORTED; in bnge_hwrm_func_qcaps()
659 bd->fw_cap |= BNGE_FW_CAP_VLAN_RX_STRIP; in bnge_hwrm_vnic_qcaps()
668 bd->fw_cap |= BNGE_FW_CAP_VNIC_TUNNEL_TPA; in bnge_hwrm_vnic_qcaps()
1442 if (!(bd->fw_cap & BNGE_FW_CAP_VNIC_TUNNEL_TPA)) in bnge_hwrm_vnic_update_tunl_tpa()
[all …]
H A Dbnge.h151 u64 fw_cap; member
H A Dbnge_hwrm.c123 if ((bd->fw_cap & BNGE_FW_CAP_SHORT_CMD) || len > BNGE_HWRM_MAX_REQ_LEN) { in bnge_hwrm_req_replace()
H A Dbnge_netdev.c232 if (!(bd->fw_cap & BNGE_FW_CAP_EXT_STATS_SUPPORTED)) in bnge_alloc_port_ext_stats()
2871 if (!(bd->fw_cap & BNGE_FW_CAP_IF_CHANGE)) in bnge_hwrm_if_change()
3468 if (bd->fw_cap & BNGE_FW_CAP_VLAN_RX_STRIP) in bnge_netdev_alloc()
3470 if (bd->fw_cap & BNGE_FW_CAP_VLAN_TX_INSERT) in bnge_netdev_alloc()
/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.c818 priv->wsm_caps.fw_cap = WSM_GET16(buf); in wsm_startup_indication()
843 priv->wsm_caps.fw_api, priv->wsm_caps.fw_cap); in wsm_startup_indication()
846 if (!(priv->wsm_caps.fw_cap & 0x1)) in wsm_startup_indication()
848 if (!(priv->wsm_caps.fw_cap & 0x2)) in wsm_startup_indication()
H A Ddebug.c116 priv->wsm_caps.fw_cap); in cw1200_status_show()
H A Dwsm.h617 u16 fw_cap; member
/linux/drivers/ptp/
H A Dptp_ocp.c411 u64 fw_cap; member
2645 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
2654 if (attr_tbl[i].cap & bp->fw_cap) in ptp_ocp_attr_group_add()
2967 bp->fw_cap = cap; in ptp_ocp_fb_set_version()
3143 bp->fw_cap = OCP_CAP_BASIC; in ptp_ocp_art_board_init()
3187 bp->fw_cap = OCP_CAP_BASIC | OCP_CAP_SIGNAL | OCP_CAP_FREQ; in ptp_ocp_adva_board_init()
4503 if (bp->fw_cap & OCP_CAP_SIGNAL) in ptp_ocp_summary_show()
4507 if (bp->fw_cap & OCP_CAP_FREQ) in ptp_ocp_summary_show()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsta_cmd.c48 struct hw_spec_fw_cap_info *fw_cap; in nxpwifi_ret_sta_get_hw_spec() local
159 fw_cap = (struct hw_spec_fw_cap_info *)tlv; in nxpwifi_ret_sta_get_hw_spec()
161 le32_to_cpu(fw_cap->fw_cap_info); in nxpwifi_ret_sta_get_hw_spec()
163 le32_to_cpu(fw_cap->fw_cap_ext); in nxpwifi_ret_sta_get_hw_spec()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h1856 u32 fw_cap; member
H A Dbnx2x_sriov.c769 if (bp->fw_cap & FW_CAP_INVALIDATE_VF_FP_HSI) in bnx2x_vf_enable_access()
H A Dbnx2x_main.c13424 bp->fw_cap |= FW_CAP_INVALIDATE_VF_FP_HSI; in bnx2x_init_firmware()