Searched refs:ch (Results 51 - 75 of 1496) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/siis/
H A Dsiis.c85 static int siis_sata_connect(struct siis_channel *ch);
461 struct siis_channel *ch = device_get_softc(dev); local
465 ch->dev = dev;
466 ch->unit = (intptr_t)device_get_ivars(dev);
467 ch->quirks = ctlr->quirks;
468 ch->pm_level = 0;
470 device_get_unit(dev), "pm_level", &ch->pm_level);
474 ch->user[i].revision = sata_rev;
475 ch->user[i].mode = 0;
476 ch
552 struct siis_channel *ch = device_get_softc(dev); local
577 struct siis_channel *ch = device_get_softc(dev); local
594 struct siis_channel *ch = device_get_softc(dev); local
604 struct siis_channel *ch = device_get_softc(dev); local
618 struct siis_channel *ch = device_get_softc(dev); local
648 struct siis_channel *ch; local
667 struct siis_channel *ch = device_get_softc(dev); local
713 struct siis_channel *ch = device_get_softc(dev); local
735 struct siis_channel *ch = device_get_softc(dev); local
757 struct siis_channel *ch = device_get_softc(dev); local
775 struct siis_channel *ch = device_get_softc(dev); local
807 struct siis_channel *ch = device_get_softc(dev); local
839 struct siis_channel *ch = device_get_softc(dev); local
850 struct siis_channel *ch = device_get_softc(dev); local
953 struct siis_channel *ch = device_get_softc(dev); local
979 struct siis_channel *ch = device_get_softc(dev); local
1018 struct siis_channel *ch = device_get_softc(slot->dev); local
1060 struct siis_channel *ch = device_get_softc(dev); local
1132 struct siis_channel *ch = device_get_softc(dev); local
1153 struct siis_channel *ch = device_get_softc(dev); local
1176 struct siis_channel *ch = device_get_softc(dev); local
1215 struct siis_channel *ch = device_get_softc(dev); local
1370 struct siis_channel *ch = device_get_softc(dev); local
1447 struct siis_channel *ch = device_get_softc(dev); local
1505 struct siis_channel *ch = device_get_softc(dev); local
1526 struct siis_channel *ch = device_get_softc(dev); local
1543 struct siis_channel *ch = device_get_softc(dev); local
1563 struct siis_channel *ch = device_get_softc(dev); local
1582 struct siis_channel *ch = device_get_softc(dev); local
1689 struct siis_channel *ch = device_get_softc(dev); local
1744 siis_sata_connect(struct siis_channel *ch) argument
1807 struct siis_channel *ch; local
1984 struct siis_channel *ch = (struct siis_channel *)cam_sim_softc(sim); local
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dmaestro.c447 wp_rdapu(struct agg_info *ess, unsigned ch, u_int16_t reg) argument
449 wp_wrreg(ess, WPREG_CRAM_PTR, reg | (ch << 4));
450 if (wp_wait_data(ess, reg | (ch << 4)) != 0)
456 wp_wrapu(struct agg_info *ess, unsigned ch, u_int16_t reg, u_int16_t data) argument
458 wp_wrreg(ess, WPREG_CRAM_PTR, reg | (ch << 4));
459 if (wp_wait_data(ess, reg | (ch << 4)) == 0) {
548 wc_rdchctl(struct agg_info *ess, int ch)
550 return wc_rdreg(ess, ch << 3);
555 wc_wrchctl(struct agg_info *ess, int ch, u_int16_t data) argument
557 wc_wrreg(ess, ch <<
842 aggch_start_dac(struct agg_chinfo *ch) argument
927 aggch_stop_dac(struct agg_chinfo *ch) argument
950 aggch_start_adc(struct agg_rchinfo *ch) argument
1037 aggch_stop_adc(struct agg_rchinfo *ch) argument
1079 aggch_feed_adc_stereo(struct agg_rchinfo *ch) argument
1119 aggch_feed_adc_mono(struct agg_rchinfo *ch) argument
1144 suppress_jitter(struct agg_chinfo *ch) argument
1161 suppress_rec_jitter(struct agg_rchinfo *ch) argument
1178 calc_timer_div(struct agg_chinfo *ch) argument
1195 calc_timer_div_rch(struct agg_rchinfo *ch) argument
1285 struct agg_chinfo *ch; local
1357 struct agg_chinfo *ch = data; local
1370 struct agg_chinfo *ch = data; local
1398 struct agg_chinfo *ch = data; local
1422 struct agg_chinfo *ch = data; local
1441 struct agg_chinfo *ch = data; local
1494 struct agg_rchinfo *ch; local
1523 struct agg_rchinfo *ch = data; local
1546 struct agg_rchinfo *ch = data; local
1570 struct agg_rchinfo *ch = sc; local
1593 struct agg_rchinfo *ch = sc; local
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_ungetch.c61 safe_ungetch(SCREEN *sp, int ch) argument
65 T((T_CALLED("ungetch(%p,%s)"), (void *) sp, _nc_tracechar(sp, ch)));
76 sp->_fifo[head] = ch;
77 T(("ungetch %s ok", _nc_tracechar(sp, ch)));
90 ungetch(int ch) argument
92 return safe_ungetch(CURRENT_SCREEN, ch);
H A Dlib_bkgd.c49 wbkgrndset(WINDOW *win, const ARG_CH_T ch) argument
51 T((T_CALLED("wbkgdset(%p,%s)"), (void *) win, _tracech_t(ch)));
55 attr_t on = AttrOf(CHDEREF(ch));
66 if ((pair = GetPair(CHDEREF(ch))) != 0)
71 if (CharOf(CHDEREF(ch)) == L('\0')) {
72 SetChar(win->_nc_bkgd, BLANK_TEXT, AttrOf(CHDEREF(ch)));
73 if_EXT_COLORS(SetPair(win->_nc_bkgd, GetPair(CHDEREF(ch))));
75 win->_nc_bkgd = CHDEREF(ch);
102 wbkgdset(WINDOW *win, chtype ch) argument
105 SetChar2(wch, ch);
118 wbkgrnd(WINDOW *win, const ARG_CH_T ch) argument
154 wbkgd(WINDOW *win, chtype ch) argument
[all...]
H A Dlib_getstr.c83 int ch; local
111 while ((ch = wgetch_events(win, evl)) != ERR) {
118 if (ch == '\n'
119 || ch == '\r'
120 || ch == KEY_DOWN
121 || ch == KEY_ENTER) {
129 if (ch == KEY_EVENT)
133 if (ch == KEY_RESIZE)
136 if (ch == erasec || ch
[all...]
/freebsd-11-stable/lib/libutil/
H A Dproperty.c79 int ch = 0, blevel = 0; local
90 ch = buf[bp++];
109 ch = buf[0];
115 if (isspace((unsigned char)ch))
118 else if (ch == '#' || ch == ';') {
122 else if (isalnum((unsigned char)ch) || ch == '_') {
128 hold_n[n++] = ch;
137 if (ch
[all...]
/freebsd-11-stable/sys/geom/label/
H A Dg_label_gpt.c59 uint32_t ch; local
64 ch = (bo == BIG_ENDIAN) ? be16toh(*str) : le16toh(*str);
66 if ((ch & 0xf800) == 0xd800) {
73 if ((ch & 0x400) == 0 && (c & 0xfc00) == 0xdc00) {
74 ch = ((ch & 0x3ff) << 10) + (c & 0x3ff);
75 ch += 0x10000;
77 ch = 0xfffd;
78 } else if (ch == 0xfffe) { /* BOM (U+FEFF) swapped. */
81 } else if (ch
[all...]
/freebsd-11-stable/usr.bin/tset/
H A Dwrterm.c54 register int ch; local
77 while ((ch = *p) != '\0' && isspace(ch))
79 if (ch == '\0')
81 while ((ch = *p++) != '\0')
82 switch(ch) {
105 (void)putchar(ch);
106 if ((ch = *p++) == '\0')
110 (void)putchar(ch);
/freebsd-11-stable/stand/ofw/libofw/
H A Dofw_console.c91 unsigned char ch = '\0'; local
100 if (OF_read(stdin, &ch, 1) > 0)
101 return (ch);
109 unsigned char ch; local
114 if (OF_read(stdin, &ch, 1) > 0) {
115 saved_char = ch;
/freebsd-11-stable/sys/dev/ata/
H A Data-sata.c52 struct ata_channel *ch = device_get_softc(dev); local
55 if (ata_sata_scr_read(ch, port, ATA_SERROR, &error))
64 ata_sata_scr_write(ch, port, ATA_SERROR, error);
67 if ((error & ATA_SE_PHY_CHANGED) && (ch->pm_level == 0)) {
69 if (ata_sata_scr_read(ch, port, ATA_SSTATUS, &status)) {
78 taskqueue_enqueue(taskqueue_thread, &ch->conntask);
83 ata_sata_scr_read(struct ata_channel *ch, int port, int reg, uint32_t *val) argument
86 if (ch->hw.pm_read != NULL)
87 return (ch->hw.pm_read(ch
96 ata_sata_scr_write(struct ata_channel *ch, int port, int reg, uint32_t val) argument
109 ata_sata_connect(struct ata_channel *ch, int port, int quick) argument
155 struct ata_channel *ch = device_get_softc(dev); local
237 struct ata_channel *ch = device_get_softc(dev); local
288 struct ata_channel *ch = device_get_softc(dev); local
[all...]
H A Data-card.c90 struct ata_channel *ch = device_get_softc(dev); local
95 if (ch->attached)
97 ch->attached = 1;
107 ch->r_io[i].res = io;
108 ch->r_io[i].offset = i;
110 ch->r_io[ATA_IDX_ADDR].res = io;
117 ch->r_io[ATA_CONTROL].res = io;
118 ch->r_io[ATA_CONTROL].offset = 14;
126 ch->r_io[i].res = NULL;
129 ch
151 struct ata_channel *ch = device_get_softc(dev); local
[all...]
/freebsd-11-stable/usr.bin/tty/
H A Dtty.c54 int ch, sflag; local
58 while ((ch = getopt(argc, argv, "s")) != -1)
59 switch (ch) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTF.cpp151 UTF32 ch; local
155 ch = *source++;
156 if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */
158 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) {
167 *target++ = (UTF16)ch; /* normal case */
169 } else if (ch > UNI_MAX_LEGAL_UTF32) {
181 ch -= halfBase;
182 *target++ = (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START);
183 *target++ = (UTF16)((ch
199 UTF32 ch, ch2; local
254 UTF32 ch; local
324 UTF32 ch; local
548 UTF32 ch = 0; local
622 UTF32 ch = 0; local
[all...]
/freebsd-11-stable/usr.bin/fold/
H A Dfold.c70 int ch, previous_ch; local
77 while ((ch = getopt(argc, argv, "0123456789bsw:")) != -1) {
78 switch (ch) {
100 width = width * 10 + (ch - '0');
110 width = ch - '0';
117 previous_ch = ch;
160 wint_t ch; local
163 while ((ch = getwchar()) != WEOF) {
164 if (ch == '\n') {
169 if ((col = newpos(col, ch)) > widt
207 newpos(int col, wint_t ch) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/gdbserver/
H A Dgdbreplay.c160 tohex (int ch) argument
162 if (ch >= '0' && ch <= '9')
164 return (ch - '0');
166 if (ch >= 'A' && ch <= 'F')
168 return (ch - 'A' + 10);
170 if (ch >= 'a' && ch <= 'f')
172 return (ch
182 int ch; local
277 char ch; local
295 int ch; local
[all...]
/freebsd-11-stable/sys/arm/ti/
H A Dti_edma3.c289 ti_edma3_enable_event_intr(unsigned int ch) argument
293 if (ch >= TI_EDMA3_NUM_DMA_CHS)
296 if (ch < 32) {
297 ti_edma3_cc_wr_4(TI_EDMA3CC_S_IESR(0), 1 << ch);
299 ti_edma3_cc_wr_4(TI_EDMA3CC_S_IESRH(0), 1 << (ch - 32));
306 ti_edma3_request_dma_ch(unsigned int ch, unsigned int tccn, unsigned int eqn) argument
310 if (ch >= TI_EDMA3_NUM_DMA_CHS)
314 if (ch < 32) {
316 reg |= (0x01 << ch);
320 reg |= (0x01 << (ch
340 ti_edma3_request_qdma_ch(unsigned int ch, unsigned int tccn, unsigned int eqn) argument
367 ti_edma3_enable_transfer_manual(unsigned int ch) argument
383 ti_edma3_enable_transfer_qdma(unsigned int ch) argument
395 ti_edma3_enable_transfer_event(unsigned int ch) argument
416 ti_edma3_param_write(unsigned int ch, struct ti_edma3cc_param_set *prs) argument
423 ti_edma3_param_read(unsigned int ch, struct ti_edma3cc_param_set *prs) argument
[all...]
/freebsd-11-stable/usr.bin/uuencode/
H A Duuencode.c77 int ch; local
86 while ((ch = getopt(argc, argv, "mo:r")) != -1) {
87 switch (ch) {
180 register int ch, n; local
187 ch = ENC(n);
188 if (fputc(ch, output) == EOF)
197 ch = *p >> 2;
198 ch = ENC(ch);
199 if (fputc(ch, outpu
[all...]
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64stl_control.c98 nat64stl_export_config(struct ip_fw_chain *ch, struct nat64stl_cfg *cfg, argument
109 no = ipfw_objhash_lookup_table_kidx(ch, cfg->map64);
111 no = ipfw_objhash_lookup_table_kidx(ch, cfg->map46);
116 struct ip_fw_chain *ch; member in struct:nat64stl_dump_arg
128 nat64stl_export_config(da->ch, (struct nat64stl_cfg *)no, uc);
145 nat64stl_create_internal(struct ip_fw_chain *ch, struct nat64stl_cfg *cfg, argument
149 IPFW_UH_WLOCK_ASSERT(ch);
151 if (ipfw_objhash_alloc_idx(CHAIN_TO_SRV(ch), &cfg->no.kidx) != 0)
155 if (ipfw_ref_table(ch, &i->ntlv4, &cfg->map46) != 0)
159 if (ipfw_ref_table(ch,
176 nat64stl_create(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument
252 nat64stl_config(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument
303 nat64stl_detach_config(struct ip_fw_chain *ch, struct nat64stl_cfg *cfg) argument
322 nat64stl_destroy(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument
364 nat64stl_list(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument
399 export_stats(struct ip_fw_chain *ch, struct nat64stl_cfg *cfg, struct ipfw_nat64stl_stats *stats) argument
424 nat64stl_stats(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument
471 nat64stl_reset_stats(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument
528 nat64stl_findbyname(struct ip_fw_chain *ch, struct tid_info *ti, struct named_object **pno) argument
539 nat64stl_findbykidx(struct ip_fw_chain *ch, uint16_t idx) argument
553 nat64stl_manage_sets(struct ip_fw_chain *ch, uint16_t set, uint8_t new_set, enum ipfw_sets_cmd cmd) argument
578 struct ip_fw_chain *ch; local
589 nat64stl_init(struct ip_fw_chain *ch, int first) argument
601 nat64stl_uninit(struct ip_fw_chain *ch, int last) argument
615 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), destroy_config_cb, ch, local
[all...]
/freebsd-11-stable/lib/libc/nameser/
H A Dns_ttl.c88 int ch; local
90 for (p = odst; (ch = *p) != '\0'; p++)
91 if (isascii(ch) && isupper(ch))
92 *p = tolower(ch);
101 int ch, digits, dirty; local
107 while ((ch = *src++) != '\0') {
108 if (!isascii(ch) || !isprint(ch))
110 if (isdigit(ch)) {
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dtokenize.c55 ch_t ch = *(pSrc++); local
56 switch (ch) {
60 pSrc += ao_string_cook_escape_char((const char *)pSrc, (char *)&ch, 0x7F);
61 if (ch == 0x7F)
66 *(pDest++) = ch;
83 ch_t ch = *(pSrc++); local
84 switch (ch) {
104 ch = '\'';
114 *(pDest++) = ch;
252 int ch local
[all...]
/freebsd-11-stable/usr.sbin/cron/lib/
H A Dentry.c111 int ch; local
120 ch = get_char(file);
121 if (ch == EOF)
124 /* ch is now the first useful character of a useful line.
136 if (ch == '@') {
153 ch = get_string(cmd, MAX_COMMAND, file, " \t\n");
231 Skip_Blanks(ch, file);
232 if (ch == EOF) {
240 ch = get_list(e->minute, FIRST_MINUTE, LAST_MINUTE,
241 PPC_NULL, ch, fil
[all...]
/freebsd-11-stable/usr.bin/cut/
H A Dcut.c80 int ch, rval; local
89 while ((ch = getopt(argc, argv, "b:c:d:f:snw")) != -1)
90 switch(ch) {
238 int ch, col; local
241 ch = 0;
245 if ((ch = getc(fp)) == EOF)
247 if (ch == '\n')
250 (void)putchar(ch);
252 if (ch != '\n') {
254 while ((ch
334 wint_t ch; local
367 is_delim(wchar_t ch) argument
382 wchar_t ch; local
[all...]
/freebsd-11-stable/sys/amd64/
H A DMakefile27 SAMD64= ${SYS}/amd64/acpica/*.[ch] \
28 ${SYS}/amd64/amd64/*.[ch] ${SYS}/amd64/ia32/*.[ch] \
29 ${SYS}/amd64/include/*.[ch] ${SYS}/amd64/linux/*.[ch] \
30 ${SYS}/amd64/linux32/*.[ch] ${SYS}/amd64/pci/*.[ch] \
31 ${SYS}/amd64/vmm/*.[ch]
/freebsd-11-stable/lib/libc/string/
H A Dstrchr.c40 strchr(const char *p, int ch) argument
44 c = ch;
H A Dstrchrnul.c39 __strchrnul(const char *p, int ch) argument
43 c = ch;

Completed in 134 milliseconds

1234567891011>>