#include "fbtft.h"
#include "internal.h"
static int get_next_ulong(char **str_p, unsigned long *val, char *sep, int base)
{ … }
int fbtft_gamma_parse_str(struct fbtft_par *par, u32 *curves,
const char *str, int size)
{ … }
static ssize_t
sprintf_gamma(struct fbtft_par *par, u32 *curves, char *buf)
{ … }
static ssize_t store_gamma_curve(struct device *device,
struct device_attribute *attr,
const char *buf, size_t count)
{ … }
static ssize_t show_gamma_curve(struct device *device,
struct device_attribute *attr, char *buf)
{ … }
static struct device_attribute gamma_device_attrs[] = …;
void fbtft_expand_debug_value(unsigned long *debug)
{ … }
static ssize_t store_debug(struct device *device,
struct device_attribute *attr,
const char *buf, size_t count)
{ … }
static ssize_t show_debug(struct device *device,
struct device_attribute *attr, char *buf)
{ … }
static struct device_attribute debug_device_attr = …;
void fbtft_sysfs_init(struct fbtft_par *par)
{ … }
void fbtft_sysfs_exit(struct fbtft_par *par)
{ … }