nfc_spi_dev 1068 drivers/nfc/st95hf/core.c static int st95hf_probe(struct spi_device *nfc_spi_dev) nfc_spi_dev 1075 drivers/nfc/st95hf/core.c nfc_info(&nfc_spi_dev->dev, "ST95HF driver probe called.\n"); nfc_spi_dev 1077 drivers/nfc/st95hf/core.c st95context = devm_kzalloc(&nfc_spi_dev->dev, nfc_spi_dev 1085 drivers/nfc/st95hf/core.c spicontext->spidev = nfc_spi_dev; nfc_spi_dev 1090 drivers/nfc/st95hf/core.c if (device_property_present(&nfc_spi_dev->dev, "st95hfvin")) { nfc_spi_dev 1092 drivers/nfc/st95hf/core.c devm_regulator_get(&nfc_spi_dev->dev, nfc_spi_dev 1095 drivers/nfc/st95hf/core.c dev_err(&nfc_spi_dev->dev, "failed to acquire regulator\n"); nfc_spi_dev 1101 drivers/nfc/st95hf/core.c dev_err(&nfc_spi_dev->dev, "failed to enable regulator\n"); nfc_spi_dev 1113 drivers/nfc/st95hf/core.c dev_set_drvdata(&nfc_spi_dev->dev, spicontext); nfc_spi_dev 1116 drivers/nfc/st95hf/core.c of_get_named_gpio(nfc_spi_dev->dev.of_node, nfc_spi_dev 1120 drivers/nfc/st95hf/core.c dev_err(&nfc_spi_dev->dev, "No valid enable gpio\n"); nfc_spi_dev 1125 drivers/nfc/st95hf/core.c ret = devm_gpio_request_one(&nfc_spi_dev->dev, st95context->enable_gpio, nfc_spi_dev 1131 drivers/nfc/st95hf/core.c if (nfc_spi_dev->irq > 0) { nfc_spi_dev 1132 drivers/nfc/st95hf/core.c if (devm_request_threaded_irq(&nfc_spi_dev->dev, nfc_spi_dev 1133 drivers/nfc/st95hf/core.c nfc_spi_dev->irq, nfc_spi_dev 1139 drivers/nfc/st95hf/core.c dev_err(&nfc_spi_dev->dev, "err: irq request for st95hf is failed\n"); nfc_spi_dev 1144 drivers/nfc/st95hf/core.c dev_err(&nfc_spi_dev->dev, "not a valid IRQ associated with ST95HF\n"); nfc_spi_dev 1157 drivers/nfc/st95hf/core.c dev_err(&nfc_spi_dev->dev, "err: spi_reset_sequence failed\n"); nfc_spi_dev 1164 drivers/nfc/st95hf/core.c dev_err(&nfc_spi_dev->dev, "err: por seq failed for st95hf\n"); nfc_spi_dev 1180 drivers/nfc/st95hf/core.c nfc_digital_set_parent_dev(st95context->ddev, &nfc_spi_dev->dev); nfc_spi_dev 1205 drivers/nfc/st95hf/core.c static int st95hf_remove(struct spi_device *nfc_spi_dev) nfc_spi_dev 1209 drivers/nfc/st95hf/core.c struct st95hf_spi_context *spictx = dev_get_drvdata(&nfc_spi_dev->dev);