Home
last modified time | relevance | path

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

/linux/drivers/nfc/st-nci/
A Dndlc.c49 ndlc->ops->enable(ndlc->phy_id); in ndlc_open()
50 ndlc->powered = 1; in ndlc_open()
63 ndlc->ops->enable(ndlc->phy_id); in ndlc_close()
69 ndlc->ops->disable(ndlc->phy_id); in ndlc_close()
96 ndlc->send_q.qlen, ndlc->ack_pending_q.qlen); in llt_ndlc_send_queue()
101 r = ndlc->ops->write(ndlc->phy_id, skb); in llt_ndlc_send_queue()
203 if (ndlc->t1_active && timer_pending(&ndlc->t1_timer) == 0) { in llt_ndlc_sm_work()
212 if (ndlc->t2_active && timer_pending(&ndlc->t2_timer) == 0) { in llt_ndlc_sm_work()
240 struct llt_ndlc *ndlc = from_timer(ndlc, t, t1_timer); in ndlc_t1_timeout() local
247 struct llt_ndlc *ndlc = from_timer(ndlc, t, t2_timer); in ndlc_t2_timeout() local
[all …]
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()
119 info = devm_kzalloc(ndlc->dev, 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->ndev, info); in st_nci_probe()
143 r = st_nci_vendor_cmds_init(ndlc->ndev); in st_nci_probe()
149 r = nci_register_device(ndlc->ndev); in st_nci_probe()
158 nci_free_device(ndlc->ndev); in st_nci_probe()
[all …]
A Dspi.c35 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()
103 ndlc_recv(phy->ndlc, skb_rx); in st_nci_spi_write()
136 phy->ndlc->hard_fault = 1; in st_nci_spi_read()
180 if (phy->ndlc->hard_fault) in st_nci_irq_thread_fn()
183 if (!phy->ndlc->powered) { in st_nci_irq_thread_fn()
192 ndlc_recv(phy->ndlc, skb); in st_nci_irq_thread_fn()
249 &phy->ndlc, &phy->se_status); in st_nci_spi_probe()
[all …]
A Di2c.c34 struct llt_ndlc *ndlc; member
52 if (phy->ndlc->powered == 0 && phy->irq_active == 0) { in st_nci_i2c_enable()
79 if (phy->ndlc->hard_fault != 0) in st_nci_i2c_write()
80 return phy->ndlc->hard_fault; in st_nci_i2c_write()
163 if (!phy || !phy->ndlc || irq != phy->i2c_dev->irq) { in st_nci_irq_thread_fn()
168 if (phy->ndlc->hard_fault) in st_nci_irq_thread_fn()
171 if (!phy->ndlc->powered) { in st_nci_irq_thread_fn()
180 ndlc_recv(phy->ndlc, skb); in st_nci_irq_thread_fn()
236 &phy->ndlc, &phy->se_status); in st_nci_i2c_probe()
257 ndlc_remove(phy->ndlc); in st_nci_i2c_remove()
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);
A Dst-nci.h115 struct llt_ndlc *ndlc; member
122 int st_nci_probe(struct llt_ndlc *ndlc, int phy_headroom,
A DMakefile6 st-nci-objs = ndlc.o core.o se.o vendor_cmds.o
A Dse.c676 nci_hci_send_event(info->ndlc->ndev, ST_NCI_APDU_READER_GATE, in st_nci_se_wt_timeout()
680 nci_hci_send_event(info->ndlc->ndev, ST_NCI_DEVICE_MGNT_GATE, in st_nci_se_wt_timeout()
/linux/arch/mips/pci/
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()

Completed in 13 milliseconds