Searched refs:mode (Results 501 - 525 of 2233) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/sys/dev/drm2/i915/
H A Ddvo_ch7xxx.c248 struct drm_display_mode *mode)
250 if (mode->clock > 165000)
257 struct drm_display_mode *mode,
262 if (mode->clock <= 65000) {
285 if (mode->flags & DRM_MODE_FLAG_PHSYNC)
288 if (mode->flags & DRM_MODE_FLAG_PVSYNC)
247 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument
256 ch7xxx_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c75 char mode[11]; member in struct:fileinfo
132 #define S_ISSOCK(mode) (((mode) & _S_IFMT) == S_IFSOCK)
136 #define S_ISLNK(mode) (((mode) & _S_IFMT) == S_IFLNK)
160 file->mode[0] = 'd';
164 file->mode[0] = 'c';
166 file->mode[0] = 'b';
168 file->mode[0] = '-';
173 file->mode[
[all...]
/freebsd-11-stable/lib/libipsec/
H A Dipsec_dump_policy.c182 const char *proto, *mode, *level; local
210 mode = "any";
213 mode = "transport";
216 mode = "tunnel";
261 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
269 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
H A Dpolicy_parse.y42 * protocol/mode/src-dst/level
43 * protocol/mode/src-dst parsed as protocol/mode/src-dst/default
44 * protocol/mode/src-dst/ parsed as protocol/mode/src-dst/default
45 * protocol/transport parsed as protocol/mode/any-any/default
46 * protocol/transport//level parsed as protocol/mode/any-any/level
147 : protocol SLASH mode SLASH addresses SLASH level
148 | protocol SLASH mode SLASH addresses SLASH
149 | protocol SLASH mode SLAS
[all...]
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_internal.h194 mode_t mode,
208 "node #%ju, mode 0%o\n", (uintmax_t)fat->ino, fat->mode);
214 vap->va_mode = fat->mode & ~S_IFMT;
227 vap->va_type = IFTOVT(fat->mode);
305 if (vtyp != IFTOVT(feo->attr.mode)) {
307 "EINVAL -- %x != %x\n", vtyp, IFTOVT(feo->attr.mode));
/freebsd-11-stable/crypto/openssh/
H A Dsshpty.c194 mode_t mode; local
200 mode = (grp != NULL) ? 0620 : 0600;
203 * Change owner and mode of the tty as required.
229 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) {
230 if (chmod(tty, mode) < 0) {
234 tty, (u_int)mode, strerror(errno));
237 tty, (u_int)mode, strerror(errno));
/freebsd-11-stable/sys/dev/sfxge/
H A Dsfxge_port.c313 sfxge_mac_link_update(struct sfxge_softc *sc, efx_link_mode_t mode) argument
320 if (port->link_mode == mode)
323 port->link_mode = mode;
337 efx_link_mode_t mode; local
349 (void)efx_port_poll(enp, &mode);
350 sfxge_mac_link_update(sc, mode);
784 sfxge_port_wanted_fc_handler, "IU", "wanted flow control mode");
787 sfxge_port_link_fc_handler, "IU", "link flow control mode");
856 efx_link_mode_t mode; local
868 mode
877 sfxge_link_mode_to_phy_cap(efx_link_mode_t mode) argument
910 efx_link_mode_t mode; local
998 efx_link_mode_t mode; local
[all...]
/freebsd-11-stable/tests/sys/audit/
H A Dfile-delete.c37 static mode_t mode = 0777; variable
54 ATF_REQUIRE_EQ(0, mkdir(path, mode));
96 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
139 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
182 ATF_REQUIRE((filedesc = open(path, O_CREAT, mode)) != -1);
225 ATF_REQUIRE_EQ(0, mkdir(path, mode));
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_common.c139 int ht_supported(const struct hostapd_hw_modes *mode) argument
141 if (!(mode->flags & HOSTAPD_MODE_FLAG_HT_INFO_KNOWN)) {
153 return mode->mcs_set[0] == 0xff;
157 int vht_supported(const struct hostapd_hw_modes *mode) argument
159 if (!(mode->flags & HOSTAPD_MODE_FLAG_VHT_INFO_KNOWN)) {
171 return (mode->vht_mcs_set[0] & 0x3) != 3;
/freebsd-11-stable/sys/dev/spibus/
H A Dspibus.c104 retval += printf(" mode %d", devi->mode);
115 device_printf(bus, "<unknown card> at cs %d mode %d\n", devi->cs,
116 devi->mode);
152 *(uint32_t *)result = devi->mode;
183 devi->mode = (uint32_t)value;
218 devi->mode = SPIBUS_MODE_NONE;
221 resource_int_value(dname, dunit, "mode", &devi->mode);
/freebsd-11-stable/lib/libc/x86/sys/
H A D__vdso_gettc.c180 unsigned int mode; local
202 * Explicitely check for the capability mode to avoid
205 if ((cap_getmode(&mode) == 0 && mode != 0) ||
237 unsigned int mode; local
239 if (cap_getmode(&mode) == 0 && mode != 0)
/freebsd-11-stable/usr.sbin/fwcontrol/
H A Dfwcontrol.c84 "\t [-M mode] [-R filename] [-S filename] [-m EUI64 | hostname]\n"
215 asyreq->pkt.mode.rreqq.dst = FWLOCALBUS | node;
220 asyreq->pkt.mode.rreqq.tlrt = 0;
222 asyreq->pkt.mode.rreqq.tcode = FWTCODE_RREQQ;
224 asyreq->pkt.mode.rreqq.tcode = FWTCODE_WREQQ;
226 asyreq->pkt.mode.rreqq.dest_hi = 0xffff;
227 asyreq->pkt.mode.rreqq.dest_lo = addr_lo;
231 asyreq->pkt.mode.wreqq.data = htonl(data);
269 asyreq->pkt.mode.ld[0] = 0;
270 asyreq->pkt.mode
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_disk_posix.c175 mode_t mode; member in struct:fixup_entry
195 * side-effect of another. For example, mkdir() can specify the mode
277 mode_t mode; member in struct:archive_write_disk
314 * Default mode for dirs created automatically (will be modified by umask).
387 const char *name, mode_t mode,
390 static int set_mode(struct archive_write_disk *, int mode);
416 mode_t mode; local
426 mode = a->mode & 0777 & ~a->user_umask;
427 if (fchmod(fd, mode)
2228 mode_t final_mode, mode; local
3279 mode_t mode_final, mode; local
3435 set_time(int fd, int mode, const char *name, time_t atime, long atime_nsec, time_t mtime, long mtime_nsec) argument
3516 set_time_tru64(int fd, int mode, const char *name, time_t atime, long atime_nsec, time_t mtime, long mtime_nsec, time_t ctime, long ctime_nsec) argument
3539 set_times(struct archive_write_disk *a, int fd, int mode, const char *name, time_t atime, long atime_nanos, time_t birthtime, long birthtime_nanos, time_t mtime, long mtime_nanos, time_t cctime, long ctime_nanos) argument
3639 set_mode(struct archive_write_disk *a, int mode) argument
3759 mode_t mode = archive_entry_mode(a->entry); local
3832 mode_t mode = archive_entry_mode(a->entry); local
3864 set_fflags_platform(struct archive_write_disk *a, int fd, const char *name, mode_t mode, unsigned long set, unsigned long clear) argument
3939 set_fflags_platform(struct archive_write_disk *a, int fd, const char *name, mode_t mode, unsigned long set, unsigned long clear) argument
4043 set_fflags_platform(struct archive_write_disk *a, int fd, const char *name, mode_t mode, unsigned long set, unsigned long clear) argument
4644 archive_write_disk_set_acls(struct archive *a, int fd, const char *name, struct archive_acl *abstract_acl, __LA_MODE_T mode) argument
[all...]
/freebsd-11-stable/contrib/gcc/config/ia64/
H A Dia64.c267 static bool ia64_scalar_mode_supported_p (enum machine_mode mode);
268 static bool ia64_vector_mode_supported_p (enum machine_mode mode);
841 enum machine_mode mode = GET_MODE (x);
843 if (mode == V2SFmode)
846 return (GET_MODE_CLASS (mode) == MODE_VECTOR_INT
847 && GET_MODE_SIZE (mode) <= 8);
870 /* ILP32 mode still loads 64-bits of data from the GOT. This avoids
1061 enum machine_mode mode = GET_MODE (op0);
1064 op1 = force_reg (mode, op1);
1066 if ((mode
836 enum machine_mode mode = GET_MODE (x); local
1056 enum machine_mode mode = GET_MODE (op0); local
1378 spill_xfmode_rfmode_operand(rtx in, int force, enum machine_mode mode) argument
1403 ia64_expand_movxf_movrf(enum machine_mode mode, rtx operands[]) argument
1536 ia64_expand_compare(enum rtx_code code, enum machine_mode mode) argument
1617 ia64_expand_vecint_compare(enum rtx_code code, enum machine_mode mode, rtx dest, rtx op0, rtx op1) argument
1715 enum machine_mode mode = GET_MODE (operands[0]); local
1765 ia64_expand_vecint_minmax(enum rtx_code code, enum machine_mode mode, rtx operands[]) argument
1822 enum machine_mode wmode, mode; local
2088 enum machine_mode mode = GET_MODE (mem); local
3824 ia64_setup_incoming_varargs(CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, int * pretend_size, int second_time ATTRIBUTE_UNUSED) argument
3857 enum machine_mode mode; local
3932 ia64_function_arg_words(tree type, enum machine_mode mode) argument
3977 ia64_function_arg(CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, int named, int incoming) argument
4145 ia64_arg_partial_bytes(CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, bool named ATTRIBUTE_UNUSED) argument
4170 ia64_function_arg_advance(CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, int named) argument
4255 ia64_function_arg_boundary(enum machine_mode mode, tree type) argument
4330 enum machine_mode mode; local
4366 enum machine_mode mode; local
4818 ia64_register_move_cost(enum machine_mode mode, enum reg_class from, enum reg_class to) argument
6657 ia64_mode_to_int(enum machine_mode mode) argument
9167 ia64_hpux_function_arg_padding(enum machine_mode mode, tree type) argument
9346 ia64_select_rtx_section(enum machine_mode mode, rtx x, unsigned HOST_WIDE_INT align) argument
9559 ia64_scalar_mode_supported_p(enum machine_mode mode) argument
9585 ia64_vector_mode_supported_p(enum machine_mode mode) argument
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dstmt.c1555 enum machine_mode mode
1558 if (mode != old_mode)
1559 val = convert_modes (mode, old_mode, val, unsignedp);
1704 /* Find the smallest integer mode large enough to hold the
1705 entire structure and use that mode instead of BLKmode
1710 /* Have we found a large enough mode? */
1714 /* A suitable mode should have been found. */
1873 /* For a CONST_DECL, set mode, alignment, and sizes from those of the
2062 enum machine_mode mode = TYPE_MODE (TREE_TYPE (decl_elt));
2076 change the element's mode t
1547 enum machine_mode mode local
2049 enum machine_mode mode = TYPE_MODE (TREE_TYPE (decl_elt)); local
2235 enum machine_mode mode; local
2611 do_jump_if_equal(enum machine_mode mode, rtx op0, rtx op1, rtx label, int unsignedp) argument
2954 enum machine_mode mode = GET_MODE (index); local
[all...]
H A Dtree-vect-generic.c78 /* Return a suitable vector types made of SUBPARTS units each of mode
235 enum machine_mode mode; local
256 /* Use a single scalar operation with a mode no wider than word_mode. */
257 mode = mode_for_size (tree_low_cst (TYPE_SIZE (type), 1), MODE_INT, 0);
258 compute_type = lang_hooks.types.type_for_mode (mode, 1);
295 /* If the compute mode is not a vector mode (hence we are not decomposing
344 /* Return a type for the widest vector mode whose components are of mode
349 enum machine_mode best_mode = VOIDmode, mode;
348 enum machine_mode best_mode = VOIDmode, mode; local
[all...]
/freebsd-11-stable/sys/dev/scc/
H A Dscc_core.c107 int c, error, mode, sysdev; local
192 for (mode = 0; mode < SCC_NMODES; mode++) {
193 m = &ch->ch_mode[mode];
195 m->m_mode = 1U << mode;
264 for (mode = 0; mode < SCC_NMODES; mode++) {
265 m = &ch->ch_mode[mode];
310 int chan, error, mode; local
[all...]
/freebsd-11-stable/usr.sbin/powerd/
H A Dpowerd.c98 static void parse_mode(char *arg, int *mode, int ch);
286 * to APM. If nothing succeeds, we'll just run in default mode.
432 parse_mode(char *arg, int *mode, int ch) argument
436 *mode = MODE_MIN;
438 *mode = MODE_MAX;
440 *mode = MODE_ADAPTIVE;
442 *mode = MODE_HIADAPTIVE;
474 "usage: powerd [-v] [-a mode] [-b mode] [-i %%] [-m freq] [-M freq] [-n mode] [
488 int ch, mode, mode_ac, mode_battery, mode_none, idle, to; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DFile.cpp72 "invalid options, cannot convert to mode string");
75 Expected<File::OpenOptions> File::GetOptionsFromMode(llvm::StringRef mode) { argument
77 llvm::StringSwitch<OpenOptions>(mode)
94 "invalid mode, cannot convert to File::OpenOptions");
276 auto mode = GetStreamOpenModeFromOptions(m_options); local
277 if (!mode)
278 llvm::consumeError(mode.takeError());
292 mode.get());
734 mode_t mode = 0; local
736 mode |
[all...]
/freebsd-11-stable/contrib/groff/src/devices/grotty/
H A Dtty.cpp104 unsigned char mode; member in class:tty_font
107 unsigned char get_mode() { return mode; }
124 f->mode = (unsigned char)(n & (BOLD_MODE|UNDERLINE_MODE));
126 f->mode &= ~UNDERLINE_MODE;
128 f->mode &= ~BOLD_MODE;
129 if ((f->mode & (BOLD_MODE|UNDERLINE_MODE)) == (BOLD_MODE|UNDERLINE_MODE))
130 f->mode = (unsigned char)((f->mode & ~(BOLD_MODE|UNDERLINE_MODE))
136 : font(nm), mode(0)
148 mode |
161 unsigned char mode; member in class:glyph
374 add_char(unsigned int c, int w, int h, int v, color *fore, color *back, unsigned char mode) argument
[all...]
/freebsd-11-stable/sbin/hastd/
H A Dhastd.c144 dtype2str(mode_t mode) argument
147 if (S_ISBLK(mode))
149 else if (S_ISCHR(mode))
151 else if (S_ISDIR(mode))
153 else if (S_ISFIFO(mode))
155 else if (S_ISLNK(mode))
157 else if (S_ISREG(mode))
159 else if (S_ISSOCK(mode))
161 else if (S_ISWHT(mode))
174 mode_t mode; local
[all...]
/freebsd-11-stable/sys/dev/ata/
H A Data-all.c82 "Check for 80pin cable before setting ATA DMA mode");
102 int i, mode; local
118 device_get_unit(dev), buf, &mode) != 0 &&
120 device_get_unit(dev), "sata_rev", &mode) != 0)
121 mode = -1;
122 if (mode >= 0)
123 ch->user[i].revision = mode;
124 ch->user[i].mode = 0;
125 snprintf(buf, sizeof(buf), "dev%d.mode", i);
128 mode
635 ata_mode2str(int mode) argument
[all...]
/freebsd-11-stable/usr.sbin/setfmac/
H A Dsetfmac.c56 mode_t mode; /* mode to possibly match */ member in struct:label_spec::label_spec_entry
57 const char *modestr; /* print-worthy ",-?" mode string */
316 if (macstr == NULL) { /* the mode is just optional */
347 errx(1, "%s: invalid mode string: %s", file, modestr);
350 entry->mode = S_IFBLK;
354 entry->mode = S_IFCHR;
358 entry->mode = S_IFDIR;
362 entry->mode = S_IFIFO;
366 entry->mode
[all...]
/freebsd-11-stable/libexec/tftpd/
H A Dtftp-io.c178 send_wrq(int peer, char *filename, char *mode) argument
187 tftp_log(LOG_DEBUG, "Sending WRQ: filename: '%s', mode '%s'",
188 filename, mode
204 strlcpy(bp, mode, sizeof(buf) - size);
205 bp += strlen(mode);
208 size += strlen(mode) + 1;
226 send_rrq(int peer, char *filename, char *mode) argument
235 tftp_log(LOG_DEBUG, "Sending RRQ: filename: '%s', mode '%s'",
236 filename, mode
252 strlcpy(bp, mode, sizeo
[all...]
/freebsd-11-stable/sys/dev/fb/
H A Dvesa.c191 static int int10_set_mode(int mode);
193 static int vesa_bios_get_mode(int mode, struct vesa_mode *vmode, int flags);
194 static int vesa_bios_set_mode(int mode);
220 static int vesa_map_gen_mode_num(int type, int color, int mode);
234 int10_set_mode(int mode) argument
239 regs.R_AL = mode;
303 vesa_bios_get_mode(int mode, struct vesa_mode *vmode, int flags) argument
315 regs.R_CX = mode;
334 vesa_bios_set_mode(int mode) argument
340 regs.R_BX = mode;
644 vesa_map_gen_mode_num(int type, int color, int mode) argument
1212 vesa_get_info(video_adapter_t *adp, int mode, video_info_t *info) argument
1275 vesa_set_mode(video_adapter_t *adp, int mode) argument
1503 int error, mode; local
1614 vesa_blank_display(video_adapter_t *adp, int mode) argument
[all...]

Completed in 242 milliseconds

<<21222324252627282930>>