Searched refs:ch (Results 226 - 250 of 1408) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/dev/ata/
H A Data-cbus.c210 struct ata_channel *ch = device_get_softc(child); local
214 retval += printf(" at bank %d", ch->unit);
223 struct ata_channel *ch; local
227 if (!(ch = ctlr->interrupt[unit].argument))
229 ctlr->interrupt[unit].function(ch);
272 struct ata_channel *ch = device_get_softc(dev); local
275 if (ch->attached)
277 ch->attached = 1;
279 ch->unit = (intptr_t)device_get_ivars(dev);
282 ch
300 struct ata_channel *ch = device_get_softc(dev); local
312 struct ata_channel *ch = device_get_softc(dev); local
323 struct ata_channel *ch = device_get_softc(dev); local
[all...]
H A Data-pci.c396 struct ata_channel *ch = device_get_softc(dev); local
413 ch->r_io[i].res = io;
414 ch->r_io[i].offset = i;
416 ch->r_io[ATA_CONTROL].res = ctlio;
417 ch->r_io[ATA_CONTROL].offset = ctlr->legacy ? 0 : 2;
418 ch->r_io[ATA_IDX_ADDR].res = io;
422 ch->r_io[i].res = ctlr->r_res1;
423 ch->r_io[i].offset = (i - ATA_BMCMD_PORT) + (ch->unit*ATA_BMIOSIZE);
434 struct ata_channel *ch local
451 struct ata_channel *ch = device_get_softc(dev); local
474 struct ata_channel *ch = device_get_softc(dev); local
483 struct ata_channel *ch = device_get_softc(request->parent); local
501 struct ata_channel *ch = device_get_softc(request->parent); local
517 struct ata_channel *ch = device_get_softc(dev); local
533 struct ata_channel *ch = device_get_softc(dev); local
632 struct ata_channel *ch = device_get_softc(dev); local
655 struct ata_channel *ch = device_get_softc(dev); local
674 struct ata_channel *ch = device_get_softc(dev); local
693 struct ata_channel *ch = device_get_softc(dev); local
709 struct ata_channel *ch = device_get_softc(dev); local
737 struct ata_channel *ch = device_get_softc(dev); local
795 struct ata_channel *ch; local
[all...]
/freebsd-10-stable/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c200 int ch, pch, fid_len, res = 0; local
247 pch = ch = getc(bpf);
248 while ( ! ( ch == '\n' && pch != '\\') && ch != EOF) {
249 pch = ch; ch = getc(bpf);
261 ch = getc(bpf); /* and a character */
270 while (isspace(ch) && ch != '\n') ch
299 int ch, pch; local
[all...]
/freebsd-10-stable/sys/dev/sound/isa/
H A Dsb8.c102 static int sb_speed(struct sb_chinfo *ch);
103 static int sb_start(struct sb_chinfo *ch);
104 static int sb_stop(struct sb_chinfo *ch);
499 sb_speed(struct sb_chinfo *ch) argument
501 struct sb_info *sb = ch->parent;
502 int play = (ch->dir == PCMDIR_PLAY)? 1 : 0;
503 int stereo = (AFMT_CHANNEL(ch->fmt) > 1)? 1 : 0;
518 speed = ch->spd;
534 ch->spd = speed;
540 sb_start(struct sb_chinfo *ch) argument
569 sb_stop(struct sb_chinfo *ch) argument
600 struct sb_chinfo *ch = (dir == PCMDIR_PLAY)? &sb->pch : &sb->rch; local
615 struct sb_chinfo *ch = data; local
624 struct sb_chinfo *ch = data; local
633 struct sb_chinfo *ch = data; local
642 struct sb_chinfo *ch = data; local
658 struct sb_chinfo *ch = data; local
666 struct sb_chinfo *ch = data; local
[all...]
/freebsd-10-stable/sys/netpfil/ipfw/
H A Dip_fw_table.c139 ipfw_add_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, argument
173 rnh_ptr = &ch->tables[tbl];
194 rnh_ptr = &ch->xtables[tbl];
230 rnh_ptr = &ch->xtables[tbl];
240 IPFW_WLOCK(ch);
243 if ((ch->tabletype[tbl] != 0) && (ch->tabletype[tbl] != type)) {
244 IPFW_WUNLOCK(ch);
251 IPFW_WUNLOCK(ch);
258 IPFW_WLOCK(ch);
291 ipfw_del_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, uint8_t plen, uint8_t mlen, uint8_t type) argument
409 ipfw_flush_table(struct ip_fw_chain *ch, uint16_t tbl) argument
447 ipfw_destroy_tables(struct ip_fw_chain *ch) argument
462 ipfw_init_tables(struct ip_fw_chain *ch) argument
472 ipfw_resize_tables(struct ip_fw_chain *ch, unsigned int ntables) argument
534 ipfw_lookup_table(struct ip_fw_chain *ch, uint16_t tbl, in_addr_t addr, uint32_t *val) argument
556 ipfw_lookup_table_extended(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, uint32_t *val, int type) argument
605 ipfw_count_table(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt) argument
640 ipfw_dump_table(struct ip_fw_chain *ch, ipfw_table *tbl) argument
663 ipfw_count_xtable(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt) argument
750 ipfw_dump_xtable(struct ip_fw_chain *ch, ipfw_xtable *tbl) argument
[all...]
/freebsd-10-stable/contrib/less/
H A Dline.c52 static int do_append LESSPARAMS ((LWCHAR ch, char *rep, POSITION pos));
149 is_ascii_char(ch)
150 LWCHAR ch;
152 return (ch <= 0x7F);
180 set_linebuf(n, ch, a)
182 LWCHAR ch;
185 linebuf[n] = ch;
193 add_linebuf(ch, a, w)
194 LWCHAR ch;
198 set_linebuf(curr++, ch,
326 LWCHAR ch; local
526 LWCHAR ch = step_char(&p, -1, linebuf + lmargin); local
560 LWCHAR ch = step_char(&p, -1, linebuf); local
[all...]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dconfig_file.c173 int ch = 0;
176 SVN_ERR(parser_getc(ctx, &ch));
177 while (svn_ctype_isspace(ch) && ch != '\n' && ch != EOF)
180 SVN_ERR(parser_getc_plain(ctx, &ch));
183 *c = ch;
193 int ch;
195 SVN_ERR(parser_getc(ctx, &ch));
196 while (ch !
171 int ch = 0; local
191 int ch; local
223 int ch; local
253 int ch; local
338 int ch; local
381 int ch; local
578 int ch, count; local
[all...]
/freebsd-10-stable/sys/dev/ata/chipsets/
H A Data-acerlabs.c196 struct ata_channel *ch = device_get_softc(dev); local
203 ch->flags |= ATA_CHECKS_CABLE;
206 ch->flags |= ATA_NO_48BIT_DMA;
207 if (ch->dma.max_iosize > 256 * 512)
208 ch->dma.max_iosize = 256 * 512;
211 ch->flags |= ATA_NO_ATAPI_DMA;
221 struct ata_channel *ch = device_get_softc(dev); local
224 int unit01 = (ch->unit & 1), unit10 = (ch->unit & 2);
237 ch
262 struct ata_channel *ch = device_get_softc(dev); local
296 struct ata_channel *ch = device_get_softc(dev); local
[all...]
/freebsd-10-stable/contrib/unbound/sldns/
H A Dparseutil.c187 sldns_hexdigit_to_int(char ch) argument
189 switch (ch) {
458 char ch = '\0'; local
467 ch = *src++;
470 } while (isspace((unsigned char)ch) && src_sz > 0);
472 if (ch == '=' || ch == '\0')
477 if (ch >= '0' && ch <= '9')
478 buf[i] = (uint8_t)ch
[all...]
/freebsd-10-stable/contrib/ntp/sntp/libopts/
H A Dputshell.c75 char ch = *(scan++); local
76 if ((ch >= ' ') && (ch <= '~')) {
81 res_ln += ((ch == '"') || (ch == '\\')) ? 2 : 1;
88 else switch (ch) {
137 unsigned char ch = (unsigned char)*text; local
138 if ((ch >= ' ') && (ch <= '~')) {
139 if ((ch
308 int ch = *(pz++); local
[all...]
/freebsd-10-stable/contrib/groff/src/preproc/html/
H A Dpushback.h45 char putPB (char ch);
/freebsd-10-stable/contrib/ncurses/ncurses/tinfo/
H A Dadd_tries.c44 #define SET_TRY(dst,src) if ((dst->ch = *src++) == 128) dst->ch = '\0'
63 while (!CMP_TRY(ptr->ch, cmp)
67 if (CMP_TRY(ptr->ch, cmp)) {
/freebsd-10-stable/contrib/openpam/lib/libpam/
H A Dopenpam_readlinev.c57 int ch, serrno, wordvlen; local
93 ch = fgetc(f);
94 /* assert(ch == EOF || ch == '\n') */
95 if (ch == EOF && wordvlen == 0) {
99 if (ch == '\n' && lineno != NULL)
/freebsd-10-stable/tools/regression/netinet/tcpdrop/
H A Dtcpdrop.c75 char ch; local
90 ch = 'A';
91 len = send(accept_fd, &ch, sizeof(ch), MSG_NOSIGNAL);
98 if (len != sizeof(ch)) {
105 ch = 'A';
106 len = send(accept_fd, &ch, sizeof(ch), MSG_NOSIGNAL);
128 char ch; local
166 ch
[all...]
/freebsd-10-stable/usr.bin/c99/
H A Dc99.c56 int ch, i; local
61 while ((ch = getopt(argc, argv, "cD:EgI:L:o:O:sU:l:")) != -1) {
62 if (ch == 'l') {
69 } else if (ch == '?')
/freebsd-10-stable/usr.bin/cmp/
H A Dlink.c46 u_char ch; local
73 if ((ch = *p1) != *p2) {
77 (long long)byte - 1, ch, *p2);
81 (long long)byte, ch, *p2);
/freebsd-10-stable/usr.sbin/pkg_install/add/
H A Dmain.c134 int ch, error; local
146 while ((ch = getopt_long(argc, argv, opts, longopts, NULL)) != -1) {
147 switch(ch) {
222 for (ch = 0; ch <= argc; pkgs[ch++] = NULL) ;
225 for (ch = 0; *argv; ch++, argv++) {
252 pkgs[ch] = (char *)"-";
256 pkgs[ch]
[all...]
/freebsd-10-stable/contrib/ntp/libparse/
H A Dclk_varitext.c191 char ch,
198 parseprintf(DD_PARSE, ("inp_varitext(0x%p, 0x%x, ...)\n", (void*)parseio, ch));
203 if (ch == 'T')
206 if ((t->previous_ch == 'T') && (ch == ':'))
220 if ((rtc = parse_addchar(parseio, ch)) != PARSE_INP_SKIP)
242 if ((t->previous_ch == '\r') && (ch == '\n'))
249 t->previous_ch = ch;
189 inp_varitext( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
H A Dclk_hopf6021.c218 char ch,
224 parseprintf(DD_PARSE, ("inp_hopf6021(0x%p, 0x%x, ...)\n", (void*)parseio, ch));
226 switch (ch)
231 if ((rtc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP)
237 return parse_addchar(parseio, ch);
246 unsigned char ch
251 if ((dv = ch - '0') >= 10u)
216 inp_hopf6021( parse_t *parseio, char ch, timestamp_t *tstamp ) argument
/freebsd-10-stable/contrib/ncurses/ncurses/base/
H A Dlib_box.c49 _my_render(WINDOW *win, chtype ch) argument
52 SetChar2(wch, ch);
56 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _my_render(win, (ch == 0) ? def : ch)
58 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _nc_render(win, (ch == 0) ? def : ch)
[all...]
/freebsd-10-stable/contrib/nvi/common/
H A Dkey.c105 int ch; local
124 gp->special_key[kp->ch] = kp->value;
127 for (ch = 1; ch <= UCHAR_MAX; ++ch)
128 if (!isprint(ch)) {
129 gp->noprint = ch;
132 if (ch != gp->noprint) {
154 CHAR_T ch; local
158 if (sp->gp->scr_keyval(sp, name, &ch,
187 UCHAR_T ch; local
209 v_key_len( SCR *sp, ARG_CHAR_T ch) argument
231 int ch; local
333 v_key_val( SCR *sp, ARG_CHAR_T ch) argument
[all...]
/freebsd-10-stable/lib/libc/inet/
H A Dinet_pton.c83 int saw_digit, octets, ch; local
89 while ((ch = *src++) != '\0') {
92 if ((pch = strchr(digits, ch)) != NULL) {
105 } else if (ch == '.' && saw_digit) {
139 int ch, seen_xdigits; local
152 while ((ch = *src++) != '\0') {
155 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
156 pch = strchr((xdigits = xdigits_u), ch);
164 if (ch == ':') {
182 if (ch
[all...]
/freebsd-10-stable/sys/arm/freescale/imx/
H A Dimx6_ssi.c293 struct sc_chinfo *ch; local
300 ch = &scp->chan[0];
301 ch->dir = dir;
302 ch->run = 0;
303 ch->buffer = b;
304 ch->channel = c;
305 ch->parent = scp;
308 if (sndbuf_setup(ch->buffer, sc->buf_base, sc->dma_size) != 0) {
313 return ch;
319 struct sc_chinfo *ch local
337 struct sc_chinfo *ch = data; local
348 struct sc_chinfo *ch; local
399 struct sc_chinfo *ch = data; local
415 struct sc_chinfo *ch; local
478 struct sc_chinfo *ch; local
562 struct sc_chinfo *ch; local
603 struct sc_chinfo *ch; local
658 struct sc_chinfo *ch; local
[all...]
/freebsd-10-stable/crypto/openssl/crypto/bio/
H A Db_dump.c83 unsigned char ch; local
114 ch = ((unsigned char)*(s + i * dump_width + j)) & 0xff;
115 BIO_snprintf(tmp, sizeof tmp, "%02x%c", ch,
124 ch = ((unsigned char)*(s + i * dump_width + j)) & 0xff;
127 ((ch >= ' ') && (ch <= '~')) ? ch : '.');
130 ((ch >= os_toascii[' ']) && (ch <= os_toascii['~']))
131 ? os_toebcdic[ch]
[all...]
/freebsd-10-stable/sys/boot/arm/at91/bootiic/
H A Denv_vars.c54 int ch; local
57 ch = boot_commands[currentIndex][currentOffset++];
58 if (ch == '\0' || (currentOffset >= MAX_INPUT_SIZE)) {
61 ch = '\r';
63 return (ch);

Completed in 420 milliseconds

1234567891011>>