HomeSort by: relevance | last modified time | path
    Searched refs:esc (Results 1 - 25 of 57) sorted by relevancy

1 2 3

  /src/sys/arch/mipsco/obio/
asc.c 128 struct asc_softc *esc = device_private(self); local in function:ascattach
129 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
138 esc->sc_bst = ca->ca_bustag;
139 esc->sc_dmat = ca->ca_dmatag;
144 &esc->sc_bsh) != 0) {
150 BUS_SPACE_MAP_LINEAR, &esc->dm_bsh) != 0) {
155 if (bus_dmamap_create(esc->sc_dmat, MAX_DMA_SZ,
157 &esc->sc_dmamap) != 0) {
162 evcnt_attach_dynamic(&esc->sc_intrcnt, EVCNT_TYPE_INTR, NULL,
165 esc->sc_flags = DMA_IDLE
207 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_read_reg
215 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_write_reg
223 struct asc_softc *esc = (struct asc_softc *)sc; local in function:dma_status
268 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_dma_reset
290 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_dma_setup
376 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_dma_go
387 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_dma_intr
476 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_dma_stop
487 struct asc_softc *esc = (struct asc_softc *)sc; local in function:asc_dma_isactive
532 struct asc_softc *esc = arg; local in function:asc_intr
    [all...]
  /src/sys/arch/next68k/dev/
esp.c 236 struct esp_softc *esc = device_private(self); local in function:findchannel_defer
237 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
240 if (esc->sc_dma == NULL) {
242 esc->sc_dma = nextdma_findchannel("scsi");
243 if (esc->sc_dma == NULL)
248 nextdma_setconf(esc->sc_dma, shutdown_cb, &esp_dmacb_shutdown);
249 nextdma_setconf(esc->sc_dma, continue_cb, &esp_dmacb_continue);
250 nextdma_setconf(esc->sc_dma, completed_cb, &esp_dmacb_completed);
251 nextdma_setconf(esc->sc_dma, cb_arg, sc);
253 error = bus_dmamap_create(esc->sc_dma->sc_dmat
294 struct esp_softc *esc = device_private(self); local in function:espattach_intio
425 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_read_reg
433 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_write_reg
471 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isintr
487 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_intr
753 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_reset
816 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_setup
1174 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_store
1284 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_go
1425 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_stop
1439 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isactive
1461 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_int
1710 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dmacb_continue
1760 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dmacb_completed
1870 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dmacb_shutdown
    [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/sys/arch/mac68k/obio/
esp.c 179 struct esp_softc *esc = device_private(self); local in function:espattach
180 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
227 esc->sc_dreqreg = (volatile uint32_t *)
229 *esc->sc_dreqreg = 0x1d1;
256 esp0 = esc;
258 esc->sc_reg = (volatile uint8_t *)SCSIBase;
259 via2_register_irq(VIA2_SCSIIRQ, esp_intr, esc);
275 esp1 = esc;
277 esc->sc_reg = (volatile uint8_t *)SCSIBase + 0x402;
288 aprint_normal(": address %p", esc->sc_reg)
426 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_read_reg
434 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_write_reg
451 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isactive
459 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isintr
467 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_reset
476 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_intr
553 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_setup
567 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_go
580 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_write_reg
592 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_quick_dma_intr
654 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_quick_dma_setup
735 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_quick_dma_go
973 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_intr
995 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_av_dma_reset
1008 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_av_dma_intr
1089 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_av_dma_setup
1181 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_av_dma_go
1196 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_av_dma_stop
    [all...]
  /src/sys/dev/pci/
pcscp.c 154 struct pcscp_softc *esc = device_private(self); local in function:pcscp_attach
155 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
178 esc->sc_st = iot;
179 esc->sc_sh = ioh;
180 esc->sc_dmat = pa->pa_dmat;
241 if (bus_dmamap_create(esc->sc_dmat, MAXPHYS, MDL_SIZE, MDL_SEG_SIZE,
242 MDL_SEG_SIZE, BUS_DMA_NOWAIT, &esc->sc_xfermap)) {
251 if ((error = bus_dmamem_alloc(esc->sc_dmat,
258 if ((error = bus_dmamem_map(esc->sc_dmat, &seg, rseg,
259 sizeof(uint32_t) * MDL_SIZE , (void **)&esc->sc_mdladdr
331 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_read_reg
339 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_write_reg
347 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_dma_isintr
355 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_dma_reset
365 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_dma_intr
518 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_dma_setup
581 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_dma_go
617 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_dma_stop
631 struct pcscp_softc *esc = (struct pcscp_softc *)sc; local in function:pcscp_dma_isactive
    [all...]
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;
  /src/sys/dev/pcmcia/
esp_pcmcia.c 152 struct esp_pcmcia_softc *esc = device_private(self); local in function:esp_pcmcia_attach
153 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
161 esc->sc_pf = pf;
170 esc->sc_iot = cfe->iospace[0].handle.iot;
171 esc->sc_ioh = cfe->iospace[0].handle.ioh;
172 esp_pcmcia_init(esc);
181 esc->sc_state = ESP_PCMCIA_ATTACHED;
185 esp_pcmcia_init(struct esp_pcmcia_softc *esc)
187 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
194 callout_init(&esc->sc_poll_ch, 0)
275 struct esp_pcmcia_softc *esc = arg; local in function:esp_pcmcia_poll
288 struct esp_pcmcia_softc *esc = (struct esp_pcmcia_softc *)sc; local in function:esp_pcmcia_read_reg
296 struct esp_pcmcia_softc *esc = (struct esp_pcmcia_softc *)sc; local in function:esp_pcmcia_write_reg
314 struct esp_pcmcia_softc *esc = (struct esp_pcmcia_softc *)sc; local in function:esp_pcmcia_dma_reset
323 struct esp_pcmcia_softc *esc = (struct esp_pcmcia_softc *)sc; local in function:esp_pcmcia_dma_intr
393 struct esp_pcmcia_softc *esc = (struct esp_pcmcia_softc *)sc; local in function:esp_pcmcia_dma_setup
407 struct esp_pcmcia_softc *esc = (struct esp_pcmcia_softc *)sc; local in function:esp_pcmcia_dma_go
420 struct esp_pcmcia_softc *esc = (struct esp_pcmcia_softc *)sc; local in function:esp_pcmcia_dma_isactive
    [all...]
  /src/sys/dev/podulebus/
esp_podule.c 123 struct esp_podule_softc *esc = device_private(self); local in function:esp_podule_attach
124 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
139 esc->sc_esp_glue = esp_podule_glue;
140 esc->sc_esp_glue.gl_read_reg = devices[i].read_reg;
141 esc->sc_esp_glue.gl_write_reg = devices[i].write_reg;
142 sc->sc_glue = &esc->sc_esp_glue;
144 esc->sc_iot = pa->pa_slow_t;
145 bus_space_map(esc->sc_iot, pa->pa_slow_base, 0x4000, 0, &esc->sc_ioh);
180 struct esp_podule_softc *esc = (struct esp_podule_softc *)sc local in function:esp_podule_dma_reset
189 struct esp_podule_softc *esc = (struct esp_podule_softc *)sc; local in function:esp_podule_dma_intr
260 struct esp_podule_softc *esc = (struct esp_podule_softc *)sc; local in function:esp_podule_dma_setup
274 struct esp_podule_softc *esc = (struct esp_podule_softc *)sc; local in function:esp_podule_dma_go
294 struct esp_podule_softc *esc = (struct esp_podule_softc *)sc; local in function:esp_podule_dma_isactive
312 struct esp_podule_softc *esc = (struct esp_podule_softc *)sc; local in function:castle_read_reg
322 struct esp_podule_softc *esc = (struct esp_podule_softc *)sc; local in function:castle_write_reg
    [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/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/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/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/isa/
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...]
if_ef.c 167 struct ef_softc *esc = (struct ef_softc *)sc; local in function:ef_reset
172 bus_space_write_1(esc->sc_regt, esc->sc_regh,
175 bus_space_write_1(esc->sc_regt, esc->sc_regh,
192 struct ef_softc *esc = (struct ef_softc *)sc; local in function:ef_atten
194 bus_space_write_1(esc->sc_regt, esc->sc_regh, EF_ATTN, 1);
200 struct ef_softc *esc = (struct ef_softc *)sc; local in function:ef_hwinit
202 bus_space_write_1(esc->sc_regt, esc->sc_regh, EF_ICTRL, 1)
209 struct ef_softc *esc = (struct ef_softc *)sc; local in function:ef_intrhook
450 struct ef_softc *esc = device_private(self); local in function:ef_attach
    [all...]
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;
if_ec.c 246 struct ec_softc *esc = device_private(self); local in function:ec_attach
247 struct dp8390_softc *sc = &esc->sc_dp8390;
287 esc->sc_asict = asict;
288 esc->sc_asich = asich;
360 esc->sc_16bitp = 1;
362 esc->sc_16bitp = 0;
365 esc->sc_16bitp ? "16" : "8");
381 (esc->sc_16bitp ? ED_DCR_WTS : 0);
415 if (esc->sc_16bitp) {
492 esc->sc_ih = isa_intr_establish(ia->ia_ic, ia->ia_irq[0].ir_irq
514 struct ec_softc *esc = (struct ec_softc *)sc; local in function:ec_test_mem
569 struct ec_softc *esc = (struct ec_softc *)sc; local in function:ec_write_mbuf
687 struct ec_softc *esc = (struct ec_softc *)sc; local in function:ec_ring_copy
711 struct ec_softc *esc = (struct ec_softc *)sc; local in function:ec_read_hdr
733 struct ec_softc *esc = (struct ec_softc *)sc; local in function:ec_mediachange
753 struct ec_softc *esc = (struct ec_softc *)sc; local in function:ec_init_card
    [all...]
  /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/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/dev/sbus/
esp_sbus.c 151 struct esp_softc *esc = device_private(self); local in function:espattach_sbus
152 struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x;
165 esc->sc_bustag = sa->sa_bustag;
166 esc->sc_dmatag = sa->sa_dmatag;
198 esc->sc_dma = lsc;
259 sa->sa_promvaddrs[1], &esc->sc_reg);
265 0, &esc->sc_reg) != 0) {
277 esc->sc_pri = sa->sa_pri;
279 espattach(esc, &esp_sbus_glue);
298 esc->sc_dma = device_private(dma_dev)
345 struct esp_softc *esc = device_private(self); local in function:espattach_dma
577 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_read_reg
593 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_write_reg
607 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_rdreg1
615 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_wrreg1
623 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isintr
631 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_reset
639 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_intr
648 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_setup
656 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_go
664 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_stop
675 struct esp_softc *esc = (struct esp_softc *)sc; local in function:esp_dma_isactive
    [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...]
  /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/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/lib/libc/string/
stresep.c 52 * strings separated by characters from delim. If esc is not NUL, then
53 * the characters followed by esc are ignored and are not taken into account
64 stresep(char **stringp, const char *delim, int esc)
81 while (esc != '\0' && c == esc) {

Completed in 1162 milliseconds

1 2 3