/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_devlink.c | 18 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_devlink_info_get() 20 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_devlink_info_get() 22 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_devlink_info_get() 24 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_devlink_info_get()
|
D | hclge_tm.c | 364 qs_id_l = hnae3_get_field(qs_id, HCLGE_TM_QS_ID_L_MSK, in hclge_tm_q_to_qs_map_cfg() 366 qs_id_h = hnae3_get_field(qs_id, HCLGE_TM_QS_ID_H_MSK, in hclge_tm_q_to_qs_map_cfg() 1541 grp = hnae3_get_field(qs_id, grp_id_mask, grp_id_shift); in hclge_bp_setup_hw() 1542 sub_grp = hnae3_get_field(qs_id, HCLGE_BP_SUB_GRP_ID_M, in hclge_bp_setup_hw() 1965 qs_id_l = hnae3_get_field(*qset_id, HCLGE_TM_QS_ID_L_MSK, in hclge_tm_get_q_to_qs_map() 1967 qs_id_h = hnae3_get_field(*qset_id, HCLGE_TM_QS_ID_H_EXT_MSK, in hclge_tm_get_q_to_qs_map()
|
D | hclge_tm.h | 232 hnae3_get_field((src), HCLGE_TM_SHAP_##string##_MSK, \
|
D | hclge_main.c | 1203 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg() 1205 cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg() 1209 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1212 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1215 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1220 mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg() 1226 cfg->default_speed = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg() 1229 cfg->vf_rss_size_max = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg() 1239 cfg->speed_ability = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1242 speed_ability_ext = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() [all …]
|
D | hclge_mbx.c | 320 int_gl_index = hnae3_get_field(tqp_type_and_id, in hclge_get_vf_ring_vector_map()
|
D | hclge_debugfs.c | 384 hnae3_get_field(req->speed_dup, HCLGE_MAC_SPEED_MASK, in hclge_dbg_dump_mac_speed_duplex()
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_devlink.c | 18 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_devlink_info_get() 20 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_devlink_info_get() 22 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_devlink_info_get() 24 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_devlink_info_get()
|
D | hclgevf_main.c | 642 hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector() 2617 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource() 2621 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource() 2634 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
|
/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
D | hclge_comm_cmd.c | 628 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_comm_cmd_init() 630 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_comm_cmd_init() 632 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_comm_cmd_init() 634 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_comm_cmd_init()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 915 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro 920 hnae3_get_field(origin, 0x1 << (shift), shift)
|
D | hns3_enet.c | 3901 ol4_type = hnae3_get_field(ol_info, HNS3_RXD_OL4ID_M, in hns3_rx_handle_csum() 3909 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum() 3911 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_handle_csum() 3942 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_rx_checksum() 3995 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag() 4157 skb_shinfo(skb)->gso_size = hnae3_get_field(bd_base_info, in hns3_set_gro_and_checksum() 4167 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum() 4172 u32 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_set_gro_and_checksum() 4177 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum() 4200 u32 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_set_rx_skb_rss_type() [all …]
|
D | hns3_ethtool.c | 666 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hns3_get_drvinfo() 668 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hns3_get_drvinfo() 670 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hns3_get_drvinfo() 672 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hns3_get_drvinfo()
|
D | hns3_debugfs.c | 903 sprintf(result[j++], "%5lu", hnae3_get_field(ol_info, in hns3_dump_rx_bd_info()
|