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

1 2

  /src/sys/arch/amiga/dev/
slhci_zbus.c 92 struct slhci_zbus_softc *zsc; local in function:slhci_zbus_attach
99 zsc = device_private(self);
100 sc = &zsc->sc_sc;
104 zsc->sc_bst.base = (bus_addr_t)zap->va;
105 zsc->sc_bst.absm = &amiga_bus_stride_1;
106 iot = &zsc->sc_bst;
119 zsc->sc_isr.isr_intr = slhci_intr;
120 zsc->sc_isr.isr_arg = sc;
121 zsc->sc_isr.isr_ipl = 6;
122 add_isr(&zsc->sc_isr)
131 struct slhci_zbus_softc *zsc = arg; local in function:slhci_zbus_enable_power
    [all...]
if_ne_xsurf.c 119 struct ne_xsurf_softc *zsc = device_private(self); local in function:ne_xsurf_attach
120 struct ne2000_softc *nsc = &zsc->sc_ne2000;
125 bus_space_tag_t nict = &zsc->sc_bst;
136 zsc->sc_bst.base = xap->xaa_base;
138 zsc->sc_bst.absm = &amiga_bus_stride_2;
170 zsc->sc_isr.isr_intr = dp8390_intr;
171 zsc->sc_isr.isr_arg = dsc;
172 zsc->sc_isr.isr_ipl = 2;
173 add_isr(&zsc->sc_isr);
if_ne_zbus.c 106 struct ne_zbus_softc *zsc = device_private(self); local in function:ne_zbus_attach
107 struct ne2000_softc *nsc = &zsc->sc_ne2000;
110 bus_space_tag_t nict = &zsc->sc_bst;
121 zsc->sc_bst.base = (u_long)zap->va + 0;
123 zsc->sc_bst.absm = &amiga_bus_stride_2;
154 zsc->sc_isr.isr_intr = dp8390_intr;
155 zsc->sc_isr.isr_arg = dsc;
156 zsc->sc_isr.isr_ipl = 2;
157 add_isr(&zsc->sc_isr);
if_ne_xsh.c 98 struct ne_xsh_softc *zsc = device_private(self); local in function:ne_xsh_attach
99 struct ne2000_softc *nsc = &zsc->sc_ne2000;
110 zsc->sc_bst.base = xap->xaa_base;
111 zsc->sc_bst.absm = &amiga_bus_stride_4;
115 xsht = &zsc->sc_bst;
156 zsc->sc_isr.isr_intr = dp8390_intr;
157 zsc->sc_isr.isr_arg = dsc;
158 zsc->sc_isr.isr_ipl = 2;
159 add_isr(&zsc->sc_isr);
if_ed_zbus.c 106 struct ed_zbus_softc *zsc = device_private(self); local in function:ed_zbus_attach
107 struct dp8390_softc *sc = &zsc->sc_dp8390;
113 zsc->sc_bst.base = (bus_addr_t)zap->va;
114 zsc->sc_bst.absm = &amiga_bus_stride_1;
127 sc->sc_regt = &zsc->sc_bst;
128 sc->sc_buft = &zsc->sc_bst;
154 if (bus_space_map(&zsc->sc_bst, promaddr, ETHER_ADDR_LEN * 2, 0,
158 bus_space_read_1(&zsc->sc_bst, promh, i * 2);
160 bus_space_unmap(&zsc->sc_bst, promh, ETHER_ADDR_LEN * 2);
198 zsc->sc_isr.isr_intr = dp8390_intr
    [all...]
  /src/sys/arch/mipsco/obio/
zs.c 68 #include "zsc.h" /* NZSC */
158 CFATTACH_DECL_NEW(zsc, sizeof(struct zsc_softc),
177 if (strcmp(ca->ca_name, "zsc"))
197 struct zsc_softc *zsc = device_private(self); local in function:zs_attach
204 zsc->zsc_dev = self;
205 zsc->zsc_bustag = ca->ca_bustag;
209 &zsc->zsc_base) != 0) {
223 ch = &zsc->zsc_cs_store[channel];
224 cs = zsc->zsc_cs[channel] = (struct zs_chanstate *)ch;
234 if (bus_space_subregion(ca->ca_bustag, zsc->zsc_base
323 struct zsc_softc *zsc; local in function:zshard
349 struct zsc_softc *zsc; local in function:zssoft
484 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_read_reg
496 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_write_reg
507 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_read_csr
518 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_write_csr
527 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_read_data
538 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_write_data
    [all...]
  /src/sys/arch/cesfic/dev/
zs_pcc.c 75 struct zsc_softc *zsc = device_private(self); local in function:zsc_pcc_attach
78 zsc->zsc_dev = self;
84 zs_config(zsc, zsbase);
93 (void) isrlink(zshard, zsc, 4, ISRPRI_TTY);
96 zsc->zsc_softintr_cookie = softint_establish(SOFTINT_SERIAL,
97 (void (*)(void *))zsc_intr_soft, zsc);
99 zs_write_reg(zsc->zsc_cs[0], 2, 0x18 + ZSHARD_PRI);
100 zs_write_reg(zsc->zsc_cs[0], 9, ZSWR9_MASTER_IE);
zs.c 103 zs_config(struct zsc_softc *zsc, char *base)
109 zsc_unit = device_unit(zsc->zsc_dev);
138 zsc->zsc_cs[channel] = cs;
167 if (!config_found(zsc->zsc_dev, (void *)&zsc_args,
196 struct zsc_softc *zsc; local in function:zshard
201 zsc = device_lookup_private(&zsc_cd, unit);
202 if (zsc == NULL)
204 rval |= zsc_intr_hard(zsc);
205 if ((zsc->zsc_cs[0]->cs_softreq) ||
206 (zsc->zsc_cs[1]->cs_softreq))
    [all...]
  /src/sys/arch/sparc/dev/
zs.c 237 struct zsc_softc *zsc = device_private(self); local in function:zs_attach_mainbus
240 zsc->zsc_dev = self;
241 zsc->zsc_bustag = ma->ma_bustag;
242 zsc->zsc_dmatag = ma->ma_dmatag;
243 zsc->zsc_promunit = prom_getpropint(ma->ma_node, "slave", -2);
244 zsc->zsc_node = ma->ma_node;
250 zs_attach(zsc, ma->ma_promvaddr, ma->ma_pri);
256 struct zsc_softc *zsc = device_private(self); local in function:zs_attach_obio
259 zsc->zsc_dev = self;
297 cs = &zsc->zsc_cs_store[channel]
351 struct zsc_softc *zsc = device_private(self); local in function:zs_attach_bootbus
620 struct zsc_softc *zsc = arg; local in function:zshard
    [all...]
  /src/sys/arch/sgimips/dev/
zs.c 211 struct zsc_softc *zsc = device_private(self); local in function:zs_hpc_attach
221 zsc->zsc_dev = self;
222 zsc->zsc_bustag = haa->ha_st;
225 &zsc->zsc_base)) != 0) {
245 ch = &zsc->zsc_cs_store[channel];
246 cs = zsc->zsc_cs[channel] = (struct zs_chanstate *)ch;
256 if (bus_space_subregion(zsc->zsc_bustag, zsc->zsc_base,
263 ch->cs_bustag = zsc->zsc_bustag;
333 zsc->sc_si = softint_establish(SOFTINT_SERIAL, zssoft, zsc)
373 register struct zsc_softc *zsc; local in function:zshard
403 register struct zsc_softc *zsc; local in function:zssoft
535 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_read_reg
549 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_write_reg
562 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_read_csr
574 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_write_csr
584 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_read_data
596 struct zs_channel *zsc = (struct zs_channel *)cs; local in function:zs_write_data
    [all...]
  /src/sys/arch/sun2/dev/
zs.c 151 zs_attach(struct zsc_softc *zsc, struct zsdevice *zsd, int pri)
179 cs = &zsc->zsc_cs_store[channel];
180 zsc->zsc_cs[channel] = cs;
191 zsc_args.hwflags = zs_console_flags(zsc->zsc_promunit,
192 zsc->zsc_node,
237 if ((child = config_found(zsc->zsc_dev, (void *)&zsc_args,
272 switch(zs_peripheral_type(zsc->zsc_promunit,
273 zsc->zsc_node,
300 bus_intr_establish(zsc->zsc_bustag, pri, IPL_SERIAL, 0, zshard, zsc);
340 struct zsc_softc *zsc = arg; local in function:zshard
361 struct zsc_softc *zsc; local in function:zscheckintr
379 struct zsc_softc *zsc = arg; local in function:zssoft
    [all...]
zs_any.c 122 struct zsc_softc *zsc = device_private(self); local in function:zs_any_attach
126 zsc->zsc_dev = self;
127 zsc->zsc_bustag = ma->ma_bustag;
128 zsc->zsc_dmatag = ma->ma_dmatag;
130 zsc->zsc_promunit = device_unit(self);
131 zsc->zsc_node = 0;
141 zs_attach(zsc, (void *)bh, ma->ma_pri);
  /src/sys/arch/mvme68k/dev/
zs.c 130 zs_config(struct zsc_softc *zsc, struct zsdevice *zs, int vector, int pclk)
137 zsc_unit = device_unit(zsc->zsc_dev);
146 cs = &zsc->zsc_cs_store[channel];
147 zsc->zsc_cs[channel] = cs;
198 if (!config_found(zsc->zsc_dev, (void *)&zsc_args,
212 zsc->zsc_softintr_cookie = softint_establish(SOFTINT_SERIAL,
213 (void (*)(void *)) zsc_intr_soft, zsc);
215 assert(zsc->zsc_softintr_cookie);
240 struct zsc_softc *zsc = arg; local in function:zshard_unshared
243 rval = zsc_intr_hard(zsc);
264 struct zsc_softc *zsc; local in function:zshard_shared
    [all...]
zs_pcc.c 106 struct zsc_softc *zsc = device_private(self); local in function:zsc_pcc_attach
113 zsc->zsc_dev = self;
132 zs_config(zsc, &zs, PCC_VECBASE + PCCV_ZS, PCLK_147);
134 evcnt_attach_dynamic(&zsc->zsc_evcnt, EVCNT_TYPE_INTR,
135 pccintr_evcnt(zs_level), "rs232", device_xname(zsc->zsc_dev));
144 pccintr_establish(PCCV_ZS, zshard_shared, zs_level, zsc, NULL);
158 zs_write_reg(zsc->zsc_cs[0], 2, PCC_VECBASE + PCCV_ZS);
159 zs_write_reg(zsc->zsc_cs[0], 9, zs_init_reg[9]);
zs_pcctwo.c 107 struct zsc_softc *zsc = device_private(self); local in function:zsc_pcctwo_attach
114 zsc->zsc_dev = self;
128 zs_config(zsc, &zs, vector + PCCTWO_VECBASE, PCLK_162);
130 evcnt_attach_dynamic(&zsc->zsc_evcnt, EVCNT_TYPE_INTR,
131 pcctwointr_evcnt(zs_level), "rs232", device_xname(zsc->zsc_dev));
136 pcctwointr_establish(vector++, zshard_unshared, zs_level, zsc, NULL);
141 zs_write_reg(zsc->zsc_cs[0], 9, zs_init_reg[9]);
  /src/sys/arch/sparc64/dev/
zs.c 217 struct zsc_softc *zsc = device_private(self); local in function:zs_attach_sbus
222 zsc->zsc_dev = self;
260 zsc->zsc_bustag = sa->sa_bustag;
261 zsc->zsc_dmatag = sa->sa_dmatag;
262 zsc->zsc_promunit = prom_getpropint(sa->sa_node, "slave", -2);
263 zsc->zsc_node = sa->sa_node;
265 zs_attach(zsc, zsaddr[zs_unit], sa->sa_pri);
271 struct zsc_softc *zsc = device_private(self); local in function:zs_attach_fhc
276 zsc->zsc_dev = self;
320 zsc->zsc_bustag = fa->fa_bustag
500 struct zsc_softc *zsc = arg; local in function:zshard
520 struct zsc_softc *zsc; local in function:zscheckintr
538 struct zsc_softc *zsc = arg; local in function:zssoft
    [all...]
  /src/share/man/man4/man4.mvme68k/
Makefile 4 mem.4 memc.4 ncrsc.4 pcc.4 pcctwo.4 wdsc.4 zsc.4
  /src/share/man/man4/man4.mac68k/
Makefile 5 netdock.4 pbbat.4 obio.4 zsc.4
  /src/sys/arch/ews4800mips/sbd/
zs_sbdio.c 104 return strcmp(sa->sa_name, "zsc") ? 0 : 1;
110 struct zsc_softc *zsc = device_private(self); local in function:zs_sbdio_attach
118 zsc->zsc_dev = self;
122 zsc->zsc_flags = sa->sa_flags;
130 cs = &zsc->zsc_cs_store[channel];
131 zsc->zsc_cs[channel] = cs;
189 zsc->zsc_si = softint_establish(SOFTINT_SERIAL,
190 (void (*)(void *))zsc_intr_soft, zsc);
191 intr_establish(sa->sa_irq, zshard, zsc);
197 cs = zsc->zsc_cs[0]
    [all...]
  /src/sys/arch/cobalt/dev/
zs.c 91 CFATTACH_DECL_NEW(zsc, sizeof(struct zsc_softc),
158 struct zsc_softc *zsc = device_private(self); local in function:zs_attach
165 zsc->zsc_dev = self;
177 cs = &zsc->zsc_cs_store[channel];
179 zsc->zsc_cs[channel] = cs;
239 icu_intr_establish(maa->ma_irq, IST_EDGE, IPL_SERIAL, zshard, zsc);
240 zsc->zsc_softintr_cookie = softint_establish(SOFTINT_SERIAL,
241 (void (*)(void *))zsc_intr_soft, zsc);
247 cs = zsc->zsc_cs[0];
273 struct zsc_softc *zsc = arg local in function:zshard
    [all...]
  /src/sys/arch/news68k/dev/
zs.c 145 CFATTACH_DECL_NEW(zsc, sizeof(struct zsc_softc),
162 if (strcmp(ha->ha_name, "zsc"))
183 struct zsc_softc *zsc = device_private(self); local in function:zs_attach
192 zsc->zsc_dev = self;
207 cs = &zsc->zsc_cs_store[channel];
209 zsc->zsc_cs[channel] = cs;
271 hb_intr_establish(zs_init_reg[2], zshard, ZSHARD_PRI, zsc);
272 zsc->zsc_softintr_cookie = softint_establish(SOFTINT_SERIAL,
273 (void (*)(void *))zsc_intr_soft, zsc);
279 cs = zsc->zsc_cs[0]
310 struct zsc_softc *zsc = arg; local in function:zshard
    [all...]
  /src/sys/arch/x68k/dev/
zs.c 66 #include "zsc.h" /* NZSC */
131 CFATTACH_DECL_NEW(zsc, sizeof(struct zsc_softc),
148 if (strcmp(ia->ia_name, "zsc") != 0)
175 struct zsc_softc *zsc = device_private(self); local in function:zs_attach
183 zsc->zsc_dev = self;
186 zsc->zsc_addr = (void *)ia->ia_addr;
203 cs = &zsc->zsc_cs_store[channel];
204 zsc->zsc_cs[channel] = cs;
213 zc = (volatile void *)IIOV(&zsc->zsc_addr->zs_chan_a);
215 zc = (volatile void *)IIOV(&zsc->zsc_addr->zs_chan_b)
315 struct zsc_softc *zsc = arg; local in function:zshard
    [all...]
  /src/sys/arch/ews4800mips/dev/
zs.c 84 struct zsc_softc *zsc; local in function:zshard
87 zsc = arg;
88 rval = zsc_intr_hard(zsc);
89 if (zsc->zsc_cs[0]->cs_softreq || zsc->zsc_cs[1]->cs_softreq)
90 softint_schedule(zsc->zsc_si);
  /src/sys/arch/next68k/dev/
zs.c 80 #include "zsc.h" /* NZSC */
165 CFATTACH_DECL_NEW(zsc, sizeof(struct zsc_softc),
200 struct zsc_softc *zsc = device_private(self); local in function:zs_attach
208 zsc->zsc_dev = self;
217 cs = &zsc->zsc_cs_store[channel];
218 zsc->zsc_cs[channel] = cs;
272 zsc->zsc_softintr_cookie = softint_establish(SOFTINT_SERIAL,
273 (void (*)(void *))zsc_intr_soft, zsc);
280 cs = zsc->zsc_cs[0];
312 struct zsc_softc *zsc; local in function:zshard
    [all...]
  /src/sys/arch/newsmips/dev/
zs_hb.c 61 #include "zsc.h" /* NZSC */
176 if (strcmp(ha->ha_name, "zsc"))
195 struct zsc_softc *zsc = device_private(self); local in function:zs_hb_attach
202 zsc->zsc_dev = self;
227 cs = &zsc->zsc_cs_store[channel];
228 zsc->zsc_cs[channel] = cs;
289 zsc->zsc_si = softint_establish(SOFTINT_SERIAL,
290 (void (*)(void *))zsc_intr_soft, zsc);
291 hb_intr_establish(intlevel, INTST1_SCC, IPL_SERIAL, zshard_hb, zsc);
298 cs = zsc->zsc_cs[0]
    [all...]

Completed in 19 milliseconds

1 2