/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/mvme68k/dev/ |
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]);
|
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]);
|
/src/sys/arch/sun2/dev/ |
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);
|
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...] |
/src/sys/arch/amiga/dev/ |
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);
|
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_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_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_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/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/newsmips/dev/ |
zs.c | 92 struct zsc_softc *zsc = arg; local in function:zshard 95 rval = zsc_intr_hard(zsc); 96 if (zsc->zsc_cs[0]->cs_softreq || zsc->zsc_cs[1]->cs_softreq) 97 softint_schedule(zsc->zsc_si);
|
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...] |
/src/sys/dev/ic/ |
z8530sc.c | 215 * programmed through channel A. The "zsc" attach 305 struct zsc_softc *zsc = arg; local in function:zsc_intr_hard 313 cs0 = zsc->zsc_cs[0]; 314 cs1 = zsc->zsc_cs[1]; 374 struct zsc_softc *zsc = arg; local in function:zsc_intr_soft 380 cs = zsc->zsc_cs[chan];
|
/src/sys/dev/sun/ |
ms_zs.c | 51 * the "zsc" driver for a Sun mouse. 124 struct zsc_softc *zsc = device_private(parent); local in function:ms_zs_attach 134 cs = zsc->zsc_cs[channel];
|
kbd_zs.c | 52 * the "zsc" driver for a Sun keyboard. 128 struct zsc_softc *zsc = device_private(parent); local in function:kbd_zs_attach 142 cs = zsc->zsc_cs[channel];
|
/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/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/sgimips/dev/ |
zs_ms.c | 139 struct zsc_softc *zsc; local in function:zsms_attach 145 zsc = device_private(parent); 152 cs = zsc->zsc_cs[channel];
|
/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/dev/tc/ |
zs_ioasic.c | 416 struct zsc_softc *zsc = arg; local in function:zs_ioasic_hardintr 421 zsc_intr_hard(zsc); 427 if (zsc->zsc_cs[0]->cs_softreq | zsc->zsc_cs[1]->cs_softreq) 428 softint_schedule(zsc->zsc_sih); 439 struct zsc_softc *zsc = arg; local in function:zs_ioasic_softintr 443 (void)zsc_intr_soft(zsc);
|
zsms.c | 149 struct zsc_softc *zsc = device_private(parent); local in function:zsms_attach 157 cs = zsc->zsc_cs[args->channel];
|
/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...] |