/freebsd-11-stable/usr.sbin/i2c/ |
H A D | i2c.c | 61 int mode; member in struct:options 329 switch(i2c_opt.mode) { 490 if (i2c_opt.mode == I2C_MODE_STOP_START) { 502 if (i2c_opt.mode == I2C_MODE_STOP_START || i2c_opt.width == 0) { 508 } else if (i2c_opt.mode == I2C_MODE_REPEATED_START) { 554 * "transfer" so we call it "transfer mode". We assemble either one or two 640 i2c_opt.mode = I2C_MODE_NOTSET; 670 i2c_opt.mode = I2C_MODE_NONE; 672 i2c_opt.mode = I2C_MODE_STOP_START; 674 i2c_opt.mode [all...] |
/freebsd-11-stable/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 32 ** mode -- mode bits that must match. 37 ** 0 if fn exists, is owned by uid, and matches mode. 45 safefile(fn, uid, gid, user, flags, mode, st) 51 int mode; 63 sm_dprintf("safefile(%s, uid=%d, gid=%d, flags=%lx, mode=%o):\n", 64 fn, (int) uid, (int) gid, flags, mode); 245 sm_dprintf("\t[final dir %s uid %d mode %lo] %s\n", 259 sm_dprintf("\t[slink mode %lo]\tE_SM_NOSLINK\n", 267 sm_dprintf("\t[non-reg mode 403 int mode = S_IWOTH; local [all...] |
/freebsd-11-stable/sbin/atm/atmconfig/ |
H A D | atmconfig_device.c | 75 SNMP_SYNTAX_INTEGER, offsetof(struct atmif, mode) }, 155 * SUNI mode to string 196 penum(aif->mode, strsunimode, buf)); 338 int mode = 0; local 344 { "mode", OPT_STRING, NULL }, 352 if (pparse(&mode, strsunimode, optarg) == -1 || 353 mode == 3) 354 errx(1, "illegal mode for -m '%s'", optarg); 370 if (mode != 0) { 376 pdu.bindings[n + 0].v.integer = mode; [all...] |
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | gdc.c | 348 gdcopen(struct cdev *dev, int flag, int mode, struct thread *td) argument 355 if (mode & (O_CREAT | O_APPEND | O_TRUNC)) 358 return genfbopen(&sc->gensc, sc->adp, flag, mode, td); 362 gdcclose(struct cdev *dev, int flag, int mode, struct thread *td) argument 367 return genfbclose(&sc->gensc, sc->adp, flag, mode, td); 454 0, M_PC98_80x25, 0, /* va_*mode* */ 549 static int map_gen_mode_num(int type, int color, int mode); 573 /* map a generic video mode to a known mode number */ 575 map_gen_mode_num(int type, int color, int mode) argument 743 initialize_gdc(unsigned int mode, int isGraph) argument 991 gdc_get_info(video_adapter_t *adp, int mode, video_info_t *info) argument 1065 gdc_set_mode(video_adapter_t *adp, int mode) argument 1299 gdc_blank_display(video_adapter_t *adp, int mode) argument [all...] |
/freebsd-11-stable/sys/dev/cyapa/ |
H A D | cyapa.c | 197 int remote_mode; /* 0 for streaming mode */ 198 int zenabled; /* z-axis enabled (mode 1 or 2) */ 200 mousemode_t mode; /* mode */ member in struct:cyapa_softc 213 static void cyapa_set_power_mode(struct cyapa_softc *sc, int mode); 232 &cyapa_idle_freq, 0, "Scan frequency in idle mode"); 235 &cyapa_slow_freq, 0, "Scan frequency in slow mode "); 532 sc->mode.protocol = MOUSE_PROTO_PS2; 533 sc->mode.rate = 100; 534 sc->mode 1537 cyapa_set_power_mode(struct cyapa_softc *sc, int mode) argument [all...] |
/freebsd-11-stable/usr.bin/mail/ |
H A D | popen.c | 67 Fopen(const char *path, const char *mode) argument 71 if ((fp = fopen(path, mode)) != NULL) { 79 Fdopen(int fd, const char *mode) argument 83 if ((fp = fdopen(fd, mode)) != NULL) { 98 Popen(char *cmd, const char *mode) argument 110 if (*mode == 'r') { 126 if ((fp = fdopen(myside, mode)) != NULL)
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | systems.c | 232 int f, mode, allowed; local 236 mode = Nam2mode(arg->argv[f]); 237 if (mode == PHYS_NONE || mode == PHYS_ALL) 238 log_Printf(LogWARN, "allow modes: %s: Invalid mode\n", arg->argv[f]); 240 allowed |= mode; 429 system_IsValid(const char *name, struct prompt *prompt, int mode) argument 442 modereq = mode;
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | rrm.c | 281 static int wpas_rrm_report_elem(struct wpabuf **buf, u8 token, u8 mode, u8 type, argument 290 wpabuf_put_u8(*buf, mode); 497 struct hostapd_hw_modes *mode, int active, 525 enum chan_allowed res = verify_channel(mode, chan, op->bw); 549 struct hostapd_hw_modes *mode, int active) 560 return wpas_add_channels(op, mode, active, channels_80mhz, 564 return wpas_add_channels(op, mode, active, channels_160mhz, 567 return wpas_add_channels(op, mode, active, NULL, 0); 582 struct hostapd_hw_modes *mode; local 604 mode 496 wpas_add_channels(const struct oper_class_map *op, struct hostapd_hw_modes *mode, int active, const u8 *channels, const u8 size) argument 548 wpas_op_class_freqs(const struct oper_class_map *op, struct hostapd_hw_modes *mode, int active) argument 637 struct hostapd_hw_modes *mode; local [all...] |
H A D | ap.c | 2 * WPA Supplicant - Basic AP mode support routines 51 struct hostapd_hw_modes *mode) 83 center_chan = wpas_p2p_get_vht80_center(wpa_s, mode, channel); 89 center_chan = wpas_p2p_get_vht160_center(wpa_s, mode, channel); 101 center_chan = wpas_p2p_get_vht160_center(wpa_s, mode, channel); 108 center_chan = wpas_p2p_get_vht80_center(wpa_s, mode, 144 wpa_printf(MSG_ERROR, "Unsupported AP mode frequency: %d MHz", 160 struct hostapd_hw_modes *mode = NULL; local 168 if (wpa_s->hw.modes[i].mode == conf->hw_mode) { 169 mode 48 wpas_conf_ap_vht(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, struct hostapd_config *conf, struct hostapd_hw_modes *mode) argument [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | msyslog.c | 600 int mode; local 603 case 0 : mode = _IONBF; break; /* no buffering */ 604 case 1 : mode = _IOLBF; break; /* line buffering */ 605 case 2 : mode = _IOFBF; break; /* full buffering */ 606 default: mode = _IOLBF; break; /* line buffering */ 610 if (setvbuf(stdout, NULL, mode, BUFSIZ) != 0) 612 if (setvbuf(stderr, NULL, mode, BUFSIZ) != 0)
|
/freebsd-11-stable/crypto/openssl/crypto/threads/ |
H A D | mttest.c | 108 void irix_locking_callback(int mode, int type, const char *file, int line); 109 void solaris_locking_callback(int mode, int type, const char *file, int line); 110 void win32_locking_callback(int mode, int type, const char *file, int line); 111 void pthreads_locking_callback(int mode, int type, const char *file, int line); 112 void netware_locking_callback(int mode, int type, const char *file, int line); 113 void beos_locking_callback(int mode, int type, const char *file, int line); 690 void win32_locking_callback(int mode, int type, const char *file, int line) argument 692 if (mode & CRYPTO_LOCK) { 794 void solaris_locking_callback(int mode, int type, const char *file, int line) argument 797 BIO_printf(bio_err, "thread=%4d mode 902 irix_locking_callback(int mode, int type, const char *file, int line) argument 982 pthreads_locking_callback(int mode, int type, const char *file, int line) argument 1080 netware_locking_callback(int mode, int type, const char *file, int line) argument 1161 beos_locking_callback(int mode, int type, const char *file, int line) argument [all...] |
/freebsd-11-stable/sbin/sconfig/ |
H A D | sconfig.c | 94 "\tdpll={on,off}\t\t -- DPLL mode\n" 100 "\tmonitor={on,off}\t -- E1 high linear input sensitivity \n\t\t\t\t (interception mode)\n" 101 "\tphony={on,off}\t\t -- E1 telepnony mode\n" 102 "\tunfram={on,off}\t\t -- E1 unframed mode\n" 103 "\tscrambler={on,off}\t -- G.703 scrambling mode\n" 105 "\tcrc4={on,off}\t\t -- E1 CRC4 mode\n" 733 int i, mode, loop, nrzi, dpll, invclk, phony, use16, crc4, unfram, ami; local 762 mode = SERIAL_ASYNC; 763 if (ioctl (fd, SERIAL_SETMODE, &mode) >= 0) 766 mode [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | reload.c | 156 enum machine_mode mode; /* mode it must have */ 177 is used per mode, but normally only one or two modes are ever used. 308 register class RELOAD_CLASS in mode RELOAD_MODE. If secondary reloads 323 enum machine_mode mode = reload_mode; 343 mode and object being reloaded. */ 407 mode = insn_data[(int) icode].operand[2].mode; 432 && ((in_p && rld[s_reload].inmode == mode) 433 || (! in_p && rld[s_reload].outmode == mode)) 155 enum machine_mode mode; /* mode it must have */ member in struct:replacement 321 enum machine_mode mode = reload_mode; local 514 secondary_reload_class(bool in_p, enum reg_class class, enum machine_mode mode, rtx x) argument 569 get_secondary_mem(rtx x ATTRIBUTE_UNUSED, enum machine_mode mode, int opnum, enum reload_type type) argument 783 reload_inner_reg_of_subreg(rtx x, enum machine_mode mode, int output) argument 832 can_reload_into(rtx in, int regno, enum machine_mode mode) argument 1242 enum machine_mode mode; local 1596 push_replacement(rtx *loc, int reloadnum, enum machine_mode mode) argument 4713 maybe_memory_address_p(enum machine_mode mode, rtx ad, rtx *part) argument 4752 find_reloads_address(enum machine_mode mode, rtx *memrefloc, rtx ad, rtx *loc, int opnum, enum reload_type type, int ind_levels, rtx insn) argument 5214 enum machine_mode mode = GET_MODE (x); local 5366 find_reloads_address_1(enum machine_mode mode, rtx x, int context, enum rtx_code outer_code, enum rtx_code index_code, rtx *loc, int opnum, enum reload_type type, int ind_levels, rtx insn) argument 5960 find_reloads_address_part(rtx x, rtx *loc, enum reg_class class, enum machine_mode mode, int opnum, enum reload_type type, int ind_levels) argument 6610 find_equiv_reg(rtx goal, rtx insn, enum reg_class class, int other, short *reload_reg_p, int goalreg, enum machine_mode mode) argument 7145 regno_clobbered_p(unsigned int regno, rtx insn, enum machine_mode mode, int sets) argument 7195 reload_adjust_reg_for_mode(rtx reloadreg, enum machine_mode mode) argument [all...] |
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_gpio.c | 1073 uint32_t mode) 1080 mode == GPIO_INTR_EDGE_RISING || mode == GPIO_INTR_EDGE_BOTH); 1082 mode == GPIO_INTR_EDGE_FALLING || mode == GPIO_INTR_EDGE_BOTH); 1084 mode == GPIO_INTR_LEVEL_HIGH); 1086 mode == GPIO_INTR_LEVEL_LOW); 1087 bgi->bgi_mode = mode; 1115 uint32_t mode, bank; local 1136 mode 1072 bcm_gpio_pic_config_intr(struct bcm_gpio_softc *sc, struct bcm_gpio_irqsrc *bgi, uint32_t mode) argument 1159 uint32_t mode; local 1241 uint32_t mode; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_nat.c | 67 uint16_t mode; /* type of redirect mode */ member in struct:cfg_redir 90 int mode; /* aliasing mode */ member in struct:cfg_nat 163 switch (r->mode) { 182 printf("unknown redirect mode: %u\n", r->mode); 202 r->mode = ser_r->mode; 218 switch (r->mode) { 897 u_int16_t mode; member in struct:cfg_redir_legacy 917 int mode; member in struct:cfg_nat_legacy [all...] |
/freebsd-11-stable/crypto/heimdal/lib/hx509/ |
H A D | Makefile.in | 168 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 195 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 199 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 204 --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS) 209 --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS) 814 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ 815 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ 823 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ 824 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ 862 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode [all...] |
/freebsd-11-stable/sys/dev/fb/ |
H A D | fbreg.h | 116 typedef int vi_get_info_t(video_adapter_t *adp, int mode, video_info_t *info); 118 typedef int vi_set_mode_t(video_adapter_t *adp, int mode); 134 typedef int vi_blank_display_t(video_adapter_t *adp, int mode); 203 #define vidd_get_info(adp, mode, info) \ 204 (*vidsw[(adp)->va_index]->get_info)((adp), (mode), (info)) 205 #define vidd_query_mode(adp, mode) \ 206 (*vidsw[(adp)->va_index]->query_mode)((adp), (mode)) 207 #define vidd_set_mode(adp, mode) \ 208 (*vidsw[(adp)->va_index]->set_mode)((adp), (mode)) 236 #define vidd_blank_display(adp, mode) \ [all...] |
/freebsd-11-stable/sys/contrib/zlib/test/ |
H A D | minigzip.c | 13 * or in pipe mode. 182 gzFile gzopen(path, mode) 184 const char *mode; 186 return gz_open(path, -1, mode); 189 gzFile gzdopen(fd, mode) 191 const char *mode; 193 return gz_open(NULL, fd, mode); 196 gzFile gz_open(path, fd, mode) 199 const char *mode; 207 gz->write = strchr(mode, ' [all...] |
/freebsd-11-stable/crypto/openssl/crypto/ |
H A D | cryptlib.c | 187 static void (MS_FAR *locking_callback) (int mode, int type, 198 static void (MS_FAR *dynlock_lock_callback) (int mode, 361 void (*CRYPTO_get_dynlock_lock_callback(void)) (int mode, 379 void CRYPTO_set_dynlock_lock_callback(void (*func) (int mode, argument 395 void (*CRYPTO_get_locking_callback(void)) (int mode, int type, 405 void CRYPTO_set_locking_callback(void (*func) (int mode, int type, argument 564 void CRYPTO_lock(int mode, int type, const char *file, int line) argument 571 if (mode & CRYPTO_LOCK) 573 else if (mode & CRYPTO_UNLOCK) 578 if (mode [all...] |
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | intel_panel.c | 58 /* adjusted_mode has been preset to be the panel's fixed mode */ 62 const struct drm_display_mode *mode, 71 if (adjusted_mode->hdisplay == mode->hdisplay && 72 adjusted_mode->vdisplay == mode->vdisplay) 77 width = mode->hdisplay; 78 height = mode->vdisplay; 86 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay; 87 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay; 89 width = scaled_height / mode->vdisplay; 96 height = scaled_width / mode 60 intel_pch_panel_fitting(struct drm_device *dev, int fitting_mode, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument [all...] |
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | as3722_gpio.c | 337 uint8_t tmp, mode, iosf; local 349 mode = (tmp >> AS3722_GPIO_MODE_SHIFT) & AS3722_GPIO_MODE_MASK; 351 /* Is pin in GPIO mode ? */ 356 switch (mode) { 394 /* Tristate mode. */ 433 uint8_t ctrl, mode, iosf; local 443 /* Is pin in GPIO mode ? */ 448 mode = as3722_gpio_get_mode(sc, pin, flags); 485 uint8_t tmp, mode, ctrl; local 494 mode [all...] |
/freebsd-11-stable/sys/dev/utopia/ |
H A D | idtphy.c | 127 idt77105_set_loopback(struct utopia *utp, u_int mode) argument 131 switch (mode) { 152 utp->loopback = mode; 268 * set SONET/SDH mode 346 * Set loopback mode for the 77155 349 idt77155_set_loopback(struct utopia *utp, u_int mode) argument 356 nmode = mode; 357 if (mode & UTP_LOOP_TIME) { 361 if (mode & UTP_LOOP_DIAG) { 365 if (mode [all...] |
/freebsd-11-stable/sys/dev/gpio/ |
H A D | gpiospi.c | 267 gpio_spi_txrx(struct gpio_spi_softc *sc, int cs, int mode, uint8_t data) argument 276 if ((mode == SPIBUS_MODE_CPOL) || 277 (mode == SPIBUS_MODE_CPHA)) { 278 /* If mode 1 or 2 */ 298 /* If mode 0 or 3 */ 341 if ((devi->mode == SPIBUS_MODE_CPOL) || 342 (devi->mode == SPIBUS_MODE_CPHA)) { 357 buf_in[i] = gpio_spi_txrx(sc, devi->cs, devi->mode, buf_out[i]); 365 buf_in[i] = gpio_spi_txrx(sc, devi->cs, devi->mode, buf_out[i]); 367 /* Return pins to mode defaul [all...] |
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_shm.c | 88 int mode; /* 0 - if valid is set: member in struct:shmTime 369 int mode; member in struct:shm_stat_t 429 * Not supported in mode 0, and word access to the count field 432 if (shmcopy.mode > 0 && cnt != shm->count) { 438 shm_stat->mode = shmcopy.mode; 440 switch (shmcopy.mode) { 557 refnumtoa(&peer->srcadr), shm_stat.mode)); 567 DPRINTF(1, ("%s: SHM type blooper, mode=%d\n", 568 refnumtoa(&peer->srcadr), shm->mode)); [all...] |
/freebsd-11-stable/crypto/openssl/crypto/bio/ |
H A D | bss_file.c | 118 static FILE *file_fopen(const char *filename, const char *mode) argument 149 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, 158 file = fopen(filename, mode); 161 file = fopen(filename, mode); 164 file = fopen(filename, mode); 169 BIO *BIO_new_file(const char *filename, const char *mode) argument 172 FILE *file = file_fopen(filename, mode); 176 ERR_add_error_data(5, "fopen('", filename, "','", mode, "')"); 353 /* Set correct text/binary mode */ [all...] |