Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.c502 u16 n_rem = 0x0000; in ms_sensors_tp_crc4() local
506 n_rem ^= prom[cnt >> 1] & 0x00FF; in ms_sensors_tp_crc4()
508 n_rem ^= prom[cnt >> 1] >> 8; in ms_sensors_tp_crc4()
511 if (n_rem & 0x8000) in ms_sensors_tp_crc4()
512 n_rem = (n_rem << 1) ^ 0x3000; in ms_sensors_tp_crc4()
514 n_rem <<= 1; in ms_sensors_tp_crc4()
518 return n_rem >> 12; in ms_sensors_tp_crc4()
/linux-6.1.9/fs/reiserfs/
Ddo_balan.c763 int n_shift, n_rem, r_zeroes_number, version; in balance_leaf_paste_right_shift() local
795 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 …]
/linux-6.1.9/drivers/scsi/elx/efct/
Defct_hw.c607 u32 n_rem; in efct_hw_init_prereg_io() local
627 for (n_rem = hw->config.n_io; n_rem; n_rem -= n) { in efct_hw_init_prereg_io()
631 u32 min = (sgls_per_request < n_rem) ? sgls_per_request : n_rem; in efct_hw_init_prereg_io()