Lines Matching refs:max_total_qng
574 uchar max_total_qng; member
656 uchar max_total_qng; member
2424 (unsigned)h->max_total_qng, (unsigned)h->cur_total_qng, in asc_prt_asc_dvc_var()
3062 ASC_EEP_GET_CHIP_ID(ep), ep->max_total_qng, in asc_prt_asc_board_eeprom()
4093 (ushort)(((int)(asc_dvc->max_total_qng + 2 + 1) * in AscInitLram()
4100 (uchar)(asc_dvc->max_total_qng)); in AscInitLram()
4105 for (; i < asc_dvc->max_total_qng; i++, s_addr += ASC_QBLK_SIZE) { in AscInitLram()
4116 (uchar)(asc_dvc->max_total_qng - 1)); in AscInitLram()
4118 (uchar)asc_dvc->max_total_qng); in AscInitLram()
4121 for (; i <= (uchar)(asc_dvc->max_total_qng + 3); in AscInitLram()
4168 AscPutRiscVarDoneQTail(iop_base, asc_dvc->max_total_qng); in AscInitQLinkVar()
4170 AscPutVarDoneQTail(iop_base, asc_dvc->max_total_qng); in AscInitQLinkVar()
4172 (uchar)((int)asc_dvc->max_total_qng + 1)); in AscInitQLinkVar()
4174 (uchar)((int)asc_dvc->max_total_qng + 2)); in AscInitQLinkVar()
4176 asc_dvc->max_total_qng); in AscInitQLinkVar()
8240 if ((uint) (cur_used_qs + n_qs) <= (uint) asc_dvc->max_total_qng) { in AscGetNumOfFreeQueue()
8241 cur_free_qs = (uint) asc_dvc->max_total_qng - cur_used_qs; in AscGetNumOfFreeQueue()
8250 && (n_qs <= (asc_dvc->max_total_qng - ASC_MIN_FREE_Q))) { in AscGetNumOfFreeQueue()
9222 asc_dvc->max_total_qng = ASC_DEF_MAX_TOTAL_QNG; in AscInitAscDvcVar()
9605 eep_config->max_total_qng = 0xF0; in AscInitFromEEP()
9640 eep_config->max_total_qng = in AscInitFromEEP()
9648 eep_config->max_total_qng = ASC_MAX_PCI_INRAM_TOTAL_QNG; in AscInitFromEEP()
9653 if (eep_config->max_total_qng < ASC_MIN_TOTAL_QNG) { in AscInitFromEEP()
9654 eep_config->max_total_qng = ASC_MIN_TOTAL_QNG; in AscInitFromEEP()
9656 if (eep_config->max_total_qng > ASC_MAX_TOTAL_QNG) { in AscInitFromEEP()
9657 eep_config->max_total_qng = ASC_MAX_TOTAL_QNG; in AscInitFromEEP()
9659 if (eep_config->max_tag_qng > eep_config->max_total_qng) { in AscInitFromEEP()
9660 eep_config->max_tag_qng = eep_config->max_total_qng; in AscInitFromEEP()
9665 asc_dvc->max_total_qng = eep_config->max_total_qng; in AscInitFromEEP()
11511 ep->max_total_qng = asc_dvc_varp->max_total_qng; in advansys_board_found()
11640 shost->can_queue = asc_dvc_varp->max_total_qng; in advansys_board_found()
11690 (((asc_dvc_varp->max_total_qng - 2) / 2) * in advansys_board_found()