Searched refs:hns3_read_dev (Results 1 – 11 of 11) sorted by relevance
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_ptp.c | 197 ts_cnt = hns3_read_dev(hw, HNS3_TX_1588_BACK_TSP_CNT) & in hns3_timesync_read_tx_timestamp() 202 ns = hns3_read_dev(hw, HNS3_TX_1588_TSP_BACK_0) & TIME_TX_STAMP_NS_MASK; in hns3_timesync_read_tx_timestamp() 203 sec = hns3_read_dev(hw, HNS3_TX_1588_TSP_BACK_1); in hns3_timesync_read_tx_timestamp() 204 tmp = hns3_read_dev(hw, HNS3_TX_1588_TSP_BACK_2) & 0xFFFF; in hns3_timesync_read_tx_timestamp() 212 hns3_read_dev(hw, HNS3_TX_1588_SEQID_BACK); in hns3_timesync_read_tx_timestamp() 226 sec = hns3_read_dev(hw, HNS3_CURR_TIME_OUT_L); in hns3_timesync_read_time() 227 sec |= (uint64_t)(hns3_read_dev(hw, HNS3_CURR_TIME_OUT_H) & 0xFFFF) in hns3_timesync_read_time() 230 ns = hns3_read_dev(hw, HNS3_CURR_TIME_OUT_NS); in hns3_timesync_read_time()
|
| H A D | hns3_regs.c | 303 *data++ = hns3_read_dev(hw, cmdq_reg_addrs[i]); in hns3_direct_access_regs() 312 *data++ = hns3_read_dev(hw, common_vf_reg_addrs[i]); in hns3_direct_access_regs() 314 *data++ = hns3_read_dev(hw, common_reg_addrs[i]); in hns3_direct_access_regs() 321 *data++ = hns3_read_dev(hw, in hns3_direct_access_regs() 330 *data++ = hns3_read_dev(hw, tqp_intr_reg_addrs[i] + in hns3_direct_access_regs()
|
| H A D | hns3_stats.c | 454 stats->rpu_rx_drop_cnt += hns3_read_dev(hw, HNS3_RPU_DROP_CNT_REG); in hns3_update_function_rpu_drop_stats() 593 cnt = hns3_read_dev(rxq, HNS3_RING_RX_PKTNUM_RECORD_REG); in hns3_rcb_rx_ring_stats_get() 604 cnt = hns3_read_dev(txq, HNS3_RING_TX_PKTNUM_RECORD_REG); in hns3_rcb_tx_ring_stats_get() 740 (void)hns3_read_dev(rxq, HNS3_RING_RX_PKTNUM_RECORD_REG); in hns3_stats_reset() 757 (void)hns3_read_dev(txq, HNS3_RING_TX_PKTNUM_RECORD_REG); in hns3_stats_reset() 846 xstats[*count].value = hns3_read_dev(hw, in hns3_queue_stats_get() 857 xstats[*count].value = hns3_read_dev(hw, in hns3_queue_stats_get()
|
| H A D | hns3_cmd.c | 195 head = hns3_read_dev(hw, HNS3_CMDQ_TX_HEAD_REG); in hns3_cmd_csq_clean() 196 addr = hns3_read_dev(hw, HNS3_CMDQ_TX_ADDR_L_REG); in hns3_cmd_csq_clean() 217 uint32_t head = hns3_read_dev(hw, HNS3_CMDQ_TX_HEAD_REG); in hns3_cmd_csq_done()
|
| H A D | hns3_mbx.c | 213 uint32_t tail = hns3_read_dev(hw, HNS3_CMDQ_RX_TAIL_REG); in hns3_cmd_crq_empty() 412 tail = hns3_read_dev(hw, HNS3_CMDQ_RX_TAIL_REG); in hns3_handle_mbx_msg_out_intr()
|
| H A D | hns3_ethdev_vf.c | 622 cmdq_stat_reg = hns3_read_dev(hw, HNS3_VECTOR0_CMDQ_STAT_REG); in hns3vf_check_event_cause() 624 rst_ing_reg = hns3_read_dev(hw, HNS3_FUN_RST_ING); in hns3vf_check_event_cause() 628 val = hns3_read_dev(hw, HNS3_VF_RST_ING); in hns3vf_check_event_cause() 1828 val = hns3_read_dev(hw, HNS3_VF_RST_ING); in is_vf_reset_done() 1832 val = hns3_read_dev(hw, HNS3_FUN_RST_ING); in is_vf_reset_done()
|
| H A D | hns3_ethdev.c | 175 cmdq_src_val = hns3_read_dev(hw, HNS3_VECTOR0_CMDQ_SRC_REG); in hns3_check_event_cause() 304 vector0_int = hns3_read_dev(hw, HNS3_VECTOR0_OTHER_INT_STS_REG); in hns3_interrupt_handler() 305 ras_int = hns3_read_dev(hw, HNS3_RAS_PF_OTHER_INT_STS_REG); in hns3_interrupt_handler() 306 cmdq_int = hns3_read_dev(hw, HNS3_VECTOR0_CMDQ_SRC_REG); in hns3_interrupt_handler() 4492 val = hns3_read_dev(hw, HNS3_VECTOR0_OTER_EN_REG); in hns3_config_all_msix_error() 5593 val = hns3_read_dev(hw, reg); in is_pf_reset_done() 5682 if (hns3_read_dev(hw, HNS3_GLOBAL_RESET_REG) || in hns3_msix_process() 5683 hns3_read_dev(hw, HNS3_FUN_RST_ING)) { in hns3_msix_process() 5696 val = hns3_read_dev(hw, HNS3_GLOBAL_RESET_REG); in hns3_msix_process() 5744 reg_val = hns3_read_dev(hw, HNS3_VECTOR0_OTER_EN_REG); in hns3_record_imp_error() [all …]
|
| H A D | hns3_ethdev_dump.c | 332 state = hns3_read_dev(hw, reg_offset + HNS3_RING_EN_REG); in get_queue_enable_state() 334 state = state && hns3_read_dev(hw, reg_offset + in get_queue_enable_state()
|
| H A D | hns3_ethdev.h | 997 #define hns3_read_dev(a, reg) \ macro
|
| H A D | hns3_intr.c | 2147 status = hns3_read_dev(hw, HNS3_RAS_PF_OTHER_INT_STS_REG); in hns3_handle_ras_error() 2493 reg_val = hns3_read_dev(hw, HNS3_CMDQ_TX_DEPTH_REG); in hns3_notify_reset_ready()
|
| H A D | hns3_rxtx.c | 439 reg = hns3_read_dev(txq, HNS3_RING_TX_EN_REG); in hns3_enable_txq() 456 reg = hns3_read_dev(rxq, HNS3_RING_RX_EN_REG); in hns3_enable_rxq() 4707 fbd_num = hns3_read_dev(rxq, HNS3_RING_RX_FBDNUM_REG); in hns3_rx_queue_count()
|