Searched refs:bit_pos (Results 1 – 8 of 8) sorted by relevance
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_ipsec_anti_replay.h | 30 uint64_t bit_pos; in anti_replay_check() local 75 bit_pos = base - seq; in anti_replay_check() 78 if (bit_pos >= winsz) in anti_replay_check() 83 bit_pos &= WORD_MASK; in anti_replay_check() 86 if (*wptr & ((1ull) << bit_pos)) in anti_replay_check() 90 *wptr |= ((1ull) << bit_pos); in anti_replay_check() 110 bit_pos = (seq - 1) & WORD_MASK; in anti_replay_check() 116 window[seqword] |= (1ull << (63 - bit_pos)); in anti_replay_check() 154 bit_pos = (seq - 1) & WORD_MASK; in anti_replay_check() 157 if (window[seqword] & (1ull << (63 - bit_pos))) in anti_replay_check() [all …]
|
| /f-stack/freebsd/contrib/xz-embedded/linux/lib/xz/ |
| H A D | xz_dec_bcj.c | 204 uint32_t bit_pos; in bcj_ia64() local 224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64() 228 byte_pos = bit_pos >> 3; in bcj_ia64() 229 bit_res = bit_pos & 7; in bcj_ia64()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_flow_utils.c | 535 uint64_t fr_bit_pos = 0, lv_bit_pos = 0, bit_pos = 0; in flow_shift_ent() local 601 bit_pos = fr_bit_pos; in flow_shift_ent() 611 bit_pos = lv_bit_pos; in flow_shift_ent() 631 *sl &= ~(1 << bit_pos); in flow_shift_ent()
|
| /f-stack/dpdk/drivers/net/thunderx/base/ |
| H A D | nicvf_hw.c | 348 uint32_t bit_pos, uint32_t bits, uint64_t val) in nicvf_qset_poll_reg() argument 355 bit_mask = (bit_mask << bit_pos); in nicvf_qset_poll_reg() 359 if (((reg_val & bit_mask) >> bit_pos) == val) in nicvf_qset_poll_reg()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | testpmd.h | 815 void port_reg_bit_display(portid_t port_id, uint32_t reg_off, uint8_t bit_pos); 816 void port_reg_bit_set(portid_t port_id, uint32_t reg_off, uint8_t bit_pos,
|
| H A D | config.c | 1336 reg_bit_pos_is_invalid(uint8_t bit_pos) in reg_bit_pos_is_invalid() argument 1338 if (bit_pos <= 31) in reg_bit_pos_is_invalid() 1340 printf("Invalid bit position %d (must be <= 31)\n", bit_pos); in reg_bit_pos_is_invalid() 1415 port_reg_bit_set(portid_t port_id, uint32_t reg_off, uint8_t bit_pos, in port_reg_bit_set() argument 1424 if (reg_bit_pos_is_invalid(bit_pos)) in port_reg_bit_set() 1432 reg_v &= ~(1 << bit_pos); in port_reg_bit_set() 1434 reg_v |= (1 << bit_pos); in port_reg_bit_set()
|
| H A D | cmdline.c | 7942 uint8_t bit_pos; member 7951 port_reg_bit_display(res->port_id, res->reg_off, res->bit_pos); in cmd_read_reg_bit_parsed() 7966 TOKEN_NUM_INITIALIZER(struct cmd_read_reg_bit_result, bit_pos, 8093 uint8_t bit_pos; member 8103 port_reg_bit_set(res->port_id, res->reg_off, res->bit_pos, res->value); in cmd_write_reg_bit_parsed() 8119 TOKEN_NUM_INITIALIZER(struct cmd_write_reg_bit_result, bit_pos,
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_filter.c | 202 unsigned int bit_pos, unsigned int val, int no_reply) in set_tcb_tflag() argument 204 set_tcb_field(adap, ftid, W_TCB_T_FLAGS, 1ULL << bit_pos, in set_tcb_tflag() 205 (unsigned long long)val << bit_pos, no_reply); in set_tcb_tflag()
|