Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
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()
Dhclgevf_main.c1048 hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector()
2951 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource()
2955 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
2968 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
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()
Dhclge_tm.h155 hnae3_get_field((src), (HCLGE_TM_SHAP_##string##_MSK), \
Dhclge_main.c910 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclge_query_pf_resource()
913 hnae3_get_field(le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
926 hnae3_get_field(le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
1269 cfg->vmdq_vport_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1272 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1274 cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1278 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1281 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1284 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1289 mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
[all …]
Dhclge_tm.c1316 grp = hnae3_get_field(qs_id, HCLGE_BP_GRP_ID_M, in hclge_bp_setup_hw()
1318 sub_grp = hnae3_get_field(qs_id, HCLGE_BP_SUB_GRP_ID_M, in hclge_bp_setup_hw()
Dhclge_debugfs.c269 hnae3_get_field(req->speed_dup, HCLGE_MAC_SPEED_MASK, in hclge_dbg_dump_mac_speed_duplex()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h747 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro
752 hnae3_get_field((origin), (0x1 << (shift)), (shift))
Dhns3_ethtool.c566 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hns3_get_drvinfo()
568 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hns3_get_drvinfo()
570 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hns3_get_drvinfo()
572 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hns3_get_drvinfo()
Dhns3_enet.c2778 ol4_type = hnae3_get_field(ol_info, HNS3_RXD_OL4ID_M, in hns3_rx_checksum()
2786 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_checksum()
2788 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_checksum()
2836 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag()
2989 skb_shinfo(skb)->gso_size = hnae3_get_field(bd_base_info, in hns3_set_gro_and_checksum()
2998 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum()
3002 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, HNS3_RXD_L3ID_S); in hns3_set_gro_and_checksum()
3086 l2_frame_type = hnae3_get_field(l234info, HNS3_RXD_DMAC_M, in hns3_handle_bdinfo()