Home
last modified time | relevance | path

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

/linux/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) in ndlc_open() argument
49 ndlc->ops->enable(ndlc->phy_id); in ndlc_open()
50 ndlc->powered = 1; in ndlc_open()
55 void ndlc_close(struct llt_ndlc *ndlc) in ndlc_close() argument
63 ndlc->ops->enable(ndlc->phy_id); in ndlc_close()
65 nci_prop_cmd(ndlc->ndev, ST_NCI_CORE_PROP, in ndlc_close()
68 ndlc in ndlc_close()
73 ndlc_send(struct llt_ndlc * ndlc,struct sk_buff * skb) ndlc_send() argument
88 llt_ndlc_send_queue(struct llt_ndlc * ndlc) llt_ndlc_send_queue() argument
122 llt_ndlc_requeue_data_pending(struct llt_ndlc * ndlc) llt_ndlc_requeue_data_pending() argument
147 llt_ndlc_rcv_queue(struct llt_ndlc * ndlc) llt_ndlc_rcv_queue() argument
198 struct llt_ndlc *ndlc = container_of(work, struct llt_ndlc, sm_work); llt_ndlc_sm_work() local
223 ndlc_recv(struct llt_ndlc * ndlc,struct sk_buff * skb) ndlc_recv() argument
240 struct llt_ndlc *ndlc = timer_container_of(ndlc, t, t1_timer); ndlc_t1_timeout() local
247 struct llt_ndlc *ndlc = timer_container_of(ndlc, t, t2_timer); ndlc_t2_timeout() local
256 struct llt_ndlc *ndlc; ndlc_probe() local
283 ndlc_remove(struct llt_ndlc * ndlc) ndlc_remove() argument
[all...]
H A Dcore.c38 r = ndlc_open(info->ndlc); in st_nci_open()
52 ndlc_close(info->ndlc); in st_nci_close()
68 return ndlc_send(info->ndlc, skb); in st_nci_send()
112 int st_nci_probe(struct llt_ndlc *ndlc, int phy_headroom, in st_nci_probe() argument
119 info = devm_kzalloc(ndlc->dev, in st_nci_probe()
133 ndlc->ndev = nci_allocate_device(&st_nci_ops, protocols, in st_nci_probe()
135 if (!ndlc->ndev) { in st_nci_probe()
139 info->ndlc = ndlc; in st_nci_probe()
141 nci_set_drvdata(ndlc in st_nci_probe()
[all...]
H A Dspi.c23 /* ndlc header */
35 struct llt_ndlc *ndlc; member
53 if (phy->ndlc->powered == 0 && phy->irq_active == 0) { in st_nci_spi_enable()
88 if (phy->ndlc->hard_fault != 0) in st_nci_spi_write()
89 return phy->ndlc->hard_fault; in st_nci_spi_write()
94 * Send them back in the ndlc state machine. in st_nci_spi_write()
103 ndlc_recv(phy->ndlc, skb_rx); in st_nci_spi_write()
110 * Reads an ndlc frame and returns it in a newly allocated sk_buff.
136 phy->ndlc->hard_fault = 1; in st_nci_spi_read()
165 * Reads an ndlc fram
[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 Dst-nci.h11 #include "ndlc.h"
115 struct llt_ndlc *ndlc; member
122 int st_nci_probe(struct llt_ndlc *ndlc, int phy_headroom,
H A DMakefile6 st-nci-objs = ndlc.o core.o se.o vendor_cmds.o
H A Dse.c706 nci_hci_send_event(info->ndlc->ndev, ST_NCI_APDU_READER_GATE, in st_nci_se_wt_timeout()
710 nci_hci_send_event(info->ndlc->ndev, ST_NCI_DEVICE_MGNT_GATE, in st_nci_se_wt_timeout()
/linux/arch/mips/pci/
H A Dfixup-malta.c148 u8 odlc, ndlc; in quirk_dlcsetup() local
152 ndlc = odlc | PIIX4_FUNC0_DLC_USBPR_EN | in quirk_dlcsetup()
155 (void) pci_write_config_byte(dev, PIIX4_FUNC0_DLC, ndlc); in quirk_dlcsetup()