Rafal Jaworowski | 500856e | 2008-01-09 19:39:36 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2007 Semihalf |
| 3 | * |
| 4 | * Written by: Rafal Jaworowski <raj@semihalf.com> |
| 5 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
Rafal Jaworowski | 500856e | 2008-01-09 19:39:36 +0100 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef _API_PRIVATE_H_ |
| 10 | #define _API_PRIVATE_H_ |
| 11 | |
| 12 | void api_init(void); |
| 13 | void platform_set_mr(struct sys_info *, unsigned long, unsigned long, int); |
| 14 | int platform_sys_info(struct sys_info *); |
| 15 | |
| 16 | void dev_enum_reset(void); |
| 17 | int dev_enum_storage(struct device_info *); |
| 18 | int dev_enum_net(struct device_info *); |
| 19 | |
| 20 | int dev_open_stor(void *); |
| 21 | int dev_open_net(void *); |
| 22 | int dev_close_stor(void *); |
| 23 | int dev_close_net(void *); |
| 24 | |
| 25 | lbasize_t dev_read_stor(void *, void *, lbasize_t, lbastart_t); |
| 26 | int dev_read_net(void *, void *, int); |
| 27 | int dev_write_net(void *, void *, int); |
| 28 | |
| 29 | void dev_stor_init(void); |
| 30 | |
Che-Liang Chiou | a2a5729 | 2011-10-20 23:04:22 +0000 | [diff] [blame] | 31 | int display_get_info(int type, struct display_info *di); |
| 32 | int display_draw_bitmap(ulong bitmap, int x, int y); |
| 33 | void display_clear(void); |
| 34 | |
Rafal Jaworowski | 500856e | 2008-01-09 19:39:36 +0100 | [diff] [blame] | 35 | #endif /* _API_PRIVATE_H_ */ |