Lines Matching refs:ddev

431 	struct nfc_digital_dev		*ddev;  member
638 trf->cb(trf->ddev, trf->cb_arg, trf->rx_skb); in trf7970a_send_upstream()
1125 static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on) in trf7970a_switch_rf() argument
1127 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_switch_rf()
1329 static int trf7970a_in_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_in_configure_hw() argument
1332 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_in_configure_hw()
1455 static int trf7970a_send_cmd(struct nfc_digital_dev *ddev, in trf7970a_send_cmd() argument
1459 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_send_cmd()
1512 trf->ddev = ddev; in trf7970a_send_cmd()
1672 static int trf7970a_tg_configure_hw(struct nfc_digital_dev *ddev, int type, in trf7970a_tg_configure_hw() argument
1675 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_configure_hw()
1708 static int _trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in _trf7970a_tg_listen() argument
1711 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in _trf7970a_tg_listen()
1762 trf->ddev = ddev; in _trf7970a_tg_listen()
1782 static int trf7970a_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in trf7970a_tg_listen() argument
1785 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_listen()
1790 return _trf7970a_tg_listen(ddev, timeout, cb, arg, false); in trf7970a_tg_listen()
1793 static int trf7970a_tg_listen_md(struct nfc_digital_dev *ddev, in trf7970a_tg_listen_md() argument
1796 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_listen_md()
1802 ret = trf7970a_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_RF_TECH, in trf7970a_tg_listen_md()
1807 ret = trf7970a_tg_configure_hw(ddev, NFC_DIGITAL_CONFIG_FRAMING, in trf7970a_tg_listen_md()
1812 return _trf7970a_tg_listen(ddev, timeout, cb, arg, true); in trf7970a_tg_listen_md()
1815 static int trf7970a_tg_get_rf_tech(struct nfc_digital_dev *ddev, u8 *rf_tech) in trf7970a_tg_get_rf_tech() argument
1817 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_tg_get_rf_tech()
1827 static void trf7970a_abort_cmd(struct nfc_digital_dev *ddev) in trf7970a_abort_cmd() argument
1829 struct trf7970a *trf = nfc_digital_get_drvdata(ddev); in trf7970a_abort_cmd()
2076 trf->ddev = nfc_digital_allocate_device(&trf7970a_nfc_ops, in trf7970a_probe()
2080 if (!trf->ddev) { in trf7970a_probe()
2086 nfc_digital_set_parent_dev(trf->ddev, trf->dev); in trf7970a_probe()
2087 nfc_digital_set_drvdata(trf->ddev, trf); in trf7970a_probe()
2099 ret = nfc_digital_register_device(trf->ddev); in trf7970a_probe()
2111 nfc_digital_free_device(trf->ddev); in trf7970a_probe()
2129 nfc_digital_unregister_device(trf->ddev); in trf7970a_remove()
2130 nfc_digital_free_device(trf->ddev); in trf7970a_remove()