Lines Matching refs:credit_alloc
573 entry->credit_alloc = (credits - 6); in htc_setup_target_buffer_assignments()
574 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments()
575 entry->credit_alloc++; in htc_setup_target_buffer_assignments()
577 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
583 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments()
584 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
592 entry->credit_alloc = (u8) credits; in htc_setup_target_buffer_assignments()
597 entry->credit_alloc = credits / 4; in htc_setup_target_buffer_assignments()
598 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments()
599 entry->credit_alloc++; in htc_setup_target_buffer_assignments()
601 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
607 entry->credit_alloc = credits / 4; in htc_setup_target_buffer_assignments()
608 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments()
609 entry->credit_alloc++; in htc_setup_target_buffer_assignments()
611 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
617 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments()
618 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
624 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments()
625 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
632 entry->credit_alloc = (u8) credits; in htc_setup_target_buffer_assignments()
645 credit_alloc); in htc_setup_target_buffer_assignments()
1205 target->pipe.txcredit_alloc[i].credit_alloc; in htc_get_credit_alloc()