/src/sys/arch/atari/include/ |
acia.h | 39 volatile u_char acb[4]; /* use only the even bytes */ member in struct:acia 42 #define ac_cs acb[0] /* control and status register */ 43 #define ac_da acb[2] /* data register */
|
/src/sys/arch/amiga/dev/ |
siop.c | 231 struct siop_acb *acb; local in function:siop_scsipi_request 253 acb = sc->free_list.tqh_first; 254 if (acb) { 255 TAILQ_REMOVE(&sc->free_list, acb, chain); 264 if (acb == NULL) { 266 printf("unable to allocate acb\n"); 271 acb->flags = ACB_ACTIVE; 272 acb->xs = xs; 273 memcpy(&acb->cmd, xs->cmd, xs->cmdlen); 274 acb->clen = xs->cmdlen 366 struct siop_acb *acb; local in function:siop_sched 611 struct siop_acb *acb; local in function:siop_timeout 636 struct siop_acb *acb; local in function:siopreset 738 struct siop_acb *acb = sc->sc_nexus; local in function:siop_start 909 struct siop_acb *acb = sc->sc_nexus; local in function:siop_checkintr 1445 struct siop_acb *acb = sc->sc_nexus; local in function:siop_select 1657 struct siop_acb *acb; local in function:siop_dump [all...] |
siop2.c | 218 struct siop_acb *acb; local in function:siopng_scsipi_request 240 acb = sc->free_list.tqh_first; 241 if (acb) { 242 TAILQ_REMOVE(&sc->free_list, acb, chain); 251 if (acb == NULL) { 253 printf("unable to allocate acb\n"); 257 acb->flags = ACB_ACTIVE; 258 acb->xs = xs; 259 memcpy(&acb->cmd, xs->cmd, xs->cmdlen); 260 acb->clen = xs->cmdlen 351 struct siop_acb *acb; local in function:siopng_sched 599 struct siop_acb *acb; local in function:siopng_timeout 624 struct siop_acb *acb; local in function:siopngreset 767 struct siop_acb *acb = sc->sc_nexus; local in function:siopng_start 974 struct siop_acb *acb = sc->sc_nexus; local in function:siopng_checkintr 1594 struct siop_acb *acb = sc->sc_nexus; local in function:siopng_select 1845 struct siop_acb *acb; local in function:siopng_dump [all...] |
sbic.c | 259 struct sbic_acb* acb; local in function:sbic_save_ptrs 267 acb = dev->sc_nexus; 281 acb->sc_dmacmd = dev->sc_dmacmd; 294 acb->sc_dmacmd, asr); 298 acb->sc_kv.dc_addr += (dev->sc_tcnt - count); 299 acb->sc_kv.dc_count -= (dev->sc_tcnt - count); 300 acb->sc_pa.dc_addr += (dev->sc_tcnt - count); 301 acb->sc_pa.dc_count -= ((dev->sc_tcnt - count)>>1); 303 acb->sc_tcnt = dev->sc_tcnt = count; 323 struct sbic_acb *acb; local in function:sbic_load_ptrs 401 struct sbic_acb *acb; local in function:sbic_scsipi_request 507 struct sbic_acb *acb; local in function:sbic_sched 802 struct sbic_acb *acb; local in function:sbicinit 1320 struct sbic_acb *acb; local in function:sbicicmd 1608 struct sbic_acb *acb; local in function:sbicgo 2200 struct sbic_acb *acb; local in function:sbicnextstate 2689 struct sbic_acb *acb; local in function:sbic_dump [all...] |
/src/sys/dev/ic/ |
aic6360.c | 57 * 4) Rewrite it to use malloc for the acb structs instead of static alloc.? 382 struct aic_acb *acb; local in function:aic_init 397 acb = sc->sc_acb; 398 memset(acb, 0, sizeof(sc->sc_acb)); 399 for (r = 0; r < sizeof(sc->sc_acb) / sizeof(*acb); r++) { 400 TAILQ_INSERT_TAIL(&sc->free_list, acb, chain); 401 acb++; 407 if ((acb = sc->sc_nexus) != NULL) { 408 acb->xs->error = XS_DRIVER_STUFFUP; 409 callout_stop(&acb->xs->xs_callout) 446 struct aic_acb *acb; local in function:aic_get_acb 490 struct aic_acb *acb; local in function:aic_scsipi_request 728 struct aic_acb *acb; local in function:aic_reselect 806 struct aic_acb *acb; local in function:aic_sched 1053 struct aic_acb *acb; local in function:aic_msgin 1703 struct aic_acb *acb; local in function:aicintr 2091 struct aic_acb *acb = arg; local in function:aic_timeout 2155 struct aic_acb *acb; local in function:aic_print_active_acb [all...] |
mb89352.c | 76 * 4) Rewrite it to use malloc for the acb structs instead of static alloc.? 391 struct spc_acb *acb; local in function:spc_init 407 acb = sc->sc_acb; 408 memset(acb, 0, sizeof(sc->sc_acb)); 409 for (r = 0; r < sizeof(sc->sc_acb) / sizeof(*acb); r++) { 410 TAILQ_INSERT_TAIL(&sc->free_list, acb, chain); 411 acb++; 417 if ((acb = sc->sc_nexus) != NULL) { 418 acb->xs->error = XS_DRIVER_STUFFUP; 419 callout_stop(&acb->xs->xs_callout) 470 struct spc_acb *acb; local in function:spc_get_acb 515 struct spc_acb *acb; local in function:spc_scsipi_request 710 struct spc_acb *acb; local in function:spc_reselect 788 struct spc_acb *acb; local in function:spc_sched 1041 struct spc_acb *acb; local in function:spc_msgin 1644 struct spc_acb *acb; local in function:spc_intr 2071 struct spc_acb *acb = arg; local in function:spc_timeout 2134 struct spc_acb *acb; local in function:spc_print_active_acb [all...] |
osiop.c | 180 struct osiop_acb *acb; local in function:osiop_attach 253 acb = malloc(sizeof(struct osiop_acb) * OSIOP_NACB, 255 sc->sc_acb = acb; 271 OSIOP_MAX_XFER, 0, BUS_DMA_NOWAIT, &acb->datadma); 278 acb->sc = sc; 279 acb->ds = &sc->sc_ds[i]; 280 acb->dsoffset = sizeof(struct osiop_ds) * i; 282 dsa = sc->sc_dsdma->dm_segs[0].ds_addr + acb->dsoffset; 283 acb->ds->id.addr = dsa + OSIOP_DSIDOFF; 284 acb->ds->cmd.addr = dsa + OSIOP_DSCMDOFF 356 struct osiop_acb *acb; local in function:osiop_scsipi_request 527 struct osiop_acb *acb; local in function:osiop_sched 769 struct osiop_acb *acb; local in function:osiop_reset 880 struct osiop_acb *acb = sc->sc_nexus; local in function:osiop_start 1045 struct osiop_acb *acb = sc->sc_nexus; local in function:osiop_checkintr 1665 struct osiop_acb *acb = sc->sc_nexus; local in function:osiop_select 1841 struct osiop_acb *acb = arg; local in function:osiop_timeout 1908 struct osiop_acb *acb; local in function:osiop_dump [all...] |
wd33c93.c | 397 wd33c93_error(struct wd33c93_softc *sc, struct wd33c93_acb *acb) 399 struct scsipi_xfer *xs = acb->xs; 476 struct wd33c93_acb *acb = sc->sc_nexus; local in function:wd33c93_dma_setup 479 sc->sc_daddr = acb->daddr; 480 sc->sc_dleft = acb->dleft; 555 struct wd33c93_acb *acb; local in function:wd33c93_scsi_request 573 acb = pool_get(&wd33c93_pool, PR_NOWAIT); 576 if (acb == NULL) { 578 printf("cannot allocate acb\n"); 584 acb->flags = ACB_ACTIVE 666 struct wd33c93_acb *acb; local in function:wd33c93_sched 1534 struct wd33c93_acb *acb = sc->sc_nexus; local in function:wd33c93_msgin 1800 struct wd33c93_acb *acb = sc->sc_nexus; local in function:wd33c93_msgout 2171 struct wd33c93_acb *acb; local in function:wd33c93_reselect 2279 struct wd33c93_acb *acb = arg; local in function:wd33c93_timeout [all...] |
/src/sys/arch/mvme68k/dev/ |
sbic.c | 213 struct sbic_acb *acb; local in function:sbic_save_ptrs 243 acb = dev->sc_nexus; 244 acb->sc_dmacmd = dev->sc_dmacmd; 271 acb->sc_tcnt = count; 277 dev->sc_tcnt = acb->sc_tcnt; 282 acb->sc_kv.dc_addr += count; 283 acb->sc_kv.dc_count -= count; 284 acb->sc_pa.dc_addr += count; 285 acb->sc_pa.dc_count -= count >> 1; 304 struct sbic_acb *acb = dev->sc_nexus local in function:sbic_load_ptrs 399 struct sbic_acb *acb; local in function:sbic_scsi_request 522 struct sbic_acb *acb; local in function:sbic_sched 831 struct sbic_acb *acb; local in function:sbicinit 1298 struct sbic_acb *acb = dev->sc_nexus; local in function:sbicicmd 1532 struct sbic_acb *acb = dev->sc_nexus; local in function:sbicgo 2102 struct sbic_acb *acb = dev->sc_nexus; local in function:sbicnextstate [all...] |
/src/sys/arch/acorn32/podulebus/ |
sbic.c | 283 struct sbic_acb* acb; local in function:sbic_save_ptrs 291 acb = dev->sc_nexus; 292 if (acb == NULL) { 312 dev->sc_dmastop(dev->sc_dmah, dev->sc_dmat, acb); 326 acb->offset += acb->sc_tcnt - count; 330 dev->target, acb->offset, asr), data_pointer_debug >= 1); 332 acb->sc_tcnt = 0; 351 struct sbic_acb *acb; local in function:sbic_scsi_request 370 acb = dev->free_list.tqh_first 458 struct sbic_acb *acb; local in function:sbic_sched 720 struct sbic_acb *acb; local in function:sbicinit 1538 struct sbic_acb *acb; local in function:sbicgo 2028 struct sbic_acb *acb; local in function:sbicnextstate 2426 struct sbic_acb *acb; local in function:sbic_dump [all...] |
/src/sys/arch/x68k/dev/ |
mhavar.h | 33 * ACB. Holds additional information for each SCSI command Comments: We 40 struct acb { struct 41 TAILQ_ENTRY(acb) chain; 97 TAILQ_HEAD(, acb) free_list, ready_list, nexus_list; 98 struct acb *sc_nexus; /* current command */ 99 struct acb sc_acb[8]; /* one per target */
|
mha.c | 241 void mha_free_acb(struct mha_softc *, struct acb *, int); 242 void mha_sense(struct mha_softc *, struct acb *); 249 void mha_abort(struct mha_softc *, struct acb *); 252 void mha_poll(struct mha_softc *, struct acb *); 254 void mha_done(struct mha_softc *, struct acb *); 258 void mha_dequeue(struct mha_softc *, struct acb *); 261 void mha_print_acb(struct acb *); 262 void mha_show_scsi_cmd(struct acb *); 434 struct acb *acb; local in function:mha_init 677 struct acb *acb; local in function:mha_scsi_request 822 struct acb *acb; local in function:mha_sched 1071 struct acb *acb = sc->sc_nexus; local in function:mha_msgin 1214 struct acb *acb; local in function:mha_msgin 1618 struct acb *acb = sc->sc_nexus; local in function:mha_datain 1642 struct acb *acb; local in function:mhaintr 1947 struct acb *acb = (struct acb *)arg; local in function:mha_timeout 2021 struct acb *acb; local in function:mha_print_active_acb [all...] |