Example #1
0
MDNIE_STORE(tune_normal_outdoor);
MDNIE_STORE(tune_warm);
MDNIE_STORE(tune_warm_outdoor);

MDNIE_STORE(tune_negative);
#ifdef CONFIG_FB_MDNIE_PWM
MDNIE_STORE(tune_negative_cabc);
#endif
MDNIE_STORE(tune_color_tone_1);
MDNIE_STORE(tune_color_tone_2);
MDNIE_STORE(tune_color_tone_3);

#define MDNIE_ATTR(name) &dev_attr_##name.attr,

static struct attribute *mdniesysfs_attributes[] = {
MDNIE_ATTR(tune_dynamic_gallery)
MDNIE_ATTR(tune_dynamic_ui)
MDNIE_ATTR(tune_dynamic_video)
MDNIE_ATTR(tune_dynamic_vt)
MDNIE_ATTR(tune_movie_gallery)
MDNIE_ATTR(tune_movie_ui)
MDNIE_ATTR(tune_movie_video)
MDNIE_ATTR(tune_movie_vt)
MDNIE_ATTR(tune_standard_gallery)
MDNIE_ATTR(tune_standard_ui)
MDNIE_ATTR(tune_standard_video)
MDNIE_ATTR(tune_standard_vt)
MDNIE_ATTR(tune_natural_gallery)
MDNIE_ATTR(tune_natural_ui)
MDNIE_ATTR(tune_natural_video)
MDNIE_ATTR(tune_natural_vt)
Example #2
0
MDNIE_STORE(tune_natural_ebook);

MDNIE_STORE(tune_camera);

MDNIE_STORE(tune_negative);
#ifdef CONFIG_FB_MDNIE_PWM
MDNIE_STORE(tune_negative_cabc);
#endif
MDNIE_STORE(tune_color_tone_1);
MDNIE_STORE(tune_color_tone_2);
MDNIE_STORE(tune_color_tone_3);

#define MDNIE_ATTR(name) &dev_attr_##name.attr,

static struct attribute *mdniesysfs_attributes[] = {
MDNIE_ATTR(tune_dynamic_gallery)
MDNIE_ATTR(tune_dynamic_ui)
MDNIE_ATTR(tune_dynamic_video)
MDNIE_ATTR(tune_dynamic_vt)
MDNIE_ATTR(tune_dynamic_browser)
MDNIE_ATTR(tune_dynamic_ebook)

MDNIE_ATTR(tune_movie_gallery)
MDNIE_ATTR(tune_movie_ui)
MDNIE_ATTR(tune_movie_video)
MDNIE_ATTR(tune_movie_vt)
MDNIE_ATTR(tune_movie_browser)
MDNIE_ATTR(tune_movie_ebook)

MDNIE_ATTR(tune_standard_gallery)
MDNIE_ATTR(tune_standard_ui)