Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/nfc/microread/
Dmicroread.c225 u32 im_protocols, u32 tm_protocols) in microread_start_poll() argument
235 if (im_protocols & NFC_PROTO_ISO14443_MASK) in microread_start_poll()
238 if (im_protocols & NFC_PROTO_ISO14443_B_MASK) in microread_start_poll()
241 if (im_protocols & NFC_PROTO_MIFARE_MASK) in microread_start_poll()
244 if (im_protocols & NFC_PROTO_JEWEL_MASK) in microread_start_poll()
247 if (im_protocols & NFC_PROTO_FELICA_MASK) in microread_start_poll()
250 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) in microread_start_poll()
253 if ((im_protocols | tm_protocols) & NFC_PROTO_NFC_DEP_MASK) { in microread_start_poll()
257 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; in microread_start_poll()
273 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) { in microread_start_poll()
/Linux-v6.6/drivers/nfc/st21nfca/
Dcore.c315 u32 im_protocols, u32 tm_protocols) in st21nfca_hci_start_poll() argument
323 __func__, im_protocols, tm_protocols); in st21nfca_hci_start_poll()
329 if (im_protocols) { in st21nfca_hci_start_poll()
334 if ((NFC_HCI_RF_READER_B_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
341 if ((NFC_HCI_RF_READER_A_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
348 if ((ST21NFCA_RF_READER_F_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
358 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; in st21nfca_hci_start_poll()
380 if ((ST21NFCA_RF_READER_14443_3_A_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
387 if ((ST21NFCA_RF_READER_ISO15693_GATE & im_protocols) == 0) { in st21nfca_hci_start_poll()
/Linux-v6.6/net/nfc/nci/
Dcore.c238 __u32 im_protocols; member
250 (param->im_protocols & NFC_PROTO_JEWEL_MASK || in nci_rf_discover_req()
251 param->im_protocols & NFC_PROTO_MIFARE_MASK || in nci_rf_discover_req()
252 param->im_protocols & NFC_PROTO_ISO14443_MASK || in nci_rf_discover_req()
253 param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { in nci_rf_discover_req()
261 (param->im_protocols & NFC_PROTO_ISO14443_B_MASK)) { in nci_rf_discover_req()
269 (param->im_protocols & NFC_PROTO_FELICA_MASK || in nci_rf_discover_req()
270 param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { in nci_rf_discover_req()
278 (param->im_protocols & NFC_PROTO_ISO15693_MASK)) { in nci_rf_discover_req()
810 __u32 im_protocols, __u32 tm_protocols) in nci_start_poll() argument
[all …]
/Linux-v6.6/drivers/nfc/pn533/
Dpn533.c965 u32 im_protocols, u32 tm_protocols) in pn533_poll_create_mod_list() argument
969 if ((im_protocols & NFC_PROTO_MIFARE_MASK) || in pn533_poll_create_mod_list()
970 (im_protocols & NFC_PROTO_ISO14443_MASK) || in pn533_poll_create_mod_list()
971 (im_protocols & NFC_PROTO_NFC_DEP_MASK)) in pn533_poll_create_mod_list()
974 if (im_protocols & NFC_PROTO_FELICA_MASK || in pn533_poll_create_mod_list()
975 im_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn533_poll_create_mod_list()
980 if (im_protocols & NFC_PROTO_JEWEL_MASK) in pn533_poll_create_mod_list()
983 if (im_protocols & NFC_PROTO_ISO14443_B_MASK) in pn533_poll_create_mod_list()
1629 u32 im_protocols, u32 tm_protocols) in pn533_start_poll() argument
1639 __func__, im_protocols, tm_protocols); in pn533_start_poll()
[all …]
/Linux-v6.6/drivers/nfc/pn544/
Dpn544.c333 u32 im_protocols, u32 tm_protocols) in pn544_hci_start_poll() argument
344 __func__, im_protocols, tm_protocols); in pn544_hci_start_poll()
364 if (im_protocols & (NFC_PROTO_ISO14443_MASK | NFC_PROTO_MIFARE_MASK | in pn544_hci_start_poll()
367 if (im_protocols & NFC_PROTO_FELICA_MASK) { in pn544_hci_start_poll()
379 if ((im_protocols | tm_protocols) & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_start_poll()
384 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; in pn544_hci_start_poll()
389 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) { in pn544_hci_start_poll()
/Linux-v6.6/net/nfc/
Dcore.c198 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) in nfc_start_poll() argument
203 dev_name(&dev->dev), im_protocols, tm_protocols); in nfc_start_poll()
205 if (!im_protocols && !tm_protocols) in nfc_start_poll()
225 rc = dev->ops->start_poll(dev, im_protocols, tm_protocols); in nfc_start_poll()
Dnfc.h133 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols);
Ddigital_core.c476 static int digital_start_poll(struct nfc_dev *nfc_dev, __u32 im_protocols, in digital_start_poll() argument
482 pr_debug("protocols: im 0x%x, tm 0x%x, supported 0x%x\n", im_protocols, in digital_start_poll()
485 matching_im_protocols = ddev->protocols & im_protocols; in digital_start_poll()
Dnetlink.c802 u32 im_protocols = 0, tm_protocols = 0; in nfc_genl_start_poll() local
818 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_IM_PROTOCOLS]); in nfc_genl_start_poll()
820 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]); in nfc_genl_start_poll()
828 rc = nfc_start_poll(dev, im_protocols, tm_protocols); in nfc_genl_start_poll()
/Linux-v6.6/include/net/nfc/
Dhci.h27 u32 im_protocols, u32 tm_protocols);
Dnfc.h52 u32 im_protocols, u32 tm_protocols);
/Linux-v6.6/net/nfc/hci/
Dcore.c640 u32 im_protocols, u32 tm_protocols) in hci_start_poll() argument
645 return hdev->ops->start_poll(hdev, im_protocols, tm_protocols); in hci_start_poll()
/Linux-v6.6/Documentation/driver-api/nfc/
Dnfc-hci.rst72 u32 im_protocols, u32 tm_protocols);