blob: 8d97ca95a2a4eaf86314e5e5b115800b61c15145 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Rafal Jaworowskia19be782008-01-09 19:39:36 +01002/*
3 * (C) Copyright 2007 Semihalf
4 *
5 * Written by: Rafal Jaworowski <raj@semihalf.com>
Rafal Jaworowskia19be782008-01-09 19:39:36 +01006 */
7
8#ifndef _API_PRIVATE_H_
9#define _API_PRIVATE_H_
10
11void api_init(void);
12void platform_set_mr(struct sys_info *, unsigned long, unsigned long, int);
13int platform_sys_info(struct sys_info *);
14
15void dev_enum_reset(void);
16int dev_enum_storage(struct device_info *);
17int dev_enum_net(struct device_info *);
18
19int dev_open_stor(void *);
20int dev_open_net(void *);
21int dev_close_stor(void *);
22int dev_close_net(void *);
23
24lbasize_t dev_read_stor(void *, void *, lbasize_t, lbastart_t);
25int dev_read_net(void *, void *, int);
26int dev_write_net(void *, void *, int);
27
28void dev_stor_init(void);
29
Che-Liang Chiou0d460412011-10-20 23:04:22 +000030int display_get_info(int type, struct display_info *di);
31int display_draw_bitmap(ulong bitmap, int x, int y);
32void display_clear(void);
33
Rafal Jaworowskia19be782008-01-09 19:39:36 +010034#endif /* _API_PRIVATE_H_ */