Home
last modified time | relevance | path

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

/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c858 size_t bits_in_src_buffer = 0; in gpmi_copy_bits() local
880 bits_in_src_buffer += 8 - src_bit_off; in gpmi_copy_bits()
883 bits_in_src_buffer += nbits; in gpmi_copy_bits()
885 nbits -= bits_in_src_buffer; in gpmi_copy_bits()
894 if (bits_in_src_buffer < (8 - dst_bit_off) && nbytes) { in gpmi_copy_bits()
895 src_buffer |= src[0] << bits_in_src_buffer; in gpmi_copy_bits()
896 bits_in_src_buffer += 8; in gpmi_copy_bits()
901 if (bits_in_src_buffer >= (8 - dst_bit_off)) { in gpmi_copy_bits()
905 bits_in_src_buffer -= (8 - dst_bit_off); in gpmi_copy_bits()
908 if (bits_in_src_buffer > 7) { in gpmi_copy_bits()
[all …]