Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/ext2/
H A DHTree.cpp252 uint32 shifts[4] = { 3, 7, 11, 19 }; in _HalfMD4Transform() local
256 uint32 shift = shifts[i % 4]; in _HalfMD4Transform()
263 shifts[1] = 5; in _HalfMD4Transform()
264 shifts[2] = 9; in _HalfMD4Transform()
265 shifts[3] = 13; in _HalfMD4Transform()
270 uint32 shift = shifts[i / 2]; in _HalfMD4Transform()
278 shifts[1] = 9; in _HalfMD4Transform()
279 shifts[2] = 11; in _HalfMD4Transform()
280 shifts[3] = 15; in _HalfMD4Transform()
284 uint32 shift = shifts[i * 2 % 4]; in _HalfMD4Transform()
[all …]
/haiku/src/system/libroot/posix/musl/crypt/
H A Dcrypt_des.c696 unsigned int shifts, round, i, ibit; in __des_setkey() local
726 shifts = 0; in __des_setkey()
731 shifts += key_shifts[round]; in __des_setkey()
733 t0 = (k0 << shifts) | (k0 >> (28 - shifts)); in __des_setkey()
734 t1 = (k1 << shifts) | (k1 >> (28 - shifts)); in __des_setkey()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_gpio.c430 u_int32_t regs[2], shifts[2]; in ar9300_gpio_set_intr() local
440 shifts[0] = AR_INTR_ASYNC_ENABLE_GPIO_S; in ar9300_gpio_set_intr()
441 shifts[1] = AR_INTR_ASYNC_MASK_GPIO_S; in ar9300_gpio_set_intr()
445 shifts[0] = AR_INTR_SYNC_ENABLE_GPIO_S; in ar9300_gpio_set_intr()
446 shifts[1] = AR_INTR_SYNC_MASK_GPIO_S; in ar9300_gpio_set_intr()
464 reg_bit = shifts[i] + gpio; in ar9300_gpio_set_intr()
470 field_val = (reg_val >> shifts[i]) & gpio_mask; in ar9300_gpio_set_intr()
491 reg_bit = shifts[i] + gpio; in ar9300_gpio_set_intr()
497 field_val = (reg_val >> shifts[i]) & gpio_mask; in ar9300_gpio_set_intr()
H A Dar9300_reset.c304 u_int8_t shifts[2] = { in ar9300_upload_noise_floor() local
328 nf = (OS_REG_READ(ah, regs[i]) & masks[chan]) >> shifts[chan]; in ar9300_upload_noise_floor()