Home
last modified time | relevance | path

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

/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_main.c1391 hnae3_set_field(offset, HCLGE_CFG_OFFSET_M, in hclge_get_cfg()
1394 hnae3_set_field(offset, HCLGE_CFG_RD_LEN_M, HCLGE_CFG_RD_LEN_S, in hclge_get_cfg()
2583 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
2587 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
2591 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
2595 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
2599 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
2603 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
2607 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
2611 hnae3_set_field(req->speed_dup, HCLGE_CFG_SPEED_M, in hclge_cfg_mac_speed_dup_hw()
[all …]
Dhclge_tm.h216 hnae3_set_field((dest), \
Dhclge_mbx.c203 hnae3_set_field(ring_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
220 hnae3_set_field(new_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hclge_get_ring_chain_from_mbx()
Dhclge_tm.c327 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()
329 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()
1845 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()
1847 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()
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h848 #define hnae3_set_field(origin, mask, shift, val) \ macro
856 hnae3_set_field(origin, 0x1 << (shift), shift, val)
Dhns3_enet.c4293 hnae3_set_field(cur_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hns3_get_vector_ring_chain()
4310 hnae3_set_field(chain->int_gl_idx, in hns3_get_vector_ring_chain()
4325 hnae3_set_field(cur_chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hns3_get_vector_ring_chain()
4340 hnae3_set_field(chain->int_gl_idx, HNAE3_RING_GL_IDX_M, in hns3_get_vector_ring_chain()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c717 hnae3_set_field(mode, HCLGEVF_RSS_TC_SIZE_M, in hclgevf_set_rss_tc_mode()
722 hnae3_set_field(mode, HCLGEVF_RSS_TC_OFFSET_M, in hclgevf_set_rss_tc_mode()