Lines Matching +full:pre +full:- +full:filled
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
31 * data_exchange_cb_t - Definition of nfc_data_exchange callback
39 * of the operating field, err is -EIO.
77 #define NFC_TARGET_IDX_ANY -1
83 * struct nfc_target - NFC target description
115 * nfc_se - A structure for NFC accessible secure elements.
132 * nfc_evt_transaction - A struct for NFC secure element event transaction.
211 * nfc_free_device - free nfc device
217 put_device(&dev->dev); in nfc_free_device()
225 * nfc_set_parent_dev - set the parent device
233 nfc_dev->dev.parent = dev; in nfc_set_parent_dev()
237 * nfc_set_drvdata - set driver specific data
244 dev_set_drvdata(&dev->dev, data); in nfc_set_drvdata()
248 * nfc_get_drvdata - get driver specific data
254 return dev_get_drvdata(&dev->dev); in nfc_get_drvdata()
258 * nfc_device_name - get the nfc device name
264 return dev_name(&dev->dev); in nfc_device_name()
307 if (dev->vendor_cmds || dev->n_vendor_cmds) in nfc_set_vendor_cmds()
308 return -EINVAL; in nfc_set_vendor_cmds()
310 dev->vendor_cmds = cmds; in nfc_set_vendor_cmds()
311 dev->n_vendor_cmds = n_cmds; in nfc_set_vendor_cmds()
323 * nfc_vendor_cmd_alloc_reply_skb - allocate vendor command reply
329 * This function allocates and pre-fills an skb for a reply to
333 * The returned skb is pre-filled with some identifying data in
344 * Return: An allocated and pre-filled skb. %NULL if any errors happen.