Go to the documentation of this file.
28 #include <linux/device.h>
31 #define nfc_dev_info(dev, fmt, arg...) dev_info((dev), "NFC: " fmt "\n", ## arg)
32 #define nfc_dev_err(dev, fmt, arg...) dev_err((dev), "NFC: " fmt "\n", ## arg)
33 #define nfc_dev_dbg(dev, fmt, arg...) dev_dbg((dev), fmt "\n", ## arg)
57 u32 im_protocols,
u32 tm_protocols);
60 u8 comm_mode,
u8 *gb,
size_t gb_len);
73 #define NFC_TARGET_IDX_ANY -1
74 #define NFC_MAX_GT_LEN 48
75 #define NFC_ATR_RES_GT_OFFSET 15
120 #define to_nfc_dev(_dev) container_of(_dev, struct nfc_dev, dev)
134 static inline void nfc_free_device(
struct nfc_dev *
dev)
152 nfc_dev->
dev.parent =
dev;
161 static inline void nfc_set_drvdata(
struct nfc_dev *
dev,
void *
data)
171 static inline void *nfc_get_drvdata(
struct nfc_dev *
dev)
181 static inline const char *nfc_device_name(
struct nfc_dev *
dev)
183 return dev_name(&dev->
dev);
200 u8 comm_mode,
u8 rf_mode);
203 u8 *gb,
size_t gb_len);