Lines Matching refs:src_buffer
852 u32 src_buffer = 0; in gpmi_copy_bits() local
873 src_buffer = src[0] >> src_bit_off; in gpmi_copy_bits()
877 src_buffer &= GENMASK(nbits - 1, 0); in gpmi_copy_bits()
890 src_buffer |= src[0] << bits_in_src_buffer; in gpmi_copy_bits()
898 dst[0] |= src_buffer << dst_bit_off; in gpmi_copy_bits()
899 src_buffer >>= (8 - dst_bit_off); in gpmi_copy_bits()
905 dst[0] = src_buffer; in gpmi_copy_bits()
907 src_buffer >>= 8; in gpmi_copy_bits()
926 src_buffer |= src[i] << bits_in_src_buffer; in gpmi_copy_bits()
927 dst[i] = src_buffer; in gpmi_copy_bits()
928 src_buffer >>= 8; in gpmi_copy_bits()
950 src_buffer |= (*src & GENMASK(nbits - 1, 0)) << in gpmi_copy_bits()
961 src_buffer = (src_buffer << dst_bit_off) | in gpmi_copy_bits()
971 src_buffer |= (dst[nbytes] & in gpmi_copy_bits()
979 dst[i] = src_buffer; in gpmi_copy_bits()
980 src_buffer >>= 8; in gpmi_copy_bits()