lin
2025-04-14 e0c033f30287744d392a8d700693b1c0b78afc7c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Allwinner SoCs bootGUI.
 *
 * Copyright (C) 2017 Allwinner.
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2.  This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */
 
#ifndef __VIDEO_MISC_HAL_H__
#define __VIDEO_MISC_HAL_H__
 
int get_disp_fdt_node(void);
void disp_getprop_by_name(int node, const char *name,
   unsigned int *value, unsigned int defval);
int hal_save_int_to_kernel(char *name, int value);
int hal_save_string_to_kernel(char *name, char *str);
int hal_get_disp_device_config(int type, void *config);
int hal_save_disp_device_config_to_kernel(int disp, void *from);
 
int hal_fat_fsload(char *part_name, char *file_name,
   char *load_addr, unsigned long length);
 
#endif /* #ifndef __VIDEO_MISC_HAL_H__ */