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 descriptiom
111 * nfc_se - A structure for NFC accessible secure elements.
128 * nfc_evt_transaction - A struct for NFC secure element event transaction.
207 * nfc_free_device - free nfc device
213 put_device(&dev->dev); in nfc_free_device()
221 * nfc_set_parent_dev - set the parent device
229 nfc_dev->dev.parent = dev; in nfc_set_parent_dev()
233 * nfc_set_drvdata - set driver specifc data
240 dev_set_drvdata(&dev->dev, data); in nfc_set_drvdata()
244 * nfc_get_drvdata - get driver specifc data
250 return dev_get_drvdata(&dev->dev); in nfc_get_drvdata()
254 * nfc_device_name - get the nfc device name
260 return dev_name(&dev->dev); in nfc_device_name()
303 if (dev->vendor_cmds || dev->n_vendor_cmds) in nfc_set_vendor_cmds()
304 return -EINVAL; in nfc_set_vendor_cmds()
306 dev->vendor_cmds = cmds; in nfc_set_vendor_cmds()
307 dev->n_vendor_cmds = n_cmds; in nfc_set_vendor_cmds()
319 * nfc_vendor_cmd_alloc_reply_skb - allocate vendor command reply
325 * This function allocates and pre-fills an skb for a reply to
329 * The returned skb is pre-filled with some identifying data in
340 * Return: An allocated and pre-filled skb. %NULL if any errors happen.