Lines Matching refs:max_total_qng
519 uchar max_total_qng; member
599 uchar max_total_qng; member
2330 (unsigned)h->max_total_qng, (unsigned)h->cur_total_qng, in asc_prt_asc_dvc_var()
2909 ASC_EEP_GET_CHIP_ID(ep), ep->max_total_qng, in asc_prt_asc_board_eeprom()
3923 (ushort)(((int)(asc_dvc->max_total_qng + 2 + 1) * in AscInitLram()
3930 (uchar)(asc_dvc->max_total_qng)); in AscInitLram()
3935 for (; i < asc_dvc->max_total_qng; i++, s_addr += ASC_QBLK_SIZE) { in AscInitLram()
3946 (uchar)(asc_dvc->max_total_qng - 1)); in AscInitLram()
3948 (uchar)asc_dvc->max_total_qng); in AscInitLram()
3951 for (; i <= (uchar)(asc_dvc->max_total_qng + 3); in AscInitLram()
3997 AscPutRiscVarDoneQTail(iop_base, asc_dvc->max_total_qng); in AscInitQLinkVar()
3999 AscPutVarDoneQTail(iop_base, asc_dvc->max_total_qng); in AscInitQLinkVar()
4001 (uchar)((int)asc_dvc->max_total_qng + 1)); in AscInitQLinkVar()
4003 (uchar)((int)asc_dvc->max_total_qng + 2)); in AscInitQLinkVar()
4005 asc_dvc->max_total_qng); in AscInitQLinkVar()
7892 if ((uint) (cur_used_qs + n_qs) <= (uint) asc_dvc->max_total_qng) { in AscGetNumOfFreeQueue()
7893 cur_free_qs = (uint) asc_dvc->max_total_qng - cur_used_qs; in AscGetNumOfFreeQueue()
7902 && (n_qs <= (asc_dvc->max_total_qng - ASC_MIN_FREE_Q))) { in AscGetNumOfFreeQueue()
8793 asc_dvc->max_total_qng = ASC_DEF_MAX_TOTAL_QNG; in AscInitAscDvcVar()
9175 eep_config->max_total_qng = 0xF0; in AscInitFromEEP()
9210 eep_config->max_total_qng = in AscInitFromEEP()
9218 eep_config->max_total_qng = ASC_MAX_PCI_INRAM_TOTAL_QNG; in AscInitFromEEP()
9223 if (eep_config->max_total_qng < ASC_MIN_TOTAL_QNG) { in AscInitFromEEP()
9224 eep_config->max_total_qng = ASC_MIN_TOTAL_QNG; in AscInitFromEEP()
9226 if (eep_config->max_total_qng > ASC_MAX_TOTAL_QNG) { in AscInitFromEEP()
9227 eep_config->max_total_qng = ASC_MAX_TOTAL_QNG; in AscInitFromEEP()
9229 if (eep_config->max_tag_qng > eep_config->max_total_qng) { in AscInitFromEEP()
9230 eep_config->max_tag_qng = eep_config->max_total_qng; in AscInitFromEEP()
9235 asc_dvc->max_total_qng = eep_config->max_total_qng; in AscInitFromEEP()
11065 ep->max_total_qng = asc_dvc_varp->max_total_qng; in advansys_board_found()
11194 shost->can_queue = asc_dvc_varp->max_total_qng; in advansys_board_found()
11226 (((asc_dvc_varp->max_total_qng - 2) / 2) * in advansys_board_found()