Home
last modified time | relevance | path

Searched refs:credit_alloc (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c574 entry->credit_alloc = (credits - 6); in htc_setup_target_buffer_assignments()
575 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments()
576 entry->credit_alloc++; in htc_setup_target_buffer_assignments()
578 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
584 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments()
585 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments()
593 entry->credit_alloc = (u8) credits; in htc_setup_target_buffer_assignments()
598 entry->credit_alloc = credits / 4; in htc_setup_target_buffer_assignments()
599 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments()
600 entry->credit_alloc++; in htc_setup_target_buffer_assignments()
[all …]
Dhtc.h540 u8 credit_alloc; member
/Linux-v5.4/net/rds/
Dib_send.c496 u32 credit_alloc = 0; in rds_ib_xmit() local
532 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit()
534 if (credit_alloc < work_alloc) { in rds_ib_xmit()
535 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit()
536 work_alloc = credit_alloc; in rds_ib_xmit()
716 if (ic->i_flowctl && i < credit_alloc) in rds_ib_xmit()
717 rds_ib_send_add_credits(conn, credit_alloc - i); in rds_ib_xmit()