Searched refs:se_idx (Results 1 – 5 of 5) sorted by relevance
/drivers/nfc/st21nfca/ |
D | se.c | 99 static int st21nfca_hci_control_se(struct nfc_hci_dev *hdev, u32 se_idx, in st21nfca_hci_control_se() argument 107 switch (se_idx) { in st21nfca_hci_control_se() 152 sk_host_list->data[i] != se_idx; i++) in st21nfca_hci_control_se() 157 if (state == ST21NFCA_SE_MODE_ON && host_id == se_idx) in st21nfca_hci_control_se() 158 return se_idx; in st21nfca_hci_control_se() 159 else if (state == ST21NFCA_SE_MODE_OFF && host_id != se_idx) in st21nfca_hci_control_se() 160 return se_idx; in st21nfca_hci_control_se() 187 int st21nfca_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) in st21nfca_hci_enable_se() argument 196 r = st21nfca_hci_control_se(hdev, se_idx, ST21NFCA_SE_MODE_ON); in st21nfca_hci_enable_se() 208 nfc_remove_se(hdev->ndev, se_idx); in st21nfca_hci_enable_se() [all …]
|
D | st21nfca.h | 198 int st21nfca_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx); 199 int st21nfca_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx); 200 int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx,
|
/drivers/nfc/st-nci/ |
D | se.c | 424 static int st_nci_control_se(struct nci_dev *ndev, u8 se_idx, in st_nci_control_se() argument 432 switch (se_idx) { in st_nci_control_se() 450 r = nci_nfcee_mode_set(ndev, se_idx, state); in st_nci_control_se() 476 sk_host_list->data[i] != se_idx; i++) in st_nci_control_se() 480 if (state == ST_NCI_SE_MODE_ON && host_id == se_idx) in st_nci_control_se() 481 return se_idx; in st_nci_control_se() 482 else if (state == ST_NCI_SE_MODE_OFF && host_id != se_idx) in st_nci_control_se() 483 return se_idx; in st_nci_control_se() 488 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx) in st_nci_disable_se() argument 499 r = st_nci_control_se(ndev, se_idx, ST_NCI_SE_MODE_OFF); in st_nci_disable_se() [all …]
|
D | st-nci.h | 148 int st_nci_enable_se(struct nci_dev *ndev, u32 se_idx); 149 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx); 150 int st_nci_se_io(struct nci_dev *ndev, u32 se_idx,
|
/drivers/nfc/pn544/ |
D | pn544.c | 795 u32 se_idx = 0; in pn544_hci_discover_se() local 805 nfc_add_se(hdev->ndev, se_idx++, NFC_SE_UICC); in pn544_hci_discover_se() 814 nfc_add_se(hdev->ndev, se_idx++, NFC_SE_EMBEDDED); in pn544_hci_discover_se() 816 return !se_idx; in pn544_hci_discover_se() 821 static int pn544_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) in pn544_hci_enable_se() argument 840 se = nfc_find_se(hdev->ndev, se_idx); in pn544_hci_enable_se() 876 static int pn544_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx) in pn544_hci_disable_se() argument 881 se = nfc_find_se(hdev->ndev, se_idx); in pn544_hci_disable_se()
|