Home
last modified time | relevance | path

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

/openbmc/linux/net/nfc/hci/
H A 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 …]
/openbmc/linux/Documentation/driver-api/nfc/
H A Dnfc-hci.rst153 currently two modules : nop (raw transfer) and shdlc.
193 shdlc is included.
201 the current llc. In case of shdlc, the frame is queued in shdlc rx queue.
205 Only when llc_shdlc is used: handles shdlc rx & tx queues.
223 Workflow executing an HCI command (using shdlc)
243 to the lower layer which happens to be shdlc. It will then start a timer to be
247 handles shdlc framing in and out. It uses the driver xmit to send frames and
293 problem above. shdlc stores a EREMOTEIO sticky status, which will trigger
296 - SMW is basically a background thread to handle incoming and outgoing shdlc
297 frames. This thread will also check the shdlc sticky status and report to HCI
[all …]