Home
last modified time | relevance | path

Searched refs:scb_data (Results 1 – 8 of 8) sorted by relevance

/freebsd-12-stable/sys/dev/aic7xxx/
Daic7xxx_inline.h194 return (ahc->scb_data->hscb_busaddr in ahc_hscb_busaddr()
201 aic_dmamap_sync(ahc, ahc->scb_data->hscb_dmat, in ahc_sync_scb()
202 ahc->scb_data->hscb_dmamap, in ahc_sync_scb()
213 aic_dmamap_sync(ahc, ahc->scb_data->sg_dmat, scb->sg_map->sg_dmamap, in ahc_sync_sglist()
367 if ((scb = SLIST_FIRST(&ahc->scb_data->free_scbs)) == NULL) { in ahc_get_scb()
370 scb = SLIST_FIRST(&ahc->scb_data->free_scbs); in ahc_get_scb()
374 SLIST_REMOVE_HEAD(&ahc->scb_data->free_scbs, links.sle); in ahc_get_scb()
388 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb()
392 SLIST_INSERT_HEAD(&ahc->scb_data->free_scbs, scb, links.sle); in ahc_free_scb()
403 scb = ahc->scb_data->scbindex[tag]; in ahc_lookup_scb()
[all …]
Daic7xxx.c590 if (ahc->scb_data->recovery_scbs == 0 in ahc_handle_seqint()
928 ahc->scb_data->hscbs[scbptr].tag); in ahc_handle_seqint()
2158 for (i = 0; i < ahc->scb_data->maxhscbs; i++) { in ahc_update_pending_scbs()
3967 if (ahc->scb_data == NULL) { in ahc_softc_init()
3968 ahc->scb_data = malloc(sizeof(*ahc->scb_data), in ahc_softc_init()
3970 if (ahc->scb_data == NULL) in ahc_softc_init()
3972 memset(ahc->scb_data, 0, sizeof(*ahc->scb_data)); in ahc_softc_init()
4289 for (i = 0; i < ahc->scb_data->maxhscbs; i++) { in ahc_build_free_scb_list()
4333 struct scb_data *scb_data; in ahc_init_scbdata() local
4335 scb_data = ahc->scb_data; in ahc_init_scbdata()
[all …]
Daic79xx.c5642 for (i = 0; i < ahd->scb_data.maxhscbs; i++) { in ahd_initialize_hscbs()
5656 struct scb_data *scb_data; in ahd_init_scbdata() local
5659 scb_data = &ahd->scb_data; in ahd_init_scbdata()
5660 TAILQ_INIT(&scb_data->free_scbs); in ahd_init_scbdata()
5662 LIST_INIT(&scb_data->free_scb_lists[i]); in ahd_init_scbdata()
5663 LIST_INIT(&scb_data->any_dev_free_scb_list); in ahd_init_scbdata()
5664 SLIST_INIT(&scb_data->hscb_maps); in ahd_init_scbdata()
5665 SLIST_INIT(&scb_data->sg_maps); in ahd_init_scbdata()
5666 SLIST_INIT(&scb_data->sense_maps); in ahd_init_scbdata()
5669 scb_data->maxhscbs = ahd_probe_scbs(ahd); in ahd_init_scbdata()
[all …]
Daic7xxx.h605 struct scb_data { struct
932 #define AIC_SCB_DATA(softc) ((softc)->scb_data)
940 struct scb_data *scb_data; member
Daic79xx_inline.h388 aic_dmamap_sync(ahd, ahd->scb_data.hscb_dmat, in ahd_sync_scb()
400 aic_dmamap_sync(ahd, ahd->scb_data.sg_dmat, in ahd_sync_sglist()
409 aic_dmamap_sync(ahd, ahd->scb_data.sense_dmat, in ahd_sync_sense()
731 scb = ahd->scb_data.scbindex[tag]; in ahd_lookup_scb()
771 ahd->scb_data.scbindex[SCB_GET_TAG(scb)] = scb; in ahd_swap_with_next_hscb()
Daic79xx.h650 struct scb_data { struct
1098 #define AIC_SCB_DATA(softc) (&(softc)->scb_data)
1106 struct scb_data scb_data; member
Daic79xx_osm.c374 ahd->scb_data.recovery_scbs--; in ahd_done()
380 if (ahd->scb_data.recovery_scbs == 0) { in ahd_done()
1051 ahd->scb_data.scbindex[SCB_GET_TAG(scb)] = scb; in ahd_execute_scb()
Daic7xxx_osm.c390 ahc->scb_data->recovery_scbs--; in ahc_done()
396 if (ahc->scb_data->recovery_scbs == 0) { in ahc_done()
1115 ahc->scb_data->scbindex[scb->hscb->tag] = scb; in ahc_execute_scb()