Searched defs:modes (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dntptime.c145 int modes; local
155 modes = ntv.modes;
157 if (modes != 0 && secpolicy_settime(CRED()) != 0)
164 if (modes & MOD_MAXERROR)
166 if (modes & MOD_ESTERROR)
168 if (modes & MOD_STATUS) {
172 if (modes & MOD_TIMECONST)
174 if (modes & MOD_OFFSET)
176 if (modes
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dvidupdate.c69 /* the old and new modes and then erase color-pairs fields in */
102 /* if the new and the old video modes became */
153 * modes and be left with and oldmode of STANDOUT and a new mode
178 chtype check_faked, modes[2]; local
182 modes[0] = newmode;
183 modes[1] = oldmode;
186 if ((check_faked = (modes[k] &
188 modes[k] &= ~check_faked;
189 modes[k] |= A_STANDOUT;
196 if (modes[
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfsetbuf.c63 static int modes = -1; local
68 if (modes < 0)
69 { modes = 0;
78 { if ((modes |= SF_LINE) == (SF_LINE|SF_WCWIDTH))
83 { if ((modes |= SF_WCWIDTH) == (SF_LINE|SF_WCWIDTH))
89 return modes;
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dpickfilter.c92 char ** modes = 0; local
119 if (prs->request->modes) {
120 cp = Strdup(prs->request->modes);
122 modes = getlist(cp, "", LP_SEP);
127 2 * (NPARM_SPEC + lenlist(modes) + 1) * sizeof(char *)
228 * and the modes.
256 if (modes) {
257 for (pl = modes; *pl; pl++) {
492 if (modes)
493 freelist (modes);
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_agpsupport.c181 drm_agp_mode_t modes; local
190 DRM_COPYFROM_WITH_RETURN(&modes, (void *)data, sizeof (modes));
192 dev->agp->mode = modes.mode;
193 setup.agps_mode = (uint32_t)modes.mode;
196 DRM_DEBUG("drm_agp_enable: dev->agp->mode=%lx", modes.mode);
/illumos-gate/usr/src/cmd/lp/include/
H A Drequests.h80 char *modes; /* mode(s) of operation; space sep. list */ member in struct:REQUEST
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-jobs.c53 char **modes = NULL; local
68 "job-sheets", "lp-charset", "lp-modes", "number-up",
184 appendlist(&modes, buf);
189 appendlist(&modes, buf);
194 appendlist(&modes, buf);
230 appendlist(&modes, buf);
234 * Convert attribute "orientation-requested" to modes
243 appendlist(&modes, "landscape");
248 appendlist(&modes, "portrait");
253 /* add "lp -y" modes */
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_nic.c890 efx_qword_t modes; local
923 modes = *MCDI_OUT2(req, efx_qword_t, GET_LOOPBACK_MODES_OUT_100M);
924 EFX_AND_QWORD(modes, mask);
925 encp->enc_loopback_types[EFX_LINK_100FDX] = modes;
927 modes = *MCDI_OUT2(req, efx_qword_t, GET_LOOPBACK_MODES_OUT_1G);
928 EFX_AND_QWORD(modes, mask);
929 encp->enc_loopback_types[EFX_LINK_1000FDX] = modes;
931 modes = *MCDI_OUT2(req, efx_qword_t, GET_LOOPBACK_MODES_OUT_10G);
932 EFX_AND_QWORD(modes, mask);
933 encp->enc_loopback_types[EFX_LINK_10000FDX] = modes;
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dtimex.h148 * Control mode codes (timex.modes)
221 uint32_t modes; /* clock mode bits (wo) */ member in struct:timex
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c302 static struct modes { struct
305 } modes[] = { variable in typeref:struct:modes
318 struct modes *p;
326 for (p = modes; p->m_name != NULL; p++)
335 p = modes;
/illumos-gate/usr/src/ucbcmd/tset/
H A Dtset.c17 * TSET -- set terminal modes
263 #define curerase modes.c_cc[VERASE]
264 #define curkill modes.c_cc[VKILL]
265 #define curintr modes.c_cc[VINTR]
432 struct termios modes; variable in typeref:struct:termios
472 if ((istermios = ioctl(FILEDES, TCGETS, (char *)&modes)) < 0) {
478 modes.c_lflag = oldmodes.c_lflag = mode.c_lflag;
479 modes.c_oflag = oldmodes.c_oflag = mode.c_oflag;
480 modes.c_iflag = oldmodes.c_iflag = mode.c_iflag;
481 modes
[all...]
/illumos-gate/usr/src/uts/common/io/mii/
H A Dmii.c469 mii_get_loopmodes(mii_handle_t mh, lb_property_t *modes) argument
515 if (modes) {
516 bcopy(lmodes, modes, sizeof (lb_property_t) * cnt);
577 lb_property_t modes[MII_LOOPBACK_MAX]; local
603 cnt = mii_get_loopmodes(mh, modes);
613 cnt = mii_get_loopmodes(mh, modes);
617 bcopy(modes, mp->b_cont->b_rptr, iocp->ioc_count);
1137 * Disable everything to start... we'll add in modes as we go.
1519 * gigabit modes cannot use legacy parallel detection.
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.c2916 static const char *modes[] = { local
2925 modes[ahp->ah_powerMode],
2926 modes[mode],
H A Darn_regd_common.h2094 static const struct cmode modes[] = { variable in typeref:struct:cmode
/illumos-gate/usr/src/cmd/init/
H A Dinit.c412 * The following structure contains a set of modes for /dev/syscon
486 static char *IOCTLSYSCON = "/etc/ioctl.syscon"; /* Last syscon modes */
830 * be called again to check normal modes. If we have
1224 * First check the "powerhit" flag. If it is set, make sure the modes
1286 * If the modes are the normal modes (ONCE, WAIT, RESPAWN, OFF,
1328 int modes, maxfiles; local
1333 * The modes to be sent to efork() are 0 unless we are
1337 modes = NAMED;
1340 modes |
2454 efork(int action, struct PROC_TABLE *process, int modes) argument
[all...]
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c2388 int cfd, modes; local
2405 modes = (nonblock) ?
2409 if (((cfd = open(sysmsg, modes)) >= 0) ||
2410 ((cfd = open(ctty, modes)) >= 0)) {
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c3255 struct elink_vars *vars, u8 modes)
3263 if (modes & SHMEM_EEE_10G_ADV) {
3267 if (modes & SHMEM_EEE_1G_ADV) {
3275 vars->eee_status |= (modes << SHMEM_EEE_ADV_STATUS_SHIFT);
5195 * that clock comensation in cl48 modes is enabled during
5196 * multi-port modes, and disabled during single port modes.
5226 * that clock comensation in cl48 modes is enabled during
5227 * multi-port modes, and disabled during single port modes
3253 elink_eee_advertise(struct elink_phy *phy, struct elink_params *params, struct elink_vars *vars, u8 modes) argument
[all...]

Completed in 132 milliseconds