| /openbmc/qemu/target/hexagon/ |
| H A D | translate.h | 84 if (!test_bit(pnum, ctx->pregs_written)) { in ctx_log_pred_write() 93 if (test_bit(pnum, ctx->pregs_written)) { in ctx_log_pred_read() 100 g_assert(test_bit(pnum, ctx->pregs_written)); in ctx_log_pred_read_new() 111 if (!test_bit(rnum, ctx->regs_written)) { in ctx_log_reg_write() 131 if (test_bit(rnum, ctx->regs_written)) { in ctx_log_reg_read() 138 g_assert(test_bit(rnum, ctx->regs_written)); in ctx_log_reg_read_new() 166 if (test_bit(rnum, ctx->insn_vregs_read)) { in ctx_log_vreg_write() 172 if (!test_bit(rnum, ctx->vregs_updated)) { in ctx_log_vreg_write() 207 if (test_bit(rnum, ctx->insn_vregs_written)) { in ctx_log_vreg_read() 211 if (test_bit(rnum, ctx->vregs_written)) { in ctx_log_vreg_read() [all …]
|
| H A D | attribs.h | 33 test_bit(attrib, opcode_attribs[opcode])
|
| /openbmc/u-boot/arch/arm/mach-imx/ |
| H A D | ddrmc-vf610-calibration.c | 71 if (test_bit(i, bmap)) { in ddr_cal_get_first_edge_index() 72 if (!test_bit(i - 1, bmap) && in ddr_cal_get_first_edge_index() 73 test_bit(i + 1, bmap) && in ddr_cal_get_first_edge_index() 74 test_bit(i + 2, bmap) && in ddr_cal_get_first_edge_index() 75 test_bit(i + 3, bmap)) { in ddr_cal_get_first_edge_index() 83 if (!test_bit(i, bmap)) { in ddr_cal_get_first_edge_index() 84 if (test_bit(i - 1, bmap) && in ddr_cal_get_first_edge_index() 85 test_bit(i - 2, bmap) && in ddr_cal_get_first_edge_index() 86 test_bit(i - 3, bmap)) { in ddr_cal_get_first_edge_index() 102 debug("%d ", test_bit(i, bmap) ? 1 : 0); in bitmap_print()
|
| /openbmc/qemu/ui/ |
| H A D | kbd-state.c | 23 if (test_bit(qcode1, kbd->keys) || test_bit(qcode2, kbd->keys)) { in qkbd_state_modifier_update() 32 return test_bit(mod, kbd->mods); in qkbd_state_modifier_get() 37 return test_bit(qcode, kbd->keys); in qkbd_state_key_get() 42 bool state = test_bit(qcode, kbd->keys); in qkbd_state_key_event() 114 if (test_bit(qcode, kbd->keys)) { in qkbd_state_lift_all_keys()
|
| /openbmc/u-boot/arch/riscv/include/asm/ |
| H A D | bitops.h | 108 static inline int test_bit(int nr, const void *addr) in test_bit() function 163 #define ext2_test_bit test_bit 171 #define minix_test_bit(nr, addr) test_bit(nr, addr)
|
| /openbmc/u-boot/arch/x86/include/asm/ |
| H A D | bitops.h | 235 static int test_bit(int nr, const volatile void * addr); 254 #define test_bit(nr,addr) \ macro 397 #define ext2_test_bit test_bit 405 #define minix_test_bit(nr,addr) test_bit(nr,addr)
|
| /openbmc/u-boot/arch/sandbox/include/asm/ |
| H A D | bitops.h | 113 static inline int test_bit(int nr, const void *addr) in test_bit() function 156 #define ext2_test_bit test_bit 164 #define minix_test_bit(nr, addr) test_bit(nr, addr)
|
| /openbmc/u-boot/arch/nds32/include/asm/ |
| H A D | bitops.h | 126 static inline int test_bit(int nr, const void *addr) in test_bit() function 181 #define ext2_test_bit test_bit 189 #define minix_test_bit(nr, addr) test_bit(nr, addr)
|
| /openbmc/u-boot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 55 if (test_bit(pnum, ubi->corrupt)) in ubi_io_read_vid_hdr() 139 pnum, vol_id, lnum, !!test_bit(lnum, vi->found), in ubi_add_peb_to_vol() 140 !!test_bit(pnum, ubi->scanned)); in ubi_add_peb_to_vol() 156 if (!test_bit(cur_pnum, ubi->scanned)) { in ubi_add_peb_to_vol() 170 if (test_bit(cur_pnum, ubi->corrupt)) { in ubi_add_peb_to_vol() 218 if (!test_bit(vol_id, ubi->toload)) in ubi_scan_vid_hdr() 239 if (!test_bit(vol_id, ubi->toload)) in assign_aeb_to_av() 729 if (!test_bit(lnum, vi->found)) { in ubi_load_block() 743 if (test_bit(pnum, ubi->corrupt)) in ubi_load_block() 751 if (!test_bit(pnum, ubi->scanned)) { in ubi_load_block() [all …]
|
| /openbmc/u-boot/arch/arm/include/asm/ |
| H A D | bitops.h | 103 static inline int test_bit(int nr, const void * addr) in test_bit() function 166 #define ext2_test_bit test_bit 174 #define minix_test_bit(nr,addr) test_bit(nr,addr)
|
| /openbmc/u-boot/fs/ubifs/ |
| H A D | misc.h | 26 return !!test_bit(DIRTY_ZNODE, &znode->flags); in ubifs_zn_dirty() 37 return !!test_bit(OBSOLETE_ZNODE, &znode->flags); in ubifs_zn_obsolete() 49 return !!test_bit(COW_ZNODE, &znode->flags); in ubifs_zn_cow()
|
| /openbmc/u-boot/drivers/gpio/ |
| H A D | kw_gpio.c | 65 if ((mode & GPIO_INPUT_OK) && !test_bit(pin, gpio_valid_input)) in kw_gpio_is_valid() 68 if ((mode & GPIO_OUTPUT_OK) && !test_bit(pin, gpio_valid_output)) in kw_gpio_is_valid()
|
| /openbmc/qemu/target/s390x/kvm/ |
| H A D | kvm.c | 2148 if (test_bit(S390_FEAT_TOD_CLOCK_STEERING, features)) { in query_cpu_subfunc() 2151 if (test_bit(S390_FEAT_MSA, features)) { in query_cpu_subfunc() 2158 if (test_bit(S390_FEAT_MSA_EXT_3, features)) { in query_cpu_subfunc() 2161 if (test_bit(S390_FEAT_MSA_EXT_4, features)) { in query_cpu_subfunc() 2167 if (test_bit(S390_FEAT_MSA_EXT_5, features)) { in query_cpu_subfunc() 2170 if (test_bit(S390_FEAT_MSA_EXT_8, features)) { in query_cpu_subfunc() 2173 if (test_bit(S390_FEAT_MSA_EXT_9, features)) { in query_cpu_subfunc() 2176 if (test_bit(S390_FEAT_ESORT_BASE, features)) { in query_cpu_subfunc() 2179 if (test_bit(S390_FEAT_DEFLATE_BASE, features)) { in query_cpu_subfunc() 2182 if (test_bit(S390_FEAT_CCF_BAS in query_cpu_subfunc() [all...] |
| /openbmc/qemu/tests/tcg/loongarch64/ |
| H A D | Makefile.target | 13 LOONGARCH64_TESTS = test_bit
|
| /openbmc/u-boot/arch/xtensa/include/asm/ |
| H A D | bitops.h | 16 static inline int test_bit(int nr, const void *addr) in test_bit() function
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-bitmap.c | 48 g_assert(test_bit(205, bmap2) == 0); in check_bitmap_copy_with_offset() 54 g_assert(test_bit(280, bmap3) == 0); in check_bitmap_copy_with_offset()
|
| /openbmc/qemu/include/hw/i386/ |
| H A D | topology.h | 202 return test_bit(CPU_TOPOLOGY_LEVEL_MODULE, topo_bitmap) || in x86_has_extended_topo() 203 test_bit(CPU_TOPOLOGY_LEVEL_DIE, topo_bitmap); in x86_has_extended_topo()
|
| /openbmc/u-boot/arch/m68k/include/asm/ |
| H A D | bitops.h | 23 static inline int test_bit(int nr, __const__ volatile void *addr) in test_bit() function
|
| /openbmc/u-boot/board/gateworks/gw_ventana/ |
| H A D | eeprom.c | 181 test_bit(cfg->bit, econfig_bytes) ? 1 : 0); in do_econfig() 223 test_bit(cfg->bit, econfig_bytes) ? 1 : 0); in do_econfig()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | npcm7xx_rng-test.c | 137 vn_obs += (test_bit(k, buf) ^ test_bit(k + 1, buf)); in calc_runs_p()
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_ovec.c | 126 return test_bit(bitnr, ov->bitmap) ? true : false; in spapr_ovec_test() 154 if (test_bit(bitmap_offset + i, bitmap)) { in guest_byte_from_bitmap()
|
| /openbmc/u-boot/arch/nios2/include/asm/bitops/ |
| H A D | non-atomic.h | 107 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit() function
|
| /openbmc/u-boot/arch/mips/include/asm/ |
| H A D | bitops.h | 570 static __inline__ int test_bit(int nr, const volatile void *addr) in test_bit() function 885 #define ext2_test_bit(nr, addr) test_bit((nr), (addr)) 900 #define minix_test_bit(nr,addr) test_bit(nr,addr)
|
| /openbmc/u-boot/arch/microblaze/include/asm/ |
| H A D | bitops.h | 207 #define test_bit(nr,addr) \ macro 359 #define minix_test_bit(nr,addr) test_bit(nr,addr)
|
| /openbmc/qemu/target/s390x/ |
| H A D | cpu_models.c | 273 return test_bit(feat, cpu->model->features); in s390_has_feat() 560 if (test_bit(dep[i][0], model->features) && in check_consistency() 561 !test_bit(dep[i][1], model->features)) { in check_consistency() 599 if (only_migratable && test_bit(S390_FEAT_UNPACK, model->features)) { in check_compatibility() 703 value = test_bit(feat, cpu->model->features); in get_feature() 729 if (!test_bit(feat, cpu->model->def->full_feat)) { in set_feature()
|