/freebsd-11-stable/sys/contrib/alpine-hal/ |
H A D | al_hal_udma_iofic.c | 52 enum al_iofic_mode mode) 54 switch (mode) { 106 al_err("%s: invalid mode (%d)\n", __func__, mode); 110 al_dbg("%s: base.%p mode %d\n", __func__, base, mode); 117 int al_udma_iofic_config(struct unit_regs __iomem *regs, enum al_iofic_mode mode, argument 125 rc = al_udma_main_iofic_config(®s->gen.interrupt_regs.main_iofic, mode); 135 al_dbg("%s base.%p mode %d\n", __func__, regs, mode); 51 al_udma_main_iofic_config(struct al_iofic_regs __iomem *base, enum al_iofic_mode mode) argument [all...] |
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_crtc_helper.h | 29 * The DRM mode setting helper functions are common code for drivers to use if 45 * @mode_fixup: try to fixup proposed mode for this connector 46 * @mode_set: set this mode 52 * Control power levels on the CRTC. If the mode passed in is 55 void (*dpms)(struct drm_crtc *crtc, int mode); 59 /* Provider can fixup or change mode timings before modeset occurs */ 61 const struct drm_display_mode *mode, 63 /* Actually set the mode */ 64 int (*mode_set)(struct drm_crtc *crtc, struct drm_display_mode *mode, 84 * @mode_fixup: try to fixup proposed mode fo [all...] |
H A D | drm_edid.c | 56 /* First detailed mode wrong, use largest 60Hz mode */ 60 /* Prefer the largest mode at 75 Hz */ 70 /* use +hsync +vsync for detailed mode */ 492 * @connector: has mode list to fix up 495 * Walk the mode list for @connector, clearing the preferred status 496 * on existing modes and setting it anew for the right mode ala @quirks. 521 /* Largest mode is preferred */ 537 mode_is_rb(const struct drm_display_mode *mode) argument 539 return (mode 746 struct drm_display_mode *m, *mode = NULL; local 858 drm_mode_do_interlace_quirk(struct drm_display_mode *mode, struct detailed_pixel_timing *pt) argument 906 struct drm_display_mode *mode; local 1002 mode_in_hsync_range(const struct drm_display_mode *mode, struct edid *edid, u8 *t) argument 1019 mode_in_vsync_range(const struct drm_display_mode *mode, struct edid *edid, u8 *t) argument 1051 mode_in_range(const struct drm_display_mode *mode, struct edid *edid, struct detailed_timing *timing) argument 1078 valid_inferred_mode(const struct drm_connector *connector, const struct drm_display_mode *mode) argument 1121 fixup_mode_1366x768(struct drm_display_mode *mode) argument 1244 struct drm_display_mode *mode; local 1542 u8 mode; local 1559 u8 * mode, cea_mode; local 1790 drm_av_sync_delay(struct drm_connector *connector, struct drm_display_mode *mode) argument 1831 drm_select_eld(struct drm_encoder *encoder, struct drm_display_mode *mode) argument 2070 struct drm_display_mode *mode; local 2110 drm_mode_cea_vic(const struct drm_display_mode *mode) argument [all...] |
/freebsd-11-stable/sys/dev/syscons/ |
H A D | scvesactl.c | 57 int mode; local 79 mode = (cmd & 0xff) + M_VESA_BASE; 80 return sc_set_text_mode(scp, tp, mode, 0, 0, 0, 0); 105 mode = (cmd & 0xff) + M_VESA_BASE; 106 return sc_set_graphics_mode(scp, tp, mode); 112 mode = (cmd & 0xff) + M_VESA_BASE; 115 (mode > M_VESA_FULL_1280) && 116 (mode < M_VESA_MODE_MAX)) 117 return sc_set_graphics_mode(scp, tp, mode);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | expmed.c | 99 shift count and some by mode. */ 138 enum machine_mode mode, wider_mode; local 208 for (mode = GET_CLASS_NARROWEST_MODE (MODE_INT); 209 mode != VOIDmode; 210 mode = GET_MODE_WIDER_MODE (mode)) 212 PUT_MODE (&all.reg, mode); 213 PUT_MODE (&all.plus, mode); 214 PUT_MODE (&all.neg, mode); 215 PUT_MODE (&all.mult, mode); 270 negate_rtx(enum machine_mode mode, rtx x) argument 794 enum machine_mode mode; local 1089 extract_bit_field(rtx str_rtx, unsigned HOST_WIDE_INT bitsize, unsigned HOST_WIDE_INT bitnum, int unsignedp, rtx target, enum machine_mode mode, enum machine_mode tmode) argument 1706 enum machine_mode mode; local 1827 mask_rtx(enum machine_mode mode, int bitpos, int bitsize, int complement) argument 1868 lshift_value(enum machine_mode mode, rtx value, int bitpos, int bitsize) argument 1902 enum machine_mode mode, dmode; local 2185 expand_shift(enum tree_code code, enum machine_mode mode, rtx shifted, tree amount, rtx target, int unsignedp) argument 2407 enum machine_mode mode; member in struct:alg_hash_entry 2456 synth_mult(struct algorithm *alg_out, unsigned HOST_WIDE_INT t, const struct mult_cost *cost_limit, enum machine_mode mode) argument 2871 choose_mult_variant(enum machine_mode mode, HOST_WIDE_INT val, struct algorithm *alg, enum mult_variant *variant, int mult_cost) argument 2946 expand_mult_const(enum machine_mode mode, rtx op0, HOST_WIDE_INT val, rtx target, const struct algorithm *alg, enum mult_variant variant) argument 3101 expand_mult(enum machine_mode mode, rtx op0, rtx op1, rtx target, int unsignedp) argument 3382 expand_mult_highpart_adjust(enum machine_mode mode, rtx adj_operand, rtx op0, rtx op1, rtx target, int unsignedp) argument 3409 extract_high_half(enum machine_mode mode, rtx op) argument 3428 expand_mult_highpart_optab(enum machine_mode mode, rtx op0, rtx op1, rtx target, int unsignedp, int max_cost) argument 3538 expand_mult_highpart(enum machine_mode mode, rtx op0, rtx op1, rtx target, int unsignedp, int max_cost) argument 3601 expand_smod_pow2(enum machine_mode mode, rtx op0, HOST_WIDE_INT d) argument 3702 expand_sdiv_pow2(enum machine_mode mode, rtx op0, HOST_WIDE_INT d) argument 3815 expand_divmod(int rem_flag, enum tree_code code, enum machine_mode mode, rtx op0, rtx op1, rtx target, int unsignedp) argument 5074 expand_and(enum machine_mode mode, rtx op0, rtx op1, rtx target) argument 5106 emit_store_flag(rtx target, enum rtx_code code, rtx op0, rtx op1, enum machine_mode mode, int unsignedp, int normalizep) argument 5551 emit_store_flag_force(rtx target, enum rtx_code code, rtx op0, rtx op1, enum machine_mode mode, int unsignedp, int normalizep) argument 5586 do_cmp_and_jump(rtx arg1, rtx arg2, enum rtx_code op, enum machine_mode mode, rtx label) argument [all...] |
H A D | dojump.c | 120 where X is an arbitrary register of mode MODE. Return true if the former 124 prefer_and_bit_test (enum machine_mode mode, int bitnum) 130 and_reg = gen_rtx_REG (mode, FIRST_PSEUDO_REGISTER); 131 and_test = gen_rtx_AND (mode, and_reg, NULL); 132 shift_test = gen_rtx_AND (mode, gen_rtx_ASHIFTRT (mode, and_reg, NULL), 137 /* Change the mode of the previously-created rtxes. */ 138 PUT_MODE (and_reg, mode); 139 PUT_MODE (and_test, mode); 140 PUT_MODE (shift_test, mode); 123 prefer_and_bit_test(enum machine_mode mode, int bitnum) argument 167 enum machine_mode mode; local 323 enum machine_mode mode; local 618 do_jump_by_parts_greater_rtx(enum machine_mode mode, int unsignedp, rtx op0, rtx op1, rtx if_false_label, rtx if_true_label) argument 675 enum machine_mode mode = TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp, 0))); local 688 do_jump_by_parts_zero_rtx(enum machine_mode mode, rtx op0, rtx if_false_label, rtx if_true_label) argument 738 do_jump_by_parts_equality_rtx(enum machine_mode mode, rtx op0, rtx op1, rtx if_false_label, rtx if_true_label) argument 779 enum machine_mode mode = TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp, 0))); local 797 compare_from_rtx(rtx op0, rtx op1, enum rtx_code code, int unsignedp, enum machine_mode mode, rtx size) argument 849 do_compare_rtx_and_jump(rtx op0, rtx op1, enum rtx_code code, int unsignedp, enum machine_mode mode, rtx size, rtx if_false_label, rtx if_true_label) argument 991 enum machine_mode mode; local [all...] |
/freebsd-11-stable/sys/i386/i386/ |
H A D | longrun.c | 89 u_int low, high, flags, mode; local 98 for (mode = 0; mode < LONGRUN_MODE_MAX; mode++) { 99 if (low == longrun_modes[mode][0] && 100 high == longrun_modes[mode][1] && 101 flags == longrun_modes[mode][2]) { 105 mode = LONGRUN_MODE_UNKNOWN; 108 return (mode); 129 tmx86_set_longrun_mode(u_int mode) argument 198 u_int mode; local [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_dim.c | 67 u8 mode; local 72 mode = dim->mode; 76 /* check for invalid mode */ 77 if (mode == 255) 81 cur_profile = net_dim_profile[mode][profile_ix];
|
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | a10_fb.c | 199 a10fb_setup_debe(struct a10fb_softc *sc, const struct videomode *mode) argument 207 interlace = !!(mode->flags & VID_INTERLACE); 208 width = mode->hdisplay; 209 height = mode->vdisplay << interlace; 343 a10fb_setup_tcon(struct a10fb_softc *sc, const struct videomode *mode) argument 352 interlace = !!(mode->flags & VID_INTERLACE); 353 width = mode->hdisplay; 354 height = mode->vdisplay; 355 hspw = mode->hsync_end - mode 464 a10fb_configure(struct a10fb_softc *sc, const struct videomode *mode) argument 531 const struct videomode *mode; local [all...] |
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | openat.h | 55 int mode; local 58 mode = va_arg(ap, int); 61 ffd = open(path, flags, mode);
|
H A D | faccessat.h | 38 faccessat(int fd, const char *path, int mode, int flag) argument 58 ret = access(path, mode);
|
/freebsd-11-stable/contrib/opie/libopie/ |
H A D | open.c | 11 Modified by cmetz for OPIE 2.4. More portable way to get the mode 31 FILE *__opieopen FUNCTION((file, rw, mode), char *file AND int rw AND int mode) argument 45 if (chmod(file, mode))
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | flags.c | 47 * Return the (stdio) flags for a given mode. Store the flags 52 __sflags(const char *mode, int *optr) argument 56 switch (*mode++) { 76 default: /* illegal mode */ 83 switch (*mode++) {
|
H A D | setvbuf.c | 51 setvbuf(FILE * __restrict fp, char * __restrict buf, int mode, size_t size) argument 62 if (mode != _IONBF) 63 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0) 83 /* If setting unbuffered mode, skip all the hard work. */ 84 if (mode == _IONBF) 136 if (mode == _IOLBF)
|
/freebsd-11-stable/release/scripts/ |
H A D | mtree-to-plist.awk | 4 uname = gname = mode = flags = tags = type = "" 12 } else if ($i ~ /^mode=/) { 13 mode=$i 14 gsub(/mode=/,"", mode) 79 print "@"type"("uname","gname","mode","flags") " $1 > output
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | getmntinfo.c | 45 getmntinfo(struct statfs **mntbufp, int mode) argument 53 if (bufsize > 0 && (mntsize = getfsstat(mntbuf, bufsize, mode)) < 0) 61 if ((mntsize = getfsstat(mntbuf, bufsize, mode)) < 0)
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_access.c | 50 static const int mode[4] = { R_OK, W_OK, X_OK, F_OK }; variable 70 for (i = 0; i < __arraycount(mode) - 1; i++) { 76 ATF_REQUIRE(access(path, mode[i]) != 0); 98 for (i = 0; i < __arraycount(mode); i++) { 102 ATF_REQUIRE(access(NULL, mode[i]) != 0); 107 ATF_REQUIRE(access((char *)-1, mode[i]) != 0); 141 for (i = 0; i < __arraycount(mode); i++) { 155 ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0); 170 for (i = 0; i < __arraycount(mode); i++) { 174 ATF_REQUIRE(access("", mode[ [all...] |
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_pro_init.c | 36 int mode; local 44 mode = DW_DLC_WRITE; 58 dbg->dbg_mode = mode; 75 int mode; local 83 mode = DW_DLC_WRITE; 97 dbg->dbg_mode = mode;
|
/freebsd-11-stable/contrib/gcc/config/s390/ |
H A D | fixdfdi.h | 38 typedef int DItype_x __attribute__ ((mode (DI))); 39 typedef unsigned int UDItype_x __attribute__ ((mode (DI))); 40 typedef int SItype_x __attribute__ ((mode (SI))); 41 typedef unsigned int USItype_x __attribute__ ((mode (SI))); 111 typedef int DItype_x __attribute__ ((mode (DI))); 112 typedef unsigned int UDItype_x __attribute__ ((mode (DI))); 113 typedef int SItype_x __attribute__ ((mode (SI))); 114 typedef unsigned int USItype_x __attribute__ ((mode (SI))); 182 typedef int DItype_x __attribute__ ((mode (DI))); 183 typedef unsigned int UDItype_x __attribute__ ((mode (D [all...] |
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-cypress.c | 55 static int ata_cypress_setmode(device_t dev, int target, int mode); 96 ata_cypress_setmode(device_t dev, int target, int mode) argument 101 mode = min(mode, ATA_WDMA2); 104 if (mode == ATA_WDMA2) { 107 /* we could set PIO mode timings, but we assume the BIOS did that */ 108 return (mode);
|
/freebsd-11-stable/contrib/pjdfstest/tests/link/ |
H A D | 00.t | 36 expect ${type},0201,3,65534,65533 lstat ${n0} type,mode,nlink,uid,gid 37 expect ${type},0201,3,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 38 expect ${type},0201,3,65534,65533 lstat ${n2} type,mode,nlink,uid,gid 41 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid 42 expect ${type},0201,2,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 43 expect ${type},0201,2,65534,65533 lstat ${n2} type,mode,nlink,uid,gid 46 expect ENOENT lstat ${n0} type,mode,nlink,uid,gid 47 expect ${type},0201,1,65534,65533 lstat ${n1} type,mode,nlink,uid,gid 48 expect ENOENT lstat ${n2} type,mode,nlink,uid,gid 51 expect ENOENT lstat ${n0} type,mode,nlin [all...] |
/freebsd-11-stable/contrib/pjdfstest/tests/symlink/ |
H A D | 00.t | 15 expect regular,0644 lstat ${n0} type,mode 18 expect regular,0644 stat ${n1} type,mode 20 expect ENOENT stat ${n1} type,mode
|
/freebsd-11-stable/contrib/elftoolchain/libpe/ |
H A D | libpe_init.c | 41 mode_t mode; local 47 mode = sb.st_mode; 51 if (!S_ISREG(mode) && !S_ISCHR(mode) && !S_ISFIFO(mode) && 52 !S_ISSOCK(mode)) { 57 /* Read/Write mode is not supported for non-regular file. */ 58 if (pe->pe_cmd == PE_C_RDWR && !S_ISREG(mode)) { 64 if (S_ISREG(mode) && pe->pe_fsize < sizeof(PE_CoffHdr)) {
|
/freebsd-11-stable/contrib/pjdfstest/tests/chmod/ |
H A D | 07.t | 28 expect 0642 stat ${n1}/${n2} mode 30 expect 0642 stat ${n1}/${n2} mode 33 expect 0642 stat ${n1}/${n2} mode 39 expect 0642,65534,65534 stat ${n1}/${n2} mode,uid,gid 41 expect 0642,65534,65534 stat ${n1}/${n2} mode,uid,gid 44 expect 0642,0,0 stat ${n1}/${n2} mode,uid,gid 51 expect 0642 stat ${n1}/${n2} mode 53 expect 0642 stat ${n1}/${n2} mode 56 expect 0642 stat ${n1}/${n2} mode
|
/freebsd-11-stable/contrib/pjdfstest/tests/mkfifo/ |
H A D | 02.t | 15 expect fifo,0644 stat ${nx} type,mode
|