Home
last modified time | relevance | path

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

/net/nfc/hci/
Dllc_shdlc.c126 static struct sk_buff *llc_shdlc_alloc_skb(const struct llc_shdlc *shdlc, in llc_shdlc_alloc_skb() argument
131 skb = alloc_skb(shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM + in llc_shdlc_alloc_skb()
132 shdlc->tx_tailroom + payload_len, GFP_KERNEL); in llc_shdlc_alloc_skb()
134 skb_reserve(skb, shdlc->tx_headroom + SHDLC_LLC_HEAD_ROOM); in llc_shdlc_alloc_skb()
140 static int llc_shdlc_send_s_frame(const struct llc_shdlc *shdlc, in llc_shdlc_send_s_frame() argument
148 skb = llc_shdlc_alloc_skb(shdlc, 0); in llc_shdlc_send_s_frame()
154 r = shdlc->xmit_to_drv(shdlc->hdev, skb); in llc_shdlc_send_s_frame()
162 static int llc_shdlc_send_u_frame(const struct llc_shdlc *shdlc, in llc_shdlc_send_u_frame() argument
172 r = shdlc->xmit_to_drv(shdlc->hdev, skb); in llc_shdlc_send_u_frame()
183 static void llc_shdlc_reset_t2(struct llc_shdlc *shdlc, int y_nr) in llc_shdlc_reset_t2() argument
[all …]