Searched refs:n_rem (Results 1 – 2 of 2) sorted by relevance
503 u16 n_rem = 0x0000, crc_read = prom[0], crc = (*prom & 0xF000) >> 12; in ms_sensors_tp_crc_valid() local510 n_rem ^= prom[cnt >> 1] & 0x00FF; in ms_sensors_tp_crc_valid()512 n_rem ^= prom[cnt >> 1] >> 8; in ms_sensors_tp_crc_valid()515 if (n_rem & 0x8000) in ms_sensors_tp_crc_valid()516 n_rem = (n_rem << 1) ^ 0x3000; in ms_sensors_tp_crc_valid()518 n_rem <<= 1; in ms_sensors_tp_crc_valid()521 n_rem >>= 12; in ms_sensors_tp_crc_valid()524 return n_rem == crc; in ms_sensors_tp_crc_valid()
763 int n_shift, n_rem, r_zeroes_number, version; in balance_leaf_paste_right_shift() local795 n_rem = tb->insert_size[0] - tb->rbytes; in balance_leaf_paste_right_shift()796 if (n_rem < 0) in balance_leaf_paste_right_shift()797 n_rem = 0; in balance_leaf_paste_right_shift()799 temp_rem = n_rem; in balance_leaf_paste_right_shift()805 temp_rem = n_rem << shift; in balance_leaf_paste_right_shift()816 if (n_rem > tb->zeroes_num) { in balance_leaf_paste_right_shift()818 r_body = body + n_rem - tb->zeroes_num; in balance_leaf_paste_right_shift()821 r_zeroes_number = tb->zeroes_num - n_rem; in balance_leaf_paste_right_shift()825 leaf_paste_in_buffer(&bi, 0, n_shift, tb->insert_size[0] - n_rem, in balance_leaf_paste_right_shift()[all …]