Home
last modified time | relevance | path

Searched refs:hnae3_get_field (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_devlink.c23 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_devlink_info_get()
25 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_devlink_info_get()
27 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_devlink_info_get()
29 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_devlink_info_get()
Dhclge_cmd.c532 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_cmd_init()
534 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_cmd_init()
536 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_cmd_init()
538 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_cmd_init()
Dhclge_tm.c323 qs_id_l = hnae3_get_field(qs_id, HCLGE_TM_QS_ID_L_MSK, in hclge_tm_q_to_qs_map_cfg()
325 qs_id_h = hnae3_get_field(qs_id, HCLGE_TM_QS_ID_H_MSK, in hclge_tm_q_to_qs_map_cfg()
1423 grp = hnae3_get_field(qs_id, grp_id_mask, grp_id_shift); in hclge_bp_setup_hw()
1424 sub_grp = hnae3_get_field(qs_id, HCLGE_BP_SUB_GRP_ID_M, in hclge_bp_setup_hw()
1846 qs_id_l = hnae3_get_field(*qset_id, HCLGE_TM_QS_ID_L_MSK, in hclge_tm_get_q_to_qs_map()
1848 qs_id_h = hnae3_get_field(*qset_id, HCLGE_TM_QS_ID_H_EXT_MSK, in hclge_tm_get_q_to_qs_map()
Dhclge_tm.h217 hnae3_get_field((src), HCLGE_TM_SHAP_##string##_MSK, \
Dhclge_main.c1294 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1296 cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1300 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1303 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1306 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1311 mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
1317 cfg->default_speed = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
1320 cfg->vf_rss_size_max = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
1330 cfg->speed_ability = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1333 speed_ability_ext = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
[all …]
Dhclge_debugfs.c367 hnae3_get_field(req->speed_dup, HCLGE_MAC_SPEED_MASK, in hclge_dbg_dump_mac_speed_duplex()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_devlink.c23 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_devlink_info_get()
25 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_devlink_info_get()
27 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_devlink_info_get()
29 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_devlink_info_get()
Dhclgevf_cmd.c478 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_cmd_init()
480 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_cmd_init()
482 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_cmd_init()
484 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_cmd_init()
Dhclgevf_main.c1129 hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector()
3138 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource()
3142 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
3155 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h846 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro
851 hnae3_get_field(origin, 0x1 << (shift), shift)
Dhns3_ethtool.c623 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hns3_get_drvinfo()
625 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hns3_get_drvinfo()
627 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hns3_get_drvinfo()
629 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hns3_get_drvinfo()
Dhns3_enet.c3707 ol4_type = hnae3_get_field(ol_info, HNS3_RXD_OL4ID_M, in hns3_rx_handle_csum()
3715 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum()
3717 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_handle_csum()
3748 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_rx_checksum()
3803 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag()
3970 skb_shinfo(skb)->gso_size = hnae3_get_field(bd_base_info, in hns3_set_gro_and_checksum()
3980 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum()
3985 u32 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_set_gro_and_checksum()
3990 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum()
4088 l2_frame_type = hnae3_get_field(l234info, HNS3_RXD_DMAC_M, in hns3_handle_bdinfo()
Dhns3_debugfs.c742 sprintf(result[j++], "%5lu", hnae3_get_field(ol_info, in hns3_dump_rx_bd_info()