Searched refs:credit_alloc (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 575 entry->credit_alloc = (credits - 6); in htc_setup_target_buffer_assignments() 576 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments() 577 entry->credit_alloc++; in htc_setup_target_buffer_assignments() 579 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments() 585 entry->credit_alloc = credit_per_maxmsg; in htc_setup_target_buffer_assignments() 586 credits -= (int) entry->credit_alloc; in htc_setup_target_buffer_assignments() 594 entry->credit_alloc = (u8) credits; in htc_setup_target_buffer_assignments() 599 entry->credit_alloc = credits / 4; in htc_setup_target_buffer_assignments() 600 if (entry->credit_alloc == 0) in htc_setup_target_buffer_assignments() 601 entry->credit_alloc++; in htc_setup_target_buffer_assignments() [all …]
|
D | htc.h | 540 u8 credit_alloc; member
|
/linux-4.1.27/net/rds/ |
D | iw_send.c | 509 u32 credit_alloc; in rds_iw_xmit() local 540 credit_alloc = work_alloc; in rds_iw_xmit() 542 credit_alloc = rds_iw_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_iw_xmit() 544 if (credit_alloc < work_alloc) { in rds_iw_xmit() 545 rds_iw_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_iw_xmit() 546 work_alloc = credit_alloc; in rds_iw_xmit() 742 if (ic->i_flowctl && i < credit_alloc) in rds_iw_xmit() 743 rds_iw_send_add_credits(conn, credit_alloc - i); in rds_iw_xmit()
|
D | ib_send.c | 538 u32 credit_alloc = 0; in rds_ib_xmit() local 574 credit_alloc = rds_ib_send_grab_credits(ic, work_alloc, &posted, 0, RDS_MAX_ADV_CREDIT); in rds_ib_xmit() 576 if (credit_alloc < work_alloc) { in rds_ib_xmit() 577 rds_ib_ring_unalloc(&ic->i_send_ring, work_alloc - credit_alloc); in rds_ib_xmit() 578 work_alloc = credit_alloc; in rds_ib_xmit() 749 if (ic->i_flowctl && i < credit_alloc) in rds_ib_xmit() 750 rds_ib_send_add_credits(conn, credit_alloc - i); in rds_ib_xmit()
|