Home
last modified time | relevance | path

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

/linux-6.12.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.c209 hnae3_set_field(ring_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
226 hnae3_set_field(new_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
272 hnae3_set_field(tqp_type_and_id, HCLGE_INT_TYPE_M, HCLGE_INT_TYPE_S, in hclge_query_ring_vector_map()
274 hnae3_set_field(tqp_type_and_id, HCLGE_TQP_ID_M, HCLGE_TQP_ID_S, in hclge_query_ring_vector_map()
Dhclge_tm.h228 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()
1970 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()
1972 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.c1352 hnae3_set_field(offset, HCLGE_CFG_OFFSET_M, in hclge_get_cfg()
1355 hnae3_set_field(offset, HCLGE_CFG_RD_LEN_M, HCLGE_CFG_RD_LEN_S, in hclge_get_cfg()
2614 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, HCLGE_CFG_SPEED_S, in hclge_cfg_mac_speed_dup_hw()
2910 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
2913 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
2916 hnae3_set_field(req->fec_mode, HCLGE_MAC_CFG_FEC_MODE_M, in hclge_set_fec_hw()
4996 hnae3_set_field(tqp_type_and_id, HCLGE_INT_TYPE_M, in hclge_bind_ring_with_vector()
4999 hnae3_set_field(tqp_type_and_id, HCLGE_TQP_ID_M, in hclge_bind_ring_with_vector()
5001 hnae3_set_field(tqp_type_and_id, HCLGE_INT_GL_IDX_M, in hclge_bind_ring_with_vector()
5293 hnae3_set_field(data, HCLGE_FD_USER_DEF_OFT_M, in hclge_fd_set_user_def_cmd()
[all …]
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.c100 hnae3_set_field(mode, HCLGE_COMM_RSS_TC_SIZE_M, in hclge_comm_set_rss_tc_mode()
105 hnae3_set_field(mode, HCLGE_COMM_RSS_TC_OFFSET_M, in hclge_comm_set_rss_tc_mode()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h930 #define hnae3_set_field(origin, mask, shift, val) \ macro
938 hnae3_set_field(origin, 0x1 << (shift), shift, val)
Dhns3_enet.c4547 hnae3_set_field(chain->int_gl_idx, in hns3_create_ring_chain()