Home
last modified time | relevance | path

Searched refs:im_protocols (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/nfc/microread/
Dmicroread.c237 u32 im_protocols, u32 tm_protocols) in microread_start_poll() argument
247 if (im_protocols & NFC_PROTO_ISO14443_MASK) in microread_start_poll()
250 if (im_protocols & NFC_PROTO_ISO14443_B_MASK) in microread_start_poll()
253 if (im_protocols & NFC_PROTO_MIFARE_MASK) in microread_start_poll()
256 if (im_protocols & NFC_PROTO_JEWEL_MASK) in microread_start_poll()
259 if (im_protocols & NFC_PROTO_FELICA_MASK) in microread_start_poll()
262 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) in microread_start_poll()
265 if ((im_protocols | tm_protocols) & NFC_PROTO_NFC_DEP_MASK) { in microread_start_poll()
269 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; in microread_start_poll()
285 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) { in microread_start_poll()
/Linux-v4.19/drivers/nfc/st21nfca/
Dcore.c327 u32 im_protocols, u32 tm_protocols) in st21nfca_hci_start_poll() argument
335 __func__, im_protocols, tm_protocols); in st21nfca_hci_start_poll()
341 if (im_protocols) { in st21nfca_hci_start_poll()
346 if ((NFC_HCI_RF_READER_B_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
353 if ((NFC_HCI_RF_READER_A_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
360 if ((ST21NFCA_RF_READER_F_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
370 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; in st21nfca_hci_start_poll()
392 if ((ST21NFCA_RF_READER_14443_3_A_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
399 if ((ST21NFCA_RF_READER_ISO15693_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
/Linux-v4.19/net/nfc/nci/
Dcore.c241 __u32 im_protocols; member
254 (param->im_protocols & NFC_PROTO_JEWEL_MASK || in nci_rf_discover_req()
255 param->im_protocols & NFC_PROTO_MIFARE_MASK || in nci_rf_discover_req()
256 param->im_protocols & NFC_PROTO_ISO14443_MASK || in nci_rf_discover_req()
257 param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { in nci_rf_discover_req()
265 (param->im_protocols & NFC_PROTO_ISO14443_B_MASK)) { in nci_rf_discover_req()
273 (param->im_protocols & NFC_PROTO_FELICA_MASK || in nci_rf_discover_req()
274 param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { in nci_rf_discover_req()
282 (param->im_protocols & NFC_PROTO_ISO15693_MASK)) { in nci_rf_discover_req()
792 __u32 im_protocols, __u32 tm_protocols) in nci_start_poll() argument
[all …]
/Linux-v4.19/drivers/nfc/pn544/
Dpn544.c345 u32 im_protocols, u32 tm_protocols) in pn544_hci_start_poll() argument
356 __func__, im_protocols, tm_protocols); in pn544_hci_start_poll()
376 if (im_protocols & (NFC_PROTO_ISO14443_MASK | NFC_PROTO_MIFARE_MASK | in pn544_hci_start_poll()
379 if (im_protocols & NFC_PROTO_FELICA_MASK) { in pn544_hci_start_poll()
391 if ((im_protocols | tm_protocols) & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_start_poll()
396 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; in pn544_hci_start_poll()
401 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_start_poll()
/Linux-v4.19/drivers/nfc/pn533/
Dpn533.c956 u32 im_protocols, u32 tm_protocols) in pn533_poll_create_mod_list() argument
960 if ((im_protocols & NFC_PROTO_MIFARE_MASK) || in pn533_poll_create_mod_list()
961 (im_protocols & NFC_PROTO_ISO14443_MASK) || in pn533_poll_create_mod_list()
962 (im_protocols & NFC_PROTO_NFC_DEP_MASK)) in pn533_poll_create_mod_list()
965 if (im_protocols & NFC_PROTO_FELICA_MASK || in pn533_poll_create_mod_list()
966 im_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn533_poll_create_mod_list()
971 if (im_protocols & NFC_PROTO_JEWEL_MASK) in pn533_poll_create_mod_list()
974 if (im_protocols & NFC_PROTO_ISO14443_B_MASK) in pn533_poll_create_mod_list()
1543 u32 im_protocols, u32 tm_protocols) in pn533_start_poll() argument
1552 __func__, im_protocols, tm_protocols); in pn533_start_poll()
[all …]
/Linux-v4.19/net/nfc/
Dcore.c209 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll() argument
214 dev_name(&dev->dev), im_protocols, tm_protocols); in nfc_start_poll()
216 if (!im_protocols && !tm_protocols) in nfc_start_poll()
236 rc = dev->ops->start_poll(dev, im_protocols, tm_protocols); in nfc_start_poll()
Dnfc.h144 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols);
Ddigital_core.c477 static int digital_start_poll(struct nfc_dev *nfc_dev, __u32 im_protocols, in digital_start_poll() argument
483 pr_debug("protocols: im 0x%x, tm 0x%x, supported 0x%x\n", im_protocols, in digital_start_poll()
486 matching_im_protocols = ddev->protocols & im_protocols; in digital_start_poll()
Dnetlink.c815 u32 im_protocols = 0, tm_protocols = 0; in nfc_genl_start_poll() local
831 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_IM_PROTOCOLS]); in nfc_genl_start_poll()
833 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]); in nfc_genl_start_poll()
841 rc = nfc_start_poll(dev, im_protocols, tm_protocols); in nfc_genl_start_poll()
/Linux-v4.19/include/net/nfc/
Dhci.h39 u32 im_protocols, u32 tm_protocols);
Dnfc.h64 u32 im_protocols, u32 tm_protocols);
/Linux-v4.19/net/nfc/hci/
Dcore.c639 u32 im_protocols, u32 tm_protocols) in hci_start_poll() argument
644 return hdev->ops->start_poll(hdev, im_protocols, tm_protocols); in hci_start_poll()
/Linux-v4.19/Documentation/nfc/
Dnfc-hci.txt69 u32 im_protocols, u32 tm_protocols);