Searched refs:hnae3_set_bit (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.c | 58 hnae3_set_bit(ae_dev->flag, HNAE3_KNIC_CLIENT_INITED_B, inited); in hnae3_set_client_init_flag() 61 hnae3_set_bit(ae_dev->flag, HNAE3_ROCE_CLIENT_INITED_B, inited); in hnae3_set_client_init_flag() 232 hnae3_set_bit(ae_dev->flag, HNAE3_DEV_INITED_B, 1); in hnae3_register_ae_algo() 279 hnae3_set_bit(ae_dev->flag, HNAE3_DEV_INITED_B, 0); in hnae3_unregister_ae_algo() 327 hnae3_set_bit(ae_dev->flag, HNAE3_DEV_INITED_B, 1); in hnae3_register_ae_dev() 380 hnae3_set_bit(ae_dev->flag, HNAE3_DEV_INITED_B, 0); in hnae3_unregister_ae_dev()
|
D | hnae3.h | 855 #define hnae3_set_bit(origin, shift, val) \ macro
|
D | hns3_enet.c | 4291 hnae3_set_bit(cur_chain->flag, HNAE3_RING_TYPE_B, in hns3_get_vector_ring_chain() 4308 hnae3_set_bit(chain->flag, HNAE3_RING_TYPE_B, in hns3_get_vector_ring_chain() 4323 hnae3_set_bit(cur_chain->flag, HNAE3_RING_TYPE_B, in hns3_get_vector_ring_chain() 4338 hnae3_set_bit(chain->flag, HNAE3_RING_TYPE_B, in hns3_get_vector_ring_chain() 4667 hnae3_set_bit(ring->flag, HNAE3_RING_TYPE_B, ring_type); in hns3_ring_get_cfg()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_cmd.c | 399 hnae3_set_bit(api_caps, HCLGE_API_CAP_FLEX_RSS_TBL_B, 1); in hclge_build_api_caps() 481 hnae3_set_bit(compat, HCLGE_LINK_EVENT_REPORT_EN_B, 1); in hclge_firmware_compat_config() 482 hnae3_set_bit(compat, HCLGE_NCSI_ERROR_REPORT_EN_B, 1); in hclge_firmware_compat_config() 484 hnae3_set_bit(compat, HCLGE_PHY_IMP_EN_B, 1); in hclge_firmware_compat_config()
|
D | hclge_main.c | 1594 hnae3_set_bit(hdev->hw_tc_map, i, 1); in hclge_configure() 2579 hnae3_set_bit(req->speed_dup, HCLGE_CFG_DUPLEX_B, 1); in hclge_cfg_mac_speed_dup_hw() 2623 hnae3_set_bit(req->mac_change_fec_en, HCLGE_CFG_MAC_SPEED_CHANGE_EN_B, in hclge_cfg_mac_speed_dup_hw() 2676 hnae3_set_bit(flag, HCLGE_MAC_CFG_AN_EN_B, 1U); in hclge_set_autoneg_en() 2752 hnae3_set_bit(req->fec_mode, HCLGE_MAC_CFG_FEC_AUTO_EN_B, 1); in hclge_set_fec_hw() 3766 hnae3_set_bit(req->mac_func_reset, HCLGE_CFG_RESET_FUNC_B, 1); in hclge_func_reset_cmd() 3795 hnae3_set_bit(val, HCLGE_TRIGGER_IMP_RESET_B, 1); in hclge_do_reset() 3801 hnae3_set_bit(val, HCLGE_GLOBAL_RESET_BIT, 1); in hclge_do_reset() 4645 hnae3_set_bit(mode, HCLGE_RSS_TC_VALID_B, (tc_valid[i] & 0x1)); in hclge_set_rss_tc_mode() 4648 hnae3_set_bit(mode, HCLGE_RSS_TC_SIZE_MSB_B, in hclge_set_rss_tc_mode() [all …]
|
D | hclge_mdio.c | 62 hnae3_set_bit(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_START_B, 1); in hclge_mdio_write() 100 hnae3_set_bit(mdio_cmd->ctrl_bit, HCLGE_MDIO_CTRL_START_B, 1); in hclge_mdio_read()
|
D | hclge_mbx.c | 198 hnae3_set_bit(ring_chain->flag, HNAE3_RING_TYPE_B, in hclge_get_ring_chain_from_mbx() 213 hnae3_set_bit(new_chain->flag, HNAE3_RING_TYPE_B, in hclge_get_ring_chain_from_mbx() 419 hnae3_set_bit(basic_info->pf_caps, in hclge_get_basic_info()
|
D | hclge_tm.c | 416 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_pg_shapping_cfg() 447 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_port_shaper_cfg() 473 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_pri_shapping_cfg() 578 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_qs_shaper_cfg()
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_mbx.c | 116 hnae3_set_bit(req->mbx_need_resp, HCLGE_MBX_NEED_RESP_B, 1); in hclgevf_send_mbx_msg()
|
D | hclgevf_cmd.c | 371 hnae3_set_bit(api_caps, HCLGEVF_API_CAP_FLEX_RSS_TBL_B, 1); in hclgevf_build_api_caps()
|
D | hclgevf_main.c | 715 hnae3_set_bit(mode, HCLGEVF_RSS_TC_VALID_B, in hclgevf_set_rss_tc_mode() 719 hnae3_set_bit(mode, HCLGEVF_RSS_TC_SIZE_MSB_B, in hclgevf_set_rss_tc_mode()
|