| /src/sys/dev/ic/ |
| aic79xx_osm.h | 90 #define SCB_GET_SIM(ahd, scb) \ 155 /************************** Softc/SCB Platform Data ***************************/ 200 ahd_scb_timer_reset(struct scb *scb, u_int usec) 202 if (!(scb->xs->xs_control & XS_CTL_POLL)) { 203 callout_reset(&scb->xs->xs_callout, 204 (usec * hz)/1000000, ahd_timeout, scb); 313 static __inline void ahd_set_transaction_status(struct scb *, uint32_t); 314 static __inline void ahd_set_scsi_status(struct scb *, uint32_t); 315 static __inline void ahd_set_xfer_status(struct scb *, uint32_t) [all...] |
| aic7xxx_osm.h | 89 #define SCB_GET_SIM(ahc, scb) \ 90 (SCB_GET_CHANNEL(ahc, scb) == 'A' ? (ahc)->platform_data->sim \ 153 /************************** Softc/SCB Platform Data ***************************/ 217 ahc_scb_timer_reset(struct scb *scb, u_int usec) 219 if (!(scb->xs->xs_control & XS_CTL_POLL)) { 220 callout_reset(&scb->xs->xs_callout, 221 (usec * hz)/1000000, ahc_timeout, scb); 315 static __inline void ahc_set_transaction_status(struct scb *, uint32_t); 316 static __inline void ahc_set_scsi_status(struct scb *, uint32_t) [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...] |
| 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...] |
| 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...] |
| 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...] |
| aic79xx.c | 87 { MPARERR, "Scratch or SCB Memory Parity Error" }, 146 struct scb *scb); 149 struct scb *scb); 186 struct scb *scb); 197 struct scb *scb, u_int col_idx); 199 struct scb *scb) 391 struct scb *scb; local 814 struct scb *scb; local 906 struct scb *scb; local 926 struct scb *scb; local 972 struct scb *scb; local 988 struct scb *scb; local 1027 struct scb *scb; local 1119 struct scb *scb; local 1186 struct scb *scb; local 1322 struct scb *scb; local 1359 struct scb *scb; local 1386 struct scb *scb; local 1440 struct scb *scb; local 1503 struct scb *scb; local 1751 struct scb *scb; local 1985 struct scb *scb; local 2089 struct scb *scb; local 2116 struct scb *scb; local 2354 struct scb *scb; local 4586 struct scb *scb; local 4753 struct scb *scb; local 4904 struct scb *scb; local 5461 struct scb *scb; local 5663 struct scb *scb; local 7081 struct scb *scb; local 7108 struct scb *scb; local 7294 struct scb *scb; local 8656 struct scb *scb; local 9429 struct scb *scb; local [all...] |
| aic79xxvar.h | 92 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) 93 #define SCB_GET_OUR_ID(scb) \ 94 SCSIID_OUR_ID((scb)->hscb->scsiid) 95 #define SCB_GET_TARGET(ahd, scb) \ 96 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 97 #define SCB_GET_CHANNEL(ahd, scb) \ 98 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 99 #define SCB_GET_LUN(scb) \ 100 ((scb)->hscb->lun) 101 #define SCB_GET_TARGET_OFFSET(ahd, scb) \ 619 struct scb { struct [all...] |
| aic7xxx.c | 95 { MPARERR, "Scratch or SCB Memory Parity Error" }, 169 struct scb *scb); 173 struct scb *scb); 211 struct scb *scb); 221 struct scb *prev_scb, 222 struct scb *scb); 327 struct scb *scb; local 384 struct scb *scb; local 429 struct scb *scb; local 975 struct scb *scb; local 2545 struct scb *scb; local 3411 struct scb *scb; local 3566 struct scb *scb; local 3674 struct scb *scb; local 5292 struct scb *scb; local 5501 struct scb *scb; local 6601 struct scb *scb; local 7063 struct scb *scb; local [all...] |
| aic7xxxvar.h | 178 #define SCB_IS_SCSIBUS_B(ahc, scb) \ 179 (SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) == 'B') 180 #define SCB_GET_OUR_ID(scb) \ 181 SCSIID_OUR_ID((scb)->hscb->scsiid) 182 #define SCB_GET_TARGET(ahc, scb) \ 183 SCSIID_TARGET((ahc), (scb)->hscb->scsiid) 184 #define SCB_GET_CHANNEL(ahc, scb) \ 185 SCSIID_CHANNEL(ahc, (scb)->hscb->scsiid) 186 #define SCB_GET_LUN(scb) \ 187 ((scb)->hscb->lun 679 struct scb { struct [all...] |
| /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...] |
| 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/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...] |
| /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/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/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/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/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/sun3/dev/ |
| 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...] |
| if_ievar.h | 94 volatile struct ie_sys_ctl_block *scb; member in struct:ie_softc
|
| /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/vax/mba/ |
| mbavar.h | 28 #include <machine/scb.h>
|
| /src/sys/arch/vax/bi/ |
| bi_mainbus.c | 39 #include <machine/scb.h>
|