Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.c442 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_cmd_init()
444 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_cmd_init()
446 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_cmd_init()
448 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_cmd_init()
H A Dhclgevf_main.c1064 hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector()
2984 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource()
2988 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
3001 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.c482 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_cmd_init()
484 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_cmd_init()
486 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_cmd_init()
488 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_cmd_init()
H A Dhclge_tm.h155 hnae3_get_field((src), (HCLGE_TM_SHAP_##string##_MSK), \
H A Dhclge_main.c911 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclge_query_pf_resource()
914 hnae3_get_field(le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
927 hnae3_get_field(le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
1270 cfg->vmdq_vport_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1273 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1275 cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1279 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1282 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1285 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1290 mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
[all …]
H A Dhclge_tm.c1324 grp = hnae3_get_field(qs_id, HCLGE_BP_GRP_ID_M, in hclge_bp_setup_hw()
1326 sub_grp = hnae3_get_field(qs_id, HCLGE_BP_SUB_GRP_ID_M, in hclge_bp_setup_hw()
H A Dhclge_debugfs.c269 hnae3_get_field(req->speed_dup, HCLGE_MAC_SPEED_MASK, in hclge_dbg_dump_mac_speed_duplex()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h747 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro
752 hnae3_get_field((origin), (0x1 << (shift)), (shift))
H A Dhns3_ethtool.c597 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hns3_get_drvinfo()
599 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hns3_get_drvinfo()
601 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hns3_get_drvinfo()
603 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hns3_get_drvinfo()
H A Dhns3_enet.c2826 ol4_type = hnae3_get_field(ol_info, HNS3_RXD_OL4ID_M, in hns3_rx_checksum()
2834 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_checksum()
2836 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_checksum()
2884 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag()
3038 skb_shinfo(skb)->gso_size = hnae3_get_field(bd_base_info, in hns3_set_gro_and_checksum()
3047 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum()
3051 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, HNS3_RXD_L3ID_S); in hns3_set_gro_and_checksum()
3135 l2_frame_type = hnae3_get_field(l234info, HNS3_RXD_DMAC_M, in hns3_handle_bdinfo()