Searched refs:if_mask (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | ddr3_training_ip_flow.h | 25 #define IS_IF_ACTIVE(if_mask, if_id) \ argument 26 ((if_mask) & (1 << (if_id))) 34 #define IS_BUS_ACTIVE(if_mask , if_id) \ argument 35 (((if_mask) >> (if_id)) & 1) 43 #define DDR3_IS_ECC_PUP3_MODE(if_mask) \ argument 44 (((if_mask) == BUS_MASK_16BIT_ECC_PUP3) ? 1 : 0) 46 #define DDR3_IS_ECC_PUP4_MODE(if_mask) \ argument 47 ((if_mask == BUS_MASK_32BIT_ECC || if_mask == BUS_MASK_16BIT_ECC) ? 1 : 0) 52 #define DDR3_IS_ECC_PUP8_MODE(if_mask) \ argument 53 ((if_mask == MV_DDR_32BIT_ECC_PUP8_BUS_MASK || if_mask == MV_DDR_64BIT_ECC_PUP8_BUS_MASK) ? 1 : 0)
|
/external/gemmlowp/fixedpoint/ |
D | fixedpoint_msa.h | 138 inline v4i32 SelectUsingMask(v4i32 if_mask, v4i32 then_val, v4i32 else_val) { 139 if_mask = reinterpret_cast<v4i32>(__builtin_msa_bsel_v(reinterpret_cast<v16u8>(if_mask), 142 return if_mask; 146 inline v8i16 SelectUsingMask(v8i16 if_mask, v8i16 then_val, v8i16 else_val) { 147 if_mask = reinterpret_cast<v8i16>(__builtin_msa_bsel_v(reinterpret_cast<v16u8>(if_mask), 150 return if_mask;
|
D | fixedpoint_sse.h | 155 inline __m128i SelectUsingMask(__m128i if_mask, __m128i then_val, 158 return _mm_or_si128(_mm_and_si128(if_mask, then_val), 159 _mm_andnot_si128(if_mask, else_val)); 163 inline int16x8_m128i SelectUsingMask(int16x8_m128i if_mask, 167 return int16x8_m128i(SelectUsingMask(if_mask.v, then_val.v, else_val.v));
|
D | fixedpoint_neon.h | 128 inline int32x4_t SelectUsingMask(int32x4_t if_mask, int32x4_t then_val, 130 return vbslq_s32(vreinterpretq_u32_s32(if_mask), then_val, else_val); 134 inline int16x8_t SelectUsingMask(int16x8_t if_mask, int16x8_t then_val, 136 return vbslq_s16(vreinterpretq_u16_s16(if_mask), then_val, else_val);
|
D | fixedpoint.h | 131 tIntegerType SelectUsingMask(tIntegerType if_mask, tIntegerType then_val, 133 return BitXor(BitAnd(if_mask, then_val), BitAnd(BitNot(if_mask), else_val)); 600 tRawType if_mask, FixedPoint<tRawType, tIntegerBits> then_val, 603 SelectUsingMask(if_mask, then_val.raw(), else_val.raw()));
|
/external/kernel-headers/original/uapi/linux/ |
D | mroute6.h | 49 typedef __u32 if_mask; typedef 50 #define NIFBITS (sizeof(if_mask) * 8) /* bits per mask */ 53 if_mask ifs_bits[__KERNEL_DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
|