Home
last modified time | relevance | path

Searched refs:hnae3_set_bit (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.c58 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()
Dhnae3.h917 #define hnae3_set_bit(origin, shift, val) \ macro
Dhns3_enet.c4546 hnae3_set_bit(chain->flag, HNAE3_RING_TYPE_B, in hns3_create_ring_chain()
4892 hnae3_set_bit(ring->flag, HNAE3_RING_TYPE_B, ring_type); in hns3_ring_get_cfg()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_cmd.c88 hnae3_set_bit(compat, HCLGE_COMM_LINK_EVENT_REPORT_EN_B, 1); in hclge_comm_firmware_compat_config()
89 hnae3_set_bit(compat, HCLGE_COMM_NCSI_ERROR_REPORT_EN_B, 1); in hclge_comm_firmware_compat_config()
91 hnae3_set_bit(compat, HCLGE_COMM_PHY_IMP_EN_B, 1); in hclge_comm_firmware_compat_config()
92 hnae3_set_bit(compat, HCLGE_COMM_MAC_STATS_EXT_EN_B, 1); in hclge_comm_firmware_compat_config()
93 hnae3_set_bit(compat, HCLGE_COMM_SYNC_RX_RING_HEAD_EN_B, 1); in hclge_comm_firmware_compat_config()
94 hnae3_set_bit(compat, HCLGE_COMM_LLRS_FEC_EN_B, 1); in hclge_comm_firmware_compat_config()
130 hnae3_set_bit(api_caps, HCLGE_COMM_API_CAP_FLEX_RSS_TBL_B, 1); in hclge_comm_build_api_caps()
Dhclge_comm_rss.c96 hnae3_set_bit(mode, HCLGE_COMM_RSS_TC_VALID_B, in hclge_comm_set_rss_tc_mode()
100 hnae3_set_bit(mode, HCLGE_COMM_RSS_TC_SIZE_MSB_B, in hclge_comm_set_rss_tc_mode()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1481 hnae3_set_bit(hdev->hw_tc_map, i, 1); in hclge_init_tc_config()
2544 hnae3_set_bit(req->speed_dup, HCLGE_CFG_DUPLEX_B, 1); in hclge_cfg_mac_speed_dup_hw()
2554 hnae3_set_bit(req->mac_change_fec_en, HCLGE_CFG_MAC_SPEED_CHANGE_EN_B, in hclge_cfg_mac_speed_dup_hw()
2610 hnae3_set_bit(flag, HCLGE_MAC_CFG_AN_EN_B, 1U); in hclge_set_autoneg_en()
2837 hnae3_set_bit(req->fec_mode, HCLGE_MAC_CFG_FEC_AUTO_EN_B, 1); in hclge_set_fec_hw()
3939 hnae3_set_bit(req->mac_func_reset, HCLGE_CFG_RESET_FUNC_B, 1); in hclge_func_reset_cmd()
3968 hnae3_set_bit(val, HCLGE_TRIGGER_IMP_RESET_B, 1); in hclge_do_reset()
3974 hnae3_set_bit(val, HCLGE_GLOBAL_RESET_BIT, 1); in hclge_do_reset()
5024 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_UC_RX_EN, en_uc ? 1 : 0); in hclge_cmd_set_promisc_mode()
5025 hnae3_set_bit(promisc_cfg, HCLGE_PROMISC_MC_RX_EN, en_mc ? 1 : 0); in hclge_cmd_set_promisc_mode()
[all …]
Dhclge_mdio.c62 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()
Dhclge_mbx.c204 hnae3_set_bit(ring_chain->flag, HNAE3_RING_TYPE_B, in hclge_get_ring_chain_from_mbx()
219 hnae3_set_bit(new_chain->flag, HNAE3_RING_TYPE_B, in hclge_get_ring_chain_from_mbx()
505 hnae3_set_bit(pf_caps, HNAE3_PF_SUPPORT_VLAN_FLTR_MDF_B, 1); in hclge_get_basic_info()
Dhclge_tm.c457 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_pg_shapping_cfg()
488 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_port_shaper_cfg()
514 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_pri_shapping_cfg()
619 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_qs_shaper_cfg()
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c116 hnae3_set_bit(req->mbx_need_resp, HCLGE_MBX_NEED_RESP_B, 1); in hclgevf_send_mbx_msg()