Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.h124 hnae3_get_field((src), (HCLGE_TM_SHAP_##string##_MSK), \
Dhclge_main.c937 hnae3_get_field(__le16_to_cpu(req->msixcap_localid_ba_rocee), in hclge_query_pf_resource()
940 hnae3_get_field(__le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
950 hnae3_get_field(__le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
1040 cfg->vmdq_vport_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1043 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1045 cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1049 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1052 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1055 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1060 mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
[all …]
Dhclge_tm.c1181 grp = hnae3_get_field(qs_id, HCLGE_BP_GRP_ID_M, in hclge_bp_setup_hw()
1183 sub_grp = hnae3_get_field(qs_id, HCLGE_BP_SUB_GRP_ID_M, in hclge_bp_setup_hw()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h509 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro
514 hnae3_get_field((origin), (0x1 << (shift)), (shift))
Dhns3_enet.c2103 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_checksum()
2105 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_checksum()
2108 ol4_type = hnae3_get_field(l234info, HNS3_RXD_OL4ID_M, in hns3_rx_checksum()
2149 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c587 req->msg[idx_offset + 2] = hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector()
1759 hnae3_get_field(__le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource()
1763 hnae3_get_field(__le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
1773 hnae3_get_field(__le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()