Home
last modified time | relevance | path

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

/linux-4.4.14/net/phonet/
Dpep.c251 pn->rx_credits = 1; in pipe_grant_credits()
254 if ((pn->rx_credits + CREDITS_THR) > CREDITS_MAX) in pipe_grant_credits()
257 CREDITS_MAX - pn->rx_credits, in pipe_grant_credits()
259 pn->rx_credits = CREDITS_MAX; in pipe_grant_credits()
411 if (pn->rx_credits == 0) { in pipe_do_rcv()
416 pn->rx_credits--; in pipe_do_rcv()
450 pn->rx_credits = 0; in pipe_do_rcv()
581 if (pn->rx_credits == 0) { in pipe_handler_do_rcv()
586 pn->rx_credits--; in pipe_handler_do_rcv()
874 newpn->rx_credits = 0; in pep_sock_accept()
[all …]
/linux-4.4.14/include/net/phonet/
Dpep.h42 u8 rx_credits; member
/linux-4.4.14/net/bluetooth/rfcomm/
Dcore.c300 d->rx_credits = RFCOMM_DEFAULT_CREDITS; in rfcomm_dlc_clear_state()
1693 d->rx_credits--; in rfcomm_recv_data()
1802 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1812 d->rx_credits <= (d->cfc >> 2)) { in rfcomm_process_tx()
1813 rfcomm_send_credits(d->session, d->addr, d->cfc - d->rx_credits); in rfcomm_process_tx()
1814 d->rx_credits = d->cfc; in rfcomm_process_tx()
2178 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
/linux-4.4.14/include/net/bluetooth/
Drfcomm.h191 uint rx_credits; member
Dl2cap.h532 __u16 rx_credits; member
/linux-4.4.14/net/bluetooth/
Dl2cap_core.c511 chan->rx_credits = le_max_credits; in l2cap_le_flowctl_init()
682 rsp.credits = cpu_to_le16(chan->rx_credits); in l2cap_chan_le_connect_reject()
1278 req.credits = cpu_to_le16(chan->rx_credits); in l2cap_le_connect()
3642 rsp.credits = cpu_to_le16(chan->rx_credits); in __l2cap_le_connect_rsp_defer()
5481 credits = chan->rx_credits; in l2cap_le_connect_req()
6673 if (chan->rx_credits >= (le_max_credits + 1) / 2) in l2cap_chan_le_send_credits()
6676 return_credits = le_max_credits - chan->rx_credits; in l2cap_chan_le_send_credits()
6680 chan->rx_credits += return_credits; in l2cap_chan_le_send_credits()
6694 if (!chan->rx_credits) { in l2cap_le_data_rcv()
6705 chan->rx_credits--; in l2cap_le_data_rcv()
[all …]
Dl2cap_sock.c1525 chan->rx_credits = pchan->rx_credits; in l2cap_sock_init()