// SPDX-License-Identifier: GPL-2.0-only /* * ---------------------------------------------------------------------------- * drivers/nfc/st95hf/spi.c function definitions for SPI communication * ---------------------------------------------------------------------------- * Copyright (C) 2015 STMicroelectronics Pvt. Ltd. All rights reserved. */ #include "spi.h" /* Function to send user provided buffer to ST95HF through SPI */ int st95hf_spi_send(struct st95hf_spi_context *spicontext, unsigned char *buffertx, int datalen, enum req_type reqtype) { … } EXPORT_SYMBOL_GPL(…); /* Function to Receive command Response */ int st95hf_spi_recv_response(struct st95hf_spi_context *spicontext, unsigned char *receivebuff) { … } EXPORT_SYMBOL_GPL(…); int st95hf_spi_recv_echo_res(struct st95hf_spi_context *spicontext, unsigned char *receivebuff) { … } EXPORT_SYMBOL_GPL(…);