/freebsd-11-stable/lib/libc/string/ |
H A D | strrchr.c | 40 strrchr(const char *p, int ch) argument 45 c = ch;
|
/freebsd-11-stable/sys/libkern/ |
H A D | strchr.c | 37 strchr(const char *p, int ch) argument 46 if (*u.p == ch)
|
/freebsd-11-stable/sys/i386/ |
H A D | Makefile | 27 SI386= ${SYS}/i386/acpica/*.[ch] ${SYS}/i386/bios/*.[ch] \ 28 ${SYS}/i386/i386/*.[ch] ${SYS}/i386/ibcs2/*.[ch] \ 29 ${SYS}/i386/include/*.[ch] ${SYS}/i386/isa/*.[ch] \ 30 ${SYS}/i386/linux/*.[ch] ${SYS}/i386/pci/*.[ch]
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | putchar.c | 66 putchar_unlocked(int ch) argument 69 return (__sputc(ch, stdout));
|
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_strlset.c | 48 openpam_strlset(char *str, int ch, size_t size) argument 53 *str++ = ch;
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_table.c | 97 static struct table_config *alloc_table_config(struct ip_fw_chain *ch, 101 static int create_table_internal(struct ip_fw_chain *ch, struct tid_info *ti, 103 static void link_table(struct ip_fw_chain *ch, struct table_config *tc); 104 static void unlink_table(struct ip_fw_chain *ch, struct table_config *tc); 105 static int find_ref_table(struct ip_fw_chain *ch, struct tid_info *ti, 109 static int export_tables(struct ip_fw_chain *ch, ipfw_obj_lheader *olh, 111 static void export_table_info(struct ip_fw_chain *ch, struct table_config *tc, 116 static int swap_tables(struct ip_fw_chain *ch, struct tid_info *a, 120 static int check_table_space(struct ip_fw_chain *ch, struct tableop_state *ts, 122 static int destroy_table(struct ip_fw_chain *ch, struc 136 rollback_toperation_state(struct ip_fw_chain *ch, void *object) argument 147 add_toperation_state(struct ip_fw_chain *ch, struct tableop_state *ts) argument 156 del_toperation_state(struct ip_fw_chain *ch, struct tableop_state *ts) argument 179 get_table_value(struct ip_fw_chain *ch, struct table_config *tc, uint32_t kidx) argument 261 create_table_compat(struct ip_fw_chain *ch, struct tid_info *ti, uint16_t *pkidx) argument 288 find_ref_table(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint32_t count, int op, struct table_config **ptc) argument 350 rollback_added_entries(struct ip_fw_chain *ch, struct table_config *tc, struct table_info *tinfo, struct tentry_info *tei, caddr_t ta_buf_m, uint32_t count, uint32_t added) argument 398 prepare_batch_buffer(struct ip_fw_chain *ch, struct table_algo *ta, struct tentry_info *tei, uint32_t count, int op, caddr_t *ta_buf) argument 451 flush_batch_buffer(struct ip_fw_chain *ch, struct table_algo *ta, struct tentry_info *tei, uint32_t count, int rollback, caddr_t ta_buf_m, caddr_t ta_buf) argument 488 struct ip_fw_chain *ch; local 548 add_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint8_t flags, uint32_t count) argument 711 del_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint8_t flags, uint32_t count) argument 811 check_table_space(struct ip_fw_chain *ch, struct tableop_state *ts, struct table_config *tc, struct table_info *ti, uint32_t count) argument 904 manage_table_ent_v0(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 961 manage_table_ent_v1(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1082 find_table_entry(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1154 flush_table_v0(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1201 flush_table(struct ip_fw_chain *ch, struct tid_info *ti) argument 1330 swap_table(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1379 swap_tables(struct ip_fw_chain *ch, struct tid_info *a, struct tid_info *b) argument 1476 destroy_table(struct ip_fw_chain *ch, struct tid_info *ti) argument 1534 ipfw_resize_tables(struct ip_fw_chain *ch, unsigned int ntables) argument 1613 ipfw_objhash_lookup_table_kidx(struct ip_fw_chain *ch, uint16_t kidx) argument 1624 ipfw_ref_table(struct ip_fw_chain *ch, ipfw_obj_ntlv *ntlv, uint16_t *kidx) argument 1647 ipfw_unref_table(struct ip_fw_chain *ch, uint16_t kidx) argument 1667 ipfw_lookup_table(struct ip_fw_chain *ch, uint16_t tbl, uint16_t plen, void *paddr, uint32_t *val) argument 1695 list_tables(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1723 describe_table(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1758 modify_table(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1815 create_table(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 1870 create_table_internal(struct ip_fw_chain *ch, struct tid_info *ti, char *aname, ipfw_xtable_info *i, uint16_t *pkidx, int compat) argument 1963 ipfw_get_table_objhash(struct ip_fw_chain *ch) argument 1977 ipfw_export_table_ntlv(struct ip_fw_chain *ch, uint16_t kidx, struct sockopt_data *sd) argument 2002 struct ip_fw_chain *ch; member in struct:dump_args 2035 table_get_count(struct ip_fw_chain *ch, struct table_config *tc) argument 2063 export_table_info(struct ip_fw_chain *ch, struct table_config *tc, ipfw_xtable_info *i) argument 2097 struct ip_fw_chain *ch; member in struct:dump_table_args 2126 export_tables(struct ip_fw_chain *ch, ipfw_obj_lheader *olh, struct sockopt_data *sd) argument 2164 dump_table_v1(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 2228 dump_table_v0(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 2289 get_table_size(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 2315 ipfw_count_table(struct ip_fw_chain *ch, struct tid_info *ti, uint32_t *cnt) argument 2329 ipfw_count_xtable(struct ip_fw_chain *ch, struct tid_info *ti, uint32_t *cnt) argument 2384 ipfw_dump_table_legacy(struct ip_fw_chain *ch, struct tid_info *ti, ipfw_table *tbl) argument 2531 ipfw_foreach_table_tentry(struct ip_fw_chain *ch, uint16_t kidx, ta_foreach_f *f, void *arg) argument 2623 ipfw_add_table_algo(struct ip_fw_chain *ch, struct table_algo *ta, size_t size, int *idx) argument 2667 ipfw_del_table_algo(struct ip_fw_chain *ch, int idx) argument 2695 list_table_algo(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 2826 table_findbyname(struct ip_fw_chain *ch, struct tid_info *ti, struct named_object **pno) argument 2844 table_findbykidx(struct ip_fw_chain *ch, uint16_t idx) argument 2858 table_manage_sets(struct ip_fw_chain *ch, uint16_t set, uint8_t new_set, enum ipfw_sets_cmd cmd) argument 2903 table_manage_sets_all(struct ip_fw_chain *ch, uint16_t set, uint8_t new_set, enum ipfw_sets_cmd cmd) argument 3010 ipfw_switch_tables_namespace(struct ip_fw_chain *ch, unsigned int sets) argument 3157 alloc_table_config(struct ip_fw_chain *ch, struct tid_info *ti, struct table_algo *ta, char *aname, uint8_t tflags) argument 3223 link_table(struct ip_fw_chain *ch, struct table_config *tc) argument 3252 unlink_table(struct ip_fw_chain *ch, struct table_config *tc) argument 3312 ipfw_destroy_tables(struct ip_fw_chain *ch, int last) argument 3321 ipfw_objhash_foreach(CHAIN_TO_NI(ch), destroy_table_locked, ch); local 3339 ipfw_init_tables(struct ip_fw_chain *ch, int first) argument [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_scan.c | 63 #define iswhite(ch) (ch == ' ' || ch == '\t') 294 eat_escaped_newline(int ch) argument 296 if (ch == '\\') 297 while ((ch = next_char()) == '\n' || iswhite(ch)) 299 return ch; 307 #define AddCh(ch) \ 308 *tok_ptr++ = (char) ch; \ 357 int ch, c0, c1; local 995 _nc_panic_mode(char ch) argument [all...] |
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | app.c | 304 process_escape (int ch) argument 306 switch (ch) 323 return ch; 346 register int ch, ch2 = 0; local 455 ch = *out_string++; 461 PUT (ch); 469 ch = GET (); 471 if (ch == EOF) 477 if (ch == '\n') 480 while (ch ! [all...] |
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | rclex.c | 270 int ch; local 337 ch = *t - '0'; 341 ch = (ch << 3) | (*t - '0'); 345 ch = (ch << 3) | (*t - '0'); 349 *s++ = ch; 354 ch = 0; 362 ch = (ch << 433 int ch; local 614 rclex_tok_add_char(int ch) argument 646 char ch; local 704 read_digit(int ch) argument 759 int ch; local [all...] |
/freebsd-11-stable/contrib/amd/amq/ |
H A D | pawd.c | 92 char *to, *ch, *hes_name, *dot; local 101 ch = dir + 3; 102 while (*ch && *ch != '/') ch++; /* Skip server */ 103 if (!NSTREQ(ch, "/disk/home/", 11)) 106 ch += 11; 108 while (*ch && *ch != '/') *to++ = *ch 172 char *ch; local [all...] |
/freebsd-11-stable/stand/powerpc/kboot/ |
H A D | hostcons.c | 70 uint8_t ch = c; local 72 host_write(1, &ch, 1); 78 uint8_t ch; local 81 rv = host_read(0, &ch, 1); 83 return (ch);
|
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64clat_control.c | 97 nat64clat_export_config(struct ip_fw_chain *ch, struct nat64clat_cfg *cfg, argument 110 struct ip_fw_chain *ch; member in struct:nat64clat_dump_arg 122 nat64clat_export_config(da->ch, (struct nat64clat_cfg *)no, uc); 145 nat64clat_create(struct ip_fw_chain *ch, ip_fw3_opheader *op3, argument 167 ni = CHAIN_TO_SRV(ch); 169 IPFW_UH_RLOCK(ch); 171 IPFW_UH_RUNLOCK(ch); 174 IPFW_UH_RUNLOCK(ch); 186 IPFW_UH_WLOCK(ch); 189 IPFW_UH_WUNLOCK(ch); 216 nat64clat_config(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument 300 nat64clat_detach_config(struct ip_fw_chain *ch, struct nat64clat_cfg *cfg) argument 317 nat64clat_destroy(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 359 nat64clat_list(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument 394 export_stats(struct ip_fw_chain *ch, struct nat64clat_cfg *cfg, struct ipfw_nat64clat_stats *stats) argument 419 nat64clat_stats(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument 466 nat64clat_reset_stats(struct ip_fw_chain *ch, ip_fw3_opheader *op, struct sockopt_data *sd) argument 523 nat64clat_findbyname(struct ip_fw_chain *ch, struct tid_info *ti, struct named_object **pno) argument 534 nat64clat_findbykidx(struct ip_fw_chain *ch, uint16_t idx) argument 548 nat64clat_manage_sets(struct ip_fw_chain *ch, uint16_t set, uint8_t new_set, enum ipfw_sets_cmd cmd) argument 573 struct ip_fw_chain *ch; local 584 nat64clat_init(struct ip_fw_chain *ch, int first) argument 596 nat64clat_uninit(struct ip_fw_chain *ch, int last) argument 610 ipfw_objhash_foreach_type(CHAIN_TO_SRV(ch), destroy_config_cb, ch, local [all...] |
H A D | ip_fw_nat64.c | 81 struct ip_fw_chain *ch; local 84 ch = &V_layer3_chain; 88 error = nat64stl_init(ch, first); 91 error = nat64clat_init(ch, first); 93 nat64stl_uninit(ch, first); 96 error = nat64lsn_init(ch, first); 98 nat64stl_uninit(ch, first); 99 nat64clat_uninit(ch, first); 108 struct ip_fw_chain *ch; local 111 ch [all...] |
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-intel.c | 93 #define ATA_INTEL_SMAP(ctlr, ch) \ 94 &((struct ata_intel_data *)((ctlr)->chipset_data))->smap[(ch)->unit * 2] 312 struct ata_channel *ch; local 321 ch = device_get_softc(dev); 325 ch->r_io[ATA_IDX_ADDR].res = ctlr->r_res2; 326 ch->r_io[ATA_IDX_ADDR].offset = 0x00; 327 ch->r_io[ATA_IDX_DATA].res = ctlr->r_res2; 328 ch->r_io[ATA_IDX_DATA].offset = 0x04; 331 ch->flags |= ATA_ALWAYS_DMASTAT; 333 smap = ATA_INTEL_SMAP(ctlr, ch); 409 struct ata_channel *ch = device_get_softc(dev); local 478 struct ata_channel *ch = device_get_softc(dev); local 578 struct ata_channel *ch = device_get_softc(dev); local 589 struct ata_channel *ch = device_get_softc(dev); local 602 struct ata_channel *ch; local 634 struct ata_channel *ch; local 668 struct ata_channel *ch; local 699 struct ata_channel *ch; local 731 struct ata_channel *ch; local 765 struct ata_channel *ch; local 795 struct ata_channel *ch = device_get_softc(dev); local 822 struct ata_channel *ch = device_get_softc(dev); local 890 struct ata_channel *ch = device_get_softc(request->parent); local 918 struct ata_channel *ch = device_get_softc(dev); local [all...] |
H A D | ata-serverworks.c | 105 struct ata_channel *ch = device_get_softc(dev); local 111 if (!(ATA_INL(ctlr->r_res2, 0x1f80) & (1 << ch->unit))) 119 ATA_IDX_INL(ch,ATA_STATUS); 176 struct ata_channel *ch = device_get_softc(dev); local 180 ch_offset = ch->unit * 0x100; 183 ch->r_io[i].res = ctlr->r_res2; 186 ch->r_io[ATA_DATA].offset = ch_offset + 0x00; 187 ch->r_io[ATA_FEATURE].offset = ch_offset + 0x04; 188 ch->r_io[ATA_COUNT].offset = ch_offset + 0x08; 189 ch 260 struct ata_channel *ch = device_get_softc(request->parent); local 288 struct ata_channel *ch = device_get_softc(request->parent); local 318 struct ata_channel *ch = device_get_softc(dev); local 375 struct ata_channel *ch = device_get_softc(dev); local [all...] |
H A D | ata-promise.c | 370 struct ata_channel *ch = device_get_softc(dev); local 376 ch->dma.start = ata_promise_dmastart; 377 ch->dma.stop = ata_promise_dmastop; 378 ch->dma.reset = ata_promise_dmareset; 381 ch->hw.status = ata_promise_status; 382 ch->flags |= ATA_NO_ATAPI_DMA; 383 ch->flags |= ATA_CHECKS_CABLE; 391 struct ata_channel *ch = device_get_softc(dev); local 393 if (ATA_INL(ctlr->r_res1, 0x1c) & (ch->unit ? 0x00004000 : 0x00000400)) { 403 struct ata_channel *ch local 426 struct ata_channel *ch = device_get_softc(request->parent); local 445 struct ata_channel *ch = device_get_softc(dev); local 458 struct ata_channel *ch = device_get_softc(dev); local 520 struct ata_channel *ch = device_get_softc(dev); local 533 struct ata_channel *ch = device_get_softc(dev); local 546 struct ata_channel *ch = device_get_softc(dev); local 600 struct ata_channel *ch; local 625 struct ata_channel *ch = device_get_softc(dev); local 670 struct ata_channel *ch = device_get_softc(request->parent); local 709 struct ata_channel *ch = device_get_softc(dev); local 840 struct ata_channel *ch = device_get_softc(dev); local 891 struct ata_channel *ch = device_get_softc(dev); local 943 struct ata_channel *ch = device_get_softc(dev); local 990 struct ata_channel *ch = device_get_softc(dev); local 1031 struct ata_channel *ch = device_get_softc(dev); local 1047 struct ata_channel *ch = device_get_softc(dev); local 1062 struct ata_channel *ch; local 1095 struct ata_channel *ch = device_get_softc(request->parent); local [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_getch.c | 166 int ch = (peek >= 0) ? sp->_fifo[peek] : ERR; local 170 return ch; 176 int ch = (head >= 0) ? sp->_fifo[head] : ERR; local 178 TR(TRACE_IEVENT, ("pulling %s from %d", _nc_tracechar(sp, ch), head)); 193 return ch; 200 int ch = 0; local 236 ch = KEY_MOUSE; 244 ch = KEY_MOUSE; 249 ch = KEY_MOUSE; 257 ch 399 int ch; local 671 int ch = 0; local [all...] |
/freebsd-11-stable/stand/libsa/ |
H A D | uuid_from_string.c | 40 hex2int(int ch) argument 42 if (ch >= '0' && ch <= '9') 43 return ch - '0'; 44 if (ch >= 'a' && ch <= 'f') 45 return 10 + ch - 'a'; 46 if (ch >= 'A' && ch <= 'F') 47 return 10 + ch [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | cvt.c | 69 LWCHAR ch; local 81 ch = step_char(&src, +1, src_end); 82 if ((ops & CVT_BS) && ch == '\b' && dst > odst) 89 } else if ((ops & CVT_ANSI) && (pansi = ansi_start(ch)) != NULL) 94 if (ansi_step(pansi, ch) != ANSI_MID) 96 ch = *src++; 102 if ((ops & CVT_TO_LC) && IS_UPPER(ch)) 103 ch = TO_LOWER(ch); 104 put_wchar(&dst, ch); [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-debug-uart.c | 140 * @param ch 143 static inline int cvmx_debug_uart_hex(char ch) argument 145 if ((ch >= 'a') && (ch <= 'f')) 146 return(ch - 'a' + 10); 147 if ((ch >= '0') && (ch <= '9')) 148 return(ch - '0'); 149 if ((ch >= 'A') && (ch < 163 char ch; local [all...] |
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-isa.c | 101 struct ata_channel *ch = device_get_softc(dev); local 106 if (ch->attached) 108 ch->attached = 1; 132 ch->r_io[i].res = io; 133 ch->r_io[i].offset = i; 135 ch->r_io[ATA_CONTROL].res = ctlio; 136 ch->r_io[ATA_CONTROL].offset = 0; 137 ch->r_io[ATA_IDX_ADDR].res = io; 141 ch->unit = 0; 142 ch 150 struct ata_channel *ch = device_get_softc(dev); local 169 struct ata_channel *ch = device_get_softc(dev); local 180 struct ata_channel *ch = device_get_softc(dev); local [all...] |
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_ulpi.c | 67 ng_l2cap_chan_p ch = NULL; local 106 ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype); 107 if (ch == NULL) { 113 cmd = ng_l2cap_new_cmd(ch->con, ch, ng_l2cap_get_ident(con), 116 ng_l2cap_free_chan(ch); 123 ng_l2cap_free_chan(ch); 138 _ng_l2cap_con_req(cmd->aux, cmd->ident, ch->psm, ch->scid); 142 ng_l2cap_free_chan(ch); 161 ng_l2cap_l2ca_con_rsp(ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result, u_int16_t status) argument 226 ng_l2cap_chan_p ch = NULL; local 336 ng_l2cap_l2ca_encryption_change(ng_l2cap_chan_p ch, uint16_t result) argument 388 ng_l2cap_l2ca_con_rsp_rsp(ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result) argument 428 ng_l2cap_l2ca_con_ind(ng_l2cap_chan_p ch) argument 473 ng_l2cap_chan_p ch = NULL; local 579 ng_l2cap_l2ca_cfg_rsp(ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result) argument 645 ng_l2cap_chan_p ch = NULL; local 739 ng_l2cap_l2ca_cfg_rsp_rsp(ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result) argument 792 ng_l2cap_l2ca_cfg_ind(ng_l2cap_chan_p ch) argument 835 ng_l2cap_chan_p ch = NULL; local 932 ng_l2cap_l2ca_write_rsp(ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result, u_int16_t length) argument 991 ng_l2cap_chan_p ch = NULL; local 1179 ng_l2cap_l2ca_qos_ind(ng_l2cap_chan_p ch) argument 1218 ng_l2cap_chan_p ch = NULL; local 1328 ng_l2cap_l2ca_discon_rsp(ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result) argument 1368 ng_l2cap_l2ca_discon_ind(ng_l2cap_chan_p ch) argument 1444 ng_l2cap_l2ca_grp_add_member_rsp(ng_l2cap_chan_p ch, u_int32_t token, u_int16_t result) argument [all...] |
/freebsd-11-stable/usr.bin/tr/ |
H A D | tr.c | 76 wint_t ch, cnt, lastch; local 81 while ((ch = getopt(argc, argv, "Ccdsu")) != -1) 82 switch((char)ch) { 132 for (lastch = OOBCH; (ch = getwchar()) != WEOF;) 133 if (!cset_in(delete, ch) && 134 (lastch != ch || !cset_in(squeeze, ch))) { 135 lastch = ch; 136 (void)putwchar(ch); 153 while ((ch [all...] |
/freebsd-11-stable/contrib/groff/src/utils/afmtodit/ |
H A D | afmtodit.pl | 6270 while (my $ch = each %width) { 6272 if (!$in_encoding{$ch}) { 6273 $encoding[$i] = $ch; 6276 if ($nmap{$ch}) { 6277 for (my $j = 0; $j < $nmap{$ch}; $j++) { 6278 if (defined $mapped{$map{$ch, $j}}) { 6279 warn "both $mapped{$map{$ch, $j}} and $ch " . 6280 "map to $map{$ch, $j}"; 6283 $mapped{$map{$ch, [all...] |
/freebsd-11-stable/sys/dev/scc/ |
H A D | scc_dev_z8530.c | 70 scc_getmreg(struct scc_bas *bas, int ch, int reg) argument 73 scc_setreg(bas, ch + REG_CTRL, reg); 75 return (scc_getreg(bas, ch + REG_CTRL)); 86 z8530_bfe_iclear(struct scc_softc *sc, struct scc_chan *ch) argument 92 c = (ch->ch_nr == 1) ? CHAN_A : CHAN_B; 94 if (ch->ch_ipend & SER_INT_TXIDLE) { 98 if (ch->ch_ipend & SER_INT_RXREADY) { 102 if (ch->ch_ipend & (SER_INT_OVERRUN|SER_INT_BREAK)) 119 struct scc_chan *ch[2]; local 124 ch[ [all...] |