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