Searched refs:ndlc (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/nfc/st-nci/ |
D | ndlc.c | 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->powered = 0; in ndlc_close() 69 ndlc->ops->disable(ndlc->phy_id); in ndlc_close() 73 int ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb) in ndlc_send() argument 80 skb_queue_tail(&ndlc->send_q, skb); in ndlc_send() [all …]
|
D | core.c | 40 r = ndlc_open(info->ndlc); in st_nci_open() 54 ndlc_close(info->ndlc); in st_nci_close() 70 return ndlc_send(info->ndlc, skb); in st_nci_send() 114 int st_nci_probe(struct llt_ndlc *ndlc, int phy_headroom, in st_nci_probe() argument 121 info = devm_kzalloc(ndlc->dev, in st_nci_probe() 134 ndlc->ndev = nci_allocate_device(&st_nci_ops, protocols, in st_nci_probe() 136 if (!ndlc->ndev) { in st_nci_probe() 140 info->ndlc = ndlc; in st_nci_probe() 142 nci_set_drvdata(ndlc->ndev, info); in st_nci_probe() 144 r = st_nci_vendor_cmds_init(ndlc->ndev); in st_nci_probe() [all …]
|
D | spi.c | 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() 105 ndlc_recv(phy->ndlc, skb_rx); in st_nci_spi_write() 139 phy->ndlc->hard_fault = 1; in st_nci_spi_read() 179 if (!phy || !phy->ndlc || irq != phy->spi_dev->irq) { in st_nci_irq_thread_fn() 187 if (phy->ndlc->hard_fault) in st_nci_irq_thread_fn() 190 if (!phy->ndlc->powered) { in st_nci_irq_thread_fn() 199 ndlc_recv(phy->ndlc, skb); in st_nci_irq_thread_fn() [all …]
|
D | ndlc.h | 44 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);
|
D | i2c.c | 34 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() 164 if (!phy || !phy->ndlc || irq != phy->i2c_dev->irq) { in st_nci_irq_thread_fn() 172 if (phy->ndlc->hard_fault) in st_nci_irq_thread_fn() 175 if (!phy->ndlc->powered) { in st_nci_irq_thread_fn() 184 ndlc_recv(phy->ndlc, skb); in st_nci_irq_thread_fn() 243 &phy->ndlc, &phy->se_status); in st_nci_i2c_probe() 266 ndlc_remove(phy->ndlc); in st_nci_i2c_remove()
|
D | st-nci.h | 115 struct llt_ndlc *ndlc; member 122 int st_nci_probe(struct llt_ndlc *ndlc, int phy_headroom,
|
D | Makefile | 6 st-nci-objs = ndlc.o core.o se.o vendor_cmds.o
|
D | se.c | 691 nci_hci_send_event(info->ndlc->ndev, ST_NCI_APDU_READER_GATE, in st_nci_se_wt_timeout() 695 nci_hci_send_event(info->ndlc->ndev, ST_NCI_DEVICE_MGNT_GATE, in st_nci_se_wt_timeout()
|
/Linux-v5.10/arch/mips/pci/ |
D | fixup-malta.c | 148 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()
|