Searched refs:mode (Results 301 - 325 of 2233) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-cfg.c304 "cvmx_helper_cfg_show_cfg: interface%d mode %10s nports%4d\n", i,
343 cvmx_helper_interface_mode_t mode; local
352 mode = cvmx_helper_interface_get_mode(i);
376 if (!(mode == CVMX_HELPER_INTERFACE_MODE_NPI ||
377 mode == CVMX_HELPER_INTERFACE_MODE_LOOP ||
378 mode == CVMX_HELPER_INTERFACE_MODE_ILK))
382 if (mode == CVMX_HELPER_INTERFACE_MODE_NPI ||
383 mode == CVMX_HELPER_INTERFACE_MODE_LOOP ||
384 mode == CVMX_HELPER_INTERFACE_MODE_ILK)
551 cvmx_helper_interface_mode_t mode; local
[all...]
/freebsd-11-stable/sys/dev/dc/
H A Ddcphy.c192 u_int32_t mode; local
208 mode = CSR_READ_4(dc_sc, DC_NETCFG);
209 mode &= ~(DC_NETCFG_FULLDUPLEX | DC_NETCFG_PORTSEL |
220 mode |= DC_NETCFG_PORTSEL | DC_NETCFG_PCS |
223 mode |= DC_NETCFG_FULLDUPLEX;
225 mode &= ~DC_NETCFG_FULLDUPLEX;
226 CSR_WRITE_4(dc_sc, DC_NETCFG, mode);
237 mode &= ~DC_NETCFG_PORTSEL;
238 mode |= DC_NETCFG_SPEEDSEL;
240 mode |
[all...]
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-netcell.c56 static int ata_netcell_setmode(device_t dev, int target, int mode);
104 ata_netcell_setmode(device_t dev, int target, int mode) argument
107 return (min(mode, ATA_UDMA6));
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_phy.c84 ar5211GetRateTable(struct ath_hal *ah, u_int mode) argument
87 switch (mode) {
98 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: invalid mode 0x%x\n",
99 __func__, mode);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fopen.c156 static const char *mode[] = { local
170 * may follow the mode-string whenever
173 for (i = 0; i < __arraycount(mode); i++) {
176 f = fopen(path, mode[i]);
184 atf_tc_fail_nonfatal("opened file as '%s'", mode[i]);
208 atf_tc_set_md_var(tc, "descr", "Test that append-mode works");
254 static const char *mode[] = { local
269 for (i = 0; i < __arraycount(mode); i++) {
271 f = fopen(path, mode[i]);
278 atf_tc_fail_nonfatal("failed to open file as %s", mode[
315 static const char *mode[] = { "rf", "r+f", "wf", "w+f", "af", "a+f" }; local
[all...]
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dvatpit.c80 int mode; member in struct:channel
130 switch (c->mode) {
167 if (c->mode == TIMER_RATEGEN) {
264 * For mode 0, see if the elapsed time is greater
268 if (c->mode == TIMER_INTTC && vatpit_get_out(vatpit, channel))
301 int sel, rw, mode; local
305 mode = val & TIMER_MODE_MASK;
315 * Counter mode is not affected when issuing a
318 if (mode != TIMER_INTTC &&
319 mode !
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dtc.nls.c97 NLSChangeCase(const Char *p, int mode) argument
103 if (mode == 0 && Islower(c)) {
106 } else if (mode && Isupper(c)) {
/freebsd-11-stable/contrib/gcc/
H A Dregs.h32 /* When you only have the mode of a pseudo register before it has a hard
34 a pseudo in such a mode would get allocated to. A target may
126 /* Get the machine mode of pseudo-reg N. */
176 /* Vector indexed by machine mode saying whether there are regs of that mode. */
180 /* For each hard register, the widest mode object that it can contain.
181 This will be a MODE_INT mode if the register can hold integers. Otherwise
182 it will be a MODE_FLOAT or a MODE_CC mode, whichever is valid for the
225 /* Select a register mode required for caller save of hard regno REGNO. */
231 /* Registers that get partially clobbered by a call in a given mode
246 end_hard_regno(enum machine_mode mode, unsigned int regno) argument
263 overlaps_hard_reg_set_p(const HARD_REG_SET regs, enum machine_mode mode, unsigned int regno) argument
[all...]
H A Dmode-switching.c1 /* CPU mode switching
40 /* We want target macros for the mode switching code to be able to refer
47 and finding all the insns which require a specific mode. Each insn gets
54 mode are given a single entry, without a mode. (Each basic block
61 priority mode, till for each entity all modes are exhausted.
67 either single or double mode to be set.
68 MODE is the mode this insn must be executed in.
75 int mode;
106 new_seginfo (int mode, rt
74 int mode; member in struct:seginfo
104 new_seginfo(int mode, rtx insn, int bb, HARD_REG_SET regs_live) argument
292 int mode = MODE_NEEDED (e, return_copy); local
481 int mode = MODE_NEEDED (e, insn); local
516 int mode = MODE_ENTRY (e); local
588 int mode; local
[all...]
H A Dcaller-save.c50 /* Modes for each hard register that we can save. The smallest mode is wide
65 saved in its widest mode with a simple SET insn as long as the memory
104 Ensure that we can find a mode to save the register and that there is a
116 enum machine_mode mode;
122 the modes that they can have. If we can't find a mode to use,
153 that register in every mode we will use to save registers. */
197 for (mode = 0 ; mode < MAX_MACHINE_MODE; mode++)
198 if (HARD_REGNO_MODE_OK (i, mode))
115 enum machine_mode mode; local
434 enum machine_mode mode; local
502 enum machine_mode mode = GET_MODE (reg); local
532 enum machine_mode mode = GET_MODE (reg); local
[all...]
/freebsd-11-stable/contrib/dialog/
H A Dmouse.c65 int mode)
68 butPtr->mode = mode;
95 butPtr->mode = -1;
61 dlg_mouse_mkbigregion(int y, int x, int height, int width, int code, int step_y, int step_x, int mode) argument
/freebsd-11-stable/contrib/gdb/gdb/tui/
H A Dtui.h68 /* Enter in the tui mode (curses). */
71 /* Leave the tui mode. */
76 /* Plain command mode to enter gdb commands. */
79 /* SingleKey mode with some keys bound to gdb commands. */
88 /* Change the TUI key mode by installing the appropriate readline keymap. */
89 extern void tui_set_key_mode (enum tui_key_mode mode);
/freebsd-11-stable/contrib/groff/src/roff/troff/
H A Dcharinfo.h40 char_mode mode; member in class:charinfo
134 return mode == CHAR_NORMAL;
139 return mode == CHAR_FALLBACK;
144 return mode == CHAR_SPECIAL;
/freebsd-11-stable/crypto/heimdal/kcm/
H A Dacl.c135 ret = (ccache->mode & mask) ? 0 : KRB5_FCC_PERM;
150 uint16_t mode)
154 /* System cache mode can only be set at startup */
166 ccache->mode = mode;
147 kcm_chmod(krb5_context context, kcm_client *client, kcm_ccache ccache, uint16_t mode) argument
/freebsd-11-stable/contrib/pjdfstest/tests/granular/
H A D02.t40 # Check whether user 65534 is permitted to write mode.
51 # 2. Setting SGID succeeds, but mode is not changed.
60 # Check whether user 65534 is denied to write mode with SUID bit.
67 # Check whether user 65534 is denied to write mode with SGID bit.
74 # Check whether user 65534 is allowed to write mode with sticky bit.
85 expect 04755 stat ${n0} mode
92 expect 02755 stat ${n0} mode
100 expect 01755 stat ${n0} mode
107 # ACL and file mode, even if ACL_{READ,WRITE}_ACL would deny it.
113 expect 0600 -u 65534 -g 65534 stat ${n0} mode
[all...]
/freebsd-11-stable/sbin/atm/atmconfig/
H A Datmconfig_device.h59 int32_t mode; member in struct:atmif
/freebsd-11-stable/crypto/openssh/
H A Ddispatch.c92 ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done, argument
100 if (mode == DISPATCH_BLOCK) {
135 ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done, argument
140 if ((r = ssh_dispatch_run(ssh, mode, done, ctxt)) != 0)
/freebsd-11-stable/sys/sys/
H A D_semaphore.h46 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
/freebsd-11-stable/usr.bin/systat/
H A Dmode.c31 * mode.c - mechanisms for dealing with SGI-style modal displays.
38 * RATE - the default mode - displays the precise rate of change in
52 * ``mode delta'', etc. The initial value for SINCE mode is initialized
55 * resets). A ``mode'' command with no arguments displays the current
56 * mode in the command line.
67 #include "mode.h"
69 enum mode currentmode = display_RATE;
76 if (prefix(cmd, "mode")) {
90 printw("unknown mode `
[all...]
/freebsd-11-stable/contrib/libpcap/msdos/
H A Dpktdrvr.h123 extern BOOL PktInitDriver (PKT_RX_MODE mode);
128 extern const char *PktRXmodeStr (PKT_RX_MODE mode);
136 extern BOOL PktSetReceiverMode(PKT_RX_MODE mode);
137 extern BOOL PktGetReceiverMode(PKT_RX_MODE *mode);
/freebsd-11-stable/contrib/libarchive/test_utils/
H A Dtest_common.h173 #define assertChmod(pathname, mode) \
174 assertion_chmod(__FILE__, __LINE__, pathname, mode)
232 #define assertFileMode(pathname, mode) \
233 assertion_file_mode(__FILE__, __LINE__, pathname, mode)
238 #define assertIsDir(pathname, mode) \
239 assertion_is_dir(__FILE__, __LINE__, pathname, mode)
244 #define assertIsReg(pathname, mode) \
245 assertion_is_reg(__FILE__, __LINE__, pathname, mode)
249 #define assertMakeDir(dirname, mode) \
250 assertion_make_dir(__FILE__, __LINE__, dirname, mode)
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tty/
H A Dlib_vidattr.c46 * emit exit-attribute-mode
50 * if exit-attribute-mode exists
55 * turn on each mode which should be on and isn't, one by one
74 #define doPut(mode) \
75 TPUTS_TRACE(#mode); \
76 NCURSES_SP_NAME(tputs) (NCURSES_SP_ARGx mode, 1, outc)
78 #define TurnOn(mask, mode) \
79 if ((turn_on & mask) && mode) { doPut(mode); }
81 #define TurnOff(mask, mode) \
[all...]
/freebsd-11-stable/contrib/apr-util/dbm/
H A Dapr_dbm.c195 apr_int32_t mode,
203 rv = (vtable->open)(pdb, pathname, mode, perm, pool);
209 apr_int32_t mode, apr_fileperms_t perm,
212 return apr_dbm_open_ex(pdb, DBM_NAME, pathname, mode, perm, pool);
296 /* Most DBM libraries take a POSIX mode for creating files. Don't trust
301 int mode = 0; local
303 mode |= 0700 & (perm >> 2); /* User is off-by-2 bits */
304 mode |= 0070 & (perm >> 1); /* Group is off-by-1 bit */
305 mode |= 0007 & (perm); /* World maps 1 for 1 */
306 return mode;
[all...]
/freebsd-11-stable/tools/regression/sysvsem/
H A Dsemtest.c138 s_ds.sem_perm.mode = (s_ds.sem_perm.mode & ~0777) | 0600;
150 if ((s_ds.sem_perm.mode & 0777) != 0600)
151 err(1, "IPC_SET of mode didn't hold");
279 print_semid_ds(struct semid_ds *sp, mode_t mode) argument
284 printf("PERM: uid %d, gid %d, cuid %d, cgid %d, mode 0%o\n",
287 sp->sem_perm.mode & 0777);
304 if ((sp->sem_perm.mode & 0777) != mode)
305 errx(1, "mode mismatc
[all...]
/freebsd-11-stable/sys/dev/bktr/
H A Dmsp34xx.c116 int mode; member in struct:msp3400c
140 #define VIDEO_MODE_RADIO 16 /* norm magic for radio mode */
187 at compile time. Remember -- no floats in kernel mode */
374 msp->mode = type;
426 static void msp3400c_setstereo(bktr_ptr_t client, int mode) argument
435 switch (msp->mode) {
437 dprintk("msp3400: FM setstereo: %s\n",strmode[mode]);
439 switch (mode) {
451 dprintk("msp3400: SAT setstereo: %s\n",strmode[mode]);
452 switch (mode) {
935 int mode,val,i,std; local
[all...]

Completed in 157 milliseconds

<<11121314151617181920>>