Home
last modified time | relevance | path

Searched refs:wptr (Results 1 – 6 of 6) sorted by relevance

/dpdk/drivers/common/sfc_efx/base/
H A Dsiena_sram.c61 unsigned int wptr; in siena_sram_test() local
87 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test()
88 func(wptr, B_FALSE, &qword); in siena_sram_test()
89 EFX_BAR_TBL_WRITEQ(enp, FR_AZ_BUF_HALF_TBL, wptr, &qword); in siena_sram_test()
91 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test()
96 for (; rptr <= wptr; ++rptr) { in siena_sram_test()
109 for (wptr = 0, rptr = 0; wptr < rows; ++wptr) { in siena_sram_test()
110 func(wptr, B_TRUE, &qword); in siena_sram_test()
111 EFX_BAR_TBL_WRITEQ(enp, FR_AZ_BUF_HALF_TBL, wptr, &qword); in siena_sram_test()
113 if ((wptr - rptr) < 64 && wptr < rows - 1) in siena_sram_test()
[all …]
H A Def10_tx.c348 unsigned int wptr; in ef10_tx_qpush() local
354 wptr = added & etp->et_mask; in ef10_tx_qpush()
372 EFX_POPULATE_OWORD_3(oword, ERF_DZ_TX_DESC_WPTR, wptr, in ef10_tx_qpush()
378 EF10_TXQ_DESC_SIZE, wptr, id); in ef10_tx_qpush()
389 EFX_POPULATE_OWORD_1(oword, ERF_DZ_TX_DESC_WPTR, wptr); in ef10_tx_qpush()
394 EF10_TXQ_DESC_SIZE, wptr, id); in ef10_tx_qpush()
H A Def10_rx.c883 uint32_t wptr; in ef10_rx_qpush() local
887 wptr = EFX_P2ALIGN(unsigned int, added, EF10_RX_WPTR_ALIGN); in ef10_rx_qpush()
888 if (pushed == wptr) in ef10_rx_qpush()
891 *pushedp = wptr; in ef10_rx_qpush()
894 wptr &= erp->er_mask; in ef10_rx_qpush()
896 EFX_POPULATE_DWORD_1(dword, ERF_DZ_RX_DESC_WPTR, wptr); in ef10_rx_qpush()
900 EF10_RXQ_DESC_SIZE, wptr, pushed & erp->er_mask); in ef10_rx_qpush()
H A Defx_tx.c854 uint32_t wptr; in siena_tx_qpush() local
859 wptr = added & etp->et_mask; in siena_tx_qpush()
861 EFX_POPULATE_OWORD_1(oword, FRF_AZ_TX_DESC_WPTR, wptr); in siena_tx_qpush()
869 SIENA_TXQ_DESC_SIZE, wptr, pushed & etp->et_mask); in siena_tx_qpush()
H A Defx_rx.c1649 uint32_t wptr; in siena_rx_qpush() local
1657 wptr = added & erp->er_mask; in siena_rx_qpush()
1659 EFX_POPULATE_OWORD_1(oword, FRF_AZ_RX_DESC_WPTR, wptr); in siena_rx_qpush()
1667 SIENA_RXQ_DESC_SIZE, wptr, pushed & erp->er_mask); in siena_rx_qpush()
/dpdk/drivers/common/cnxk/
H A Dcnxk_security_ar.h67 uint64_t *wptr; in cnxk_on_anti_replay_check() local
81 wptr = window + (shift >> WORD_SHIFT); in cnxk_on_anti_replay_check()
82 *wptr <<= shift; in cnxk_on_anti_replay_check()
83 *wptr |= 1ull; in cnxk_on_anti_replay_check()
86 wptr = window + ((winsz - 1) >> WORD_SHIFT); in cnxk_on_anti_replay_check()
93 while (window != wptr) in cnxk_on_anti_replay_check()
101 *wptr = 1ull; in cnxk_on_anti_replay_check()
118 wptr = window + ((winsz - bit_pos - 1) >> WORD_SHIFT); in cnxk_on_anti_replay_check()
122 if (*wptr & ((1ull) << bit_pos)) in cnxk_on_anti_replay_check()
126 *wptr |= ((1ull) << bit_pos); in cnxk_on_anti_replay_check()