Home
last modified time | relevance | path

Searched refs:tx_alloc (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/freescale/enetc/
Denetc_ierb.c52 u16 tx_credit, rx_credit, tx_alloc; in enetc_ierb_register_pf() local
81 tx_alloc = roundup(2 * tx_credit + 4 * ENETC_MAC_MAXFRM_SIZE + 64, 16); in enetc_ierb_register_pf()
92 enetc_ierb_write(ierb, ENETC_IERB_TXMBAR(port), tx_alloc); in enetc_ierb_register_pf()
/drivers/net/wireless/ath/ath11k/
Dhtc.c568 u8 tx_alloc = 0; in ath11k_htc_connect_service() local
579 tx_alloc = ath11k_htc_get_credit_allocation(htc, in ath11k_htc_connect_service()
581 if (!tx_alloc) in ath11k_htc_connect_service()
600 flags |= FIELD_PREP(ATH11K_HTC_CONN_FLAGS_RECV_ALLOC, tx_alloc); in ath11k_htc_connect_service()
690 ep->tx_credits = tx_alloc; in ath11k_htc_connect_service()
/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c1232 u8 tx_alloc; in ath6kl_htc_pipe_conn_service() local
1245 tx_alloc = 0; in ath6kl_htc_pipe_conn_service()
1248 tx_alloc = htc_get_credit_alloc(target, conn_req->svc_id); in ath6kl_htc_pipe_conn_service()
1249 if (tx_alloc == 0) { in ath6kl_htc_pipe_conn_service()
1282 flags = tx_alloc << HTC_CONN_FLGS_SET_RECV_ALLOC_SHIFT; in ath6kl_htc_pipe_conn_service()
1368 ep->cred_dist.credits = tx_alloc; in ath6kl_htc_pipe_conn_service()
/drivers/net/wireless/ath/ath10k/
Dhtc.c1014 u8 tx_alloc = 0; in ath10k_htc_connect_service() local
1025 tx_alloc = ath10k_htc_get_credit_allocation(htc, in ath10k_htc_connect_service()
1027 if (!tx_alloc) in ath10k_htc_connect_service()
1046 flags |= SM(tx_alloc, ATH10K_HTC_CONN_FLAGS_RECV_ALLOC); in ath10k_htc_connect_service()
1127 ep->tx_credits = tx_alloc; in ath10k_htc_connect_service()