| /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 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 611 struct siop_acb *acb; local 636 struct siop_acb *acb; local 738 struct siop_acb *acb = sc->sc_nexus; local 909 struct siop_acb *acb = sc->sc_nexus; local 1445 struct siop_acb *acb = sc->sc_nexus; local 1657 struct siop_acb *acb; local [all...] |
| siop2.c | 218 struct siop_acb *acb; local 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 599 struct siop_acb *acb; local 624 struct siop_acb *acb; local 767 struct siop_acb *acb = sc->sc_nexus; local 974 struct siop_acb *acb = sc->sc_nexus; local 1594 struct siop_acb *acb = sc->sc_nexus; local 1845 struct siop_acb *acb; local [all...] |
| sbic.c | 259 struct sbic_acb* acb; local 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 401 struct sbic_acb *acb; local 507 struct sbic_acb *acb; local 802 struct sbic_acb *acb; local 1320 struct sbic_acb *acb; local 1608 struct sbic_acb *acb; local 2200 struct sbic_acb *acb; local 2689 struct sbic_acb *acb; local [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 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 490 struct aic_acb *acb; local 728 struct aic_acb *acb; local 806 struct aic_acb *acb; local 1053 struct aic_acb *acb; local 1703 struct aic_acb *acb; local 2091 struct aic_acb *acb = arg; local 2155 struct aic_acb *acb; local [all...] |
| mb89352.c | 76 * 4) Rewrite it to use malloc for the acb structs instead of static alloc.? 391 struct spc_acb *acb; local 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 515 struct spc_acb *acb; local 710 struct spc_acb *acb; local 788 struct spc_acb *acb; local 1041 struct spc_acb *acb; local 1644 struct spc_acb *acb; local 2071 struct spc_acb *acb = arg; local 2134 struct spc_acb *acb; local [all...] |
| osiop.c | 180 struct osiop_acb *acb; local 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 527 struct osiop_acb *acb; local 769 struct osiop_acb *acb; local 880 struct osiop_acb *acb = sc->sc_nexus; local 1045 struct osiop_acb *acb = sc->sc_nexus; local 1665 struct osiop_acb *acb = sc->sc_nexus; local 1841 struct osiop_acb *acb = arg; local 1908 struct osiop_acb *acb; local [all...] |
| wd33c93.c | 399 wd33c93_error(struct wd33c93_softc *sc, struct wd33c93_acb *acb, 402 struct scsipi_xfer *xs = acb->xs; 479 struct wd33c93_acb *acb = sc->sc_nexus; local 482 sc->sc_daddr = acb->daddr; 483 sc->sc_dleft = acb->dleft; 558 struct wd33c93_acb *acb; local 576 acb = pool_get(&wd33c93_pool, PR_NOWAIT); 579 if (acb == NULL) { 581 printf("cannot allocate acb\n"); 588 ("wd33c93_scsi_request: RUN_XFER: acb %p\n", acb)) 677 struct wd33c93_acb *acb; local 1546 struct wd33c93_acb *acb = sc->sc_nexus; local 1812 struct wd33c93_acb *acb = sc->sc_nexus; local 2183 struct wd33c93_acb *acb; local 2291 struct wd33c93_acb *acb = arg; local [all...] |
| /src/sys/arch/acorn32/podulebus/ |
| sbic.c | 283 struct sbic_acb* acb; local 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 370 acb = dev->free_list.tqh_first 458 struct sbic_acb *acb; local 720 struct sbic_acb *acb; local 1538 struct sbic_acb *acb; local 2028 struct sbic_acb *acb; local 2426 struct sbic_acb *acb; local [all...] |
| /src/sys/arch/mvme68k/dev/ |
| sbic.c | 213 struct sbic_acb *acb; local 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 399 struct sbic_acb *acb; local 522 struct sbic_acb *acb; local 831 struct sbic_acb *acb; local 1298 struct sbic_acb *acb = dev->sc_nexus; local 1532 struct sbic_acb *acb = dev->sc_nexus; local 2102 struct sbic_acb *acb = dev->sc_nexus; local [all...] |
| /src/sys/arch/x68k/dev/ |
| 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 677 struct acb *acb; local 822 struct acb *acb; local 1071 struct acb *acb = sc->sc_nexus; local 1214 struct acb *acb; local 1618 struct acb *acb = sc->sc_nexus; local 1642 struct acb *acb; local 1947 struct acb *acb = (struct acb *)arg; local 2021 struct acb *acb; local [all...] |
| mhavar.h | 30 * ACB. Holds additional information for each SCSI command Comments: We 37 struct acb { struct 38 TAILQ_ENTRY(acb) chain; 94 TAILQ_HEAD(, acb) free_list, ready_list, nexus_list; 95 struct acb *sc_nexus; /* current command */ 96 struct acb sc_acb[8]; /* one per target */
|