/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-uart.h | 132 * @param ch Byte to write 134 static inline void cvmx_uart_write_byte(int uart_index, uint8_t ch) argument 146 cvmx_write_csr(CVMX_MIO_UARTX_THR(uart_index), ch); local
|
/freebsd-10.0-release/sys/dev/ata/ |
H A D | ata-all.h | 634 int ata_sata_scr_read(struct ata_channel *ch, int port, int reg, uint32_t *val); 635 int ata_sata_scr_write(struct ata_channel *ch, int port, int reg, uint32_t val); 690 #define ATA_IDX_INB(ch, idx) \ 691 ATA_INB(ch->r_io[idx].res, ch->r_io[idx].offset) 693 #define ATA_IDX_INW(ch, idx) \ 694 ATA_INW(ch->r_io[idx].res, ch->r_io[idx].offset) 696 #define ATA_IDX_INW_STRM(ch, idx) \ 697 ATA_INW_STRM(ch [all...] |
/freebsd-10.0-release/sys/dev/bvm/ |
H A D | bvm_console.c | 86 bvm_rcons(u_char *ch) argument 92 *ch = (u_char)c; 99 bvm_wcons(u_char ch) argument 102 outl(bvm_cons_port, ch); 211 unsigned char ch; local 213 if (bvm_rcons(&ch) == 0) { 215 kdb_alt_break(ch, &alt_break_state); 217 return (ch);
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | CocoaConventions.cpp | 106 char ch = *it; local 107 if (ch == 'C' || ch == 'c') { 109 if (ch == 'c' && it != start && isLetter(*(it - 1)))
|
/freebsd-10.0-release/sys/dev/ata/chipsets/ |
H A D | ata-sis.c | 206 struct ata_channel *ch = device_get_softc(dev); local 207 int offset = ch->unit << ((ctlr->chip->chipid == ATA_SIS182) ? 5 : 6); 213 ch->r_io[ATA_SSTATUS].res = ctlr->r_res2; 214 ch->r_io[ATA_SSTATUS].offset = 0x00 + offset; 215 ch->r_io[ATA_SERROR].res = ctlr->r_res2; 216 ch->r_io[ATA_SERROR].offset = 0x04 + offset; 217 ch->r_io[ATA_SCONTROL].res = ctlr->r_res2; 218 ch->r_io[ATA_SCONTROL].offset = 0x08 + offset; 219 ch->flags |= ATA_NO_SLAVE; 220 ch 230 struct ata_channel *ch = device_get_softc(dev); local 243 struct ata_channel *ch = device_get_softc(dev); local [all...] |
/freebsd-10.0-release/usr.bin/finger/ |
H A D | lprint.c | 297 int ch, cnt; local 336 while ((ch = getc(fp)) != EOF) 337 if (ch != '\r') 338 vputc(lastc = ch); 346 vputc(unsigned char ch) argument 350 if (!isprint(ch) && !isascii(ch)) { 353 ch = toascii(ch); 357 if (isprint(ch) || (!met [all...] |
/freebsd-10.0-release/usr.bin/uudecode/ |
H A D | uudecode.c | 81 int rval, ch; local 86 while ((ch = getopt(argc, argv, "cimo:prs")) != -1) { 87 switch (ch) { 335 int i, ch; local 370 ch = DEC(p[0]) << 2 | DEC(p[1]) >> 4; 371 putc(ch, outfp); 372 ch = DEC(p[1]) << 4 | DEC(p[2]) >> 2; 373 putc(ch, outfp); 374 ch = DEC(p[2]) << 6 | DEC(p[3]); 375 putc(ch, outf [all...] |
/freebsd-10.0-release/usr.sbin/dconschat/ |
H A D | dconschat.c | 480 struct dcons_ch *ch; local 485 ch = &dc->port[port].o; 489 if (gen == ch->gen && pos == ch->pos) 492 next_gen = DCONS_NEXT_GEN(ch->gen); 494 if (gen == ch->gen) { 495 if (pos > ch->pos) 497 lost = ch->size * DCONS_GEN_MASK - ch->pos; 498 ch 558 struct dcons_ch *ch; local 1002 int i, ch, error; local [all...] |
/freebsd-10.0-release/contrib/sendmail/libsm/ |
H A D | vfprintf.c | 180 register int ch; /* character from fmt */ local 362 rflag: ch = *fmt++; 363 reswitch: switch (ch) 400 if ((ch = *fmt++) == '*') 407 while (is_digit(ch)) 409 n = 10 * n + to_digit(ch); 410 ch = *fmt++; 412 if (ch == '$') 440 n = 10 * n + to_digit(ch); 441 ch 833 register int ch; /* character from fmt */ local [all...] |
/freebsd-10.0-release/sys/pc98/cbus/ |
H A D | sctermvar.h | 36 static __inline void sc_term_ins_line(scr_stat *scp, int y, int n, int ch, 38 static __inline void sc_term_del_line(scr_stat *scp, int y, int n, int ch, 40 static __inline void sc_term_ins_char(scr_stat *scp, int n, int ch, 42 static __inline void sc_term_del_char(scr_stat *scp, int n, int ch, 50 static __inline void sc_term_up_scroll(scr_stat *scp, int n, int ch, 52 static __inline void sc_term_down_scroll(scr_stat *scp, int n, int ch, 54 static __inline void sc_term_clr_eos(scr_stat *scp, int n, int ch, int attr); 55 static __inline void sc_term_clr_eol(scr_stat *scp, int n, int ch, int attr); 61 static __inline void sc_term_gen_scroll(scr_stat *scp, int ch, int attr); 64 sc_term_ins_line(scr_stat *scp, int y, int n, int ch, in argument 78 sc_term_del_line(scr_stat *scp, int y, int n, int ch, int attr, int tail) argument 92 sc_term_ins_char(scr_stat *scp, int n, int ch, int attr) argument 108 sc_term_del_char(scr_stat *scp, int n, int ch, int attr) argument 180 sc_term_up_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail) argument 196 sc_term_down_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail) argument 212 sc_term_clr_eos(scr_stat *scp, int n, int ch, int attr) argument 239 sc_term_clr_eol(scr_stat *scp, int n, int ch, int attr) argument 416 sc_term_gen_scroll(scr_stat *scp, int ch, int attr) argument [all...] |
/freebsd-10.0-release/bin/pwd/ |
H A D | pwd.c | 61 int ch; local 65 while ((ch = getopt(argc, argv, "LP")) != -1) 66 switch (ch) {
|
/freebsd-10.0-release/bin/rmdir/ |
H A D | rmdir.c | 59 int ch, errors; local 61 while ((ch = getopt(argc, argv, "pv")) != -1) 62 switch(ch) {
|
/freebsd-10.0-release/bin/sh/ |
H A D | output.c | 118 char ch; local 133 while ((ch = *p++) != '\0') { 134 switch (ch) { 146 outc(ch, file);
|
/freebsd-10.0-release/bin/uuidgen/ |
H A D | uuidgen.c | 50 int ch, count, i, iterate; local 55 while ((ch = getopt(argc, argv, "1n:o:")) != -1) 56 switch (ch) {
|
/freebsd-10.0-release/contrib/openbsm/bin/audit/ |
H A D | audit.c | 141 int ch; local 147 while ((ch = getopt(argc, argv, "einst")) != -1) { 148 switch(ch) {
|
/freebsd-10.0-release/contrib/sendmail/src/ |
H A D | ratectrl.c | 306 CHash_T *ch = &CHashAry[(hv + i) & CPMHMASK]; local 310 ch->ch_Family == AF_INET && 311 (saddr->sin.sin_addr.s_addr == ch->ch_Addr4.s_addr || 312 ch->ch_Addr4.s_addr == 0)) 314 chBest = ch; 321 ch->ch_Family == AF_INET6 && 323 &ch->ch_Addr6) != 0 || 324 IN6_IS_ADDR_UNSPECIFIED(&ch->ch_Addr6))) 326 chBest = ch; 331 if (chBest == NULL || ch [all...] |
/freebsd-10.0-release/contrib/unvis/ |
H A D | unvis.c | 57 int ch, eflags = 0; local 60 while ((ch = getopt(argc, argv, "eHhm")) != -1) 61 switch((char)ch) {
|
/freebsd-10.0-release/lib/libc/db/recno/ |
H A D | rec_get.c | 121 int ch; local 135 for (p = t->bt_rdata.data;; *p++ = ch) 136 if ((ch = getc(t->bt_rfp)) == EOF || !--len) { 137 if (ch != EOF) 138 *p = ch; 147 if (ch == EOF) 174 int bval, ch; local 180 sz = t->bt_rdata.size;; *p++ = ch, --sz) { 181 if ((ch = getc(t->bt_rfp)) == EOF || ch [all...] |
/freebsd-10.0-release/lib/libvgl/ |
H A D | keyboard.c | 90 unsigned char ch = 0; local 92 read (0, &ch, 1); 93 return (int)ch;
|
/freebsd-10.0-release/libexec/mknetid/ |
H A D | parse_group.c | 118 int ch; local 120 while ((ch = getc(_gr_fp)) != '\n' && ch != EOF)
|
/freebsd-10.0-release/release/picobsd/tinyware/passwd/ |
H A D | passwd.c | 78 int ch; local 93 while ((ch = getopt(argc, argv, OPTIONS)) != -1) { 94 switch (ch) {
|
/freebsd-10.0-release/sbin/fsck_msdosfs/ |
H A D | main.c | 66 int ch; local 69 while ((ch = getopt(argc, argv, "CfFnpy")) != -1) { 70 switch (ch) {
|
/freebsd-10.0-release/sbin/nvmecontrol/ |
H A D | devlist.c | 67 int ch, ctrlr, fd, found, ret; local 69 while ((ch = getopt(argc, argv, "")) != -1) { 70 switch ((char)ch) {
|
/freebsd-10.0-release/sys/dev/sound/pci/ |
H A D | neomagic.c | 86 static int nm_setch(struct sc_chinfo *ch); 323 nm_setch(struct sc_chinfo *ch) argument 325 struct sc_info *sc = ch->parent; 330 if (ch->spd < (samplerates[x] + samplerates[x + 1]) / 2) 335 ch->spd = samplerates[x]; 336 nm_loadcoeff(sc, ch->dir, x); 340 if (ch->fmt & AFMT_16BIT) x |= NM_RATE_BITS_16; 341 if (AFMT_CHANNEL(ch->fmt) > 1) x |= NM_RATE_STEREO; 343 base = (ch->dir == PCMDIR_PLAY)? NM_PLAYBACK_REG_OFFSET : NM_RECORD_REG_OFFSET; 353 struct sc_chinfo *ch; local 381 struct sc_chinfo *ch = data; local 390 struct sc_chinfo *ch = data; local 399 struct sc_chinfo *ch = data; local 409 struct sc_chinfo *ch = data; local 457 struct sc_chinfo *ch = data; local [all...] |
/freebsd-10.0-release/sys/mips/malta/ |
H A D | yamon.h | 68 typedef int (*t_yamon_getchar)(uint32_t port, char *ch); 69 #define YAMON_GETCHAR(ch) \ 70 ((t_yamon_getchar)(YAMON_FUNC(YAMON_GETCHAR_OFS)))(0, ch)
|