summaryrefstree
path: root/kernel/drivers/video/exynos/decon/panels/dsim_backlight.h
blob: b85e99fa145b35245edaded6be5e7b36c565e49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* linux/drivers/video/exynos_decon/panel/dsim_backlight.h
 *
 * Header file for Samsung MIPI-DSI Backlight driver.
 *
 * Copyright (c) 2013 Samsung Electronics
 * Minwoo Kim <minwoo7945.kim@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

#ifndef __DSIM_BACKLIGHT__
#define __DSIM_BACKLIGHT__

#include "../dsim.h"

int dsim_backlight_probe(struct dsim_device *dsim);
int dsim_panel_set_brightness(struct dsim_device *dsim, int force);
int dsim_panel_set_brightness_for_hmt(struct dsim_device *dsim, int force);
int get_acutal_br_index(struct dsim_device *dsim, int br);
unsigned int get_actual_br_value(struct dsim_device *dsim, int index);
#endif