/freebsd-11-stable/sys/dev/scc/ |
H A D | scc_core.c | 57 struct scc_chan *ch; local 71 ch = &sc->sc_chan[c]; 72 if (!(ch->ch_ipend & isrc)) 74 m = &ch->ch_mode[0]; 78 ch->ch_ipend &= ~isrc; 82 ch = &sc->sc_chan[c]; 83 if (!ch->ch_ipend) 85 m = &ch->ch_mode[0]; 89 SCC_ICLEAR(sc, ch); 100 struct scc_chan *ch; local 306 struct scc_chan *ch; local 413 struct scc_chan *ch; local 437 struct scc_chan *ch; local 459 struct scc_chan *ch; local 502 struct scc_chan *ch; local 518 struct scc_chan *ch; local [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_addch.c | 53 /* Return bit mask for clearing color pair number if given ch has color */ 54 #define COLOR_MASK(ch) (~(attr_t)((ch) & A_COLOR ? A_COLOR : 0)) 57 render_char(WINDOW *win, NCURSES_CH_T ch) argument 61 int pair = GetPair(ch); 63 if (ISBLANK(ch) 64 && AttrOf(ch) == A_NORMAL 67 ch = win->_nc_bkgd; 68 SetAttr(ch, a | AttrOf(win->_nc_bkgd)); 71 SetPair(ch, pai 184 _nc_build_wch(WINDOW *win, ARG_CH_T ch) argument 238 waddch_literal(WINDOW *win, NCURSES_CH_T ch) argument 405 waddch_nosync(WINDOW *win, const NCURSES_CH_T ch) argument 534 waddch(WINDOW *win, const chtype ch) argument 553 wechochar(WINDOW *win, const chtype ch) argument [all...] |
H A D | keyok.c | 62 unsigned ch = (unsigned) c; local 66 ch, &count, (size_t) 0)) != 0) { 67 if (_nc_remove_key(&(SP_PARM->_key_ok), ch)) { 68 code = _nc_add_to_try(&(SP_PARM->_keytry), s, ch); 79 ch, &count, (size_t) 0)) != 0) { 80 if (_nc_remove_key(&(SP_PARM->_keytry), ch)) { 81 code = _nc_add_to_try(&(SP_PARM->_key_ok), s, ch);
|
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | feeder_mixer.c | 180 struct pcm_channel *ch; local 218 CHN_FOREACH(ch, c, children.busy) { 219 CHN_LOCK(ch); 220 if (CHN_STOPPED(ch) || (ch->flags & CHN_F_DIRTY)) { 221 CHN_UNLOCK(ch); 225 if ((c->flags & CHN_F_DIRTY) && VCHAN_SYNC_REQUIRED(ch)) { 226 if (vchan_sync(ch) != 0) { 227 CHN_UNLOCK(ch); 232 bs = ch 285 struct pcm_channel *ch; local [all...] |
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_scanner.c | 169 int ch; local 175 ch = stream->backch; 178 conf_file_sum += ch; 182 while ((ch = fgetc(stream->fpi)) != EOF && ch > SCHAR_MAX) 184 if (EOF != ch) { 185 conf_file_sum += ch; 192 while ((ch = (u_char)*scan) > SCHAR_MAX) { 196 if ('\0' != ch) { 200 ch 227 lex_ungetch( int ch, struct FILE_INFO *stream ) argument 687 int ch; local [all...] |
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_ftp.c | 343 char ch; local 361 ch = sptr[i]; 364 if (isspace(ch)) 374 if (isdigit(ch)) { 375 octet = ch - '0'; 384 if (isdigit(ch)) 385 octet = 10 * octet + ch - '0'; 386 else if (ch == ',') { 394 if (isdigit(ch)) 395 octet = 10 * octet + ch 416 char ch, delim; local 506 char ch; local 579 char ch, delim; local [all...] |
/freebsd-11-stable/contrib/dialog/ |
H A D | trace.c | 71 chtype ch, c2; local 83 ch = mvwinch(win, j, k) & (A_CHARTEXT | A_ALTCHARSET); 84 if (ch & A_ALTCHARSET) { 85 c2 = dlg_asciibox(ch); 87 ch = c2; 89 buffer[0] = (char) ch; 112 ch = mvwinch(win, j, k) & (A_CHARTEXT | A_ALTCHARSET); 113 c2 = dlg_asciibox(ch); 115 ch = c2; 116 } else if (unctrl(ch) 131 dlg_trace_chr(int ch, int fkey) argument [all...] |
H A D | dlg_keys.h | 32 #define dlg_toupper(ch) towupper((wint_t)ch) 33 #define dlg_isupper(ch) iswupper((wint_t)ch) 35 #define dlg_toupper(ch) (((ch) > 0 && (ch) <= 255) ? toupper(ch) : (ch)) 36 #define dlg_isupper(ch) (isalph [all...] |
/freebsd-11-stable/contrib/apr/passwd/ |
H A D | apr_getpass.c | 121 int ch; 125 while ((ch = _getch()) != '\r') { 126 if (ch == EOF) /* EOF */ { 130 else if (ch == 0 || ch == 0xE0) { 132 ch = (ch << 4) | _getch(); 134 if ((ch == 0xE53 || ch == 0xE4B || ch [all...] |
/freebsd-11-stable/lib/libc/regex/ |
H A D | regex2.h | 126 CHIN1(cset *cs, wint_t ch) argument 130 assert(ch >= 0); 131 if (ch < NC) 132 return (((cs->bmp[ch >> 3] & (1 << (ch & 7))) != 0) ^ 135 if (ch == cs->wides[i]) 138 if (cs->ranges[i].min <= ch && ch <= cs->ranges[i].max) 141 if (iswctype(ch, cs->types[i])) 147 CHIN(cset *cs, wint_t ch) argument [all...] |
/freebsd-11-stable/usr.bin/locate/locate/ |
H A D | util.c | 63 check_bigram_char(ch) 64 int ch; 67 if (ch == 0 || 68 (ch >= ASCII_MIN && ch <= ASCII_MAX)) 69 return(ch); 73 ASCII_MIN, ASCII_MAX, ch); 89 char *c, *ch, *p; local 107 for (ch = c = path; ; ch [all...] |
/freebsd-11-stable/contrib/ncurses/progs/ |
H A D | tabs.c | 92 int ch; local 97 while ((ch = *tab_list++) != '\0') { 98 if (isdigit(UChar(ch))) { 100 value += (ch - '0'); 101 } else if (ch == ',') { 114 } else if (ch == '+') { 152 int ch = 1 + (n / 10); local 156 ((ch < 10) 157 ? (ch + '0') 158 : (ch 211 int ch, j, k, last; local 304 int n, ch; local 380 int n, ch; local [all...] |
/freebsd-11-stable/sys/arm/ti/ |
H A D | ti_edma3.h | 72 int ti_edma3_request_dma_ch(unsigned int ch, unsigned int tccn, unsigned int eqn); 73 int ti_edma3_request_qdma_ch(unsigned int ch, unsigned int tccn, unsigned int eqn); 74 int ti_edma3_enable_transfer_manual(unsigned int ch); 75 int ti_edma3_enable_transfer_qdma(unsigned int ch); 76 int ti_edma3_enable_transfer_event(unsigned int ch); 78 void ti_edma3_param_write(unsigned int ch, struct ti_edma3cc_param_set *prs); 79 void ti_edma3_param_read(unsigned int ch, struct ti_edma3cc_param_set *prs);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | epoll.c | 252 const struct event_change *ch) 258 idx = EPOLL_OP_TABLE_INDEX(ch); 267 if ((ch->read_change|ch->write_change) & EV_CHANGE_ET) 271 epev.data.fd = ch->fd; 273 if (epoll_ctl(epollop->epfd, op, ch->fd, &epev) == 0) { 277 (int)ch->fd, 278 ch->old_events, 279 ch->read_change, 280 ch 250 epoll_apply_one_change(struct event_base *base, struct epollop *epollop, const struct event_change *ch) argument 361 struct event_change *ch; local 379 struct event_change ch; local 400 struct event_change ch; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | i386-stub.c | 439 hex (ch) 440 char ch; 442 if ((ch >= 'a') && (ch <= 'f')) 443 return (ch - 'a' + 10); 444 if ((ch >= '0') && (ch <= '9')) 445 return (ch - '0'); 446 if ((ch >= 'A') && (ch < 463 char ch; local 533 char ch; local 607 unsigned char ch; local 635 unsigned char ch; local [all...] |
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | via8233.c | 384 via_buildsgdt(struct via_chinfo *ch) argument 389 phys_addr = sndbuf_getbufaddr(ch->buffer); 391 for (i = 0; i < ch->blkcnt; i++) { 392 flag = (i == ch->blkcnt - 1) ? VIA_DMAOP_EOL : VIA_DMAOP_FLAG; 393 ch->sgd_table[i].ptr = phys_addr + (i * ch->blksz); 394 ch->sgd_table[i].flags = flag | ch->blksz; 406 struct via_chinfo *ch = data; local 407 struct via_info *via = ch 425 struct via_chinfo *ch = data; local 447 struct via_chinfo *ch = data; local 475 struct via_chinfo *ch = data; local 487 struct via_chinfo *ch = data; local 507 struct via_chinfo *ch = data; local 522 struct via_chinfo *ch = data; local 534 struct via_chinfo *ch = data; local 551 struct via_chinfo *ch = data; local 567 struct via_chinfo *ch = data; local 605 struct via_chinfo *ch = data; local 616 struct via_chinfo *ch = data; local 637 via8233chan_reset(struct via_info *via, struct via_chinfo *ch) argument 649 via8233chan_sgdinit(struct via_info *via, struct via_chinfo *ch, int chnum) argument 661 struct via_chinfo *ch; local 692 struct via_chinfo *ch; local 729 struct via_chinfo *ch; local 755 via8233chan_mute(struct via_info *via, struct via_chinfo *ch, int muted) argument 772 via_poll_channel(struct via_chinfo *ch) argument 844 struct via_chinfo *ch; local 887 struct via_chinfo *ch = data; local [all...] |
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | a10_dmac.c | 89 #define DMACH_READ(ch, reg) \ 90 DMA_READ((ch)->ch_sc, (reg) + (ch)->ch_regoff) 91 #define DMACH_WRITE(ch, reg, val) \ 92 DMA_WRITE((ch)->ch_sc, (reg) + (ch)->ch_regoff, (val)) 212 a10dmac_read_ctl(struct a10dmac_channel *ch) argument 214 if (ch->ch_type == CH_NDMA) { 215 return (DMACH_READ(ch, AWIN_NDMA_CTL_REG)); 217 return (DMACH_READ(ch, AWIN_DDMA_CTL_RE 222 a10dmac_write_ctl(struct a10dmac_channel *ch, uint32_t val) argument 234 struct a10dmac_channel *ch = priv; local 337 struct a10dmac_channel *ch = NULL; local 374 struct a10dmac_channel *ch = priv; local 404 struct a10dmac_channel *ch = priv; local 436 struct a10dmac_channel *ch = priv; local [all...] |
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-siliconimage.c | 179 struct ata_channel *ch = device_get_softc(dev); local 186 ch->hw.status = ata_cmd_status; 188 ch->flags |= ATA_NO_ATAPI_DMA; 196 struct ata_channel *ch = device_get_softc(dev); local 200 (ch->unit ? 0x08 : 0x04))) { 202 reg71 & ~(ch->unit ? 0x04 : 0x08), 1); 213 struct ata_channel *ch = device_get_softc(dev); local 214 int devno = (ch->unit << 1) + target; 216 int ureg = ch->unit ? 0x7b : 0x73; 246 struct ata_channel *ch local 309 struct ata_channel *ch = device_get_softc(dev); local 328 struct ata_channel *ch = device_get_softc(dev); local 348 struct ata_channel *ch = device_get_softc(dev); local [all...] |
/freebsd-11-stable/contrib/atf/atf-c/ |
H A D | tp_test.c | 52 int ch; local 59 while ((ch = getopt(argc, argv, ":Z")) != -1) { 60 switch (ch) {
|
/freebsd-11-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd_main.cc | 75 int ch; local 77 while ((ch = getopt(argc, argv, "d")) != -1) { 78 switch (ch) {
|
/freebsd-11-stable/sys/arm/mv/ |
H A D | mvreg.h | 244 #define SATA_EDMA_BASE(ch) (EDMA_REGISTERS_OFFSET + \ 245 ((ch) * EDMA_REGISTERS_SIZE)) 252 #define SATA_CR_COALDIS(ch) (1 << (24 + ch)) 263 #define SATA_ICR_DMADONE(ch) (1 << (ch)) 265 #define SATA_ICR_DEV(ch) (1 << (8 + ch)) 268 #define SATA_MICR_ERR(ch) (1 << (2 * ch)) [all...] |
/freebsd-11-stable/crypto/heimdal/lib/wind/ |
H A D | utf8.c | 181 uint32_t ch; local 185 ch = in[i]; 187 if (ch < 0x80) { 189 } else if (ch < 0x800) { 191 } else if (ch < 0x10000) { 193 } else if (ch <= 0x10FFFF) { 206 out[3] = (ch | 0x80) & 0xbf; 207 ch = ch >> 6; 209 out[2] = (ch | 460 uint16_t ch; local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_table.h | 77 typedef int (ta_init)(struct ip_fw_chain *ch, void **ta_state, 80 typedef int (ta_prepare_add)(struct ip_fw_chain *ch, struct tentry_info *tei, 82 typedef int (ta_prepare_del)(struct ip_fw_chain *ch, struct tentry_info *tei, 88 typedef void (ta_flush_entry)(struct ip_fw_chain *ch, struct tentry_info *tei, 147 int ipfw_add_table_algo(struct ip_fw_chain *ch, struct table_algo *ta, 149 void ipfw_del_table_algo(struct ip_fw_chain *ch, int idx); 156 int add_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, 158 int del_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, 160 int flush_table(struct ip_fw_chain *ch, struct tid_info *ti); 163 int ipfw_get_table_size(struct ip_fw_chain *ch, ip_fw3_opheade 210 struct ip_fw_chain *ch; member in struct:tableop_state [all...] |
/freebsd-11-stable/sys/kgssapi/ |
H A D | gssd_prot.c | 191 gss_channel_bindings_t ch; local 196 ch = *chp; 197 if (ch) { 200 || !xdr_uint32_t(xdrs, &ch->initiator_addrtype) 202 &ch->initiator_address) 203 || !xdr_uint32_t(xdrs, &ch->acceptor_addrtype) 205 &ch->acceptor_address) 207 &ch->application_data)) 222 ch = mem_alloc(sizeof(*ch)); [all...] |
/freebsd-11-stable/usr.sbin/accton/ |
H A D | accton.c | 56 int ch; local 58 while ((ch = getopt(argc, argv, "")) != -1) 59 switch(ch) {
|