linux/drivers/staging/fbtft/fbtft-io.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/export.h>
#include <linux/errno.h>
#include <linux/gpio/consumer.h>
#include <linux/spi/spi.h>
#include "fbtft.h"

int fbtft_write_spi(struct fbtft_par *par, void *buf, size_t len)
{}
EXPORT_SYMBOL();

/**
 * fbtft_write_spi_emulate_9() - write SPI emulating 9-bit
 * @par: Driver data
 * @buf: Buffer to write
 * @len: Length of buffer (must be divisible by 8)
 *
 * When 9-bit SPI is not available, this function can be used to emulate that.
 * par->extra must hold a transformation buffer used for transfer.
 */
int fbtft_write_spi_emulate_9(struct fbtft_par *par, void *buf, size_t len)
{}
EXPORT_SYMBOL();

int fbtft_read_spi(struct fbtft_par *par, void *buf, size_t len)
{}
EXPORT_SYMBOL();

/*
 * Optimized use of gpiolib is twice as fast as no optimization
 * only one driver can use the optimized version at a time
 */
int fbtft_write_gpio8_wr(struct fbtft_par *par, void *buf, size_t len)
{}
EXPORT_SYMBOL();

int fbtft_write_gpio16_wr(struct fbtft_par *par, void *buf, size_t len)
{}
EXPORT_SYMBOL();

int fbtft_write_gpio16_wr_latched(struct fbtft_par *par, void *buf, size_t len)
{}
EXPORT_SYMBOL();