| /netbsd/src/sys/external/bsd/drm2/dist/drm/ |
| D | drm_modes.c | 961 static bool drm_mode_match_timings(const struct drm_display_mode *mode1, in drm_mode_match_timings() argument 964 return mode1->hdisplay == mode2->hdisplay && in drm_mode_match_timings() 965 mode1->hsync_start == mode2->hsync_start && in drm_mode_match_timings() 966 mode1->hsync_end == mode2->hsync_end && in drm_mode_match_timings() 967 mode1->htotal == mode2->htotal && in drm_mode_match_timings() 968 mode1->hskew == mode2->hskew && in drm_mode_match_timings() 969 mode1->vdisplay == mode2->vdisplay && in drm_mode_match_timings() 970 mode1->vsync_start == mode2->vsync_start && in drm_mode_match_timings() 971 mode1->vsync_end == mode2->vsync_end && in drm_mode_match_timings() 972 mode1->vtotal == mode2->vtotal && in drm_mode_match_timings() [all …]
|
| /netbsd/src/sys/dev/i2c/ |
| D | pca9685.c | 389 uint8_t mode1; in pcapwm_pwm_set_config() local 390 error = pcapwm_read1(sc, PCA9685_MODE1, &mode1); in pcapwm_pwm_set_config() 398 mode1 |= MODE1_SLEEP; in pcapwm_pwm_set_config() 399 error = pcapwm_write1(sc, PCA9685_MODE1, mode1); in pcapwm_pwm_set_config() 427 mode1 |= MODE1_EXTCLK; in pcapwm_pwm_set_config() 429 mode1 &= ~MODE1_SLEEP; in pcapwm_pwm_set_config() 435 mode1 |= MODE1_AI; in pcapwm_pwm_set_config() 437 error = pcapwm_write1(sc, PCA9685_MODE1, mode1); in pcapwm_pwm_set_config()
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| D | evthread-internal.h | 316 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 317 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 352 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument 357 EVLOCK_LOCK(lock1_tmplock_,mode1); \ 362 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument 369 EVLOCK_UNLOCK(lock1_tmplock_,mode1); \
|
| /netbsd/src/external/bsd/libevent/dist/ |
| D | evthread-internal.h | 316 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 317 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument 352 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument 357 EVLOCK_LOCK(lock1_tmplock_,mode1); \ 362 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument 369 EVLOCK_UNLOCK(lock1_tmplock_,mode1); \
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | optabs-libfuncs.cc | 55 return ((e->mode1 + e->mode2 * NUM_MACHINE_MODES) ^ e->op); in hash() 63 return e1->op == e2->op && e1->mode1 == e2->mode1 && e1->mode2 == e2->mode2; in equal() 70 convert_optab_libfunc (convert_optab optab, machine_mode mode1, in convert_optab_libfunc() argument 83 e.mode1 = mode1; in convert_optab_libfunc() 94 d->libcall_gen (optab, d->libcall_basename, mode1, mode2); in convert_optab_libfunc() 118 e.mode1 = mode; in optab_libfunc() 810 e.mode1 = mode; in set_optab_libfunc() 821 (*slot)->mode1 = mode; in set_optab_libfunc() 839 e.mode1 = tmode; in set_conv_libfunc() 850 (*slot)->mode1 = tmode; in set_conv_libfunc()
|
| D | expr.cc | 5025 machine_mode mode1, rtx str_rtx, in optimize_bitfield_assignment_op() argument 5038 if (mode1 != VOIDmode in optimize_bitfield_assignment_op() 5404 machine_mode mode1; in expand_assignment() local 5413 tem = get_inner_reference (to, &bitsize, &bitpos, &offset, &mode1, in expand_assignment() 5447 if (mode1 != VOIDmode) in expand_assignment() 5448 to_rtx = adjust_address (to_rtx, mode1, 0); in expand_assignment() 5496 if (mode1 != VOIDmode in expand_assignment() 5501 && multiple_p (bitsize, GET_MODE_ALIGNMENT (mode1)) in expand_assignment() 5502 && MEM_ALIGN (to_rtx) >= GET_MODE_ALIGNMENT (mode1)) in expand_assignment() 5504 to_rtx = adjust_address (to_rtx, mode1, bytepos); in expand_assignment() [all …]
|
| D | libfuncs.h | 42 int op, mode1, mode2; member
|
| D | expmed.cc | 1639 machine_mode mode1; in extract_bit_field_1() local 1823 || !mode_for_size (bitsize, GET_MODE_CLASS (tmode), 0).exists (&mode1)) in extract_bit_field_1() 1824 mode1 = mode; in extract_bit_field_1() 1825 gcc_assert (mode1 != BLKmode); in extract_bit_field_1() 1832 rtx sub = extract_bit_field_as_subreg (mode1, op0, imode, in extract_bit_field_1() 1841 if (simple_mem_bitfield_p (op0, bitsize, bitnum, mode1, &bytenum)) in extract_bit_field_1() 1843 op0 = adjust_bitfield_address (op0, mode1, bytenum); in extract_bit_field_1() 1845 op0 = flip_storage_order (mode1, op0); in extract_bit_field_1() 2101 machine_mode mode1; in extract_bit_field() local 2105 mode1 = GET_MODE (str_rtx); in extract_bit_field() [all …]
|
| /netbsd/src/sys/external/bsd/drm2/dist/include/drm/ |
| D | drm_modes.h | 517 bool drm_mode_match(const struct drm_display_mode *mode1, 520 bool drm_mode_equal(const struct drm_display_mode *mode1, 522 bool drm_mode_equal_no_clocks(const struct drm_display_mode *mode1, 524 bool drm_mode_equal_no_clocks_no_stereo(const struct drm_display_mode *mode1,
|
| /netbsd/src/sys/arch/x86/pci/ |
| D | pci_machdep.c | 198 {.mode1 = PCI_MODE1_ENABLE | ((b) << 16) | ((d) << 11) | ((f) << 8)} 398 return tag.mode1 | reg; in pci_conf_selector() 400 return tag.mode1 & mode2_mask.mode1; in pci_conf_selector() 429 tag.mode1 = sel; in pci_conf_select() 615 tag.mode1 = PCI_MODE1_ENABLE | in pci_make_tag() 649 *bp = (tag.mode1 >> 16) & 0xff; in pci_decompose_tag() 651 *dp = (tag.mode1 >> 11) & 0x1f; in pci_decompose_tag() 653 *fp = (tag.mode1 >> 8) & 0x7; in pci_decompose_tag() 816 t.mode1 = pcim1_quirk_tbl[i].tag.mode1; in pci_mode_detect()
|
| /netbsd/src/sys/arch/mips/sibyte/dev/ |
| D | sbscn.c | 940 u_char mode1; in cflag2modes() local 944 mode1 = mode2 = 0; in cflag2modes() 948 mode1 |= 2; /* XXX */ in cflag2modes() 954 mode1 |= 3; /* XXX */ in cflag2modes() 958 mode1 |= 2 << 3; in cflag2modes() 960 mode1 |= 0 << 3; in cflag2modes() 962 mode1 |= 1 << 2; in cflag2modes() 969 mode1 |= 1 << 7; in cflag2modes() 973 *mode1p = mode1; in cflag2modes() 984 u_char mode1, mode2; in sbscn_param() local [all …]
|
| D | sbjcn.c | 857 u_char mode1; in cflag2modes() local 861 mode1 = mode2 = 0; in cflag2modes() 865 mode1 |= 2; /* XXX */ in cflag2modes() 871 mode1 |= 3; /* XXX */ in cflag2modes() 875 mode1 |= 2 << 3; in cflag2modes() 877 mode1 |= 0 << 3; in cflag2modes() 879 mode1 |= 1 << 2; in cflag2modes() 886 mode1 |= 1 << 7; in cflag2modes() 890 *mode1p = mode1; in cflag2modes() 901 u_char mode1, mode2; in sbjcn_param() local [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/arm/ |
| D | arm-builtins.cc | 2716 machine_mode mode1 = insn_data[icode].operand[2].mode; in arm_expand_ternop_builtin() local 2721 if (VECTOR_MODE_P (mode1)) in arm_expand_ternop_builtin() 2722 op1 = safe_vector_operand (op1, mode1); in arm_expand_ternop_builtin() 2732 && (GET_MODE (op1) == mode1 || GET_MODE (op1) == VOIDmode) in arm_expand_ternop_builtin() 2737 if (! (*insn_data[icode].operand[2].predicate) (op1, mode1)) in arm_expand_ternop_builtin() 2738 op1 = copy_to_mode_reg (mode1, op1); in arm_expand_ternop_builtin() 2762 machine_mode mode1 = insn_data[icode].operand[2].mode; in arm_expand_binop_builtin() local 2766 if (VECTOR_MODE_P (mode1)) in arm_expand_binop_builtin() 2767 op1 = safe_vector_operand (op1, mode1); in arm_expand_binop_builtin() 2775 && (GET_MODE (op1) == mode1 || GET_MODE (op1) == VOIDmode)); in arm_expand_binop_builtin() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libgcc/config/avr/ |
| D | t-avr | 144 conv_XY=$(conv)$(mode1)$(mode2) 230 $(foreach mode1,$(convf_modes),\ 240 $(foreach mode1,$(conv_to_sf_modes), \ 245 $(foreach mode1,SF,\
|
| /netbsd/src/sys/arch/xen/xen/ |
| D | xpci_xenbus.c | 386 tag.mode1 = (bus << 8) | (device << 3) | (function << 0); in pci_make_tag() 395 *bp = (tag.mode1 >> 8) & 0xff; in pci_decompose_tag() 397 *dp = (tag.mode1 >> 3) & 0x1f; in pci_decompose_tag() 399 *fp = (tag.mode1 >> 0) & 0x7; in pci_decompose_tag()
|
| /netbsd/src/sys/arch/x86/include/ |
| D | pci_machdep_common.h | 69 uint32_t mode1; member
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/ |
| D | i386-expand.cc | 9440 machine_mode mode1 = insn_data[icode].operand[2].mode; in ix86_expand_binop_builtin() local 9444 if (VECTOR_MODE_P (mode1)) in ix86_expand_binop_builtin() 9445 op1 = safe_vector_operand (op1, mode1); in ix86_expand_binop_builtin() 9452 if (GET_MODE (op1) == SImode && mode1 == TImode) in ix86_expand_binop_builtin() 9461 if (!insn_data[icode].operand[2].predicate (op1, mode1)) in ix86_expand_binop_builtin() 9462 op1 = copy_to_mode_reg (mode1, op1); in ix86_expand_binop_builtin() 9753 machine_mode mode1 = insn_data[d->icode].operand[2].mode; in ix86_expand_sse_compare() local 9758 if (VECTOR_MODE_P (mode1)) in ix86_expand_sse_compare() 9759 op1 = safe_vector_operand (op1, mode1); in ix86_expand_sse_compare() 9774 if ((optimize && !register_operand (op1, mode1)) in ix86_expand_sse_compare() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/lm32/ |
| D | lm32.cc | 1239 lm32_modes_tieable_p (machine_mode mode1, machine_mode mode2) in lm32_modes_tieable_p() argument 1241 return (GET_MODE_CLASS (mode1) == MODE_INT in lm32_modes_tieable_p() 1243 && GET_MODE_SIZE (mode1) <= UNITS_PER_WORD in lm32_modes_tieable_p()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| D | rs6000-builtin.cc | 2284 machine_mode mode1 = insn_data[icode].operand[2].mode; in altivec_expand_predicate_builtin() local 2296 gcc_assert (mode0 == mode1); in altivec_expand_predicate_builtin() 2309 if (! (*insn_data[icode].operand[2].predicate) (op1, mode1)) in altivec_expand_predicate_builtin() 2310 op1 = copy_to_mode_reg (mode1, op1); in altivec_expand_predicate_builtin() 2414 machine_mode tmode, mode1; in altivec_expand_vec_set_builtin() local 2424 mode1 = TYPE_MODE (TREE_TYPE (TREE_TYPE (arg0))); in altivec_expand_vec_set_builtin() 2428 op1 = expand_expr (arg1, NULL_RTX, mode1, EXPAND_NORMAL); in altivec_expand_vec_set_builtin() 2431 if (GET_MODE (op1) != mode1 && GET_MODE (op1) != VOIDmode) in altivec_expand_vec_set_builtin() 2432 op1 = convert_modes (mode1, GET_MODE (op1), op1, true); in altivec_expand_vec_set_builtin() 2435 op1 = force_reg (mode1, op1); in altivec_expand_vec_set_builtin()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/bfin/ |
| D | bfin.cc | 2152 bfin_modes_tieable_p (machine_mode mode1, machine_mode mode2) in bfin_modes_tieable_p() argument 2154 return (mode1 == mode2 in bfin_modes_tieable_p() 2155 || ((GET_MODE_CLASS (mode1) == MODE_INT in bfin_modes_tieable_p() 2156 || GET_MODE_CLASS (mode1) == MODE_FLOAT) in bfin_modes_tieable_p() 2159 && mode1 != BImode && mode2 != BImode in bfin_modes_tieable_p() 2160 && GET_MODE_SIZE (mode1) <= UNITS_PER_WORD in bfin_modes_tieable_p() 5391 machine_mode mode1 = insn_data[icode].operand[2].mode; in bfin_expand_binop_builtin() local 5395 if (VECTOR_MODE_P (mode1)) in bfin_expand_binop_builtin() 5396 op1 = safe_vector_operand (op1, mode1); in bfin_expand_binop_builtin() 5408 if ((op1mode == SImode || op1mode == VOIDmode) && mode1 == HImode) in bfin_expand_binop_builtin() [all …]
|
| /netbsd/src/tests/dev/audio/ |
| D | audiotest.c | 1794 test_open_simul(int mode0, int mode1) in test_open_simul() argument 1804 int mode1; in test_open_simul() member 1839 openmode_str[mode1] + 2); in test_open_simul() 1846 if (mode2aumode(mode0) == 0 || mode2aumode(mode1) == 0) { in test_open_simul() 1851 i = mode0 * 3 + mode1; in test_open_simul() 1862 fd1 = OPEN(devaudio, mode1); in test_open_simul() 1863 if (exptable[i].mode1 >= 0) { in test_open_simul() 1870 XP_EQ(exptable[i].mode1, actmode); in test_open_simul() 1876 XP_EQ(-exptable[i].mode1, errno); in test_open_simul() 2319 test_rdwr_two(int mode0, int mode1) in test_rdwr_two() argument [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/arc/ |
| D | arc.cc | 2075 arc_modes_tieable_p (machine_mode mode1, machine_mode mode2) in arc_modes_tieable_p() argument 2077 return (GET_MODE_CLASS (mode1) == MODE_INT in arc_modes_tieable_p() 2079 && GET_MODE_SIZE (mode1) <= UNITS_PER_WORD in arc_modes_tieable_p() 7072 machine_mode mode1; in arc_expand_builtin() local 7124 mode1 = insn_data[icode].operand[2].mode; in arc_expand_builtin() 7129 if (!insn_data[icode].operand[2].predicate (op1, mode1)) in arc_expand_builtin() 7130 op1 = copy_to_mode_reg (mode1, op1); in arc_expand_builtin() 7150 mode1 = insn_data[icode].operand[1].mode; in arc_expand_builtin() 7161 if (!insn_data[icode].operand[2].predicate (op1, mode1)) in arc_expand_builtin() 7162 op1 = copy_to_mode_reg (mode1, op1); in arc_expand_builtin() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/mn10300/ |
| D | mn10300.cc | 2640 mn10300_modes_tieable_p (machine_mode mode1, machine_mode mode2) in mn10300_modes_tieable_p() argument 2642 if (GET_MODE_CLASS (mode1) == MODE_FLOAT in mn10300_modes_tieable_p() 2647 && GET_MODE_CLASS (mode1) != MODE_FLOAT) in mn10300_modes_tieable_p() 2651 || mode1 == mode2 in mn10300_modes_tieable_p() 2652 || (GET_MODE_SIZE (mode1) <= 4 && GET_MODE_SIZE (mode2) <= 4)) in mn10300_modes_tieable_p()
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | refclock_oncore.c | 854 int cap, mode, mode1; in oncore_ppsapi() local 874 mode1 = PPS_OFFSETASSERT; in oncore_ppsapi() 878 mode1 = PPS_OFFSETCLEAR; in oncore_ppsapi() 889 if (!(mode1 & cap)) { in oncore_ppsapi() 893 mode1 = 0; in oncore_ppsapi() 898 instance->pps_p.mode = (mode | mode1 | PPS_TSFMT_TSPEC) & cap; in oncore_ppsapi()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/h8300/ |
| D | h8300.cc | 5354 h8300_modes_tieable_p (machine_mode mode1, machine_mode mode2) in h8300_modes_tieable_p() argument 5356 return (mode1 == mode2 in h8300_modes_tieable_p() 5357 || ((mode1 == QImode in h8300_modes_tieable_p() 5358 || mode1 == HImode in h8300_modes_tieable_p() 5359 || mode1 == SImode) in h8300_modes_tieable_p()
|