Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.c411 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_cmd_init()
413 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_cmd_init()
415 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_cmd_init()
417 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_cmd_init()
Dhclgevf_main.c1023 req->msg[idx_offset + 2] = hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector()
2548 hnae3_get_field(__le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource()
2552 hnae3_get_field(__le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
2565 hnae3_get_field(__le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.c443 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_cmd_init()
445 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_cmd_init()
447 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_cmd_init()
449 hnae3_get_field(version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_cmd_init()
Dhclge_tm.h141 hnae3_get_field((src), (HCLGE_TM_SHAP_##string##_MSK), \
Dhclge_main.c903 hnae3_get_field(__le16_to_cpu(req->msixcap_localid_ba_rocee), in hclge_query_pf_resource()
906 hnae3_get_field(__le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
919 hnae3_get_field(__le16_to_cpu(req->pf_intr_vector_number), in hclge_query_pf_resource()
1207 cfg->vmdq_vport_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1210 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1212 cfg->tqp_desc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg()
1216 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1219 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1222 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg()
1227 mac_addr_tmp_high = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
[all …]
Dhclge_tm.c1264 grp = hnae3_get_field(qs_id, HCLGE_BP_GRP_ID_M, in hclge_bp_setup_hw()
1266 sub_grp = hnae3_get_field(qs_id, HCLGE_BP_SUB_GRP_ID_M, in hclge_bp_setup_hw()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h658 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro
663 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.c2538 ol4_type = hnae3_get_field(ol_info, HNS3_RXD_OL4ID_M, in hns3_rx_checksum()
2546 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_checksum()
2548 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_checksum()
2595 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag()
2746 skb_shinfo(skb)->gso_size = hnae3_get_field(bd_base_info, in hns3_set_gro_and_checksum()
2755 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum()
2759 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, HNS3_RXD_L3ID_S); in hns3_set_gro_and_checksum()
2843 l2_frame_type = hnae3_get_field(l234info, HNS3_RXD_DMAC_M, in hns3_handle_bdinfo()