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.c599 u16 sequence_nr, seq_bit, block_idx; in hsr_check_duplicate() local
616 seq_bit = hsr_seq_block_bit(sequence_nr); in hsr_check_duplicate()
617 if (__test_and_set_bit(seq_bit, block->seq_nrs[port_type])) in hsr_check_duplicate()
834 u16 seq_bit; in fill_last_seq_nrs() local
843 seq_bit = find_last_bit(block->seq_nrs[HSR_PT_SLAVE_B - 1], in fill_last_seq_nrs()
845 if (seq_bit < HSR_SEQ_BLOCK_SIZE) in fill_last_seq_nrs()
846 *if1_seq = (block->block_idx << HSR_SEQ_BLOCK_SHIFT) | seq_bit; in fill_last_seq_nrs()
848 seq_bit = find_last_bit(block->seq_nrs[HSR_PT_SLAVE_A - 1], in fill_last_seq_nrs()
850 if (seq_bit < HSR_SEQ_BLOCK_SIZE) in fill_last_seq_nrs()
851 *if2_seq = (block->block_idx << HSR_SEQ_BLOCK_SHIFT) | seq_bit; in fill_last_seq_nrs()