Lines Matching refs:nfc_digital_dev
75 struct nfc_digital_dev;
87 typedef void (*nfc_digital_cmd_complete_t)(struct nfc_digital_dev *ddev,
147 int (*in_configure_hw)(struct nfc_digital_dev *ddev, int type,
149 int (*in_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
153 int (*tg_configure_hw)(struct nfc_digital_dev *ddev, int type,
155 int (*tg_send_cmd)(struct nfc_digital_dev *ddev, struct sk_buff *skb,
158 int (*tg_listen)(struct nfc_digital_dev *ddev, u16 timeout,
160 int (*tg_listen_mdaa)(struct nfc_digital_dev *ddev,
164 int (*tg_listen_md)(struct nfc_digital_dev *ddev, u16 timeout,
166 int (*tg_get_rf_tech)(struct nfc_digital_dev *ddev, u8 *rf_tech);
168 int (*switch_rf)(struct nfc_digital_dev *ddev, bool on);
169 void (*abort_cmd)(struct nfc_digital_dev *ddev);
174 typedef int (*digital_poll_t)(struct nfc_digital_dev *ddev, u8 rf_tech);
192 struct nfc_digital_dev { struct
239 struct nfc_digital_dev *nfc_digital_allocate_device(const struct nfc_digital_ops *ops, argument
244 void nfc_digital_free_device(struct nfc_digital_dev *ndev);
245 int nfc_digital_register_device(struct nfc_digital_dev *ndev);
246 void nfc_digital_unregister_device(struct nfc_digital_dev *ndev);
248 static inline void nfc_digital_set_parent_dev(struct nfc_digital_dev *ndev, in nfc_digital_set_parent_dev()
254 static inline void nfc_digital_set_drvdata(struct nfc_digital_dev *dev, in nfc_digital_set_drvdata()
260 static inline void *nfc_digital_get_drvdata(struct nfc_digital_dev *dev) in nfc_digital_get_drvdata()