Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mailbox/
Dbcm-pdc-mailbox.c814 u32 rx_avail; in pdc_rx_list_init() local
820 rx_avail = pdcs->nrxpost - NRXDACTIVE(pdcs->rxin, pdcs->rxout, in pdc_rx_list_init()
822 if (unlikely(rx_pkt_cnt > rx_avail)) { in pdc_rx_list_init()
873 u32 rx_avail; in pdc_rx_list_sg_add() local
886 rx_avail = pdcs->nrxpost - NRXDACTIVE(pdcs->rxin, pdcs->rxout, in pdc_rx_list_sg_add()
888 if (unlikely(num_desc > rx_avail)) { in pdc_rx_list_sg_add()
1123 u32 rx_avail; in pdc_rings_full() local
1128 rx_avail = pdcs->nrxpost - NRXDACTIVE(pdcs->rxin, pdcs->rxout, in pdc_rings_full()
1130 if (unlikely(rx_cnt > rx_avail)) { in pdc_rings_full()
/linux-6.12.1/include/net/bluetooth/
Dl2cap.h558 ssize_t rx_avail; member
960 void l2cap_chan_rx_avail(struct l2cap_chan *chan, ssize_t rx_avail);
/linux-6.12.1/net/bluetooth/
Dl2cap_core.c461 chan->rx_avail = -1; in l2cap_chan_create()
554 if (chan->rx_avail == -1) in l2cap_le_rx_credits()
560 if (chan->rx_avail <= sdu_len) in l2cap_le_rx_credits()
563 return DIV_ROUND_UP(chan->rx_avail - sdu_len, chan->mps); in l2cap_le_rx_credits()
6535 void l2cap_chan_rx_avail(struct l2cap_chan *chan, ssize_t rx_avail) in l2cap_chan_rx_avail() argument
6537 if (chan->rx_avail == rx_avail) in l2cap_chan_rx_avail()
6540 BT_DBG("chan %p has %zd bytes avail for rx", chan, rx_avail); in l2cap_chan_rx_avail()
6542 chan->rx_avail = rx_avail; in l2cap_chan_rx_avail()
6557 if (err < 0 && chan->rx_avail != -1) { in l2cap_ecred_recv()