/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/alpha/alpha/ |
interrupt.c | 278 struct scbvec * const scb = &scb_iovectab[idx]; local in function:interrupt 279 (*scb->scb_func)(scb->scb_arg, a1);
|
/src/sys/arch/newsmips/dev/ |
sc_wrap.c | 77 struct sc_scb *scb; local in function:cxd1185_attach 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 in function:get_scb 170 while ((scb = sc->free_list.tqh_first) == NULL && 173 if (scb) { 188 struct sc_scb *scb; local in function:sc_scsipi_request 275 struct sc_scb *scb, *nextscb; local in function:sc_sched 453 struct sc_scb *scb = arg; local in function:cxd1185_timeout [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 in function:scsi_softreset 956 struct sc_scb *scb = cs->scb; local in function:sc_discon 1094 struct sc_scb *scb = cs->scb; local in function:sc_cout 1174 struct sc_scb *scb = cs->scb; local in function:sc_min 1329 struct sc_scb *scb = cs->scb; local in function:sc_mout 1493 struct sc_scb *scb; local in function:sc_dio 1723 struct sc_scb *scb = cs->scb; local in function:adjust_transfer [all...] |
scsireg.h | 213 struct sc_scb *scb; /* scsi struct address */ member in struct:sc_chan_stat
|
/src/sys/arch/alpha/pci/ |
pci_kn8ae.c | 196 struct scbvec *scb; local in function:dec_kn8ae_intr_establish 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 in function:ie_ack 275 cmd_and_wait(sc, scb->ie_status & mask, 0, 0); 362 volatile struct ie_sys_ctl_block *scb; local in function:ie_setupram 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 in function:ierint 1045 volatile struct ie_sys_ctl_block *scb = sc->scb; local in function:cmd_and_wait 1318 volatile struct ie_sys_ctl_block *scb = sc->scb; local in function:ieinit [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 in function:ahd_action 530 struct scb *scb; local in function:ahd_execute_scb 741 struct scb *scb; local in function:ahd_timeout [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 in function:ahc_get_scb 401 struct scb* scb; local in function:ahc_lookup_scb [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 in function:ahc_action 520 struct scb *scb; local in function:ahc_execute_scb 805 struct scb *scb; local in function:ahc_timeout [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 in function:i82586_count_errors 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 in function:ahd_lookup_scb [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 in function:iha_pop_done_scb 331 struct iha_scb *scb; local in function:iha_find_pend_scb 500 struct iha_scb *scb; local in function:iha_attach 674 struct iha_scb *scb; local in function:iha_scsipi_request 810 struct iha_scb *scb; local in function:iha_reset_scsi_bus 908 struct iha_scb *scb; local in function:iha_main 937 struct iha_scb *scb; local in function:iha_scsi 1357 struct iha_scb *scb = (struct iha_scb *)arg; local in function:iha_timeout 1384 struct iha_scb *scb; local in function:iha_abort_xs 1568 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_1 1628 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_2 1654 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_3 1708 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_4 1770 struct iha_scb *scb = sc->sc_actscb; local in function:iha_state_5 1916 struct iha_scb *scb; local in function:iha_state_8 2000 struct iha_scb *scb = sc->sc_actscb; local in function:iha_xpad_in 2031 struct iha_scb *scb = sc->sc_actscb; local in function:iha_xpad_out 2065 struct iha_scb *scb; local in function:iha_status_msg 2136 struct iha_scb *scb; local in function:iha_busfree 2162 struct iha_scb *scb; local in function:iha_resel 2615 struct iha_scb *scb = sc->sc_actscb; local in function:iha_bad_seq [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 in function:spifi_scsipi_request 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 in function:spifi_get_scb 309 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_poll 351 struct spifi_scb *scb; local in function:spifi_sched 418 struct spifi_scb *scb; local in function:spifi_intr 575 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_select 600 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_sendmsg 641 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_command 668 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_data_io 716 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_done 742 struct spifi_scb *scb = sc->sc_nexus; local in function:spifi_fifo_drain [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/ |
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
|
wds.c | 412 struct wds_scb *scb; local in function:wds_finish_scbs 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 in function:wds_create_scbs 639 struct wds_scb *scb; local in function:wds_get_scb 656 struct wds_scb *scb = sc->sc_scbhash[hashnum]; local in function:wds_scb_phys_kv 688 struct wds_scb *scb; local in function:wds_collect_mbo 718 struct wds_scb *scb; local in function:wds_start_scbs 1000 struct wds_scb *scb; local in function:wds_inquire_setup_information 1074 struct wds_scb *scb; local in function:wds_scsipi_request 1322 struct wds_scb *scb = arg; local in function:wds_timeout [all...] |
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 in function:sea_queue_length 312 for (scb = sea->ready_list.tqh_first, issued = 0; scb; 313 scb = scb->chain.tqe_next, issued++) 564 struct sea_scb *scb; local in function:sea_scsipi_request 663 struct sea_scb *scb; local in function:sea_get_scb 701 struct sea_scb *scb; local in function:sea_main 804 struct sea_scb *scb; local in function:sea_grow_scb 833 struct sea_scb *scb = arg; local in function:sea_timeout 879 struct sea_scb *scb; local in function:sea_reselect 1260 struct sea_scb *scb = sea->nexus; local in function:sea_information_transfer [all...] |
/src/sys/arch/macppc/dev/ |
mesh.c | 77 /* scb flags */ 322 struct mesh_scb *scb; local in function:mesh_intr 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 in function:mesh_msgout 933 struct mesh_scb *scb; local in function:mesh_get_scb 960 struct mesh_scb *scb; local in function:mesh_scsi_request 1041 struct mesh_scb *scb; local in function:mesh_sched 1111 struct mesh_scb *scb = arg; local in function:mesh_timeout [all...] |
/src/sys/arch/acorn32/podulebus/ |
if_ie.c | 653 struct ie_sys_ctl_block scb; local in function:iereset 658 ie2host(sc, IE_IBASE + IE_SCB_OFF, &scb, sizeof scb); 692 struct ie_sys_ctl_block scb; local in function:run_tdr 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 in function:setup_rfa 816 struct ie_sys_ctl_block scb; local in function:start_receiver 834 struct ie_sys_ctl_block scb; local in function:ieinit 947 struct ie_sys_ctl_block scb; local in function:iestop 1287 struct ie_sys_ctl_block scb; local in function:ierint 1412 struct ie_sys_ctl_block scb; local in function:iexmit [all...] |
/src/sys/dev/usb/ |
ugen.c | 196 const struct ugen_softc *scb = vscb; local in function:compare_ugen 198 if (sca->sc_unit < scb->sc_unit) 200 if (sca->sc_unit > scb->sc_unit)
|