Home | History | Annotate | Download | only in ic

Lines Matching refs:max_total_qng

258 	sc->max_total_qng = ASC_DEF_MAX_TOTAL_QNG;
400 eep_config->max_total_qng = 0xF0;
447 eep_config->max_total_qng = ASC_MAX_PCI_ULTRA_INRAM_TOTAL_QNG;
453 eep_config->max_total_qng = ASC_MAX_PCI_INRAM_TOTAL_QNG;
457 if (eep_config->max_total_qng < ASC_MIN_TOTAL_QNG)
458 eep_config->max_total_qng = ASC_MIN_TOTAL_QNG;
460 if (eep_config->max_total_qng > ASC_MAX_TOTAL_QNG)
461 eep_config->max_total_qng = ASC_MAX_TOTAL_QNG;
463 if (eep_config->max_tag_qng > eep_config->max_total_qng)
464 eep_config->max_tag_qng = eep_config->max_total_qng;
469 sc->max_total_qng = eep_config->max_total_qng;
615 (((sc->max_total_qng + 2 + 1) * 64) >> 1));
620 AscWriteLramByte(iot, ioh, s_addr + ASC_SCSIQ_B_BWD, sc->max_total_qng);
624 for (; i < sc->max_total_qng; i++, s_addr += ASC_QBLK_SIZE) {
630 AscWriteLramByte(iot, ioh, s_addr + ASC_SCSIQ_B_BWD, sc->max_total_qng - 1);
631 AscWriteLramByte(iot, ioh, s_addr + ASC_SCSIQ_B_QNO, sc->max_total_qng);
634 for (; i <= (u_int8_t) (sc->max_total_qng + 3); i++, s_addr += ASC_QBLK_SIZE) {
661 ASC_PUT_RISC_VAR_DONE_QTAIL(iot, ioh, sc->max_total_qng);
663 ASC_PUT_VAR_DONE_QTAIL(iot, ioh, sc->max_total_qng);
664 AscWriteLramByte(iot, ioh, ASCV_BUSY_QHEAD_B, sc->max_total_qng + 1);
665 AscWriteLramByte(iot, ioh, ASCV_DISC1_QHEAD_B, sc->max_total_qng + 2);
666 AscWriteLramByte(iot, ioh, ASCV_TOTAL_READY_Q_B, sc->max_total_qng);
1418 printf("max_total_qng = 0x%x\n", eep_config->max_total_qng);
2628 if ((cur_used_qs + n_qs) <= sc->max_total_qng) {
2629 cur_free_qs = sc->max_total_qng - cur_used_qs;
2634 (n_qs <= (sc->max_total_qng - ASC_MIN_FREE_Q))) {
2815 for (q_no = ASC_MIN_ACTIVE_QNO; q_no <= sc->max_total_qng; q_no++) {
2853 for (q_no = ASC_MIN_ACTIVE_QNO; q_no <= sc->max_total_qng; q_no++) {