Home
last modified time | relevance | path

Searched +full:ese +full:- +full:present (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/net/nfc/
Dst,st-nci.yaml1 # 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 …]
Dst,st21nfca.yaml1 # 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:
22 Specifies that an ese is physically connected to the controller
30 uicc-present:
37 - compatible
[all …]
/Linux-v6.1/drivers/nfc/st21nfca/
Dse.c1 // SPDX-License-Identifier: GPL-2.0-only
43 /* If TA is present bit 0 is set */
45 /* If TB is present bit 1 is set */
56 td = ST21NFCA_ATR_GET_Y_FROM_TD(info->se_info.atr[i]); in st21nfca_se_get_bwi()
61 return info->se_info.atr[i] >> 4; in st21nfca_se_get_bwi()
78 if (skb->len <= ST21NFCA_ESE_MAX_LENGTH) { in st21nfca_se_get_atr()
79 memcpy(info->se_info.atr, skb->data, skb->len); in st21nfca_se_get_atr()
80 info->se_info.wt_timeout = in st21nfca_se_get_atr()
100 info->se_info.count_pipes = 0; in st21nfca_hci_control_se()
101 info->se_info.expected_pipes = ST21NFCA_SE_COUNT_PIPE_UICC; in st21nfca_hci_control_se()
[all …]
Di2c.c1 // 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 …]
Dcore.c1 // 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 …]
/Linux-v6.1/drivers/nfc/st-nci/
Dse.c1 // 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 …]
Di2c.c1 // 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 …]
Dspi.c1 // 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 …]
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_isr.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2014 QLogic Corporation
13 #include <linux/t10-pi.h>
18 #include <linux/nvme-fc-driver.h>
37 void *pkt = &item->iocb; in qla27xx_process_purex_fpin()
38 uint16_t pkt_size = item->size; in qla27xx_process_purex_fpin()
44 "-------- ELS REQ -------\n"); in qla27xx_process_purex_fpin()
48 fc_host_fpin_rcv(vha->host, pkt_size, (char *)pkt); in qla27xx_process_purex_fpin()
63 (struct abts_entry_24xx *)&pkt->iocb; in qla24xx_process_abts()
64 struct qla_hw_data *ha = vha->hw; in qla24xx_process_abts()
[all …]
/Linux-v6.1/drivers/s390/block/
Ddasd_devmap.c1 // SPDX-License-Identifier: GPL-2.0
12 * dasd_get_device is a no-no from interrupt context.
57 * <devno> : (0x)?[0-9a-fA-F]+
58 * <busid> : [0-0a-f]\.[0-9a-f]\.(0x)?[0-9a-fA-F]+
61 * <devno-range> : <devno>(-<devno>)?<feature_list>?
62 * <busid-range> : <busid>(-<busid>)?<feature_list>?
63 * <devices> : <devno-range>|<busid-range>
142 return -EINVAL; in dasd_busid()
155 return -EINVAL; in dasd_busid()
163 return -EINVAL; in dasd_busid()
[all …]