Home
last modified time | relevance | path

Searched refs:se_idx (Results 1 – 8 of 8) sorted by relevance

/drivers/nfc/st21nfca/
Dse.c86 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()
[all …]
Dst21nfca.h187 int st21nfca_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx);
188 int st21nfca_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx);
189 int st21nfca_hci_se_io(struct nfc_hci_dev *hdev, u32 se_idx,
/drivers/nfc/st-nci/
Dse.c407 static int st_nci_control_se(struct nci_dev *ndev, u8 se_idx, in st_nci_control_se() argument
415 switch (se_idx) { in st_nci_control_se()
433 r = nci_nfcee_mode_set(ndev, se_idx, state); in st_nci_control_se()
459 sk_host_list->data[i] != se_idx; i++) in st_nci_control_se()
463 if (state == ST_NCI_SE_MODE_ON && host_id == se_idx) in st_nci_control_se()
464 return se_idx; in st_nci_control_se()
465 else if (state == ST_NCI_SE_MODE_OFF && host_id != se_idx) in st_nci_control_se()
466 return se_idx; in st_nci_control_se()
471 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx) in st_nci_disable_se() argument
482 r = st_nci_control_se(ndev, se_idx, ST_NCI_SE_MODE_OFF); in st_nci_disable_se()
[all …]
Dst-nci.h129 int st_nci_enable_se(struct nci_dev *ndev, u32 se_idx);
130 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx);
131 int st_nci_se_io(struct nci_dev *ndev, u32 se_idx,
/drivers/nfc/pn544/
Dpn544.c784 u32 se_idx = 0; in pn544_hci_discover_se() local
794 nfc_add_se(hdev->ndev, se_idx++, NFC_SE_UICC); in pn544_hci_discover_se()
803 nfc_add_se(hdev->ndev, se_idx++, NFC_SE_EMBEDDED); in pn544_hci_discover_se()
805 return !se_idx; in pn544_hci_discover_se()
810 static int pn544_hci_enable_se(struct nfc_hci_dev *hdev, u32 se_idx) in pn544_hci_enable_se() argument
829 se = nfc_find_se(hdev->ndev, se_idx); in pn544_hci_enable_se()
865 static int pn544_hci_disable_se(struct nfc_hci_dev *hdev, u32 se_idx) in pn544_hci_disable_se() argument
870 se = nfc_find_se(hdev->ndev, se_idx); in pn544_hci_disable_se()
/drivers/gpu/drm/amd/amdgpu/
Dcik.c1033 unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; in cik_get_register_value() local
1038 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in cik_get_register_value()
1040 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in cik_get_register_value()
1042 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in cik_get_register_value()
1044 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in cik_get_register_value()
Dvi.c557 unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; in vi_get_register_value() local
562 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in vi_get_register_value()
564 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in vi_get_register_value()
566 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in vi_get_register_value()
568 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config_1; in vi_get_register_value()
Dsi.c1023 unsigned se_idx = (se_num == 0xffffffff) ? 0 : se_num; in si_get_register_value() local
1028 return adev->gfx.config.rb_config[se_idx][sh_idx].rb_backend_disable; in si_get_register_value()
1030 return adev->gfx.config.rb_config[se_idx][sh_idx].user_rb_backend_disable; in si_get_register_value()
1032 return adev->gfx.config.rb_config[se_idx][sh_idx].raster_config; in si_get_register_value()