/external/u-boot/drivers/phy/marvell/ |
D | comphy_cp110.c | 71 u32 mask, unsigned long usec_timout) in polling_with_timeout() argument 77 data = readl(addr) & mask; in polling_with_timeout() 90 u32 mask, data, ret = 1; in comphy_pcie_power_up() local 137 mask = COMMON_PHY_CFG1_PWR_UP_MASK; in comphy_pcie_power_up() 139 mask |= COMMON_PHY_CFG1_PIPE_SELECT_MASK; in comphy_pcie_power_up() 141 mask |= COMMON_PHY_CFG1_PWR_ON_RESET_MASK; in comphy_pcie_power_up() 143 mask |= COMMON_PHY_CFG1_CORE_RSTN_MASK; in comphy_pcie_power_up() 145 mask |= COMMON_PHY_PHY_MODE_MASK; in comphy_pcie_power_up() 147 reg_set(comphy_addr + COMMON_PHY_CFG1_REG, data, mask); in comphy_pcie_power_up() 150 mask = COMMON_PHY_CFG1_PWR_ON_RESET_MASK; in comphy_pcie_power_up() [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | field_mask_util_test.cc | 121 FieldMask mask; in TEST() local 122 EXPECT_EQ("", FieldMaskUtil::ToString(mask)); in TEST() 123 mask.add_paths("foo_bar"); in TEST() 124 EXPECT_EQ("foo_bar", FieldMaskUtil::ToString(mask)); in TEST() 125 mask.add_paths("baz_quz"); in TEST() 126 EXPECT_EQ("foo_bar,baz_quz", FieldMaskUtil::ToString(mask)); in TEST() 128 FieldMaskUtil::FromString("", &mask); in TEST() 129 EXPECT_EQ(0, mask.paths_size()); in TEST() 130 FieldMaskUtil::FromString("fooBar", &mask); in TEST() 131 EXPECT_EQ(1, mask.paths_size()); in TEST() [all …]
|
/external/u-boot/drivers/gpio/ |
D | at91_gpio.c | 48 u32 mask; in at91_set_port_pullup() local 50 mask = 1 << offset; in at91_set_port_pullup() 52 writel(mask, &at91_port->puer); in at91_set_port_pullup() 54 writel(mask, &at91_port->pudr); in at91_set_port_pullup() 55 writel(mask, &at91_port->per); in at91_set_port_pullup() 74 u32 mask; in at91_set_pio_periph() local 77 mask = 1 << pin; in at91_set_pio_periph() 78 writel(mask, &at91_port->idr); in at91_set_pio_periph() 80 writel(mask, &at91_port->per); in at91_set_pio_periph() 92 u32 mask; in at91_set_a_periph() local [all …]
|
D | lpc32xx_gpio.c | 69 int port, mask; in lpc32xx_gpio_direction_input() local 74 mask = GPIO_TO_MASK(offset); in lpc32xx_gpio_direction_input() 78 writel(mask, ®s->p0_dir_clr); in lpc32xx_gpio_direction_input() 81 writel(mask, ®s->p1_dir_clr); in lpc32xx_gpio_direction_input() 85 writel(mask, ®s->p2_p3_dir_clr); in lpc32xx_gpio_direction_input() 89 if ((mask >= 25) && (mask <= 30)) in lpc32xx_gpio_direction_input() 90 writel(mask, ®s->p2_p3_dir_clr); in lpc32xx_gpio_direction_input() 111 int port, rank, mask, value; in lpc32xx_gpio_get_value() local 140 mask = GPIO_TO_MASK(offset); in lpc32xx_gpio_get_value() 142 return (value & mask) >> rank; in lpc32xx_gpio_get_value() [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_clip_tmp.h | 65 GLuint mask; in TAG() local 66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG() 67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG() 68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG() 69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG() 71 mask |= (((cw < cz) << CLIP_FAR_SHIFT)); in TAG() 72 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT)); in TAG() 75 GLubyte mask = 0; in TAG() local 76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG() 77 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG() [all …]
|
/external/u-boot/arch/microblaze/include/asm/ |
D | bitops.h | 39 int mask; in set_bit() local 43 mask = 1 << (nr & 0x1f); in set_bit() 45 *a |= mask; in set_bit() 52 int mask; in __set_bit() local 55 mask = 1 << (nr & 0x1f); in __set_bit() 56 *a |= mask; in __set_bit() 69 int mask; in clear_bit() local 73 mask = 1 << (nr & 0x1f); in clear_bit() 75 *a &= ~mask; in clear_bit() 84 int mask; in change_bit() local [all …]
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_affinity.c | 43 #define sched_setaffinity(pid, cpusetsize, mask) syscall(__NR_sched_setaffinity, pid, cpusetsize, m… argument 44 #define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsize, m… argument 51 unsigned int mask; in HT_SetAffinity() local 66 for (i = 0, mask = 0x1; i < cpu_count; i++, mask = mask << 1) { in HT_SetAffinity() 68 printf("mask: %x\n", mask); in HT_SetAffinity() 70 sched_setaffinity(pid, sizeof(unsigned long), &mask); in HT_SetAffinity() 94 for (i = 0, mask = 0x3; i < cpu_count - 1; i++, mask = mask << 1) { in HT_SetAffinity() 96 printf("mask: %x\n", mask); in HT_SetAffinity() 98 sched_setaffinity(pid, sizeof(unsigned long), &mask); in HT_SetAffinity() 150 unsigned int mask[2], mask1[2]; in HT_GetAffinity() local [all …]
|
/external/u-boot/drivers/pinctrl/ |
D | pinctrl-at91.c | 82 void (*mux_A_periph)(struct at91_port *pio, u32 mask); 83 void (*mux_B_periph)(struct at91_port *pio, u32 mask); 84 void (*mux_C_periph)(struct at91_port *pio, u32 mask); 85 void (*mux_D_periph)(struct at91_port *pio, u32 mask); 86 void (*set_deglitch)(struct at91_port *pio, u32 mask, bool is_on); 87 void (*set_debounce)(struct at91_port *pio, u32 mask, bool is_on, 89 void (*set_pulldown)(struct at91_port *pio, u32 mask, bool is_on); 90 void (*disable_schmitt_trig)(struct at91_port *pio, u32 mask); 103 static void at91_mux_disable_interrupt(struct at91_port *pio, u32 mask) in at91_mux_disable_interrupt() argument 105 writel(mask, &pio->idr); in at91_mux_disable_interrupt() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | vector-shuffle-masked.ll | 4 define <4 x i32> @mask_shuffle_v4i32_1234(<4 x i32> %a, <4 x i32> %b, <4 x i32> %passthru, i8 %mask… 12 %mask.cast = bitcast i8 %mask to <8 x i1> 13 …%mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> undef, <4 x i32> <i32 0, i32 1, i32 2,… 14 %res = select <4 x i1> %mask.extract, <4 x i32> %shuffle, <4 x i32> %passthru 18 define <4 x i32> @maskz_shuffle_v4i32_1234(<4 x i32> %a, <4 x i32> %b, i8 %mask) { 25 %mask.cast = bitcast i8 %mask to <8 x i1> 26 …%mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> undef, <4 x i32> <i32 0, i32 1, i32 2,… 27 %res = select <4 x i1> %mask.extract, <4 x i32> %shuffle, <4 x i32> zeroinitializer 31 define <4 x i32> @mask_shuffle_v4i32_2345(<4 x i32> %a, <4 x i32> %b, <4 x i32> %passthru, i8 %mask… 39 %mask.cast = bitcast i8 %mask to <8 x i1> [all …]
|
/external/u-boot/arch/mips/include/asm/ |
D | bitops.h | 201 int mask, retval; in __test_and_set_bit() local 205 mask = 1 << (nr & 0x1f); in __test_and_set_bit() 206 retval = (mask & *a) != 0; in __test_and_set_bit() 207 *a |= mask; in __test_and_set_bit() 253 int mask, retval; in __test_and_clear_bit() local 257 mask = 1 << (nr & 0x1f); in __test_and_clear_bit() 258 retval = (mask & *a) != 0; in __test_and_clear_bit() 259 *a &= ~mask; in __test_and_clear_bit() 304 int mask, retval; in __test_and_change_bit() local 308 mask = 1 << (nr & 0x1f); in __test_and_change_bit() [all …]
|
/external/mesa3d/src/compiler/glsl/ |
D | opt_swizzle.cpp | 72 if (swiz2->mask.num_components >= 1) in handle_rvalue() 73 mask2[0] = swiz2->mask.x; in handle_rvalue() 74 if (swiz2->mask.num_components >= 2) in handle_rvalue() 75 mask2[1] = swiz2->mask.y; in handle_rvalue() 76 if (swiz2->mask.num_components >= 3) in handle_rvalue() 77 mask2[2] = swiz2->mask.z; in handle_rvalue() 78 if (swiz2->mask.num_components >= 4) in handle_rvalue() 79 mask2[3] = swiz2->mask.w; in handle_rvalue() 81 if (swiz->mask.num_components >= 1) in handle_rvalue() 82 swiz->mask.x = mask2[swiz->mask.x]; in handle_rvalue() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_bitmap.c | 83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7); in _swrast_Bitmap() local 85 if (*src & mask) { in _swrast_Bitmap() 90 if (mask == 128U) { in _swrast_Bitmap() 92 mask = 1U; in _swrast_Bitmap() 95 mask = mask << 1; in _swrast_Bitmap() 100 if (mask != 1) in _swrast_Bitmap() 105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7); in _swrast_Bitmap() local 107 if (*src & mask) { in _swrast_Bitmap() 112 if (mask == 1U) { in _swrast_Bitmap() 114 mask = 128U; in _swrast_Bitmap() [all …]
|
/external/openssh/openbsd-compat/ |
D | sigact.c | 56 sigemptyset (sigset_t *mask) in sigemptyset() argument 58 if (!mask) { in sigemptyset() 62 *mask = 0; in sigemptyset() 67 sigprocmask (int mode, sigset_t *mask, sigset_t *omask) in sigprocmask() argument 71 if (!mask) { in sigprocmask() 80 current |= *mask; in sigprocmask() 82 current &= ~*mask; in sigprocmask() 84 current = *mask; in sigprocmask() 91 sigsuspend (sigset_t *mask) in sigsuspend() argument 93 if (!mask) { in sigsuspend() [all …]
|
/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | cpinit.c | 163 Ipp64u mask; in cpGetFeatures() local 176 mask = 0; in cpGetFeatures() 177 if( edx_ & BIT23 ) mask |= ippCPUID_MMX; // edx[23] - MMX(TM) Technology in cpGetFeatures() 178 …if( edx_ & BIT25 ) mask |= ippCPUID_SSE; // edx[25] - Intel(R) Streaming SIMD Extensions … in cpGetFeatures() 179 …if( edx_ & BIT26 ) mask |= ippCPUID_SSE2; // edx[26] - Intel(R) Streaming SIMD Extensions … in cpGetFeatures() 180 …if( ecx_ & BIT00 ) mask |= ippCPUID_SSE3; // ecx[0] - Intel(R) Streaming SIMD Extensions … in cpGetFeatures() 181 …if( ecx_ & BIT09 ) mask |= ippCPUID_SSSE3; // ecx[9] - Supplemental Streaming SIMD Extensi… in cpGetFeatures() 182 …if( ecx_ & BIT22 ) mask |= ippCPUID_MOVBE; // ecx[22] - Intel(R) instruction MOVBE (Intel A… in cpGetFeatures() 183 …if( ecx_ & BIT19 ) mask |= ippCPUID_SSE41; // ecx[19] - Intel(R) Streaming SIMD Extensions … in cpGetFeatures() 184 …if( ecx_ & BIT20 ) mask |= ippCPUID_SSE42; // ecx[20] - Intel(R) Streaming SIMD Extensions … in cpGetFeatures() [all …]
|
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskUtilTest.java | 82 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); in testToString() local 83 assertEquals("foo", FieldMaskUtil.toString(mask)); in testToString() 84 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); in testToString() 85 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString() 88 mask = FieldMask.newBuilder().addPaths("").addPaths("foo").addPaths(""). in testToString() 90 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString() 94 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString() local 95 assertEquals(0, mask.getPathsCount()); in testFromString() 96 mask = FieldMaskUtil.fromString("foo"); in testFromString() 97 assertEquals(1, mask.getPathsCount()); in testFromString() [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 153 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() local 159 rnd->d[words - 1] &= mask; in BN_rand() 200 crypto_word_t mask = 0; in bn_less_than_word_mask() local 202 mask |= a[i]; in bn_less_than_word_mask() 205 mask = constant_time_is_zero_w(mask); in bn_less_than_word_mask() 206 mask &= constant_time_lt_w(a[0], b); in bn_less_than_word_mask() 207 return mask; in bn_less_than_word_mask() 212 crypto_word_t mask = ~bn_less_than_word_mask(a, len, min_inclusive); in bn_in_range_words() local 213 return mask & bn_less_than_words(a, max_exclusive, len); in bn_in_range_words() 229 BN_ULONG mask = max_exclusive[words - 1]; in bn_range_to_mask() local [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | bitops.c | 36 int mask, retval; in ext2fs_set_bit() local 40 mask = 1 << (nr & 0x07); in ext2fs_set_bit() 41 retval = mask & *ADDR; in ext2fs_set_bit() 42 *ADDR |= mask; in ext2fs_set_bit() 48 int mask, retval; in ext2fs_clear_bit() local 52 mask = 1 << (nr & 0x07); in ext2fs_clear_bit() 53 retval = mask & *ADDR; in ext2fs_clear_bit() 54 *ADDR &= ~mask; in ext2fs_clear_bit() 60 int mask; in ext2fs_test_bit() local 64 mask = 1 << (nr & 0x07); in ext2fs_test_bit() [all …]
|
/external/u-boot/arch/sh/include/asm/ |
D | bitops.h | 16 int mask; in set_bit() local 21 mask = 1 << (nr & 0x1f); in set_bit() 23 *a |= mask; in set_bit() 34 int mask; in clear_bit() local 39 mask = 1 << (nr & 0x1f); in clear_bit() 41 *a &= ~mask; in clear_bit() 47 int mask; in change_bit() local 52 mask = 1 << (nr & 0x1f); in change_bit() 54 *a ^= mask; in change_bit() 60 int mask, retval; in test_and_set_bit() local [all …]
|
/external/u-boot/arch/riscv/include/asm/ |
D | bitops.h | 38 int mask; in __set_bit() local 41 mask = 1 << (nr & 0x1f); in __set_bit() 42 *a |= mask; in __set_bit() 50 int mask; in __clear_bit() local 53 mask = 1 << (nr & 0x1f); in __clear_bit() 54 *a &= ~mask; in __clear_bit() 61 int mask; in __change_bit() local 65 mask = 1 << (nr & 31); in __change_bit() 66 *ADDR ^= mask; in __change_bit() 71 int mask, retval; in __test_and_set_bit() local [all …]
|
/external/ltp/lib/ |
D | tst_taint.c | 20 static int tst_taint_check_kver(unsigned int mask) in tst_taint_check_kver() argument 26 if (mask & TST_TAINT_X) { in tst_taint_check_kver() 29 } else if (mask & TST_TAINT_K) { in tst_taint_check_kver() 32 } else if (mask & TST_TAINT_L) { in tst_taint_check_kver() 35 } else if (mask & TST_TAINT_E) { in tst_taint_check_kver() 38 } else if (mask & TST_TAINT_O) { in tst_taint_check_kver() 41 } else if (mask & TST_TAINT_I) { in tst_taint_check_kver() 45 } else if (mask & TST_TAINT_C) { in tst_taint_check_kver() 49 } else if (mask & TST_TAINT_W) { in tst_taint_check_kver() 53 } else if (mask & TST_TAINT_A) { in tst_taint_check_kver() [all …]
|
/external/strace/tests-mx32/ |
D | sigaction.c | 45 unsigned long mask[1]; member 48 unsigned long mask[1]; 52 unsigned long mask[1]; 69 unsigned long mask[4]; member 111 } mask; in main() local 148 sigemptyset(mask.libc); in main() 149 sigaddset(mask.libc, SIGHUP); in main() 150 sigaddset(mask.libc, SIGINT); in main() 153 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main() 161 sigemptyset(mask.libc); in main() [all …]
|
/external/strace/tests/ |
D | sigaction.c | 45 unsigned long mask[1]; member 48 unsigned long mask[1]; 52 unsigned long mask[1]; 69 unsigned long mask[4]; member 111 } mask; in main() local 148 sigemptyset(mask.libc); in main() 149 sigaddset(mask.libc, SIGHUP); in main() 150 sigaddset(mask.libc, SIGINT); in main() 153 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main() 161 sigemptyset(mask.libc); in main() [all …]
|
/external/strace/tests-m32/ |
D | sigaction.c | 45 unsigned long mask[1]; member 48 unsigned long mask[1]; 52 unsigned long mask[1]; 69 unsigned long mask[4]; member 111 } mask; in main() local 148 sigemptyset(mask.libc); in main() 149 sigaddset(mask.libc, SIGHUP); in main() 150 sigaddset(mask.libc, SIGINT); in main() 153 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main() 161 sigemptyset(mask.libc); in main() [all …]
|
/external/kernel-headers/original/uapi/linux/iio/ |
D | events.h | 29 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) argument 31 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) argument 33 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) argument 37 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16)(mask & 0xFFFF)) argument 38 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((__s16)(((mask) >> 16) & 0xFFFF)) argument 40 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) argument 41 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) argument
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_blit.h | 133 const unsigned mask = info->mask; in nv50_blit_derive_color_mask() local 141 if (mask & PIPE_MASK_S) in nv50_blit_derive_color_mask() 143 if (mask & PIPE_MASK_Z) in nv50_blit_derive_color_mask() 149 if (mask & PIPE_MASK_S) in nv50_blit_derive_color_mask() 151 if (mask & PIPE_MASK_Z) in nv50_blit_derive_color_mask() 155 if (mask & (PIPE_MASK_R | PIPE_MASK_Z)) color_mask |= 0x0001; in nv50_blit_derive_color_mask() 156 if (mask & (PIPE_MASK_G | PIPE_MASK_S)) color_mask |= 0x0010; in nv50_blit_derive_color_mask() 157 if (mask & PIPE_MASK_B) color_mask |= 0x0100; in nv50_blit_derive_color_mask() 158 if (mask & PIPE_MASK_A) color_mask |= 0x1000; in nv50_blit_derive_color_mask() 168 uint32_t mask = 0; in nv50_blit_eng2d_get_mask() local [all …]
|