Lines Matching refs:adv_dvc_varp
2623 ADV_DVC_VAR *adv_dvc_varp; in advansys_info() local
2660 adv_dvc_varp = &boardp->dvc_var.adv_dvc_var; in advansys_info()
2661 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in advansys_info()
2663 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in advansys_info()
2670 ASC_VERSION, widename, (ulong)adv_dvc_varp->iop_base, in advansys_info()
2671 (ulong)adv_dvc_varp->iop_base + boardp->asc_n_io_port - 1, boardp->irq); in advansys_info()
2915 ADV_DVC_VAR *adv_dvc_varp; in asc_prt_adv_board_eeprom() local
2926 adv_dvc_varp = &boardp->dvc_var.adv_dvc_var; in asc_prt_adv_board_eeprom()
2927 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
2929 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
2939 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
2941 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
2952 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) in asc_prt_adv_board_eeprom()
2957 else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) in asc_prt_adv_board_eeprom()
2969 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
2971 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
2992 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) in asc_prt_adv_board_eeprom()
2997 else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) in asc_prt_adv_board_eeprom()
3013 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3015 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
3026 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3028 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
3039 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3041 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
3052 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3061 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3070 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3072 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
3083 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800 || in asc_prt_adv_board_eeprom()
3084 adv_dvc_varp->chip_type == ADV_CHIP_ASC38C1600) { in asc_prt_adv_board_eeprom()
3090 sdtr_speed = adv_dvc_varp->sdtr_speed1; in asc_prt_adv_board_eeprom()
3092 sdtr_speed = adv_dvc_varp->sdtr_speed2; in asc_prt_adv_board_eeprom()
3094 sdtr_speed = adv_dvc_varp->sdtr_speed3; in asc_prt_adv_board_eeprom()
3096 sdtr_speed = adv_dvc_varp->sdtr_speed4; in asc_prt_adv_board_eeprom()
5858 static void adv_async_callback(ADV_DVC_VAR *adv_dvc_varp, uchar code) in adv_async_callback() argument
5875 AdvResetChipAndSB(adv_dvc_varp); in adv_async_callback()
5896 static void adv_isr_callback(ADV_DVC_VAR *adv_dvc_varp, ADV_SCSI_REQ_Q *scsiqp) in adv_isr_callback() argument
5898 struct asc_board *boardp = adv_dvc_varp->drv_ptr; in adv_isr_callback()
5906 adv_dvc_varp, scsiqp); in adv_isr_callback()
10722 ADV_DVC_VAR *adv_dvc_varp = NULL; in advansys_board_found() local
10736 adv_dvc_varp = &boardp->dvc_var.adv_dvc_var; in advansys_board_found()
10737 adv_dvc_varp->drv_ptr = boardp; in advansys_board_found()
10738 adv_dvc_varp->cfg = &boardp->dvc_cfg.adv_dvc_cfg; in advansys_board_found()
10741 adv_dvc_varp->chip_type = ADV_CHIP_ASC3550; in advansys_board_found()
10744 adv_dvc_varp->chip_type = ADV_CHIP_ASC38C0800; in advansys_board_found()
10747 adv_dvc_varp->chip_type = ADV_CHIP_ASC38C1600; in advansys_board_found()
10760 adv_dvc_varp->iop_base = (AdvPortAddr)boardp->ioremap_addr; in advansys_board_found()
10761 ASC_DBG(1, "iop_base: 0x%p\n", adv_dvc_varp->iop_base); in advansys_board_found()
10880 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in advansys_board_found()
10883 ep_3550->adapter_scsi_id = adv_dvc_varp->chip_scsi_id; in advansys_board_found()
10884 ep_3550->max_host_qng = adv_dvc_varp->max_host_qng; in advansys_board_found()
10885 ep_3550->max_dvc_qng = adv_dvc_varp->max_dvc_qng; in advansys_board_found()
10886 ep_3550->termination = adv_dvc_varp->cfg->termination; in advansys_board_found()
10887 ep_3550->disc_enable = adv_dvc_varp->cfg->disc_enable; in advansys_board_found()
10888 ep_3550->bios_ctrl = adv_dvc_varp->bios_ctrl; in advansys_board_found()
10889 ep_3550->wdtr_able = adv_dvc_varp->wdtr_able; in advansys_board_found()
10890 ep_3550->sdtr_able = adv_dvc_varp->sdtr_able; in advansys_board_found()
10891 ep_3550->ultra_able = adv_dvc_varp->ultra_able; in advansys_board_found()
10892 ep_3550->tagqng_able = adv_dvc_varp->tagqng_able; in advansys_board_found()
10893 ep_3550->start_motor = adv_dvc_varp->start_motor; in advansys_board_found()
10895 adv_dvc_varp->scsi_reset_wait; in advansys_board_found()
10897 adv_dvc_varp->cfg->serial1; in advansys_board_found()
10899 adv_dvc_varp->cfg->serial2; in advansys_board_found()
10901 adv_dvc_varp->cfg->serial3; in advansys_board_found()
10902 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in advansys_board_found()
10906 adv_dvc_varp->chip_scsi_id; in advansys_board_found()
10907 ep_38C0800->max_host_qng = adv_dvc_varp->max_host_qng; in advansys_board_found()
10908 ep_38C0800->max_dvc_qng = adv_dvc_varp->max_dvc_qng; in advansys_board_found()
10910 adv_dvc_varp->cfg->termination; in advansys_board_found()
10912 adv_dvc_varp->cfg->disc_enable; in advansys_board_found()
10913 ep_38C0800->bios_ctrl = adv_dvc_varp->bios_ctrl; in advansys_board_found()
10914 ep_38C0800->wdtr_able = adv_dvc_varp->wdtr_able; in advansys_board_found()
10915 ep_38C0800->tagqng_able = adv_dvc_varp->tagqng_able; in advansys_board_found()
10916 ep_38C0800->sdtr_speed1 = adv_dvc_varp->sdtr_speed1; in advansys_board_found()
10917 ep_38C0800->sdtr_speed2 = adv_dvc_varp->sdtr_speed2; in advansys_board_found()
10918 ep_38C0800->sdtr_speed3 = adv_dvc_varp->sdtr_speed3; in advansys_board_found()
10919 ep_38C0800->sdtr_speed4 = adv_dvc_varp->sdtr_speed4; in advansys_board_found()
10920 ep_38C0800->tagqng_able = adv_dvc_varp->tagqng_able; in advansys_board_found()
10921 ep_38C0800->start_motor = adv_dvc_varp->start_motor; in advansys_board_found()
10923 adv_dvc_varp->scsi_reset_wait; in advansys_board_found()
10925 adv_dvc_varp->cfg->serial1; in advansys_board_found()
10927 adv_dvc_varp->cfg->serial2; in advansys_board_found()
10929 adv_dvc_varp->cfg->serial3; in advansys_board_found()
10934 adv_dvc_varp->chip_scsi_id; in advansys_board_found()
10935 ep_38C1600->max_host_qng = adv_dvc_varp->max_host_qng; in advansys_board_found()
10936 ep_38C1600->max_dvc_qng = adv_dvc_varp->max_dvc_qng; in advansys_board_found()
10938 adv_dvc_varp->cfg->termination; in advansys_board_found()
10940 adv_dvc_varp->cfg->disc_enable; in advansys_board_found()
10941 ep_38C1600->bios_ctrl = adv_dvc_varp->bios_ctrl; in advansys_board_found()
10942 ep_38C1600->wdtr_able = adv_dvc_varp->wdtr_able; in advansys_board_found()
10943 ep_38C1600->tagqng_able = adv_dvc_varp->tagqng_able; in advansys_board_found()
10944 ep_38C1600->sdtr_speed1 = adv_dvc_varp->sdtr_speed1; in advansys_board_found()
10945 ep_38C1600->sdtr_speed2 = adv_dvc_varp->sdtr_speed2; in advansys_board_found()
10946 ep_38C1600->sdtr_speed3 = adv_dvc_varp->sdtr_speed3; in advansys_board_found()
10947 ep_38C1600->sdtr_speed4 = adv_dvc_varp->sdtr_speed4; in advansys_board_found()
10948 ep_38C1600->tagqng_able = adv_dvc_varp->tagqng_able; in advansys_board_found()
10949 ep_38C1600->start_motor = adv_dvc_varp->start_motor; in advansys_board_found()
10951 adv_dvc_varp->scsi_reset_wait; in advansys_board_found()
10953 adv_dvc_varp->cfg->serial1; in advansys_board_found()
10955 adv_dvc_varp->cfg->serial2; in advansys_board_found()
10957 adv_dvc_varp->cfg->serial3; in advansys_board_found()
10964 ADV_TID_TO_TIDMASK(adv_dvc_varp->chip_scsi_id); in advansys_board_found()
10997 shost->this_id = adv_dvc_varp->chip_scsi_id; in advansys_board_found()
11000 shost->can_queue = adv_dvc_varp->max_host_qng; in advansys_board_found()
11042 AdvReadWordLram(adv_dvc_varp->iop_base, in advansys_board_found()
11044 AdvReadWordLram(adv_dvc_varp->iop_base, in advansys_board_found()
11046 AdvReadWordLram(adv_dvc_varp->iop_base, in advansys_board_found()
11048 AdvReadWordLram(adv_dvc_varp->iop_base, in advansys_board_found()