Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wwan/
H A Dmhi_wwan_ctrl.c42 static void mhi_wwan_rx_budget_inc(struct mhi_wwan_dev *mhiwwan) in mhi_wwan_rx_budget_inc() argument
44 spin_lock_bh(&mhiwwan->rx_lock); in mhi_wwan_rx_budget_inc()
46 mhiwwan->rx_budget++; in mhi_wwan_rx_budget_inc()
48 if (test_bit(MHI_WWAN_RX_REFILL, &mhiwwan->flags)) in mhi_wwan_rx_budget_inc()
49 schedule_work(&mhiwwan->rx_refill); in mhi_wwan_rx_budget_inc()
51 spin_unlock_bh(&mhiwwan->rx_lock); in mhi_wwan_rx_budget_inc()
55 static bool mhi_wwan_rx_budget_dec(struct mhi_wwan_dev *mhiwwan) in mhi_wwan_rx_budget_dec() argument
59 spin_lock_bh(&mhiwwan->rx_lock); in mhi_wwan_rx_budget_dec()
61 if (mhiwwan->rx_budget) { in mhi_wwan_rx_budget_dec()
62 mhiwwan->rx_budget--; in mhi_wwan_rx_budget_dec()
[all …]