Lines Matching refs:nfc_digital_dev

25 #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \
28 #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \
41 struct nfc_digital_dev *nfc_digital_dev; member
208 dev->cb(dev->nfc_digital_dev, dev->arg, skb); in nfcsim_recv_wq()
211 static int nfcsim_send(struct nfc_digital_dev *ddev, struct sk_buff *skb, in nfcsim_send()
250 static void nfcsim_abort_cmd(struct nfc_digital_dev *ddev) in nfcsim_abort_cmd()
257 static int nfcsim_switch_rf(struct nfc_digital_dev *ddev, bool on) in nfcsim_switch_rf()
266 static int nfcsim_in_configure_hw(struct nfc_digital_dev *ddev, in nfcsim_in_configure_hw()
289 static int nfcsim_in_send_cmd(struct nfc_digital_dev *ddev, in nfcsim_in_send_cmd()
296 static int nfcsim_tg_configure_hw(struct nfc_digital_dev *ddev, in nfcsim_tg_configure_hw()
319 static int nfcsim_tg_send_cmd(struct nfc_digital_dev *ddev, in nfcsim_tg_send_cmd()
326 static int nfcsim_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in nfcsim_tg_listen()
372 idx = dev->nfc_digital_dev->nfc_dev->idx; in nfcsim_debugfs_init_dev()
402 dev->nfc_digital_dev = in nfcsim_device_new()
407 if (!dev->nfc_digital_dev) { in nfcsim_device_new()
412 nfc_digital_set_drvdata(dev->nfc_digital_dev, dev); in nfcsim_device_new()
417 rc = nfc_digital_register_device(dev->nfc_digital_dev); in nfcsim_device_new()
420 nfc_digital_free_device(dev->nfc_digital_dev); in nfcsim_device_new()
433 nfc_digital_unregister_device(dev->nfc_digital_dev); in nfcsim_device_free()
442 nfc_digital_free_device(dev->nfc_digital_dev); in nfcsim_device_free()