Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_inline.h192 return (ahc->scb_data->hscb_busaddr in ahc_hscb_busaddr()
199 ahc_dmamap_sync(ahc, ahc->scb_data->hscb_dmat, in ahc_sync_scb()
200 ahc->scb_data->hscb_dmamap, in ahc_sync_scb()
211 ahc_dmamap_sync(ahc, ahc->scb_data->sg_dmat, scb->sg_map->sg_dmamap, in ahc_sync_sglist()
365 if ((scb = SLIST_FIRST(&ahc->scb_data->free_scbs)) == NULL) { in ahc_get_scb()
367 scb = SLIST_FIRST(&ahc->scb_data->free_scbs); in ahc_get_scb()
371 SLIST_REMOVE_HEAD(&ahc->scb_data->free_scbs, links.sle); in ahc_get_scb()
385 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb()
389 SLIST_INSERT_HEAD(&ahc->scb_data->free_scbs, scb, links.sle); in ahc_free_scb()
400 scb = ahc->scb_data->scbindex[tag]; in ahc_lookup_scb()
[all …]
Daic7xxx_core.c906 ahc->scb_data->hscbs[scbptr].tag); in ahc_handle_seqint()
2137 for (i = 0; i < ahc->scb_data->maxhscbs; i++) { in ahc_update_pending_scbs()
3870 if (ahc->scb_data == NULL) { in ahc_softc_init()
3871 ahc->scb_data = malloc(sizeof(*ahc->scb_data), in ahc_softc_init()
3873 if (ahc->scb_data == NULL) in ahc_softc_init()
3875 memset(ahc->scb_data, 0, sizeof(*ahc->scb_data)); in ahc_softc_init()
4218 for (i = 0; i < ahc->scb_data->maxhscbs; i++) { in ahc_build_free_scb_list()
4262 struct scb_data *scb_data; in ahc_init_scbdata() local
4264 scb_data = ahc->scb_data; in ahc_init_scbdata()
4265 SLIST_INIT(&scb_data->free_scbs); in ahc_init_scbdata()
[all …]
Daic79xx_core.c2976 for (i = 0; i < ahd->scb_data.maxhscbs; i++) { in ahd_update_pending_scbs()
5176 for (i = 0; i < ahd->scb_data.maxhscbs; i++) { in ahd_initialize_hscbs()
5190 struct scb_data *scb_data; in ahd_init_scbdata() local
5193 scb_data = &ahd->scb_data; in ahd_init_scbdata()
5194 TAILQ_INIT(&scb_data->free_scbs); in ahd_init_scbdata()
5196 LIST_INIT(&scb_data->free_scb_lists[i]); in ahd_init_scbdata()
5197 LIST_INIT(&scb_data->any_dev_free_scb_list); in ahd_init_scbdata()
5198 SLIST_INIT(&scb_data->hscb_maps); in ahd_init_scbdata()
5199 SLIST_INIT(&scb_data->sg_maps); in ahd_init_scbdata()
5200 SLIST_INIT(&scb_data->sense_maps); in ahd_init_scbdata()
[all …]
Daic79xx_inline.h386 ahd_dmamap_sync(ahd, ahd->scb_data.hscb_dmat, in ahd_sync_scb()
398 ahd_dmamap_sync(ahd, ahd->scb_data.sg_dmat, in ahd_sync_sglist()
407 ahd_dmamap_sync(ahd, ahd->scb_data.sense_dmat, in ahd_sync_sense()
713 scb = ahd->scb_data.scbindex[tag]; in ahd_lookup_scb()
749 ahd->scb_data.scbindex[SCB_GET_TAG(scb)] = scb; in ahd_swap_with_next_hscb()
Daic7xxx.h591 struct scb_data { struct
922 struct scb_data *scb_data; member
Daic79xx.h636 struct scb_data { struct
1059 struct scb_data scb_data; member
Daic79xx_proc.c331 ahd->scb_data.numscbs, AHD_NSEG); in ahd_linux_proc_info()
Daic7xxx_proc.c342 ahc->scb_data->numscbs, AHC_NSEG); in ahc_linux_proc_info()
Daic79xx_pci.c311 struct scb_data *shared_scb_data; in ahd_pci_config()
/linux-2.4.37.9/drivers/scsi/
Daic7xxx_old.c950 scb_data_type *scb_data; member
2608 for (curindex = 0; curindex < p->scb_data->maxhscbs; curindex++) in aic7xxx_find_scb()
2617 if (curindex >= p->scb_data->maxhscbs) in aic7xxx_find_scb()
2645 if (p->scb_data->numscbs < p->scb_data->maxscbs) in aic7xxx_allocate_scb()
2671 scb_count = MIN( (i-1), p->scb_data->maxscbs - p->scb_data->numscbs); in aic7xxx_allocate_scb()
2689 if (p->scb_data->numscbs == 0) in aic7xxx_allocate_scb()
2704 scbp->hscb = &p->scb_data->hscbs[p->scb_data->numscbs]; in aic7xxx_allocate_scb()
2711 scbp->hscb->tag = p->scb_data->numscbs; in aic7xxx_allocate_scb()
2715 p->scb_data->scb_array[p->scb_data->numscbs++] = scbp; in aic7xxx_allocate_scb()
2716 scbq_insert_tail(&p->scb_data->free_scbs, scbp); in aic7xxx_allocate_scb()
[all …]
/linux-2.4.37.9/drivers/scsi/aic7xxx_old/
Daic7xxx_proc.c249 "Page %d\n", p->scb_data->numscbs, p->scb_data->maxhscbs, in aic7xxx_proc_info()
250 p->scb_data->maxscbs); in aic7xxx_proc_info()