Lines Matching refs:ddev

430 	struct nfc_digital_dev		*ddev;  member
629 trf->cb(trf->ddev, trf->cb_arg, trf->rx_skb); in trf7970a_send_upstream()
1116 static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on) in trf7970a_switch_rf() argument
1118 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_switch_rf()
1320 static int trf7970a_in_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_in_configure_hw() argument
1323 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_in_configure_hw()
1441 static int trf7970a_send_cmd(struct nfc_digital_dev *ddev, in trf7970a_send_cmd() argument
1445 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_send_cmd()
1498 trf->ddev = ddev; in trf7970a_send_cmd()
1658 static int trf7970a_tg_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_tg_configure_hw() argument
1661 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_configure_hw()
1694 static int _trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in _trf7970a_tg_listen() argument
1697 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in _trf7970a_tg_listen()
1748 trf->ddev = ddev; in _trf7970a_tg_listen()
1768 static int trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in trf7970a_tg_listen() argument
1771 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_listen()
1776 return _trf7970a_tg_listen(ddev, timeout, cb, arg, false); in trf7970a_tg_listen()
1779 static int trf7970a_tg_listen_md(struct nfc_digital_dev *ddev, in trf7970a_tg_listen_md() argument
1782 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_listen_md()
1788 ret = trf7970a_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH, in trf7970a_tg_listen_md()
1793 ret = trf7970a_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING, in trf7970a_tg_listen_md()
1798 return _trf7970a_tg_listen(ddev, timeout, cb, arg, true); in trf7970a_tg_listen_md()
1801 static int trf7970a_tg_get_rf_tech(struct nfc_digital_dev *ddev, u8 *rf_tech) in trf7970a_tg_get_rf_tech() argument
1803 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_get_rf_tech()
1813 static void trf7970a_abort_cmd(struct nfc_digital_dev *ddev) in trf7970a_abort_cmd() argument
1815 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_abort_cmd()
2059 trf->ddev = nfc_digital_allocate_device(&trf7970a_nfc_ops, in trf7970a_probe()
2063 if (!trf->ddev) { in trf7970a_probe()
2069 nfc_digital_set_parent_dev(trf->ddev, trf->dev); in trf7970a_probe()
2070 nfc_digital_set_drvdata(trf->ddev, trf); in trf7970a_probe()
2082 ret = nfc_digital_register_device(trf->ddev); in trf7970a_probe()
2094 nfc_digital_free_device(trf->ddev); in trf7970a_probe()
2112 nfc_digital_unregister_device(trf->ddev); in trf7970a_remove()
2113 nfc_digital_free_device(trf->ddev); in trf7970a_remove()