Lines Matching refs:nfc_rawsock
42 nfc_rawsock(sk)->tx_work_scheduled = false; in rawsock_write_queue_purge()
115 nfc_rawsock(sk)->dev = dev; in rawsock_connect()
116 nfc_rawsock(sk)->target_idx = addr->target_idx; in rawsock_connect()
160 schedule_work(&nfc_rawsock(sk)->tx_work); in rawsock_data_exchange_complete()
162 nfc_rawsock(sk)->tx_work_scheduled = false; in rawsock_data_exchange_complete()
179 struct nfc_dev *dev = nfc_rawsock(sk)->dev; in rawsock_tx_work()
180 u32 target_idx = nfc_rawsock(sk)->target_idx; in rawsock_tx_work()
205 struct nfc_dev *dev = nfc_rawsock(sk)->dev; in rawsock_sendmsg()
229 if (!nfc_rawsock(sk)->tx_work_scheduled) { in rawsock_sendmsg()
230 schedule_work(&nfc_rawsock(sk)->tx_work); in rawsock_sendmsg()
231 nfc_rawsock(sk)->tx_work_scheduled = true; in rawsock_sendmsg()
306 nfc_deactivate_target(nfc_rawsock(sk)->dev, in rawsock_destruct()
307 nfc_rawsock(sk)->target_idx, in rawsock_destruct()
309 nfc_put_device(nfc_rawsock(sk)->dev); in rawsock_destruct()
349 INIT_WORK(&nfc_rawsock(sk)->tx_work, rawsock_tx_work); in rawsock_create()
350 nfc_rawsock(sk)->tx_work_scheduled = false; in rawsock_create()
396 .obj_size = sizeof(struct nfc_rawsock),