Lines Matching refs:asc_dvc_varp
2622 ASC_DVC_VAR *asc_dvc_varp; in advansys_info() local
2628 asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; in advansys_info()
2631 if (asc_dvc_varp->bus_type & ASC_IS_VL) { in advansys_info()
2633 } else if (asc_dvc_varp->bus_type & ASC_IS_EISA) { in advansys_info()
2635 } else if (asc_dvc_varp->bus_type & ASC_IS_PCI) { in advansys_info()
2636 if ((asc_dvc_varp->bus_type & ASC_IS_PCI_ULTRA) in advansys_info()
2645 "type %d\n", asc_dvc_varp->bus_type); in advansys_info()
6672 static void asc_isr_callback(ASC_DVC_VAR *asc_dvc_varp, ASC_QDONE_INFO *qdonep) in asc_isr_callback() argument
6674 struct asc_board *boardp = asc_dvc_varp->drv_ptr; in asc_isr_callback()
6678 ASC_DBG(1, "asc_dvc_varp 0x%p, qdonep 0x%p\n", asc_dvc_varp, qdonep); in asc_isr_callback()
10721 ASC_DVC_VAR *asc_dvc_varp = NULL; in advansys_board_found() local
10729 asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; in advansys_board_found()
10730 asc_dvc_varp->bus_type = bus_type; in advansys_board_found()
10731 asc_dvc_varp->drv_ptr = boardp; in advansys_board_found()
10732 asc_dvc_varp->cfg = &boardp->dvc_cfg.asc_dvc_cfg; in advansys_board_found()
10733 asc_dvc_varp->iop_base = iop; in advansys_board_found()
10780 switch (asc_dvc_varp->bus_type) { in advansys_board_found()
10796 "%d\n", asc_dvc_varp->bus_type); in advansys_board_found()
10840 ADV_TID_TO_TIDMASK(asc_dvc_varp->cfg->chip_scsi_id); in advansys_board_found()
10847 ep->init_sdtr = asc_dvc_varp->cfg->sdtr_enable; in advansys_board_found()
10848 ep->disc_enable = asc_dvc_varp->cfg->disc_enable; in advansys_board_found()
10849 ep->use_cmd_qng = asc_dvc_varp->cfg->cmd_qng_enabled; in advansys_board_found()
10851 ep->start_motor = asc_dvc_varp->start_motor; in advansys_board_found()
10852 ep->cntl = asc_dvc_varp->dvc_cntl; in advansys_board_found()
10853 ep->no_scam = asc_dvc_varp->no_scam; in advansys_board_found()
10854 ep->max_total_qng = asc_dvc_varp->max_total_qng; in advansys_board_found()
10855 ASC_EEP_SET_CHIP_ID(ep, asc_dvc_varp->cfg->chip_scsi_id); in advansys_board_found()
10857 ep->max_tag_qng = asc_dvc_varp->cfg->max_tag_qng[0]; in advansys_board_found()
10858 ep->adapter_info[0] = asc_dvc_varp->cfg->adapter_info[0]; in advansys_board_found()
10859 ep->adapter_info[1] = asc_dvc_varp->cfg->adapter_info[1]; in advansys_board_found()
10860 ep->adapter_info[2] = asc_dvc_varp->cfg->adapter_info[2]; in advansys_board_found()
10861 ep->adapter_info[3] = asc_dvc_varp->cfg->adapter_info[3]; in advansys_board_found()
10862 ep->adapter_info[4] = asc_dvc_varp->cfg->adapter_info[4]; in advansys_board_found()
10863 ep->adapter_info[5] = asc_dvc_varp->cfg->adapter_info[5]; in advansys_board_found()
10978 shost->io_port = asc_dvc_varp->iop_base; in advansys_board_found()
10980 shost->this_id = asc_dvc_varp->cfg->chip_scsi_id; in advansys_board_found()
10983 shost->can_queue = asc_dvc_varp->max_total_qng; in advansys_board_found()
11015 (((asc_dvc_varp->max_total_qng - 2) / 2) * in advansys_board_found()
11035 shost->base = AscGetChipBiosAddress(asc_dvc_varp->iop_base, in advansys_board_found()
11036 asc_dvc_varp->bus_type); in advansys_board_found()
11105 asc_dvc_varp->overrun_buf = kzalloc(ASC_OVERRUN_BSIZE, GFP_KERNEL); in advansys_board_found()
11106 if (!asc_dvc_varp->overrun_buf) { in advansys_board_found()
11110 warn_code = AscInitAsc1000Driver(asc_dvc_varp); in advansys_board_found()
11112 if (warn_code || asc_dvc_varp->err_code) { in advansys_board_found()
11115 asc_dvc_varp->init_state, warn_code, in advansys_board_found()
11116 asc_dvc_varp->err_code); in advansys_board_found()
11117 if (!asc_dvc_varp->overrun_dma) { in advansys_board_found()
11140 if (asc_dvc_varp->overrun_dma) in advansys_board_found()
11141 dma_unmap_single(boardp->dev, asc_dvc_varp->overrun_dma, in advansys_board_found()
11143 kfree(asc_dvc_varp->overrun_buf); in advansys_board_found()