Searched refs:byte_shift (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/mmc/ |
D | bcm2835_sdhci.c | 122 u32 byte_shift = byte_num * 8; in bcm2835_sdhci_writeb() local 123 u32 mask = 0xff << byte_shift; in bcm2835_sdhci_writeb() 124 u32 newval = (oldval & ~mask) | (val << byte_shift); in bcm2835_sdhci_writeb() 150 u32 byte_shift = byte_num * 8; in bcm2835_sdhci_readb() local 151 u32 byte = (val >> byte_shift) & 0xff; in bcm2835_sdhci_readb()
|
/external/libvpx/libvpx/test/ |
D | variance_test.cc | 354 int byte_shift() const { return params_.bit_depth - 8; } in byte_shift() function in __anon9f3513840111::MainTestClass 371 for (int k = 0; k < block_size(); ++k) src16[k] = i << byte_shift(); in ZeroTest() 378 for (int k = 0; k < block_size(); ++k) ref16[k] = j << byte_shift(); in ZeroTest() 454 vpx_memset16(CONVERT_TO_SHORTPTR(src_), 255 << byte_shift(), block_size()); in OneQuarterTest() 455 vpx_memset16(CONVERT_TO_SHORTPTR(ref_), 255 << byte_shift(), half); in OneQuarterTest() 475 vpx_memset16(CONVERT_TO_SHORTPTR(src_), 255 << byte_shift(), block_size()); in SpeedTest() 476 vpx_memset16(CONVERT_TO_SHORTPTR(ref_), 255 << byte_shift(), half); in SpeedTest() 608 int byte_shift() const { return params_.bit_depth - 8; } in byte_shift() function in __anon9f3513840111::SubpelVarianceTest
|
/external/libaom/libaom/test/ |
D | variance_test.cc | 470 int byte_shift() const { return params_.bit_depth - 8; } in byte_shift() function in __anon60dcd6220111::MainTestClass 487 for (int k = 0; k < block_size(); ++k) src16[k] = i << byte_shift(); in ZeroTest() 494 for (int k = 0; k < block_size(); ++k) ref16[k] = j << byte_shift(); in ZeroTest() 565 aom_memset16(CONVERT_TO_SHORTPTR(src_), 255 << byte_shift(), block_size()); in OneQuarterTest() 566 aom_memset16(CONVERT_TO_SHORTPTR(ref_), 255 << byte_shift(), half); in OneQuarterTest() 717 int byte_shift() const { return params_.bit_depth - 8; } in byte_shift() function in __anon60dcd6220111::SubpelVarianceTest 953 int byte_shift() const { return params_.bit_depth - 8; } in byte_shift() function in __anon60dcd6220111::ObmcVarianceTest
|
/external/v8/src/mips64/ |
D | simulator-mips64.cc | 6918 uint8_t byte_shift = kInt32AlignmentMask - al_offset; in DecodeTypeImmediate() local 6919 uint32_t mask = (1 << byte_shift * 8) - 1; in DecodeTypeImmediate() 6922 val <<= byte_shift * 8; in DecodeTypeImmediate() 6945 uint8_t byte_shift = kInt32AlignmentMask - al_offset; in DecodeTypeImmediate() local 6946 uint32_t mask = al_offset ? (~0 << (byte_shift + 1) * 8) : 0; in DecodeTypeImmediate() 6957 uint8_t byte_shift = kInt64AlignmentMask - al_offset; in DecodeTypeImmediate() local 6958 uint64_t mask = (1UL << byte_shift * 8) - 1; in DecodeTypeImmediate() 6961 alu_out <<= byte_shift * 8; in DecodeTypeImmediate() 6969 uint8_t byte_shift = kInt64AlignmentMask - al_offset; in DecodeTypeImmediate() local 6970 uint64_t mask = al_offset ? (~0UL << (byte_shift + 1) * 8) : 0UL; in DecodeTypeImmediate() [all …]
|
/external/v8/src/mips/ |
D | simulator-mips.cc | 6670 uint8_t byte_shift = kPointerAlignmentMask - al_offset; in DecodeTypeImmediate() local 6671 uint32_t mask = (1 << byte_shift * 8) - 1; in DecodeTypeImmediate() 6674 alu_out <<= byte_shift * 8; in DecodeTypeImmediate() 6691 uint8_t byte_shift = kPointerAlignmentMask - al_offset; in DecodeTypeImmediate() local 6692 uint32_t mask = al_offset ? (~0 << (byte_shift + 1) * 8) : 0; in DecodeTypeImmediate() 6708 uint8_t byte_shift = kPointerAlignmentMask - al_offset; in DecodeTypeImmediate() local 6709 uint32_t mask = byte_shift ? (~0 << (al_offset + 1) * 8) : 0; in DecodeTypeImmediate() 6713 mem_value |= static_cast<uint32_t>(rt) >> byte_shift * 8; in DecodeTypeImmediate()
|