Searched refs:hnae3_set_field (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mdio.c | 57 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()
|
D | hclge_main.c | 1391 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 …]
|
D | hclge_tm.h | 216 hnae3_set_field((dest), \
|
D | hclge_mbx.c | 203 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()
|
D | hclge_tm.c | 327 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/ |
D | hnae3.h | 848 #define hnae3_set_field(origin, mask, shift, val) \ macro 856 hnae3_set_field(origin, 0x1 << (shift), shift, val)
|
D | hns3_enet.c | 4293 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/ |
D | hclgevf_main.c | 717 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()
|