/freebsd-10.1-release/usr.sbin/pkg_install/lib/ |
H A D | version.c | 62 char *ch; local 70 ch = strrchr(pkgname, '-'); 72 versionstr = ch ? ch + 1 : pkgname; 75 ch = strrchr(versionstr, '_'); 77 *revision = ch ? strtoul(ch + 1, NULL, 10) : 0; 79 endversionstr = ch; 82 ch = strrchr(endversionstr ? endversionstr + 1 : versionstr, ','); 84 *epoch = ch [all...] |
/freebsd-10.1-release/sys/dev/sound/pci/ |
H A D | ds1.c | 368 ds_initpbank(volatile struct pbank *pb, int ch, int stereo, int b16, u_int32_t rate, bus_addr_t base, u_int32_t len) argument 401 pb->Format |= (stereo && (ch == 2 || ch == 4))? 0x00000001 : 0; 417 pb->LchGain = pb->LchGainEnd = lv[ch] * 0x40000000; 418 pb->RchGain = pb->RchGainEnd = rv[ch] * 0x40000000; 419 pb->Effect1Gain = pb->Effect1GainEnd = e1[ch] * 0x40000000; 420 pb->Effect2Gain = pb->Effect2GainEnd = e2[ch] * 0x40000000; 421 pb->Effect3Gain = pb->Effect3GainEnd = e3[ch] * 0x40000000; 434 ds_setuppch(struct sc_pchinfo *ch) argument 439 stereo = (AFMT_CHANNEL(ch 452 ds_setuprch(struct sc_rchinfo *ch) argument 485 struct sc_pchinfo *ch; local 512 struct sc_pchinfo *ch = data; local 522 struct sc_pchinfo *ch = data; local 532 struct sc_pchinfo *ch = data; local 548 struct sc_pchinfo *ch = data; local 576 struct sc_pchinfo *ch = data; local 616 struct sc_rchinfo *ch; local 640 struct sc_rchinfo *ch = data; local 650 struct sc_rchinfo *ch = data; local 660 struct sc_rchinfo *ch = data; local 676 struct sc_rchinfo *ch = data; local 706 struct sc_rchinfo *ch = data; local [all...] |
H A D | solo.c | 133 static int ess_setupch(struct ess_info *sc, int ch, int dir, int spd, u_int32_t fmt, int len); 134 static int ess_start(struct ess_chinfo *ch); 135 static int ess_stop(struct ess_chinfo *ch); 137 static int ess_dmasetup(struct ess_info *sc, int ch, u_int32_t base, u_int16_t cnt, int dir); 138 static int ess_dmapos(struct ess_info *sc, int ch); 139 static int ess_dmatrigger(struct ess_info *sc, int ch, int go); 427 ess_setupch(struct ess_info *sc, int ch, int dir, int spd, u_int32_t fmt, int len) argument 440 if (ch == 1) { 474 } else if (ch == 2) { 498 ess_start(struct ess_chinfo *ch) argument 519 ess_stop(struct ess_chinfo *ch) argument 539 struct ess_chinfo *ch = (dir == PCMDIR_PLAY)? &sc->pch : &sc->rch; local 557 struct ess_chinfo *ch = data; local 566 struct ess_chinfo *ch = data; local 580 struct ess_chinfo *ch = data; local 589 struct ess_chinfo *ch = data; local 618 struct ess_chinfo *ch = data; local 631 struct ess_chinfo *ch = data; local 769 ess_dmasetup(struct ess_info *sc, int ch, u_int32_t base, u_int16_t cnt, int dir) argument 790 ess_dmapos(struct ess_info *sc, int ch) argument 822 ess_dmatrigger(struct ess_info *sc, int ch, int go) argument [all...] |
/freebsd-10.1-release/usr.sbin/lpr/filters/ |
H A D | lpf.c | 83 int ch; local 127 switch (ch = getc(p)) { 130 ch = '\n'; 160 if ((ch = getchar()) == '\1') { 165 ungetc(ch, stdin); 166 ch = '\031'; 170 if (col >= width || (!literal && ch < ' ')) { 179 *cp = ch; 200 putc(ch, o);
|
/freebsd-10.1-release/sys/dev/ata/chipsets/ |
H A D | ata-ahci.c | 290 struct ata_channel *ch = device_get_softc(dev); local 291 int offset = ch->unit << 7; 296 ch->r_io[ATA_SSTATUS].res = ctlr->r_res2; 297 ch->r_io[ATA_SSTATUS].offset = ATA_AHCI_P_SSTS + offset; 298 ch->r_io[ATA_SERROR].res = ctlr->r_res2; 299 ch->r_io[ATA_SERROR].offset = ATA_AHCI_P_SERR + offset; 300 ch->r_io[ATA_SCONTROL].res = ctlr->r_res2; 301 ch->r_io[ATA_SCONTROL].offset = ATA_AHCI_P_SCTL + offset; 302 ch->r_io[ATA_SACTIVE].res = ctlr->r_res2; 303 ch 322 struct ata_channel *ch = device_get_softc(dev); local 336 struct ata_channel *ch = device_get_softc(dev); local 361 struct ata_channel *ch = device_get_softc(dev); local 392 struct ata_channel *ch = device_get_softc(dev); local 450 struct ata_channel *ch = device_get_softc(request->parent); local 538 struct ata_channel *ch = device_get_softc(request->parent); local 589 struct ata_channel *ch = device_get_softc(dev); local 638 struct ata_channel *ch = device_get_softc(dev); local 683 struct ata_channel *ch = device_get_softc(dev); local 731 struct ata_channel *ch = device_get_softc(dev); local 757 struct ata_channel *ch = device_get_softc(dev); local 783 struct ata_channel *ch = device_get_softc(dev); local 805 struct ata_channel *ch = device_get_softc(dev); local 829 struct ata_channel *ch = device_get_softc(dev); local 842 struct ata_channel *ch = device_get_softc(dev); local 864 struct ata_channel *ch = device_get_softc(dev); local 885 struct ata_channel *ch = device_get_softc(dev); local 935 struct ata_channel *ch = device_get_softc(dev); local 1023 struct ata_channel *ch = device_get_softc(dev); local [all...] |
H A D | ata-via.c | 218 struct ata_channel *ch = device_get_softc(dev); local 227 rid = PCIR_BAR(ch->unit); 234 ch->r_io[i].res = r_io; 235 ch->r_io[i].offset = i; 237 ch->r_io[ATA_CONTROL].res = r_io; 238 ch->r_io[ATA_CONTROL].offset = 2 + ATA_IOSIZE; 239 ch->r_io[ATA_IDX_ADDR].res = r_io; 242 ch->r_io[i].res = ctlr->r_res1; 243 ch->r_io[i].offset = (i - ATA_BMCMD_PORT)+(ch 275 struct ata_channel *ch = device_get_softc(dev); local 300 struct ata_channel *ch = device_get_softc(dev); local 325 struct ata_channel *ch = device_get_softc(dev); local 354 struct ata_channel *ch = device_get_softc(dev); local 412 struct ata_channel *ch = device_get_softc(dev); local 432 struct ata_channel *ch = device_get_softc(dev); local 446 struct ata_channel *ch = device_get_softc(dev); local 456 struct ata_channel *ch = device_get_softc(dev); local [all...] |
H A D | ata-fsl.c | 142 struct ata_channel *ch; local 146 ch = device_get_softc(dev); 148 ch->r_io[i].res = ctrl->r_res1; 175 ch->r_io[ATA_DATA ].offset = 0xa0; 176 ch->r_io[ATA_FEATURE].offset = 0xa4; 177 ch->r_io[ATA_ERROR ].offset = 0xa4; 178 ch->r_io[ATA_COUNT ].offset = 0xa8; 179 ch->r_io[ATA_SECTOR ].offset = 0xac; 180 ch->r_io[ATA_CYL_LSB].offset = 0xb0; 181 ch [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/tui/ |
H A D | tui-command.c | 48 tui_dispatch_ctrl_char (unsigned int ch) argument 59 return ch; 62 unsigned int c = 0, ch_copy = ch; 73 if ((strcmp (term, "XTERM") == 0) && key_is_start_sequence (ch)) 84 return ch;
|
/freebsd-10.1-release/sys/arm/lpc/ |
H A D | lpc_dmac.c | 152 struct lpc_dmac_channel *ch; local 163 ch = &sc->ld_channels[i]; 168 ch->ldc_config->ldc_success_handler( 169 ch->ldc_config->ldc_handler_arg); 174 ch->ldc_config->ldc_error_handler( 175 ch->ldc_config->ldc_handler_arg); 187 struct lpc_dmac_channel *ch; local 192 ch = &sc->ld_channels[chno]; 193 ch->ldc_config = cfg; 203 struct lpc_dmac_channel *ch; local [all...] |
/freebsd-10.1-release/contrib/less/ |
H A D | charset.c | 455 prutfchar(ch) 456 LWCHAR ch; 460 if (ch == ESC) 462 else if (ch < 128 && control_char(ch)) 464 if (!control_char(ch ^ 0100)) 465 SNPRINTF1(buf, sizeof(buf), "^%c", ((char) ch) ^ 0100); 467 SNPRINTF1(buf, sizeof(buf), binfmt, (char) ch); 468 } else if (is_ubin_char(ch)) 469 SNPRINTF1(buf, sizeof(buf), utfbinfmt, ch); 671 LWCHAR ch; local [all...] |
/freebsd-10.1-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_evnt.c | 300 ng_l2cap_l2ca_con_rsp(cmd->ch,cmd->token,cp->reason,0); 301 ng_l2cap_free_chan(cmd->ch); 305 ng_l2cap_l2ca_cfg_rsp(cmd->ch, cmd->token, cp->reason); 309 ng_l2cap_l2ca_discon_rsp(cmd->ch,cmd->token,cp->reason); 310 ng_l2cap_free_chan(cmd->ch); /* XXX free channel */ 352 ng_l2cap_chan_p ch = NULL; local 373 ch = ng_l2cap_new_chan(l2cap, con, psm); 374 if (ch == NULL) 379 ch->dcid = dcid; 382 ch 526 ng_l2cap_chan_p ch = NULL; local 813 ng_l2cap_chan_p ch = NULL; local [all...] |
/freebsd-10.1-release/sys/arm/at91/ |
H A D | at91_cfata.c | 182 struct ata_channel *ch = device_get_softc(dev); local 184 ch->unit = 0; 185 ch->flags |= ATA_USE_16BIT | ATA_NO_SLAVE; 195 struct ata_channel *ch = device_get_softc(dev); local 199 ch->r_io[i].res = sc->mem_res; 205 ch->r_io[ATA_DATA].offset = 0x00; 206 ch->r_io[ATA_FEATURE].offset = 0x01; 207 ch->r_io[ATA_COUNT].offset = 0x02; 208 ch->r_io[ATA_SECTOR].offset = 0x03; 209 ch [all...] |
/freebsd-10.1-release/bin/domainname/ |
H A D | domainname.c | 57 int ch; local 60 while ((ch = getopt(argc, argv, "")) != -1) 61 switch (ch) {
|
/freebsd-10.1-release/bin/hostname/ |
H A D | hostname.c | 57 int ch, sflag; local 61 while ((ch = getopt(argc, argv, "fs")) != -1) 62 switch (ch) {
|
/freebsd-10.1-release/bin/realpath/ |
H A D | realpath.c | 48 int ch, qflag, rval; local 51 while ((ch = getopt(argc, argv, "q")) != -1) { 52 switch (ch) {
|
/freebsd-10.1-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/typedef/ |
H A D | tst.TypedefDataAssign.d | 62 char ch; 68 char ch; 105 ns.ch = 'c'; 109 nu.ch = 'd'; 115 printf("Struct: %c, %d, %d\n", ns.ch, ns.in, ns.lg); 116 printf("Union: %c, %d, %d\n", nu.ch, nu.in, nu.lg);
|
/freebsd-10.1-release/contrib/atf/atf-c/ |
H A D | tp_test.c | 56 int ch; local 63 while ((ch = getopt(argc, argv, ":Z")) != -1) { 64 switch (ch) {
|
/freebsd-10.1-release/contrib/atf/atf-c++/detail/ |
H A D | application_test.cpp | 54 int ch; local 61 while ((ch = ::getopt(argc, argv, ":Z")) != -1) { 62 switch (ch) {
|
/freebsd-10.1-release/contrib/nvi/common/ |
H A D | gs.h | 116 #define KEY_LEN(sp, ch) \ 117 (((ch) & ~MAX_FAST_KEY) == 0 ? \ 118 sp->gp->cname[(unsigned char)ch].len : v_key_len(sp, ch)) 119 #define KEY_NAME(sp, ch) \ 120 (((ch) & ~MAX_FAST_KEY) == 0 ? \ 121 sp->gp->cname[(unsigned char)ch].name : v_key_name(sp, ch)) 127 #define KEY_VAL(sp, ch) \ 128 (((ch) [all...] |
/freebsd-10.1-release/sys/dev/scc/ |
H A D | scc_dev_sab82532.c | 76 sab82532_bfe_iclear(struct scc_softc *sc, struct scc_chan *ch) argument 82 ofs = (ch->ch_nr - 1) * SAB_CHANLEN; 84 if (ch->ch_ipend & SER_INT_RXREADY) { 107 struct scc_chan *ch; local 115 ch = &sc->sc_chan[c]; 129 ch->ch_ipend = 0; 131 ch->ch_ipend |= SER_INT_BREAK; 133 ch->ch_ipend |= SER_INT_OVERRUN; 135 ch->ch_ipend |= SER_INT_RXREADY; 137 ch [all...] |
/freebsd-10.1-release/tools/regression/sockets/unix_sorflush/ |
H A D | unix_sorflush.c | 53 char ch; local 55 ssize = recv(s, &ch, sizeof(ch), 0);
|
/freebsd-10.1-release/usr.bin/printenv/ |
H A D | printenv.c | 66 int ch; local 68 while ((ch = getopt(argc, argv, "")) != -1) 69 switch(ch) {
|
/freebsd-10.1-release/lib/libiconv_modules/VIQR/ |
H A D | citrus_viqr.c | 130 mnemonic_list_find(mnemonic_list_t *ml, int ch) argument 135 if (m->ascii == ch) 163 int ch; local 165 ch = (unsigned char)*s++; 166 if (ch == '\0') 168 m0 = mnemonic_list_find(&m->child, ch); 170 m0 = mnemonic_create(m, ch, (wchar_t)ch); 176 for (m0 = NULL; (ch = (unsigned char)*s) != '\0'; ++s) { 177 m0 = mnemonic_list_find(&m->child, ch); 211 char ch[MB_LEN_MAX]; member in struct:__anon5782 262 int ch, escape; local 322 int ch = 0; local [all...] |
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Utility/ |
H A D | StringExtractor.cpp | 57 xdigit_to_sint (char ch) argument 59 if (ch >= 'a' && ch <= 'f') 60 return 10 + ch - 'a'; 61 if (ch >= 'A' && ch <= 'F') 62 return 10 + ch - 'A'; 63 return ch - '0'; 67 xdigit_to_uint (uint8_t ch) argument 69 if (ch > 133 char ch = m_packet[m_index]; local 425 char ch; local 436 char ch; local [all...] |
/freebsd-10.1-release/games/random/ |
H A D | random.c | 68 int ch, fd, random_exit, randomize_lines, random_type, ret, local 81 while ((ch = getopt(argc, argv, "ef:hlruUw")) != -1) 82 switch (ch) { 170 while ((ch = getchar()) != EOF) { 172 (void)putchar(ch); 173 if (ch == '\n') {
|