Lines Matching refs:nfc_digital_dev

16 #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \
19 #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \
32 struct nfc_digital_dev *nfc_digital_dev; member
198 dev->cb(dev->nfc_digital_dev, dev->arg, skb); in nfcsim_recv_wq()
201 static int nfcsim_send(struct nfc_digital_dev *ddev, struct sk_buff *skb, in nfcsim_send()
240 static void nfcsim_abort_cmd(struct nfc_digital_dev *ddev) in nfcsim_abort_cmd()
247 static int nfcsim_switch_rf(struct nfc_digital_dev *ddev, bool on) in nfcsim_switch_rf()
256 static int nfcsim_in_configure_hw(struct nfc_digital_dev *ddev, in nfcsim_in_configure_hw()
279 static int nfcsim_in_send_cmd(struct nfc_digital_dev *ddev, in nfcsim_in_send_cmd()
286 static int nfcsim_tg_configure_hw(struct nfc_digital_dev *ddev, in nfcsim_tg_configure_hw()
309 static int nfcsim_tg_send_cmd(struct nfc_digital_dev *ddev, in nfcsim_tg_send_cmd()
316 static int nfcsim_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in nfcsim_tg_listen()
362 idx = dev->nfc_digital_dev->nfc_dev->idx; in nfcsim_debugfs_init_dev()
392 dev->nfc_digital_dev = in nfcsim_device_new()
397 if (!dev->nfc_digital_dev) { in nfcsim_device_new()
402 nfc_digital_set_drvdata(dev->nfc_digital_dev, dev); in nfcsim_device_new()
407 rc = nfc_digital_register_device(dev->nfc_digital_dev); in nfcsim_device_new()
410 nfc_digital_free_device(dev->nfc_digital_dev); in nfcsim_device_new()
423 nfc_digital_unregister_device(dev->nfc_digital_dev); in nfcsim_device_free()
432 nfc_digital_free_device(dev->nfc_digital_dev); in nfcsim_device_free()