Home
last modified time | relevance | path

Searched refs:nfc_spi_dev (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/nfc/st95hf/
H A Dcore.c1068 static int st95hf_probe(struct spi_device *nfc_spi_dev) in st95hf_probe() argument
1075 nfc_info(&nfc_spi_dev->dev, "ST95HF driver probe called.\n"); in st95hf_probe()
1077 st95context = devm_kzalloc(&nfc_spi_dev->dev, in st95hf_probe()
1085 spicontext->spidev = nfc_spi_dev; in st95hf_probe()
1090 if (device_property_present(&nfc_spi_dev->dev, "st95hfvin")) { in st95hf_probe()
1092 devm_regulator_get(&nfc_spi_dev->dev, in st95hf_probe()
1095 dev_err(&nfc_spi_dev->dev, "failed to acquire regulator\n"); in st95hf_probe()
1101 dev_err(&nfc_spi_dev->dev, "failed to enable regulator\n"); in st95hf_probe()
1113 dev_set_drvdata(&nfc_spi_dev->dev, spicontext); in st95hf_probe()
1116 of_get_named_gpio(nfc_spi_dev in st95hf_probe()
1205 st95hf_remove(struct spi_device *nfc_spi_dev) st95hf_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/nfc/st95hf/
H A Dcore.c1064 static int st95hf_probe(struct spi_device *nfc_spi_dev) in st95hf_probe() argument
1071 nfc_info(&nfc_spi_dev->dev, "ST95HF driver probe called.\n"); in st95hf_probe()
1073 st95context = devm_kzalloc(&nfc_spi_dev->dev, in st95hf_probe()
1081 spicontext->spidev = nfc_spi_dev; in st95hf_probe()
1086 if (device_property_present(&nfc_spi_dev->dev, "st95hfvin")) { in st95hf_probe()
1088 devm_regulator_get(&nfc_spi_dev->dev, in st95hf_probe()
1091 dev_err(&nfc_spi_dev->dev, "failed to acquire regulator\n"); in st95hf_probe()
1097 dev_err(&nfc_spi_dev->dev, "failed to enable regulator\n"); in st95hf_probe()
1109 dev_set_drvdata(&nfc_spi_dev->dev, spicontext); in st95hf_probe()
1112 of_get_named_gpio(nfc_spi_dev in st95hf_probe()
1201 st95hf_remove(struct spi_device *nfc_spi_dev) st95hf_remove() argument
[all...]

Completed in 4 milliseconds