HomeSort by: relevance | last modified time | path
    Searched defs:scb (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/sys/arch/vax/vax/
scb.c 1 /* $NetBSD: scb.c,v 1.19 2017/05/22 16:53:05 ragge Exp $ */
27 * Routines for dynamic allocation/release of SCB vectors.
31 __KERNEL_RCSID(0, "$NetBSD: scb.c,v 1.19 2017/05/22 16:53:05 ragge Exp $");
40 #include <machine/scb.h>
44 struct scb *scb; variable in typeref:struct:scb
51 * Generates a new SCB.
62 scb = (struct scb *)vavail;
65 /* Init the whole SCB with interrupt catchers *
    [all...]
  /src/sys/arch/vax/boot/boot/
autoconf.c 40 #include "../include/scb.h"
130 struct ivec_dsp **scb; variable in typeref:struct:ivec_dsp
146 * Init the SCB and set up a handler for all vectors in the lower space,
155 * Allocate space. We need one page for the SCB, and 128*20 == 2.5k
156 * for the vectors. The SCB must be on a page boundary.
162 scb = (void *)i;
166 scb[i] = &scb_vec[i];
167 addr = (int)scb[i];
169 scb[i] = (struct ivec_dsp*)addr;
  /src/sys/arch/newsmips/dev/
sc_wrap.c 77 struct sc_scb *scb; local
118 scb = sc->sc_scb;
120 TAILQ_INSERT_TAIL(&sc->free_list, scb, chain);
121 scb++;
144 free_scb(struct sc_softc *sc, struct sc_scb *scb)
150 TAILQ_INSERT_HEAD(&sc->free_list, scb, chain);
156 if (scb->chain.tqe_next == 0)
166 struct sc_scb *scb; local
170 while ((scb = sc->free_list.tqh_first) == NULL &&
173 if (scb) {
188 struct sc_scb *scb; local
275 struct sc_scb *scb, *nextscb; local
453 struct sc_scb *scb = arg; local
    [all...]
scsi_1185.c 264 sc_send(struct sc_scb *scb, int chan, int ie)
266 struct sc_softc *sc = scb->scb_softc;
273 xs = scb->xs;
276 if (cs->scb != NULL) {
278 printf("ie=0x%x scb=%p cs->sc=%p\n", ie, scb, cs->scb);
298 cs->scb = scb;
300 scb->istatus = INST_EP
791 struct sc_scb *scb = cs->scb; local
956 struct sc_scb *scb = cs->scb; local
1094 struct sc_scb *scb = cs->scb; local
1174 struct sc_scb *scb = cs->scb; local
1329 struct sc_scb *scb = cs->scb; local
1493 struct sc_scb *scb; local
1723 struct sc_scb *scb = cs->scb; local
    [all...]
scsireg.h 213 struct sc_scb *scb; /* scsi struct address */ member in struct:sc_chan_stat
  /src/sys/arch/alpha/alpha/
interrupt.c 278 struct scbvec * const scb = &scb_iovectab[idx]; local
279 (*scb->scb_func)(scb->scb_arg, a1);
  /src/sys/arch/alpha/pci/
pci_kn8ae.c 196 struct scbvec *scb; local
209 scb = &scb_iovectab[SCB_VECTOIDX(vec - SCB_IOVECBASE)];
211 if (scb->scb_func != kn8ae_spurious) {
  /src/sys/arch/sun3/dev/
if_ievar.h 94 volatile struct ie_sys_ctl_block *scb; member in struct:ie_softc
if_ie.c 273 volatile struct ie_sys_ctl_block *scb = sc->scb; local
275 cmd_and_wait(sc, scb->ie_status & mask, 0, 0);
362 volatile struct ie_sys_ctl_block *scb; local
367 * ISCP, SCB, and other small stuff.
382 /* SCB */
383 off -= sizeof(*scb);
384 scb = (volatile void *)(sc->buf_area + off);
385 (sc->sc_memset)(__UNVOLATILE(scb), 0, sizeof(*scb));
535 volatile struct ie_sys_ctl_block *scb = sc->scb; local
1045 volatile struct ie_sys_ctl_block *scb = sc->scb; local
1318 volatile struct ie_sys_ctl_block *scb = sc->scb; local
    [all...]
  /src/sys/dev/ic/
aic79xx_osm.c 61 struct scb *scb);
64 static void ahd_set_recoveryscb(struct ahd_softc *ahd, struct scb *scb);
195 * We have an scb which has been processed by the
199 ahd_done(struct ahd_softc *ahd, struct scb *scb)
205 LIST_REMOVE(scb, pending_links);
207 xs = scb->xs;
210 callout_stop(&scb->xs->xs_callout)
335 struct scb *scb; local
530 struct scb *scb; local
741 struct scb *scb; local
    [all...]
aic7xxx_inline.h 64 * manual pause while accessing scb ram, accesses to certain registers
156 ahc_sg_bus_to_virt(struct scb *scb,
159 ahc_sg_virt_to_bus(struct scb *scb,
164 struct scb *scb, int op);
166 struct scb *scb, int op);
172 ahc_sg_bus_to_virt(struct scb *scb, uint32_t sg_busaddr
370 struct scb *scb; local
401 struct scb* scb; local
    [all...]
aic7xxx_osm.c 58 struct scsipi_xfer *xs, struct scb *scb);
59 static void ahc_set_recoveryscb(struct ahc_softc *ahc, struct scb *scb);
194 * We have an scb which has been processed by the
199 ahc_done(struct ahc_softc *ahc, struct scb *scb)
205 xs = scb->xs;
207 LIST_REMOVE(scb, pending_links);
208 if ((scb->flags & SCB_UNTAGGEDQ) != 0)
339 struct scb *scb; local
520 struct scb *scb; local
805 struct scb *scb; local
    [all...]
i82586.c 213 * chooses a location for the SCB which is expected to be addressable
214 * (through `sc->scb') as an offset against the shared-memory bus handle.
298 off = IE_SCB_CMD(sc->scb);
306 off = IE_SCB_STATUS(sc->scb);
307 printf("i82586_cmd_wait: timo(%ssync): scb status: 0x%x, cmd: 0x%x\n",
341 off = IE_SCB_CMD(sc->scb);
390 status = sc->ie_bus_read16(sc, IE_SCB_STATUS(sc->scb));
402 int scb = sc->scb; local
405 sc->ie_bus_read16(sc, IE_SCB_ERRCRC(scb))
    [all...]
i82586var.h 139 * chip at the SCB structure, the offset of which is passed to the MI
210 int scb; /* Offset to SCB (set by front-end) */ member in struct:ie_softc
aic79xx_inline.h 232 static __inline void *ahd_sg_setup(struct ahd_softc *, struct scb *,
234 static __inline void ahd_setup_scb_common(struct ahd_softc *, struct scb *);
235 static __inline void ahd_setup_data_scb(struct ahd_softc *, struct scb *);
236 static __inline void ahd_setup_noxfer_scb(struct ahd_softc *, struct scb *);
239 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb,
242 scb->sg_count++;
263 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb)
266 scb->crc_retry_count = 0
708 struct scb* scb; local
    [all...]
iha.c 237 * iha_append_free_scb - append the supplied SCB to the tail of the
242 iha_append_free_scb(struct iha_softc *sc, struct iha_scb *scb)
248 if (scb == sc->sc_actscb)
251 scb->status = STATUS_QUEUED;
252 scb->ha_stat = HOST_OK;
253 scb->ta_stat = SCSI_OK;
255 scb->nextstat = 0;
256 scb->scb_tagmsg = 0;
258 scb->xs = NULL;
259 scb->tcs = NULL
305 struct iha_scb *scb; local
331 struct iha_scb *scb; local
500 struct iha_scb *scb; local
674 struct iha_scb *scb; local
810 struct iha_scb *scb; local
908 struct iha_scb *scb; local
937 struct iha_scb *scb; local
1357 struct iha_scb *scb = (struct iha_scb *)arg; local
1384 struct iha_scb *scb; local
1568 struct iha_scb *scb = sc->sc_actscb; local
1628 struct iha_scb *scb = sc->sc_actscb; local
1654 struct iha_scb *scb = sc->sc_actscb; local
1708 struct iha_scb *scb = sc->sc_actscb; local
1770 struct iha_scb *scb = sc->sc_actscb; local
1916 struct iha_scb *scb; local
2000 struct iha_scb *scb = sc->sc_actscb; local
2031 struct iha_scb *scb = sc->sc_actscb; local
2065 struct iha_scb *scb; local
2136 struct iha_scb *scb; local
2162 struct iha_scb *scb; local
2615 struct iha_scb *scb = sc->sc_actscb; local
    [all...]
  /src/sys/dev/microcode/aic7xxx/
aicasm_gram.y 239 | scb
240 | program scb
382 stop("SCB or SRAM space exhausted", EX_DATAERR);
812 scb: label
824 /* 64 bytes of SCB space */
1450 * or to the mode specified by the SCB or SRAM space
  /src/sys/arch/newsmips/apbus/
spifi.c 75 /* scb flags */
222 struct spifi_scb *scb; local
235 scb = spifi_get_scb(sc);
236 if (scb == NULL) {
237 panic("spifi_scsipi_request: no scb");
240 scb->xs = xs;
241 scb->flags = 0;
242 scb->status = 0;
243 scb->daddr = (vaddr_t)xs->data;
244 scb->resid = xs->datalen
284 struct spifi_scb *scb; local
309 struct spifi_scb *scb = sc->sc_nexus; local
351 struct spifi_scb *scb; local
418 struct spifi_scb *scb; local
575 struct spifi_scb *scb = sc->sc_nexus; local
600 struct spifi_scb *scb = sc->sc_nexus; local
641 struct spifi_scb *scb = sc->sc_nexus; local
668 struct spifi_scb *scb = sc->sc_nexus; local
716 struct spifi_scb *scb = sc->sc_nexus; local
742 struct spifi_scb *scb = sc->sc_nexus; local
    [all...]
  /src/sys/arch/vax/include/
scb.h 1 /* $NetBSD: scb.h,v 1.15 2022/04/10 09:50:45 andvar Exp $ */
37 struct scb { struct
128 extern struct scb *scb;
  /src/sys/dev/isa/
wds.c 412 struct wds_scb *scb; local
435 scb = wds_scb_phys_kv(sc, phystol(wmbi->scb_addr));
436 if (!scb) {
437 printf("%s: bad mbi scb pointer; skipping\n",
444 u_char *cp = scb->cmd.xx;
449 printf("scb addr = %p\n", scb);
453 callout_stop(&scb->xs->xs_callout);
454 wds_done(sc, scb, wmbi->stat);
504 wds_reset_scb(struct wds_softc *sc, struct wds_scb *scb)
586 struct wds_scb *scb; local
639 struct wds_scb *scb; local
656 struct wds_scb *scb = sc->sc_scbhash[hashnum]; local
688 struct wds_scb *scb; local
718 struct wds_scb *scb; local
1000 struct wds_scb *scb; local
1074 struct wds_scb *scb; local
1322 struct wds_scb *scb = arg; local
    [all...]
wdsreg.h 55 u_char scb[12]; member in struct:wds_cmd
89 * DMA maps used by the SCB. These maps are created in
94 * The DMA map maps an individual SCB. This map is permanently
seagate.c 93 #define SCB_TABLE_SIZE 8 /* start with 8 scb entries in table */
206 struct sea_scb scb[SCB_TABLE_SIZE]; member in struct:sea_softc
287 void sea_send_scb(struct sea_softc *sea, struct sea_scb *scb);
289 int sea_select(struct sea_softc *sea, struct sea_scb *scb);
292 int sea_abort(struct sea_softc *, struct sea_scb *scb);
308 struct sea_scb *scb; local
312 for (scb = sea->ready_list.tqh_first, issued = 0; scb;
313 scb = scb->chain.tqe_next, issued++)
564 struct sea_scb *scb; local
663 struct sea_scb *scb; local
701 struct sea_scb *scb; local
804 struct sea_scb *scb; local
833 struct sea_scb *scb = arg; local
879 struct sea_scb *scb; local
1260 struct sea_scb *scb = sea->nexus; local
    [all...]
  /src/sys/arch/acorn32/podulebus/
if_ie.c 653 struct ie_sys_ctl_block scb; local
658 ie2host(sc, IE_IBASE + IE_SCB_OFF, &scb, sizeof scb);
692 struct ie_sys_ctl_block scb; local
693 u_long ptr = IE_IBASE + IE_SCB_OFF + sizeof scb;
697 bzero ( &scb, sizeof(scb) );
705 scb.ie_command_list = (u_short)ptr;
708 if ( command_and_wait(sc, IE_CU_START, &scb, &cmd, ptr, sizeof cmd,
805 struct ie_sys_ctl_block scb; local
808 host2ie(sc, (char *)&scb, (IE_IBASE + IE_SCB_OFF), sizeof scb ); local
816 struct ie_sys_ctl_block scb; local
834 struct ie_sys_ctl_block scb; local
947 struct ie_sys_ctl_block scb; local
1287 struct ie_sys_ctl_block scb; local
1412 struct ie_sys_ctl_block scb; local
1432 host2ie(sc, (char *)&scb, (IE_IBASE + IE_SCB_OFF), sizeof scb ); local
    [all...]
  /src/sys/arch/macppc/dev/
mesh.c 77 /* scb flags */
322 struct mesh_scb *scb; local
351 scb = sc->sc_nexus;
352 if (scb == NULL) {
362 scb->resid = MESH_GET_XFER(sc);
366 if (scb->flags & MESH_READ) {
369 cp = (char *)scb->daddr + scb->dlen
372 fifocnt, scb->resid);
392 mesh_error(sc, scb, error, 0)
779 struct mesh_scb *scb = sc->sc_nexus; local
933 struct mesh_scb *scb; local
960 struct mesh_scb *scb; local
1041 struct mesh_scb *scb; local
1111 struct mesh_scb *scb = arg; local
    [all...]
  /src/sys/dev/usb/
ugen.c 196 const struct ugen_softc *scb = vscb; local
198 if (sca->sc_unit < scb->sc_unit)
200 if (sca->sc_unit > scb->sc_unit)

Completed in 33 milliseconds

1 2