Christophe Ricard | 35630df | 2014-05-25 22:35:38 +0200 | [diff] [blame] | 1 | /* |
| 2 | * NCI based Driver for STMicroelectronics NFC Chip |
| 3 | * |
| 4 | * Copyright (C) 2014 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. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #ifndef __LOCAL_ST21NFCB_H_ |
| 20 | #define __LOCAL_ST21NFCB_H_ |
| 21 | |
Christophe Ricard | 8ae01f7 | 2015-02-01 22:26:15 +0100 | [diff] [blame] | 22 | #include "st21nfcb_se.h" |
Christophe Ricard | 35630df | 2014-05-25 22:35:38 +0200 | [diff] [blame] | 23 | #include "ndlc.h" |
| 24 | |
| 25 | /* Define private flags: */ |
| 26 | #define ST21NFCB_NCI_RUNNING 1 |
| 27 | |
| 28 | struct st21nfcb_nci_info { |
| 29 | struct llt_ndlc *ndlc; |
| 30 | unsigned long flags; |
Christophe Ricard | 8ae01f7 | 2015-02-01 22:26:15 +0100 | [diff] [blame] | 31 | struct st21nfcb_se_info se_info; |
Christophe Ricard | 35630df | 2014-05-25 22:35:38 +0200 | [diff] [blame] | 32 | }; |
| 33 | |
| 34 | void st21nfcb_nci_remove(struct nci_dev *ndev); |
| 35 | int st21nfcb_nci_probe(struct llt_ndlc *ndlc, int phy_headroom, |
| 36 | int phy_tailroom); |
| 37 | |
| 38 | #endif /* __LOCAL_ST21NFCB_H_ */ |