Searched refs:bit_pos (Results 1 – 6 of 6) sorted by relevance
| /dpdk/drivers/common/cnxk/ |
| H A D | cnxk_security_ar.h | 65 uint64_t bit_pos; in cnxk_on_anti_replay_check() local 111 bit_pos = base - seq; in cnxk_on_anti_replay_check() 114 if (bit_pos >= winsz) in cnxk_on_anti_replay_check() 119 bit_pos &= WORD_MASK; 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() 146 bit_pos = (seq - 1) & WORD_MASK; in cnxk_on_anti_replay_check() 152 window[seqword] |= (1ull << (63 - bit_pos)); in cnxk_on_anti_replay_check() 190 bit_pos = (seq - 1) & WORD_MASK; in cnxk_on_anti_replay_check() 193 if (window[seqword] & (1ull << (63 - bit_pos))) in cnxk_on_anti_replay_check() [all …]
|
| /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()
|
| /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()
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.h | 896 void port_reg_bit_display(portid_t port_id, uint32_t reg_off, uint8_t bit_pos); 897 void port_reg_bit_set(portid_t port_id, uint32_t reg_off, uint8_t bit_pos,
|
| H A D | config.c | 1102 reg_bit_pos_is_invalid(uint8_t bit_pos) in reg_bit_pos_is_invalid() argument 1104 if (bit_pos <= 31) in reg_bit_pos_is_invalid() 1106 fprintf(stderr, "Invalid bit position %d (must be <= 31)\n", bit_pos); in reg_bit_pos_is_invalid() 1181 port_reg_bit_set(portid_t port_id, uint32_t reg_off, uint8_t bit_pos, in port_reg_bit_set() argument 1190 if (reg_bit_pos_is_invalid(bit_pos)) in port_reg_bit_set() 1199 reg_v &= ~(1 << bit_pos); in port_reg_bit_set() 1201 reg_v |= (1 << bit_pos); in port_reg_bit_set()
|
| H A D | cmdline.c | 8629 uint8_t bit_pos; member 8638 port_reg_bit_display(res->port_id, res->reg_off, res->bit_pos); in cmd_read_reg_bit_parsed() 8653 TOKEN_NUM_INITIALIZER(struct cmd_read_reg_bit_result, bit_pos, 8780 uint8_t bit_pos; member 8790 port_reg_bit_set(res->port_id, res->reg_off, res->bit_pos, res->value); in cmd_write_reg_bit_parsed() 8806 TOKEN_NUM_INITIALIZER(struct cmd_write_reg_bit_result, bit_pos,
|