| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| A D | hclgevf_devlink.c | 23 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_devlink_info_get() 25 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_devlink_info_get() 27 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_devlink_info_get() 29 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_devlink_info_get()
|
| A D | hclgevf_cmd.c | 498 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_cmd_init() 500 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_cmd_init() 502 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_cmd_init() 504 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_cmd_init()
|
| A D | hclgevf_main.c | 1129 hnae3_get_field(node->int_gl_idx, in hclgevf_bind_ring_to_vector() 3140 hnae3_get_field(le16_to_cpu(req->msixcap_localid_ba_rocee), in hclgevf_query_vf_resource() 3144 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource() 3157 hnae3_get_field(le16_to_cpu(req->vf_intr_vector_number), in hclgevf_query_vf_resource()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| A D | hclge_devlink.c | 23 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_devlink_info_get() 25 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_devlink_info_get() 27 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_devlink_info_get() 29 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_devlink_info_get()
|
| A D | hclge_cmd.c | 534 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_cmd_init() 536 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_cmd_init() 538 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_cmd_init() 540 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_cmd_init()
|
| A D | hclge_tm.c | 323 qs_id_l = hnae3_get_field(qs_id, HCLGE_TM_QS_ID_L_MSK, in hclge_tm_q_to_qs_map_cfg() 325 qs_id_h = hnae3_get_field(qs_id, HCLGE_TM_QS_ID_H_MSK, in hclge_tm_q_to_qs_map_cfg() 1416 grp = hnae3_get_field(qs_id, grp_id_mask, grp_id_shift); in hclge_bp_setup_hw() 1417 sub_grp = hnae3_get_field(qs_id, HCLGE_BP_SUB_GRP_ID_M, in hclge_bp_setup_hw() 1839 qs_id_l = hnae3_get_field(*qset_id, HCLGE_TM_QS_ID_L_MSK, in hclge_tm_get_q_to_qs_map() 1841 qs_id_h = hnae3_get_field(*qset_id, HCLGE_TM_QS_ID_H_EXT_MSK, in hclge_tm_get_q_to_qs_map()
|
| A D | hclge_tm.h | 217 hnae3_get_field((src), HCLGE_TM_SHAP_##string##_MSK, \
|
| A D | hclge_main.c | 1362 cfg->tc_num = hnae3_get_field(__le32_to_cpu(req->param[0]), in hclge_parse_cfg() 1368 cfg->phy_addr = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1371 cfg->media_type = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1374 cfg->rx_buf_len = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 1410 cfg->umv_space = hnae3_get_field(__le32_to_cpu(req->param[1]), in hclge_parse_cfg() 5266 req->int_vector_id_l = hnae3_get_field(vector_id, in hclge_bind_ring_with_vector() 5269 req->int_vector_id_h = hnae3_get_field(vector_id, in hclge_bind_ring_with_vector() 5283 hnae3_get_field(node->int_gl_idx, in hclge_bind_ring_with_vector() 5304 hnae3_get_field(vector_id, in hclge_bind_ring_with_vector() 5308 hnae3_get_field(vector_id, in hclge_bind_ring_with_vector() [all …]
|
| A D | hclge_debugfs.c | 367 hnae3_get_field(req->speed_dup, HCLGE_MAC_SPEED_MASK, in hclge_dbg_dump_mac_speed_duplex()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| A D | hnae3.h | 857 #define hnae3_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro 862 hnae3_get_field(origin, 0x1 << (shift), shift)
|
| A D | hns3_ethtool.c | 625 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hns3_get_drvinfo() 627 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hns3_get_drvinfo() 629 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hns3_get_drvinfo() 631 hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hns3_get_drvinfo()
|
| A D | hns3_enet.c | 3707 ol4_type = hnae3_get_field(ol_info, HNS3_RXD_OL4ID_M, in hns3_rx_handle_csum() 3715 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum() 3717 l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M, in hns3_rx_handle_csum() 3748 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_rx_checksum() 3803 switch (hnae3_get_field(l234info, HNS3_RXD_STRP_TAGP_M, in hns3_parse_vlan_tag() 3970 skb_shinfo(skb)->gso_size = hnae3_get_field(bd_base_info, in hns3_set_gro_and_checksum() 3980 NAPI_GRO_CB(skb)->count = hnae3_get_field(l234info, in hns3_set_gro_and_checksum() 3985 u32 ptype = hnae3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_set_gro_and_checksum() 3990 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum() 4088 l2_frame_type = hnae3_get_field(l234info, HNS3_RXD_DMAC_M, in hns3_handle_bdinfo()
|
| A D | hns3_debugfs.c | 864 sprintf(result[j++], "%5lu", hnae3_get_field(ol_info, in hns3_dump_rx_bd_info()
|