Home
last modified time | relevance | path

Searched refs:hnae3_set_field (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_mdio.c57 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_write()
59 hnae3_set_field(mdio_cmd->phyad, HCLGE_MDIO_PHYREG_M, in hclge_mdio_write()
63 hnae3_set_field(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_ST_M, in hclge_mdio_write()
65 hnae3_set_field(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_OP_M, in hclge_mdio_write()
95 hnae3_set_field(mdio_cmd->phyid, HCLGE_MDIO_PHYID_M, in hclge_mdio_read()
97 hnae3_set_field(mdio_cmd->phyad, HCLGE_MDIO_PHYREG_M, in hclge_mdio_read()
101 hnae3_set_field(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_ST_M, in hclge_mdio_read()
103 hnae3_set_field(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_OP_M, in hclge_mdio_read()
Dhclge_mbx.c204 hnae3_set_field(ring_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
221 hnae3_set_field(new_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
267 hnae3_set_field(tqp_type_and_id, HCLGE_INT_TYPE_M, HCLGE_INT_TYPE_S, in hclge_query_ring_vector_map()
269 hnae3_set_field(tqp_type_and_id, HCLGE_TQP_ID_M, HCLGE_TQP_ID_S, in hclge_query_ring_vector_map()
Dhclge_tm.h222 hnae3_set_field((dest), \
Dhclge_tm.c368 hnae3_set_field(qs_id, HCLGE_TM_QS_ID_L_MSK, HCLGE_TM_QS_ID_L_S, in hclge_tm_q_to_qs_map_cfg()
370 hnae3_set_field(qs_id, HCLGE_TM_QS_ID_H_EXT_MSK, HCLGE_TM_QS_ID_H_EXT_S, in hclge_tm_q_to_qs_map_cfg()
1965 hnae3_set_field(*qset_id, HCLGE_TM_QS_ID_L_MSK, HCLGE_TM_QS_ID_L_S, in hclge_tm_get_q_to_qs_map()
1967 hnae3_set_field(*qset_id, HCLGE_TM_QS_ID_H_MSK, HCLGE_TM_QS_ID_H_S, in hclge_tm_get_q_to_qs_map()
Dhclge_main.c1394 hnae3_set_field(offset, HCLGE_CFG_OFFSET_M, in hclge_get_cfg()
1397 hnae3_set_field(offset, HCLGE_CFG_RD_LEN_M, HCLGE_CFG_RD_LEN_S, in hclge_get_cfg()
2648 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, HCLGE_CFG_SPEED_S, in hclge_cfg_mac_speed_dup_hw()
2935 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
2938 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
2941 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
4988 hnae3_set_field(tqp_type_and_id, HCLGE_INT_TYPE_M, in hclge_bind_ring_with_vector()
4991 hnae3_set_field(tqp_type_and_id, HCLGE_TQP_ID_M, in hclge_bind_ring_with_vector()
4993 hnae3_set_field(tqp_type_and_id, HCLGE_INT_GL_IDX_M, in hclge_bind_ring_with_vector()
5285 hnae3_set_field(data, HCLGE_FD_USER_DEF_OFT_M, in hclge_fd_set_user_def_cmd()
[all …]
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.c98 hnae3_set_field(mode, HCLGE_COMM_RSS_TC_SIZE_M, in hclge_comm_set_rss_tc_mode()
103 hnae3_set_field(mode, HCLGE_COMM_RSS_TC_OFFSET_M, in hclge_comm_set_rss_tc_mode()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h891 #define hnae3_set_field(origin, mask, shift, val) \ macro
899 hnae3_set_field(origin, 0x1 << (shift), shift, val)
Dhns3_enet.c4535 hnae3_set_field(chain->int_gl_idx, in hns3_create_ring_chain()