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

/linux-master/drivers/nfc/st-nci/
H A Dndlc.c42 print_hex_dump(KERN_DEBUG, "ndlc: ", DUMP_PREFIX_OFFSET, \
46 int ndlc_open(struct llt_ndlc *ndlc) argument
49 ndlc->ops->enable(ndlc->phy_id);
50 ndlc->powered = 1;
55 void ndlc_close(struct llt_ndlc *ndlc) argument
63 ndlc->ops->enable(ndlc->phy_id);
65 nci_prop_cmd(ndlc->ndev, ST_NCI_CORE_PROP,
68 ndlc
73 ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb) argument
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
198 struct llt_ndlc *ndlc = container_of(work, struct llt_ndlc, sm_work); local
223 ndlc_recv(struct llt_ndlc *ndlc, struct sk_buff *skb) argument
240 struct llt_ndlc *ndlc = from_timer(ndlc, t, t1_timer); local
247 struct llt_ndlc *ndlc = from_timer(ndlc, t, t2_timer); local
256 struct llt_ndlc *ndlc; local
283 ndlc_remove(struct llt_ndlc *ndlc) argument
[all...]
H A Dndlc.h44 int ndlc_open(struct llt_ndlc *ndlc);
45 void ndlc_close(struct llt_ndlc *ndlc);
46 int ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb);
47 void ndlc_recv(struct llt_ndlc *ndlc, struct sk_buff *skb);
51 void ndlc_remove(struct llt_ndlc *ndlc);
H A Dcore.c38 r = ndlc_open(info->ndlc);
52 ndlc_close(info->ndlc);
68 return ndlc_send(info->ndlc, skb);
112 int st_nci_probe(struct llt_ndlc *ndlc, int phy_headroom, argument
119 info = devm_kzalloc(ndlc->dev,
133 ndlc->ndev = nci_allocate_device(&st_nci_ops, protocols,
135 if (!ndlc->ndev) {
139 info->ndlc = ndlc;
141 nci_set_drvdata(ndlc
[all...]
H A DMakefile6 st-nci-objs = ndlc.o core.o se.o vendor_cmds.o
H A Dspi.c23 /* ndlc header */
35 struct llt_ndlc *ndlc; member in struct:st_nci_spi_phy
53 if (phy->ndlc->powered == 0 && phy->irq_active == 0) {
88 if (phy->ndlc->hard_fault != 0)
89 return phy->ndlc->hard_fault;
94 * Send them back in the ndlc state machine.
103 ndlc_recv(phy->ndlc, skb_rx);
110 * Reads an ndlc frame and returns it in a newly allocated sk_buff.
136 phy->ndlc->hard_fault = 1;
165 * Reads an ndlc fram
[all...]
H A Di2c.c22 /* ndlc header */
34 struct llt_ndlc *ndlc; member in struct:st_nci_i2c_phy
52 if (phy->ndlc->powered == 0 && phy->irq_active == 0) {
79 if (phy->ndlc->hard_fault != 0)
80 return phy->ndlc->hard_fault;
99 * Reads an ndlc frame and returns it in a newly allocated sk_buff.
153 * Reads an ndlc frame from the chip.
163 if (!phy || !phy->ndlc || irq != phy->i2c_dev->irq) {
168 if (phy->ndlc->hard_fault)
171 if (!phy->ndlc
[all...]
H A Dst-nci.h11 #include "ndlc.h"
115 struct llt_ndlc *ndlc; member in struct:st_nci_info
122 int st_nci_probe(struct llt_ndlc *ndlc, int phy_headroom,
H A Dse.c705 nci_hci_send_event(info->ndlc->ndev, ST_NCI_APDU_READER_GATE,
709 nci_hci_send_event(info->ndlc->ndev, ST_NCI_DEVICE_MGNT_GATE,
/linux-master/arch/mips/pci/
H A Dfixup-malta.c148 u8 odlc, ndlc; local
152 ndlc = odlc | PIIX4_FUNC0_DLC_USBPR_EN |
155 (void) pci_write_config_byte(dev, PIIX4_FUNC0_DLC, ndlc);

Completed in 132 milliseconds