Lines Matching refs:app_info_bitmap

49 static bool qed_dcbx_app_ethtype(u32 app_info_bitmap)  in qed_dcbx_app_ethtype()  argument
51 return !!(QED_MFW_GET_FIELD(app_info_bitmap, DCBX_APP_SF) == in qed_dcbx_app_ethtype()
55 static bool qed_dcbx_ieee_app_ethtype(u32 app_info_bitmap) in qed_dcbx_ieee_app_ethtype() argument
57 u8 mfw_val = QED_MFW_GET_FIELD(app_info_bitmap, DCBX_APP_SF_IEEE); in qed_dcbx_ieee_app_ethtype()
61 return qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_ieee_app_ethtype()
66 static bool qed_dcbx_app_port(u32 app_info_bitmap) in qed_dcbx_app_port() argument
68 return !!(QED_MFW_GET_FIELD(app_info_bitmap, DCBX_APP_SF) == in qed_dcbx_app_port()
72 static bool qed_dcbx_ieee_app_port(u32 app_info_bitmap, u8 type) in qed_dcbx_ieee_app_port() argument
74 u8 mfw_val = QED_MFW_GET_FIELD(app_info_bitmap, DCBX_APP_SF_IEEE); in qed_dcbx_ieee_app_port()
78 return qed_dcbx_app_port(app_info_bitmap); in qed_dcbx_ieee_app_port()
83 static bool qed_dcbx_default_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_default_tlv() argument
88 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_default_tlv()
90 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_default_tlv()
95 static bool qed_dcbx_iscsi_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_iscsi_tlv() argument
100 port = qed_dcbx_ieee_app_port(app_info_bitmap, in qed_dcbx_iscsi_tlv()
103 port = qed_dcbx_app_port(app_info_bitmap); in qed_dcbx_iscsi_tlv()
108 static bool qed_dcbx_fcoe_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_fcoe_tlv() argument
113 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_fcoe_tlv()
115 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_fcoe_tlv()
120 static bool qed_dcbx_roce_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_roce_tlv() argument
125 ethtype = qed_dcbx_ieee_app_ethtype(app_info_bitmap); in qed_dcbx_roce_tlv()
127 ethtype = qed_dcbx_app_ethtype(app_info_bitmap); in qed_dcbx_roce_tlv()
132 static bool qed_dcbx_roce_v2_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_roce_v2_tlv() argument
137 port = qed_dcbx_ieee_app_port(app_info_bitmap, in qed_dcbx_roce_v2_tlv()
140 port = qed_dcbx_app_port(app_info_bitmap); in qed_dcbx_roce_v2_tlv()