Lines Matching refs:max_total_qng
515 uchar max_total_qng; member
595 uchar max_total_qng; member
2326 (unsigned)h->max_total_qng, (unsigned)h->cur_total_qng, in asc_prt_asc_dvc_var()
2905 ASC_EEP_GET_CHIP_ID(ep), ep->max_total_qng, in asc_prt_asc_board_eeprom()
3919 (ushort)(((int)(asc_dvc->max_total_qng + 2 + 1) * in AscInitLram()
3926 (uchar)(asc_dvc->max_total_qng)); in AscInitLram()
3931 for (; i < asc_dvc->max_total_qng; i++, s_addr += ASC_QBLK_SIZE) { in AscInitLram()
3942 (uchar)(asc_dvc->max_total_qng - 1)); in AscInitLram()
3944 (uchar)asc_dvc->max_total_qng); in AscInitLram()
3947 for (; i <= (uchar)(asc_dvc->max_total_qng + 3); in AscInitLram()
3993 AscPutRiscVarDoneQTail(iop_base, asc_dvc->max_total_qng); in AscInitQLinkVar()
3995 AscPutVarDoneQTail(iop_base, asc_dvc->max_total_qng); in AscInitQLinkVar()
3997 (uchar)((int)asc_dvc->max_total_qng + 1)); in AscInitQLinkVar()
3999 (uchar)((int)asc_dvc->max_total_qng + 2)); in AscInitQLinkVar()
4001 asc_dvc->max_total_qng); in AscInitQLinkVar()
7885 if ((uint) (cur_used_qs + n_qs) <= (uint) asc_dvc->max_total_qng) { in AscGetNumOfFreeQueue()
7886 cur_free_qs = (uint) asc_dvc->max_total_qng - cur_used_qs; in AscGetNumOfFreeQueue()
7895 && (n_qs <= (asc_dvc->max_total_qng - ASC_MIN_FREE_Q))) { in AscGetNumOfFreeQueue()
8786 asc_dvc->max_total_qng = ASC_DEF_MAX_TOTAL_QNG; in AscInitAscDvcVar()
9168 eep_config->max_total_qng = 0xF0; in AscInitFromEEP()
9203 eep_config->max_total_qng = in AscInitFromEEP()
9211 eep_config->max_total_qng = ASC_MAX_PCI_INRAM_TOTAL_QNG; in AscInitFromEEP()
9216 if (eep_config->max_total_qng < ASC_MIN_TOTAL_QNG) { in AscInitFromEEP()
9217 eep_config->max_total_qng = ASC_MIN_TOTAL_QNG; in AscInitFromEEP()
9219 if (eep_config->max_total_qng > ASC_MAX_TOTAL_QNG) { in AscInitFromEEP()
9220 eep_config->max_total_qng = ASC_MAX_TOTAL_QNG; in AscInitFromEEP()
9222 if (eep_config->max_tag_qng > eep_config->max_total_qng) { in AscInitFromEEP()
9223 eep_config->max_tag_qng = eep_config->max_total_qng; in AscInitFromEEP()
9228 asc_dvc->max_total_qng = eep_config->max_total_qng; in AscInitFromEEP()
11053 ep->max_total_qng = asc_dvc_varp->max_total_qng; in advansys_board_found()
11182 shost->can_queue = asc_dvc_varp->max_total_qng; in advansys_board_found()
11214 (((asc_dvc_varp->max_total_qng - 2) / 2) * in advansys_board_found()