Lines Matching refs:se_idx
86 static int st21nfca_hci_control_se(struct nfc_hci_dev *hdev, u32 se_idx, in st21nfca_hci_control_se() argument
94 switch (se_idx) { in st21nfca_hci_control_se()
139 sk_host_list->data[i] != se_idx; i++) in st21nfca_hci_control_se()
144 if (state == ST21NFCA_SE_MODE_ON && host_id == se_idx) in st21nfca_hci_control_se()
145 return se_idx; in st21nfca_hci_control_se()
146 else if (state == ST21NFCA_SE_MODE_OFF && host_id != se_idx) in st21nfca_hci_control_se()
147 return se_idx; in st21nfca_hci_control_se()
174 int st21nfca_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) in st21nfca_hci_enable_se() argument
183 r = st21nfca_hci_control_se(hdev, se_idx, ST21NFCA_SE_MODE_ON); in st21nfca_hci_enable_se()
195 nfc_remove_se(hdev->ndev, se_idx); in st21nfca_hci_enable_se()
203 int st21nfca_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx) in st21nfca_hci_disable_se() argument
212 r = st21nfca_hci_control_se(hdev, se_idx, ST21NFCA_SE_MODE_OFF); in st21nfca_hci_disable_se()
220 int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx, in st21nfca_hci_se_io() argument
226 pr_debug("se_io %x\n", se_idx); in st21nfca_hci_se_io()
228 switch (se_idx) { in st21nfca_hci_se_io()