Home
last modified time | relevance | path

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

/drivers/scsi/aic7xxx/
Daic7xxx_core.c397 return (ahc->scb_data->hscb_busaddr in ahc_hscb_busaddr()
404 ahc_dmamap_sync(ahc, ahc->scb_data->hscb_dmat, in ahc_sync_scb()
405 ahc->scb_data->hscb_dmamap, in ahc_sync_scb()
416 ahc_dmamap_sync(ahc, ahc->scb_data->sg_dmat, scb->sg_map->sg_dmamap, in ahc_sync_sglist()
531 if ((scb = SLIST_FIRST(&ahc->scb_data->free_scbs)) == NULL) { in ahc_get_scb()
533 scb = SLIST_FIRST(&ahc->scb_data->free_scbs); in ahc_get_scb()
537 SLIST_REMOVE_HEAD(&ahc->scb_data->free_scbs, links.sle); in ahc_get_scb()
551 ahc->scb_data->scbindex[hscb->tag] = NULL; in ahc_free_scb()
555 SLIST_INSERT_HEAD(&ahc->scb_data->free_scbs, scb, links.sle); in ahc_free_scb()
566 scb = ahc->scb_data->scbindex[tag]; in ahc_lookup_scb()
[all …]
Daic79xx_core.c529 ahd_dmamap_sync(ahd, ahd->scb_data.hscb_dmat, in ahd_sync_scb()
541 ahd_dmamap_sync(ahd, ahd->scb_data.sg_dmat, in ahd_sync_sglist()
550 ahd_dmamap_sync(ahd, ahd->scb_data.sense_dmat, in ahd_sync_sense()
802 scb = ahd->scb_data.scbindex[tag]; in ahd_lookup_scb()
842 ahd->scb_data.scbindex[SCB_GET_TAG(scb)] = scb; in ahd_swap_with_next_hscb()
6395 for (i = 0; i < ahd->scb_data.maxhscbs; i++) { in ahd_initialize_hscbs()
6409 struct scb_data *scb_data; in ahd_init_scbdata() local
6412 scb_data = &ahd->scb_data; in ahd_init_scbdata()
6413 TAILQ_INIT(&scb_data->free_scbs); in ahd_init_scbdata()
6415 LIST_INIT(&scb_data->free_scb_lists[i]); in ahd_init_scbdata()
[all …]
Daic7xxx.h581 struct scb_data { struct
912 struct scb_data *scb_data; member
Daic79xx.h629 struct scb_data { struct
1064 struct scb_data scb_data; member
Daic79xx_proc.c352 ahd->scb_data.numscbs, AHD_NSEG); in ahd_linux_proc_info()
Daic7xxx_proc.c365 ahc->scb_data->numscbs, AHC_NSEG); in ahc_linux_proc_info()
Daic79xx_pci.c297 struct scb_data *shared_scb_data; in ahd_pci_config()
/drivers/scsi/
Daic7xxx_old.c928 scb_data_type *scb_data; member
2503 for (curindex = 0; curindex < p->scb_data->maxhscbs; curindex++) in aic7xxx_find_scb()
2512 if (curindex >= p->scb_data->maxhscbs) in aic7xxx_find_scb()
2540 if (p->scb_data->numscbs < p->scb_data->maxscbs) in aic7xxx_allocate_scb()
2566 scb_count = min( (i-1), p->scb_data->maxscbs - p->scb_data->numscbs); in aic7xxx_allocate_scb()
2584 if (p->scb_data->numscbs == 0) in aic7xxx_allocate_scb()
2599 scbp->hscb = &p->scb_data->hscbs[p->scb_data->numscbs]; in aic7xxx_allocate_scb()
2606 scbp->hscb->tag = p->scb_data->numscbs; in aic7xxx_allocate_scb()
2610 p->scb_data->scb_array[p->scb_data->numscbs++] = scbp; in aic7xxx_allocate_scb()
2611 scbq_insert_tail(&p->scb_data->free_scbs, scbp); in aic7xxx_allocate_scb()
[all …]
/drivers/scsi/aic7xxx_old/
Daic7xxx_proc.c225 "Page %d\n", p->scb_data->numscbs, p->scb_data->maxhscbs, in aic7xxx_proc_info()
226 p->scb_data->maxscbs); in aic7xxx_proc_info()