Home
last modified time | relevance | path

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

/linux/net/hsr/
H A Dhsr_framereg.c556 u16 sequence_nr, seq_bit, block_idx; in hsr_check_duplicate() local
573 seq_bit = hsr_seq_block_bit(sequence_nr); in hsr_check_duplicate()
574 if (__test_and_set_bit(seq_bit, block->seq_nrs[port_type])) in hsr_check_duplicate()
787 u16 seq_bit; in fill_last_seq_nrs() local
798 seq_bit = find_last_bit(block->seq_nrs[HSR_PT_SLAVE_B - 1], in fill_last_seq_nrs()
800 *if1_seq = (block->block_idx << HSR_SEQ_BLOCK_SHIFT) | seq_bit; in fill_last_seq_nrs()
804 seq_bit = find_last_bit(block->seq_nrs[HSR_PT_SLAVE_A - 1], in fill_last_seq_nrs()
806 *if2_seq = (block->block_idx << HSR_SEQ_BLOCK_SHIFT) | seq_bit; in fill_last_seq_nrs()