Searched refs:scb_data (Results 1 – 8 of 8) sorted by relevance
197 return (ahc->scb_data->hscb_busaddr in ahc_hscb_busaddr()205 ahc->scb_data->hscb_dmamap, in ahc_sync_scb()206 /*offset*/(scb->hscb - ahc->scb_data->hscbs) * sizeof(*scb->hscb), in ahc_sync_scb()372 if ((scb = SLIST_FIRST(&ahc->scb_data->free_scbs)) == NULL) 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()444 ahc->scb_data->scbindex[scb->hscb->tag] = scb; in ahc_swap_with_next_hscb()487 offset = scb - ahc->scb_data->scbarray; in ahc_get_sense_buf()[all …]
923 ahc->scb_data->hscbs[scbptr].tag); in ahc_handle_seqint()2138 for (i = 0; i < ahc->scb_data->maxhscbs; i++) { in ahc_update_pending_scbs()3815 if (ahc->scb_data == NULL) { in ahc_softc_init()3816 ahc->scb_data = malloc(sizeof(*ahc->scb_data), in ahc_softc_init()4135 for (i = 0; i < ahc->scb_data->maxhscbs; i++) { in ahc_build_free_scb_list()4171 struct scb_data *scb_data; in ahc_init_scbdata() local4173 scb_data = ahc->scb_data; in ahc_init_scbdata()4174 SLIST_INIT(&scb_data->free_scbs); in ahc_init_scbdata()4175 SLIST_INIT(&scb_data->sg_maps); in ahc_init_scbdata()4178 scb_data->scbarray = malloc(sizeof(struct scb) * AHC_SCB_MAX_ALLOC, in ahc_init_scbdata()[all …]
3328 for (scb_tag = 0; scb_tag < ahd->scb_data.maxhscbs; scb_tag++) { in ahd_update_pending_scbs()5394 for (i = 0; i < ahd->scb_data.maxhscbs; i++) { in ahd_initialize_hscbs()5408 struct scb_data *scb_data; in ahd_init_scbdata() local5411 scb_data = &ahd->scb_data; in ahd_init_scbdata()5412 TAILQ_INIT(&scb_data->free_scbs); in ahd_init_scbdata()5414 LIST_INIT(&scb_data->free_scb_lists[i]); in ahd_init_scbdata()5415 LIST_INIT(&scb_data->any_dev_free_scb_list); in ahd_init_scbdata()5416 SLIST_INIT(&scb_data->hscb_maps); in ahd_init_scbdata()5417 SLIST_INIT(&scb_data->sg_maps); in ahd_init_scbdata()5418 SLIST_INIT(&scb_data->sense_maps); in ahd_init_scbdata()[all …]
700 struct scb_data { struct1039 struct scb_data *scb_data; member
87 ahc->sc_adapter.adapt_openings = ahc->scb_data->numscbs - 1; in ahc_attach()392 if (ahc->scb_data->numscbs >= AHC_SCB_MAX_ALLOC) in ahc_action()665 ahc->scb_data->scbindex[scb->hscb->tag] = scb; in ahc_execute_scb()887 && (active_scb_index < ahc->scb_data->numscbs)) { in ahc_timeout()
655 struct scb_data { struct1076 struct scb_data scb_data; member
88 ahd->sc_adapter.adapt_openings = ahd->scb_data.numscbs - 1; in ahd_attach()404 if (ahd->scb_data.numscbs >= AHD_SCB_MAX_ALLOC) in ahd_action()632 ahd->scb_data.scbindex[SCB_GET_TAG(scb)] = scb; in ahd_execute_scb()
712 scb = ahd->scb_data.scbindex[tag]; in ahd_lookup_scb()755 ahd->scb_data.scbindex[SCB_GET_TAG(scb)] = scb; in ahd_swap_with_next_hscb()