Searched refs:ndlc (Results 1 - 6 of 6) sorted by relevance

/drivers/nfc/st21nfcb/
H A Dndlc.c22 #include "ndlc.h"
54 print_hex_dump(KERN_DEBUG, "ndlc: ", DUMP_PREFIX_OFFSET, \
58 int ndlc_open(struct llt_ndlc *ndlc) argument
61 ndlc->ops->enable(ndlc->phy_id);
66 void ndlc_close(struct llt_ndlc *ndlc) argument
69 ndlc->ops->disable(ndlc->phy_id);
73 int ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb) argument
75 /* add ndlc heade
88 llt_ndlc_send_queue(struct llt_ndlc *ndlc) argument
122 llt_ndlc_requeue_data_pending(struct llt_ndlc *ndlc) argument
147 llt_ndlc_rcv_queue(struct llt_ndlc *ndlc) argument
195 struct llt_ndlc *ndlc = container_of(work, struct llt_ndlc, sm_work); local
220 ndlc_recv(struct llt_ndlc *ndlc, struct sk_buff *skb) argument
237 struct llt_ndlc *ndlc = (struct llt_ndlc *)data; local
246 struct llt_ndlc *ndlc = (struct llt_ndlc *)data; local
256 struct llt_ndlc *ndlc; local
288 ndlc_remove(struct llt_ndlc *ndlc) argument
[all...]
H A Dst21nfcb.h22 #include "ndlc.h"
28 struct llt_ndlc *ndlc; member in struct:st21nfcb_nci_info
33 int st21nfcb_nci_probe(struct llt_ndlc *ndlc, int phy_headroom,
H A Dst21nfcb.c38 r = ndlc_open(info->ndlc);
52 ndlc_close(info->ndlc);
66 return ndlc_send(info->ndlc, skb);
83 int st21nfcb_nci_probe(struct llt_ndlc *ndlc, int phy_headroom, argument
90 info = devm_kzalloc(ndlc->dev,
103 ndlc->ndev = nci_allocate_device(&st21nfcb_nci_ops, protocols,
105 if (!ndlc->ndev) {
109 info->ndlc = ndlc;
111 nci_set_drvdata(ndlc
[all...]
H A Dndlc.h52 int ndlc_open(struct llt_ndlc *ndlc);
53 void ndlc_close(struct llt_ndlc *ndlc);
54 int ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb);
55 void ndlc_recv(struct llt_ndlc *ndlc, struct sk_buff *skb);
58 void ndlc_remove(struct llt_ndlc *ndlc);
H A DMakefile5 st21nfcb_nci-objs = ndlc.o st21nfcb.o
H A Di2c.c30 #include "ndlc.h"
34 /* ndlc header */
51 struct llt_ndlc *ndlc; member in struct:st21nfcb_i2c_phy
111 if (phy->ndlc->hard_fault != 0)
112 return phy->ndlc->hard_fault;
133 * Reads an ndlc frame and returns it in a newly allocated sk_buff.
194 * Reads an ndlc frame from the chip.
213 if (phy->ndlc->hard_fault)
225 ndlc_recv(phy->ndlc, skb);
387 &phy->ndlc);
[all...]

Completed in 346 milliseconds