Lines Matching refs:asc_dvc_varp

4572     ASC_DVC_VAR         *asc_dvc_varp = NULL;  in ASC_INITFUNC()  local
4862 asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; in ASC_INITFUNC()
4863 asc_dvc_varp->bus_type = asc_bus[bus]; in ASC_INITFUNC()
4864 asc_dvc_varp->drv_ptr = boardp; in ASC_INITFUNC()
4865 asc_dvc_varp->cfg = &boardp->dvc_cfg.asc_dvc_cfg; in ASC_INITFUNC()
4866 asc_dvc_varp->cfg->overrun_buf = &overrun_buf[0]; in ASC_INITFUNC()
4867 asc_dvc_varp->iop_base = iop; in ASC_INITFUNC()
4868 asc_dvc_varp->isr_callback = asc_isr_callback; in ASC_INITFUNC()
4973 switch (asc_dvc_varp->bus_type) { in ASC_INITFUNC()
4990 shp->irq = asc_dvc_varp->irq_no = pci_devp->irq; in ASC_INITFUNC()
4991 asc_dvc_varp->cfg->pci_device_id = pci_devp->device; in ASC_INITFUNC()
4992 asc_dvc_varp->cfg->pci_slot_info = in ASC_INITFUNC()
5003 boardp->id, asc_dvc_varp->bus_type); in ASC_INITFUNC()
5036 switch(ret = AscInitGetConfig(asc_dvc_varp)) { in ASC_INITFUNC()
5070 if ((err_code = asc_dvc_varp->err_code) != 0) { in ASC_INITFUNC()
5073 boardp->id, asc_dvc_varp->init_state, in ASC_INITFUNC()
5074 asc_dvc_varp->err_code); in ASC_INITFUNC()
5110 ADV_TID_TO_TIDMASK(asc_dvc_varp->cfg->chip_scsi_id); in ASC_INITFUNC()
5117 ep->init_sdtr = asc_dvc_varp->cfg->sdtr_enable; in ASC_INITFUNC()
5118 ep->disc_enable = asc_dvc_varp->cfg->disc_enable; in ASC_INITFUNC()
5119 ep->use_cmd_qng = asc_dvc_varp->cfg->cmd_qng_enabled; in ASC_INITFUNC()
5120 ASC_EEP_SET_DMA_SPD(ep, asc_dvc_varp->cfg->isa_dma_speed); in ASC_INITFUNC()
5121 ep->start_motor = asc_dvc_varp->start_motor; in ASC_INITFUNC()
5122 ep->cntl = asc_dvc_varp->dvc_cntl; in ASC_INITFUNC()
5123 ep->no_scam = asc_dvc_varp->no_scam; in ASC_INITFUNC()
5124 ep->max_total_qng = asc_dvc_varp->max_total_qng; in ASC_INITFUNC()
5125 ASC_EEP_SET_CHIP_ID(ep, asc_dvc_varp->cfg->chip_scsi_id); in ASC_INITFUNC()
5127 ep->max_tag_qng = asc_dvc_varp->cfg->max_tag_qng[0]; in ASC_INITFUNC()
5128 ep->adapter_info[0] = asc_dvc_varp->cfg->adapter_info[0]; in ASC_INITFUNC()
5129 ep->adapter_info[1] = asc_dvc_varp->cfg->adapter_info[1]; in ASC_INITFUNC()
5130 ep->adapter_info[2] = asc_dvc_varp->cfg->adapter_info[2]; in ASC_INITFUNC()
5131 ep->adapter_info[3] = asc_dvc_varp->cfg->adapter_info[3]; in ASC_INITFUNC()
5132 ep->adapter_info[4] = asc_dvc_varp->cfg->adapter_info[4]; in ASC_INITFUNC()
5133 ep->adapter_info[5] = asc_dvc_varp->cfg->adapter_info[5]; in ASC_INITFUNC()
5139 switch (ret = AscInitSetConfig(asc_dvc_varp)) { in ASC_INITFUNC()
5173 if (asc_dvc_varp->err_code != 0) { in ASC_INITFUNC()
5176 boardp->id, asc_dvc_varp->init_state, in ASC_INITFUNC()
5177 asc_dvc_varp->err_code); in ASC_INITFUNC()
5190 if ((asc_dvc_varp->bus_type & ASC_IS_PCI) == 0) { in ASC_INITFUNC()
5191 shp->irq = asc_dvc_varp->irq_no; in ASC_INITFUNC()
5301 shp->io_port = asc_dvc_varp->iop_base; in ASC_INITFUNC()
5303 shp->this_id = asc_dvc_varp->cfg->chip_scsi_id; in ASC_INITFUNC()
5306 shp->can_queue = asc_dvc_varp->max_total_qng; in ASC_INITFUNC()
5367 (((asc_dvc_varp->max_total_qng - 2) / 2) * in ASC_INITFUNC()
5394 asc_dvc_varp->iop_base, in ASC_INITFUNC()
5395 asc_dvc_varp->bus_type)); in ASC_INITFUNC()
5474 if (asc_dvc_varp->bus_type & ASC_IS_ISA) { in ASC_INITFUNC()
5475 shp->dma_channel = asc_dvc_varp->cfg->isa_dma_channel; in ASC_INITFUNC()
5543 warn_code = AscInitAsc1000Driver(asc_dvc_varp); in ASC_INITFUNC()
5544 err_code = asc_dvc_varp->err_code; in ASC_INITFUNC()
5549 boardp->id, asc_dvc_varp->init_state, in ASC_INITFUNC()
5795 ASC_DVC_VAR *asc_dvc_varp; in advansys_info() local
5803 asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; in advansys_info()
5805 if (asc_dvc_varp->bus_type & ASC_IS_ISA) { in advansys_info()
5806 if ((asc_dvc_varp->bus_type & ASC_IS_ISAPNP) == ASC_IS_ISAPNP) { in advansys_info()
5819 if (asc_dvc_varp->bus_type & ASC_IS_VL) { in advansys_info()
5821 } else if (asc_dvc_varp->bus_type & ASC_IS_EISA) { in advansys_info()
5823 } else if (asc_dvc_varp->bus_type & ASC_IS_PCI) { in advansys_info()
5824 if ((asc_dvc_varp->bus_type & ASC_IS_PCI_ULTRA) in advansys_info()
5833 boardp->id, asc_dvc_varp->bus_type); in advansys_info()
5989 ASC_DVC_VAR *asc_dvc_varp; in advansys_reset() local
6036 asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; in advansys_reset()
6042 status = AscInitAsc1000Driver(asc_dvc_varp); in advansys_reset()
6045 if (asc_dvc_varp->err_code) { in advansys_reset()
6048 boardp->id, asc_dvc_varp->err_code); in advansys_reset()
6529 ASC_DVC_VAR *asc_dvc_varp; in asc_execute_scsi_cmnd() local
6546 asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; in asc_execute_scsi_cmnd()
6567 switch (ret = AscExeScsiQueue(asc_dvc_varp, &asc_scsi_q)) { in asc_execute_scsi_cmnd()
6589 boardp->id, asc_dvc_varp->err_code); in asc_execute_scsi_cmnd()
6597 boardp->id, asc_dvc_varp->err_code); in asc_execute_scsi_cmnd()
7089 asc_isr_callback(ASC_DVC_VAR *asc_dvc_varp, ASC_QDONE_INFO *qdonep) in asc_isr_callback() argument
7097 (ulong) asc_dvc_varp, (ulong) qdonep); in asc_isr_callback()
7139 ASC_ASSERT(asc_dvc_varp == &boardp->dvc_var.asc_dvc_var); in asc_isr_callback()
7162 AscInquiryHandling(asc_dvc_varp, scp->target & 0x7, in asc_isr_callback()
8007 ASC_DVC_VAR *asc_dvc_varp; in asc_prt_asc_board_eeprom() local
8019 asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; in asc_prt_asc_board_eeprom()
8110 if (asc_dvc_varp->bus_type & ASC_IS_ISA) { in asc_prt_asc_board_eeprom()