/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_devlink.c | 25 hnae3_get_field(scc_version_tmp, HNAE3_SCC_VERSION_BYTE3_MASK, in hclge_devlink_scc_info_get() 27 hnae3_get_field(scc_version_tmp, HNAE3_SCC_VERSION_BYTE2_MASK, in hclge_devlink_scc_info_get() 29 hnae3_get_field(scc_version_tmp, HNAE3_SCC_VERSION_BYTE1_MASK, in hclge_devlink_scc_info_get() 31 hnae3_get_field(scc_version_tmp, HNAE3_SCC_VERSION_BYTE0_MASK, in hclge_devlink_scc_info_get() 47 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_devlink_info_get() 49 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_devlink_info_get() 51 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_devlink_info_get() 53 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 | 1258 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg() 1260 cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg() 1264 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1267 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1270 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1275 mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg() 1281 cfg->default_speed = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg() 1284 cfg->vf_rss_size_max = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg() 1294 cfg->speed_ability = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1297 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 | 1022 hnae3_get_field(req->speed_dup, HCLGE_MAC_SPEED_MASK, in hclge_dbg_dump_mac_speed_duplex()
|
/linux-6.12.1/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 | 679 hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector() 2654 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource() 2658 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource() 2671 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
D | hclge_comm_cmd.c | 654 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_comm_cmd_init() 656 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_comm_cmd_init() 658 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_comm_cmd_init() 660 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_comm_cmd_init()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 935 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro 940 hnae3_get_field(origin, 0x1 << (shift), shift)
|
D | hns3_enet.c | 3897 ol4_type = hnae3_get_field(ol_info, HNS3_RXD_OL4ID_M, in hns3_rx_handle_csum() 3905 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum() 3907 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_handle_csum() 3938 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_rx_checksum() 3991 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag() 4153 skb_shinfo(skb)->gso_size = hnae3_get_field(bd_base_info, in hns3_set_gro_and_checksum() 4163 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum() 4168 u32 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_set_gro_and_checksum() 4173 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum() 4196 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 | 906 sprintf(result[j++], "%5lu", hnae3_get_field(ol_info, in hns3_dump_rx_bd_info()
|