ndlc.h (01b944fe1cd4e21a2a9ed51adbdbafe2d5e905ba) | ndlc.h (3648dc6d27f648b8e3ce9b48874627a833d53c3a) |
---|---|
1/* 2 * NCI based Driver for STMicroelectronics NFC Chip 3 * 4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 8 unchanged lines hidden (view full) --- 17 */ 18 19#ifndef __LOCAL_NDLC_H_ 20#define __LOCAL_NDLC_H_ 21 22#include <linux/skbuff.h> 23#include <net/nfc/nfc.h> 24 | 1/* 2 * NCI based Driver for STMicroelectronics NFC Chip 3 * 4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 8 unchanged lines hidden (view full) --- 17 */ 18 19#ifndef __LOCAL_NDLC_H_ 20#define __LOCAL_NDLC_H_ 21 22#include <linux/skbuff.h> 23#include <net/nfc/nfc.h> 24 |
25struct st_nci_se_status; 26 |
|
25/* Low Level Transport description */ 26struct llt_ndlc { 27 struct nci_dev *ndev; 28 struct nfc_phy_ops *ops; 29 void *phy_id; 30 31 struct timer_list t1_timer; 32 bool t1_active; --- 17 unchanged lines hidden (view full) --- 50 int powered; 51}; 52 53int ndlc_open(struct llt_ndlc *ndlc); 54void ndlc_close(struct llt_ndlc *ndlc); 55int ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb); 56void ndlc_recv(struct llt_ndlc *ndlc, struct sk_buff *skb); 57int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev, | 27/* Low Level Transport description */ 28struct llt_ndlc { 29 struct nci_dev *ndev; 30 struct nfc_phy_ops *ops; 31 void *phy_id; 32 33 struct timer_list t1_timer; 34 bool t1_active; --- 17 unchanged lines hidden (view full) --- 52 int powered; 53}; 54 55int ndlc_open(struct llt_ndlc *ndlc); 56void ndlc_close(struct llt_ndlc *ndlc); 57int ndlc_send(struct llt_ndlc *ndlc, struct sk_buff *skb); 58void ndlc_recv(struct llt_ndlc *ndlc, struct sk_buff *skb); 59int ndlc_probe(void *phy_id, struct nfc_phy_ops *phy_ops, struct device *dev, |
58 int phy_headroom, int phy_tailroom, struct llt_ndlc **ndlc_id); | 60 int phy_headroom, int phy_tailroom, struct llt_ndlc **ndlc_id, 61 struct st_nci_se_status *se_status); |
59void ndlc_remove(struct llt_ndlc *ndlc); 60#endif /* __LOCAL_NDLC_H__ */ | 62void ndlc_remove(struct llt_ndlc *ndlc); 63#endif /* __LOCAL_NDLC_H__ */ |