/src/sys/dev/isa/ |
joy_ess.c | 37 struct ess_softc *esc = device_private(parent); local in function:joy_ess_attach 42 sc->sc_iot = esc->sc_joy_iot; 43 sc->sc_ioh = esc->sc_joy_ioh; 45 sc->sc_lock = &esc->sc_lock;
|
esp_isa.c | 249 esp_isa_init(struct esp_isa_softc *esc, struct esp_isa_probe_data *epd) 251 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x; 362 struct esp_isa_softc *esc = device_private(self); local in function:esp_isa_attach 363 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x; 393 esc->sc_ih = isa_intr_establish(ic, ia->ia_irq[0].ir_irq, IST_EDGE, 394 IPL_BIO, ncr53c9x_intr, esc); 395 if (esc->sc_ih == NULL) { 400 esc->sc_ioh = ioh; 401 esc->sc_iot = iot; 402 esp_isa_init(esc, &epd) 422 struct esp_isa_softc *esc = (struct esp_isa_softc *)sc; local in function:esp_isa_read_reg 437 struct esp_isa_softc *esc = (struct esp_isa_softc *)sc; local in function:esp_isa_write_reg 463 struct esp_isa_softc *esc = (struct esp_isa_softc *)sc; local in function:esp_isa_dma_reset 474 struct esp_isa_softc *esc = (struct esp_isa_softc *)sc; local in function:esp_isa_dma_intr 549 struct esp_isa_softc *esc = (struct esp_isa_softc *)sc; local in function:esp_isa_dma_setup 565 struct esp_isa_softc *esc = (struct esp_isa_softc *)sc; local in function:esp_isa_dma_go 581 struct esp_isa_softc *esc = (struct esp_isa_softc *)sc; local in function:esp_isa_dma_isactive [all...] |
nca_isa.c | 303 struct nca_isa_softc *esc = device_private(self); local in function:nca_isa_attach 304 struct ncr5380_softc *sc = &esc->sc_ncr5380; 382 esc->sc_ih = isa_intr_establish(ic, ia->ia_irq[0].ir_irq, 383 IST_EDGE, IPL_BIO, ncr5380_intr, esc); 384 if (esc->sc_ih == NULL) { 399 esc->sc_options = 0x00000; /* no options */ 401 esc->sc_options = 0x0ffff; /* all options except force poll */ 404 sc->sc_no_disconnect = (esc->sc_options & NCA_NO_DISCONNECT); 405 sc->sc_parity_disable = (esc->sc_options & NCA_NO_PARITY_CHK) >> 8; 406 if (esc->sc_options & NCA_FORCE_POLLING [all...] |
/src/sys/dev/pci/ |
mpu_eso.c | 60 struct eso_softc *esc = device_private(parent); local in function:mpu_eso_match 66 sc.ioh = esc->sc_mpu_ioh; 67 sc.iot = esc->sc_mpu_iot; 74 struct eso_softc *esc = device_private(parent); local in function:mpu_eso_attach 79 sc->ioh = esc->sc_mpu_ioh; 80 sc->iot = esc->sc_mpu_iot; 83 sc->lock = &esc->sc_intr_lock;
|
joy_eso.c | 69 struct eso_softc *esc = device_private(parent); local in function:joy_eso_attach 74 sc->sc_ioh = esc->sc_game_ioh; 75 sc->sc_iot = esc->sc_game_iot; 77 sc->sc_lock = &esc->sc_lock;
|
opl_eso.c | 71 struct eso_softc *esc = device_private(parent); local in function:opl_eso_attach 75 sc->ioh = esc->sc_sb_ioh; 76 sc->iot = esc->sc_sb_iot; 78 sc->lock = &esc->sc_intr_lock;
|
joy_eap.c | 104 struct eap_softc *esc = device_private(parent); local in function:joy_eap_attach 112 sc->sc_lock = &esc->sc_lock;
|
/src/sys/arch/evbarm/tsarm/ |
epcom_ts.c | 69 struct epcom_ts_softc *esc = device_private(self); local in function:epcom_ts_attach 70 struct epcom_softc *sc = &esc->sc_epcom; 76 esc->sc_iot = sa->sa_iot;
|
/src/sys/arch/sparc64/dev/ |
pcfiic_ebus.c | 88 struct pcfiic_ebus_softc *esc = device_private(self); local in function:pcfiic_ebus_attach 89 struct pcfiic_softc *sc = &esc->esc_sc; 154 esc->esc_ih = bus_intr_establish(sc->sc_iot, ea->ea_intr[0], 157 esc->esc_ih = NULL; 160 if (esc->esc_ih == NULL)
|
/src/lib/libc/stdio/ |
fparseln.c | 64 * that starts in *sp, is escaped by the escape character esc. 67 isescaped(const char *sp, const char *p, int esc) 76 if (esc == '\0') 80 for (ne = 0, cp = p; --cp >= sp && *cp == esc; ne++) 102 char esc, con, nl, com; local in function:fparseln 113 esc = str[0]; 135 if (*cp == com && !isescaped(ptr, cp, esc)) { 152 if (*cp == con && !isescaped(ptr, cp, esc)) { 181 if ((flags & FPARSELN_UNESCALL) != 0 && esc && buf != NULL && 182 strchr(buf, esc) != NULL) [all...] |
/src/sys/dev/eisa/ |
depca_eisa.c | 102 struct depca_eisa_softc *esc = device_private(self); local in function:depca_eisa_attach 103 struct depca_softc *sc = &esc->sc_depca; 115 esc->sc_ec = ea->ea_ec; 147 esc->sc_irq = eci.eci_irq; 148 esc->sc_ist = eci.eci_ist; 156 struct depca_eisa_softc *esc = (struct depca_eisa_softc *)sc; local in function:depca_eisa_intr_establish 162 if (eisa_intr_map(esc->sc_ec, esc->sc_irq, &ih)) { 164 "unable to map interrupt (%d)\n", esc->sc_irq); 167 intrstr = eisa_intr_string(esc->sc_ec, ih, intrbuf, sizeof(intrbuf)) [all...] |
if_tlp_eisa.c | 141 struct tulip_eisa_softc *esc = device_private(self); local in function:tlp_eisa_attach 142 struct tulip_softc *sc = &esc->sc_tulip; 258 esc->sc_ih = eisa_intr_establish(ec, ih, ist, IPL_NET, tlp_intr, sc); 259 if (esc->sc_ih == NULL) {
|
/src/games/quiz/ |
rxp.c | 102 int esc, err; local in function:rxp__compile 104 esc = 0; 121 if (*sp == ':' && !esc) 123 if (esc) { 126 esc = 0; 130 esc = 1; 170 esc = 0;
|
quiz.c | 308 int esc; local in function:next_cat 310 esc = 0; 316 esc = 1; 319 if (!esc) 323 esc = 0;
|
/src/sys/arch/acorn32/podulebus/ |
cosc.c | 113 vu_char *esc; local in function:coscattach 139 esc = &sc->sc_iobase[COSC_ESCOFFSET_BASE]; 141 rp->esc.esc_tc_low = &esc[COSC_ESCOFFSET_TCL]; 142 rp->esc.esc_tc_mid = &esc[COSC_ESCOFFSET_TCM]; 143 rp->esc.esc_fifo = &esc[COSC_ESCOFFSET_FIFO]; 144 rp->esc.esc_command = &esc[COSC_ESCOFFSET_COMMAND] [all...] |
/src/sys/arch/arm/altera/ |
cycv_dwcmmc.c | 82 struct cycv_dwcmmc_softc *esc = device_private(self); local in function:cycv_dwcmmc_attach 83 struct dwc_mmc_softc *sc = &esc->sc; 101 esc->sc_clk_biu = fdtbus_clock_get(phandle, "biu"); 102 if (esc->sc_clk_biu == NULL) { 106 esc->sc_clk_ciu = fdtbus_clock_get(phandle, "ciu"); 107 if (esc->sc_clk_ciu == NULL) { 112 error = clk_enable(esc->sc_clk_biu); 117 error = clk_enable(esc->sc_clk_ciu); 133 sc->sc_clock_freq = clk_get_rate(esc->sc_clk_ciu); 142 esc->sc_phandle = phandle 173 struct cycv_dwcmmc_softc *esc = device_private(sc->sc_dev); local in function:cycv_dwcmmc_card_detect [all...] |
/src/sys/arch/arm/samsung/ |
exynos_dwcmmc.c | 91 struct exynos_dwcmmc_softc *esc = device_private(self); local in function:exynos_dwcmmc_attach 92 struct dwc_mmc_softc *sc = &esc->sc; 106 if (of_getprop_uint32(phandle, "samsung,dw-mshc-ciu-div", &esc->sc_ciu_div)) { 111 esc->sc_clk_biu = fdtbus_clock_get(phandle, "biu"); 112 if (esc->sc_clk_biu == NULL) { 116 esc->sc_clk_ciu = fdtbus_clock_get(phandle, "ciu"); 117 if (esc->sc_clk_ciu == NULL) { 122 error = clk_enable(esc->sc_clk_biu); 127 error = clk_enable(esc->sc_clk_ciu); 147 sc->sc_clock_freq = clk_get_rate(esc->sc_clk_ciu) / (esc->sc_ciu_div + 1) 190 struct exynos_dwcmmc_softc *esc = device_private(sc->sc_dev); local in function:exynos_dwcmmc_card_detect 200 struct exynos_dwcmmc_softc *esc = device_private(sc->sc_dev); local in function:exynos_dwcmmc_bus_clock [all...] |
/src/sys/arch/sparc/dev/ |
esp_obio.c | 124 struct esp_softc *esc = device_private(self); local in function:espattach_obio 125 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x; 132 esc->sc_bustag = oba->oba_bustag; 133 esc->sc_dmatag = oba->oba_dmatag; 145 esc->sc_dma = device_private(dma_dev); 146 esc->sc_dma->sc_client = sc; 151 &esc->sc_reg) != 0) { 243 bus_intr_establish(esc->sc_bustag, oba->oba_pri, IPL_BIO, 264 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_read_reg 266 return bus_space_read_1(esc->sc_bustag, esc->sc_reg, reg * 4) 272 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_write_reg 280 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isintr 288 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_reset 296 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_intr 305 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_setup 313 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_go 321 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_stop 332 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isactive [all...] |
/src/sys/dev/pcmcia/ |
nca_pcmcia.c | 113 struct nca_pcmcia_softc *esc = device_private(self); local in function:nca_pcmcia_attach 114 struct ncr5380_softc *sc = &esc->sc_ncr5380; 122 esc->sc_pf = pf; 185 esc->sc_state = NCA_PCMCIA_ATTACHED;
|
/src/sys/arch/sun3/dev/ |
esp.c | 126 struct esp_softc *esc = device_private(self); local in function:espattach 127 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x; 139 esc->sc_bst = ca->ca_bustag; 140 if (bus_space_map(esc->sc_bst, ca->ca_paddr, ESP_REG_SIZE, 0, 141 &esc->sc_bsh) != 0) { 153 esc->sc_dma = espdmafind(device_unit(self)); 154 esc->sc_dma->sc_client = sc; /* Point back to us */ 256 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_read_reg 258 return bus_space_read_1(esc->sc_bst, esc->sc_bsh, reg * 4) 264 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_write_reg 272 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isintr 280 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_reset 288 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_intr 297 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_setup 305 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_go 313 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_stop 321 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isactive [all...] |
/src/sys/dev/mca/ |
esp_mca.c | 137 struct esp_softc *esc = device_private(self); local in function:esp_mca_attach 138 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x; 195 esc->sc_iot = ma->ma_iot; 196 esc->sc_ioh = ioh; 200 ESP_MCA_IOSIZE-ESP_REG_OFFSET, &esc->sc_esp_ioh)) { 206 esc->sc_dmat = ma->ma_dmat; 207 if ((error = mca_dmamap_create(esc->sc_dmat, MAXPHYS, 209 &esc->sc_xfer, drq)) != 0){ 231 esc->sc_ih = mca_intr_establish(ma->ma_mc, irq, IPL_BIO, ncr53c9x_intr, 232 esc); 266 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_read_reg 274 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_write_reg 282 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isintr 292 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_reset 310 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_intr 356 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_setup 392 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_go 411 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isactive [all...] |
/src/usr.bin/telnet/ |
sys_bsd.c | 248 cc_t esc; local in function:TerminalNewMode 397 esc = (rlogin != _POSIX_VDISABLE) ? rlogin : escape; 398 if ((tmp_tc.c_cc[VEOL] != esc) 400 && (tmp_tc.c_cc[VEOL2] != esc) 404 tmp_tc.c_cc[VEOL] = esc; 407 tmp_tc.c_cc[VEOL2] = esc;
|
/src/sys/arch/macppc/dev/ |
esp.c | 162 struct esp_softc *esc = device_private(self); local in function:espattach 163 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x; 174 esc->sc_node = ca->ca_node; 175 esc->sc_pri = ca->ca_intr[0]; 176 aprint_normal(" irq %d", esc->sc_pri); 182 esc->sc_reg = mapiodev(ca->ca_baseaddr + reg[0], reg[1], false); 183 esc->sc_dmareg = mapiodev(ca->ca_baseaddr + reg[2], reg[3], false); 186 esc->sc_dmacmd = dbdma_alloc(sizeof(dbdma_command_t) * 20, NULL); 198 /* esc->sc_dma->sc_esp = esc;*/ 257 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_read_reg 266 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_write_reg 283 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_reset 292 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_intr 301 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_setup 362 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_go 371 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_stop 380 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isactive 503 struct esp_softc *esc; local in function:esp_shutdown [all...] |
/src/sys/dev/fdt/ |
dwcmmc_fdt.c | 106 struct dwcmmc_fdt_softc *esc = device_private(self); local in function:dwcmmc_fdt_attach 107 struct dwc_mmc_softc *sc = &esc->sc; 126 esc->sc_clk_biu = fdtbus_clock_get(phandle, "biu"); 127 if (esc->sc_clk_biu == NULL) { 131 esc->sc_clk_ciu = fdtbus_clock_get(phandle, "ciu"); 132 if (esc->sc_clk_ciu == NULL) { 137 error = clk_enable(esc->sc_clk_biu); 142 error = clk_enable(esc->sc_clk_ciu); 148 esc->sc_vqmmc = fdtbus_regulator_acquire(phandle, "vqmmc-supply"); 149 esc->sc_pwrseq = fdtbus_mmc_pwrseq_get(phandle) 211 struct dwcmmc_fdt_softc *esc = device_private(sc->sc_dev); local in function:dwcmmc_fdt_pre_power_on 220 struct dwcmmc_fdt_softc *esc = device_private(sc->sc_dev); local in function:dwcmmc_fdt_post_power_on 229 struct dwcmmc_fdt_softc *esc = device_private(sc->sc_dev); local in function:dwcmmc_fdt_card_detect 239 struct dwcmmc_fdt_softc *esc = device_private(sc->sc_dev); local in function:dwcmmc_fdt_bus_clock 261 struct dwcmmc_fdt_softc *esc = device_private(sc->sc_dev); local in function:dwcmmc_fdt_signal_voltage [all...] |
/src/lib/libterminfo/ |
compile.c | 525 char esc, *token; local in function:_ti_get_token 533 esc = '\0'; 535 **cap != '\0' && (esc != '\0' || **cap != sep); 538 if (esc == '\0') { 540 esc = **cap; 543 if (sep == ':' && esc == '\\' && **cap == 'E') 544 esc = 'x'; 546 esc = '\0';
|