mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
[linux/fpc-iii.git] / drivers / nfc / mei_phy.h
blobd669900f8278d50a3f409445aa12d0d0736e3f26
1 #ifndef __LOCAL_MEI_PHY_H_
2 #define __LOCAL_MEI_PHY_H_
4 #include <linux/mei_cl_bus.h>
5 #include <net/nfc/hci.h>
7 #define MEI_NFC_HEADER_SIZE 10
8 #define MEI_NFC_MAX_HCI_PAYLOAD 300
10 struct nfc_mei_phy {
11 struct mei_cl_device *device;
12 struct nfc_hci_dev *hdev;
14 int powered;
16 int hard_fault; /*
17 * < 0 if hardware error occured
18 * and prevents normal operation.
22 extern struct nfc_phy_ops mei_phy_ops;
24 int nfc_mei_phy_enable(void *phy_id);
25 void nfc_mei_phy_disable(void *phy_id);
26 void nfc_mei_event_cb(struct mei_cl_device *device, u32 events, void *context);
27 struct nfc_mei_phy *nfc_mei_phy_alloc(struct mei_cl_device *device);
28 void nfc_mei_phy_free(struct nfc_mei_phy *phy);
30 #endif /* __LOCAL_MEI_PHY_H_ */