Searched +full:uicc +full:- +full:present (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/Documentation/devicetree/bindings/net/nfc/ |
D | st,st-nci.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/nfc/st,st-nci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 15 - st,st21nfcb-i2c 16 - st,st21nfcb-spi 17 - st,st21nfcc-i2c 19 reset-gpios: 22 ese-present: [all …]
|
D | st,st21nfca.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 const: st,st21nfca-i2c 16 enable-gpios: 19 ese-present: 30 uicc-present: 33 Specifies that the uicc swp signal can be physically connected to the 37 - compatible [all …]
|
/Linux-v6.1/drivers/nfc/st-nci/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. 18 #include "st-nci.h" 47 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_i2c_enable() 49 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_i2c_enable() 52 if (phy->ndlc->powered == 0 && phy->irq_active == 0) { in st_nci_i2c_enable() 53 enable_irq(phy->i2c_dev->irq); in st_nci_i2c_enable() 54 phy->irq_active = true; in st_nci_i2c_enable() 64 disable_irq_nosync(phy->i2c_dev->irq); in st_nci_i2c_disable() 65 phy->irq_active = false; in st_nci_i2c_disable() [all …]
|
D | spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. 19 #include "st-nci.h" 48 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_spi_enable() 50 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_spi_enable() 53 if (phy->ndlc->powered == 0 && phy->irq_active == 0) { in st_nci_spi_enable() 54 enable_irq(phy->spi_dev->irq); in st_nci_spi_enable() 55 phy->irq_active = true; in st_nci_spi_enable() 65 disable_irq_nosync(phy->spi_dev->irq); in st_nci_spi_disable() 66 phy->irq_active = false; in st_nci_spi_disable() [all …]
|
D | se.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved. 14 #include "st-nci.h" 45 #define ST_NCI_EVT_HOT_PLUG_IS_INHIBITED(x) (x->data[0] & 0x80) 85 /* If TA is present bit 0 is set */ 87 /* If TB is present bit 1 is set */ 121 td = ST_NCI_ATR_GET_Y_FROM_TD(info->se_info.atr[i]); in st_nci_se_get_bwi() 126 return info->se_info.atr[i] >> 4; in st_nci_se_get_bwi() 143 if (skb->len <= ST_NCI_ESE_MAX_LENGTH) { in st_nci_se_get_atr() 144 memcpy(info->se_info.atr, skb->data, skb->len); in st_nci_se_get_atr() [all …]
|
/Linux-v6.1/drivers/nfc/st21nfca/ |
D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/crc-ccitt.h> 33 * - insert ST21NFCA_ESCAPE_BYTE_STUFFING (escape byte) 34 * - xor byte with ST21NFCA_BYTE_STUFFING_MASK 84 16, 1, (skb)->data, (skb)->len, 0); \ 98 int i, r = -1; in st21nfca_hci_platform_init() 101 r = i2c_master_send(phy->i2c_dev, reboot_cmd, in st21nfca_hci_platform_init() 111 r = -1; in st21nfca_hci_platform_init() 113 r = i2c_master_recv(phy->i2c_dev, tmp, in st21nfca_hci_platform_init() 126 return -ENODEV; in st21nfca_hci_platform_init() [all …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * Reader gate for communication with contact-less cards using Type A 28 * protocol ISO14443-3 but not compliant with ISO14443-4 68 #define ST21NFCA_EVT_HOT_PLUG_IS_INHIBITED(x) (x->data[0] & 0x80) 121 * - It does useless EEPROM cycling in st21nfca_hci_load_session() 122 * - It might cause issue for secure elements support in st21nfca_hci_load_session() 125 * - get a pipe list for each host. in st21nfca_hci_load_session() 127 * (TODO Later on UICC HOST and eSE HOST) in st21nfca_hci_load_session() 128 * - get pipe information in st21nfca_hci_load_session() 129 * - match retrieved pipe list in st21nfca_gates in st21nfca_hci_load_session() [all …]
|