Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.c22 if (!hnae3_get_bit(ae_dev->flag, HNAE3_DEV_INITED_B)) in hnae3_unregister_ae_algo_prepare()
79 inited = hnae3_get_bit(ae_dev->flag, in hnae3_get_client_init_flag()
83 inited = hnae3_get_bit(ae_dev->flag, in hnae3_get_client_init_flag()
100 hnae3_get_bit(ae_dev->flag, HNAE3_DEV_INITED_B))) { in hnae3_init_client_instance()
117 hnae3_get_bit(ae_dev->flag, HNAE3_DEV_INITED_B))) in hnae3_uninit_client_instance()
268 if (!hnae3_get_bit(ae_dev->flag, HNAE3_DEV_INITED_B)) in hnae3_unregister_ae_algo()
372 if (!hnae3_get_bit(ae_dev->flag, HNAE3_DEV_INITED_B)) in hnae3_unregister_ae_dev()
H A Dhnae3.h74 hnae3_get_bit((hdev)->ae_dev->flag, HNAE3_DEV_SUPPORT_ROCE_B)
77 hnae3_get_bit((hdev)->ae_dev->flag, HNAE3_DEV_SUPPORT_DCB_B)
919 #define hnae3_get_bit(origin, shift) \ macro
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c329 hnae3_get_bit(loop_en, offset)); in hclge_dbg_dump_mac_enable_status()
387 hnae3_get_bit(req->speed_dup, in hclge_dbg_dump_mac_speed_duplex()
1928 loopback_en = hnae3_get_bit(le32_to_cpu(req_app->txrx_pad_fcs_loop_en), in hclge_dbg_dump_loopback()
2098 vlan_cfg->strip_tag1 = hnae3_get_bit(rx_cfg, HCLGE_REM_TAG1_EN_B); in hclge_get_vlan_rx_offload_cfg()
2099 vlan_cfg->strip_tag2 = hnae3_get_bit(rx_cfg, HCLGE_REM_TAG2_EN_B); in hclge_get_vlan_rx_offload_cfg()
2100 vlan_cfg->drop_tag1 = hnae3_get_bit(rx_cfg, HCLGE_DISCARD_TAG1_EN_B); in hclge_get_vlan_rx_offload_cfg()
2101 vlan_cfg->drop_tag2 = hnae3_get_bit(rx_cfg, HCLGE_DISCARD_TAG2_EN_B); in hclge_get_vlan_rx_offload_cfg()
2102 vlan_cfg->pri_only1 = hnae3_get_bit(rx_cfg, HCLGE_SHOW_TAG1_EN_B); in hclge_get_vlan_rx_offload_cfg()
2103 vlan_cfg->pri_only2 = hnae3_get_bit(rx_cfg, HCLGE_SHOW_TAG2_EN_B); in hclge_get_vlan_rx_offload_cfg()
2134 vlan_cfg->accept_tag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG1_B); in hclge_get_vlan_tx_offload_cfg()
[all …]
H A Dhclge_mbx.c273 hnae3_get_bit(ring_chain->flag, HNAE3_RING_TYPE_B)); in hclge_query_ring_vector_map()
1089 if (hnae3_get_bit(param->req->mbx_need_resp, HCLGE_MBX_NEED_RESP_B) && in hclge_mbx_request_handling()
1127 if (unlikely(!hnae3_get_bit(flag, HCLGE_CMDQ_RX_OUTVLD_B) || in hclge_mbx_handler()
H A Dhclge_mdio.c115 if (hnae3_get_bit(le16_to_cpu(mdio_cmd->sta), HCLGE_MDIO_STA_B)) { in hclge_mdio_read()
H A Dhclge_main.c3803 while (hnae3_get_bit(val, reg_bit) && cnt < HCLGE_RESET_WAIT_CNT) { in hclge_reset_wait()
4941 hnae3_get_bit(node->flag, HNAE3_RING_TYPE_B)); in hclge_bind_ring_with_vector()
10718 *reset_status = hnae3_get_bit(req->ready_to_reset, HCLGE_TQP_RESET_B); in hclge_get_reset_status()
11055 mdix = hnae3_get_bit(retval, HCLGE_PHY_MDIX_STATUS_B); in hclge_get_mdix_mode()
11056 is_resolved = hnae3_get_bit(retval, HCLGE_PHY_SPEED_DUP_RESOLVE_B); in hclge_get_mdix_mode()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_mbx.c246 if (unlikely(!hnae3_get_bit(flag, HCLGEVF_CMDQ_RX_OUTVLD_B))) { in hclgevf_mbx_handler()
H A Dhclgevf_main.c638 hnae3_get_bit(node->flag, HNAE3_RING_TYPE_B); in hclgevf_bind_ring_to_vector()