/linux-4.1.27/drivers/nfc/microread/ |
H A D | microread.c | 237 u32 im_protocols, u32 tm_protocols) microread_start_poll() 247 if (im_protocols & NFC_PROTO_ISO14443_MASK) microread_start_poll() 250 if (im_protocols & NFC_PROTO_ISO14443_B_MASK) microread_start_poll() 253 if (im_protocols & NFC_PROTO_MIFARE_MASK) microread_start_poll() 256 if (im_protocols & NFC_PROTO_JEWEL_MASK) microread_start_poll() 259 if (im_protocols & NFC_PROTO_FELICA_MASK) microread_start_poll() 262 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) microread_start_poll() 265 if ((im_protocols | tm_protocols) & NFC_PROTO_NFC_DEP_MASK) { microread_start_poll() 269 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; microread_start_poll() 285 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) { microread_start_poll() 236 microread_start_poll(struct nfc_hci_dev *hdev, u32 im_protocols, u32 tm_protocols) microread_start_poll() argument
|
/linux-4.1.27/drivers/nfc/st21nfca/ |
H A D | st21nfca.c | 346 u32 im_protocols, u32 tm_protocols) st21nfca_hci_start_poll() 354 __func__, im_protocols, tm_protocols); st21nfca_hci_start_poll() 360 if (im_protocols) { st21nfca_hci_start_poll() 362 * enable polling according to im_protocols & tm_protocols st21nfca_hci_start_poll() 363 * - CLOSE pipe according to im_protocols & tm_protocols st21nfca_hci_start_poll() 365 if ((NFC_HCI_RF_READER_B_GATE & im_protocols) == 0) { st21nfca_hci_start_poll() 372 if ((NFC_HCI_RF_READER_A_GATE & im_protocols) == 0) { st21nfca_hci_start_poll() 379 if ((ST21NFCA_RF_READER_F_GATE & im_protocols) == 0) { st21nfca_hci_start_poll() 389 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; st21nfca_hci_start_poll() 411 if ((ST21NFCA_RF_READER_14443_3_A_GATE & im_protocols) == 0) { st21nfca_hci_start_poll() 418 if ((ST21NFCA_RF_READER_ISO15693_GATE & im_protocols) == 0) { st21nfca_hci_start_poll() 345 st21nfca_hci_start_poll(struct nfc_hci_dev *hdev, u32 im_protocols, u32 tm_protocols) st21nfca_hci_start_poll() argument
|
/linux-4.1.27/net/nfc/nci/ |
H A D | core.c | 219 __u32 im_protocols; member in struct:nci_rf_discover_param 232 (param->im_protocols & NFC_PROTO_JEWEL_MASK || nci_rf_discover_req() 233 param->im_protocols & NFC_PROTO_MIFARE_MASK || nci_rf_discover_req() 234 param->im_protocols & NFC_PROTO_ISO14443_MASK || nci_rf_discover_req() 235 param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { nci_rf_discover_req() 243 (param->im_protocols & NFC_PROTO_ISO14443_B_MASK)) { nci_rf_discover_req() 251 (param->im_protocols & NFC_PROTO_FELICA_MASK || nci_rf_discover_req() 252 param->im_protocols & NFC_PROTO_NFC_DEP_MASK)) { nci_rf_discover_req() 260 (param->im_protocols & NFC_PROTO_ISO15693_MASK)) { nci_rf_discover_req() 616 __u32 im_protocols, __u32 tm_protocols) nci_start_poll() 644 if ((im_protocols | tm_protocols) & NFC_PROTO_NFC_DEP_MASK) { nci_start_poll() 658 param.im_protocols = im_protocols; nci_start_poll() 664 ndev->poll_prots = im_protocols; nci_start_poll() 615 nci_start_poll(struct nfc_dev *nfc_dev, __u32 im_protocols, __u32 tm_protocols) nci_start_poll() argument
|
/linux-4.1.27/drivers/nfc/pn544/ |
H A D | pn544.c | 345 u32 im_protocols, u32 tm_protocols) pn544_hci_start_poll() 356 __func__, im_protocols, tm_protocols); pn544_hci_start_poll() 376 if (im_protocols & (NFC_PROTO_ISO14443_MASK | NFC_PROTO_MIFARE_MASK | pn544_hci_start_poll() 379 if (im_protocols & NFC_PROTO_FELICA_MASK) { pn544_hci_start_poll() 391 if ((im_protocols | tm_protocols) & NFC_PROTO_NFC_DEP_MASK) { pn544_hci_start_poll() 396 im_protocols &= ~NFC_PROTO_NFC_DEP_MASK; pn544_hci_start_poll() 401 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) { pn544_hci_start_poll() 344 pn544_hci_start_poll(struct nfc_hci_dev *hdev, u32 im_protocols, u32 tm_protocols) pn544_hci_start_poll() argument
|
/linux-4.1.27/drivers/nfc/ |
H A D | nfcsim.c | 183 u32 im_protocols, u32 tm_protocols) nfcsim_start_poll() 196 if (im_protocols & NFC_PROTO_NFC_DEP_MASK) nfcsim_start_poll() 213 DEV_DBG(dev, "Start polling: im: 0x%X, tm: 0x%X\n", im_protocols, nfcsim_start_poll() 182 nfcsim_start_poll(struct nfc_dev *nfc_dev, u32 im_protocols, u32 tm_protocols) nfcsim_start_poll() argument
|
H A D | pn533.c | 1512 u32 im_protocols, u32 tm_protocols) pn533_poll_create_mod_list() 1516 if ((im_protocols & NFC_PROTO_MIFARE_MASK) || pn533_poll_create_mod_list() 1517 (im_protocols & NFC_PROTO_ISO14443_MASK) || pn533_poll_create_mod_list() 1518 (im_protocols & NFC_PROTO_NFC_DEP_MASK)) pn533_poll_create_mod_list() 1521 if (im_protocols & NFC_PROTO_FELICA_MASK || pn533_poll_create_mod_list() 1522 im_protocols & NFC_PROTO_NFC_DEP_MASK) { pn533_poll_create_mod_list() 1527 if (im_protocols & NFC_PROTO_JEWEL_MASK) pn533_poll_create_mod_list() 1530 if (im_protocols & NFC_PROTO_ISO14443_B_MASK) pn533_poll_create_mod_list() 2113 u32 im_protocols, u32 tm_protocols) pn533_start_poll() 2122 __func__, im_protocols, tm_protocols); pn533_start_poll() 2142 pn533_poll_create_mod_list(dev, im_protocols, tm_protocols); pn533_start_poll() 2143 dev->poll_protocols = im_protocols; pn533_start_poll() 1511 pn533_poll_create_mod_list(struct pn533 *dev, u32 im_protocols, u32 tm_protocols) pn533_poll_create_mod_list() argument 2112 pn533_start_poll(struct nfc_dev *nfc_dev, u32 im_protocols, u32 tm_protocols) pn533_start_poll() argument
|
/linux-4.1.27/net/nfc/ |
H A D | digital_core.c | 470 static int digital_start_poll(struct nfc_dev *nfc_dev, __u32 im_protocols, digital_start_poll() argument 476 pr_debug("protocols: im 0x%x, tm 0x%x, supported 0x%x\n", im_protocols, digital_start_poll() 479 matching_im_protocols = ddev->protocols & im_protocols; digital_start_poll()
|
H A D | nfc.h | 140 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols);
|
H A D | core.c | 209 int nfc_start_poll(struct nfc_dev *dev, u32 im_protocols, u32 tm_protocols) nfc_start_poll() argument 214 dev_name(&dev->dev), im_protocols, tm_protocols); nfc_start_poll() 216 if (!im_protocols && !tm_protocols) nfc_start_poll() 236 rc = dev->ops->start_poll(dev, im_protocols, tm_protocols); nfc_start_poll()
|
H A D | netlink.c | 786 u32 im_protocols = 0, tm_protocols = 0; nfc_genl_start_poll() local 802 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_IM_PROTOCOLS]); nfc_genl_start_poll() 804 im_protocols = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]); nfc_genl_start_poll() 812 rc = nfc_start_poll(dev, im_protocols, tm_protocols); nfc_genl_start_poll()
|
/linux-4.1.27/include/net/nfc/ |
H A D | hci.h | 39 u32 im_protocols, u32 tm_protocols);
|
H A D | nfc.h | 63 u32 im_protocols, u32 tm_protocols);
|
/linux-4.1.27/net/nfc/hci/ |
H A D | core.c | 629 u32 im_protocols, u32 tm_protocols) hci_start_poll() 634 return hdev->ops->start_poll(hdev, im_protocols, tm_protocols); hci_start_poll() 628 hci_start_poll(struct nfc_dev *nfc_dev, u32 im_protocols, u32 tm_protocols) hci_start_poll() argument
|