diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-04-06 11:11:25 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-04-06 11:11:25 +0200 |
commit | 1824f16fd3633ea156a90926db7fca2606481346 (patch) | |
tree | 428667dbccfe0fdf8d33bee5a18e8cf1aa0b7767 /drivers/video/b2r2/b2r2_control.h | |
parent | 453e007c74a011b84260aab6c28250635de2e322 (diff) | |
parent | f7d8ac55db0b41ed64c4cd37f5d51bbd5bb8e776 (diff) |
Merge topic branch 'video' into integration-linux-ux500-3.3
Diffstat (limited to 'drivers/video/b2r2/b2r2_control.h')
-rw-r--r-- | drivers/video/b2r2/b2r2_control.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/video/b2r2/b2r2_control.h b/drivers/video/b2r2/b2r2_control.h new file mode 100644 index 00000000000..d13d2188618 --- /dev/null +++ b/drivers/video/b2r2/b2r2_control.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) ST-Ericsson SA 2012 + * + * ST-Ericsson B2R2 internal definitions + * + * Author: Jorgen Nilsson <jorgen.nilsson@stericsson.com> + * for ST-Ericsson. + * + * License terms: GNU General Public License (GPL), version 2. + */ + +#ifndef _LINUX_DRIVERS_VIDEO_B2R2_CONTROL_H_ +#define _LINUX_DRIVERS_VIDEO_B2R2_CONTROL_H_ + +#include "b2r2_internal.h" + +int b2r2_control_init(struct b2r2_control *cont); +void b2r2_control_exit(struct b2r2_control *cont); +int b2r2_control_open(struct b2r2_control_instance *instance); +int b2r2_control_release(struct b2r2_control_instance *instance); + +int b2r2_control_blt(struct b2r2_blt_request *request); +int b2r2_generic_blt(struct b2r2_blt_request *request); +int b2r2_control_waitjob(struct b2r2_blt_request *request); +int b2r2_control_synch(struct b2r2_control_instance *instance, + int request_id); +size_t b2r2_control_read(struct b2r2_control_instance *instance, + struct b2r2_blt_request **request_out, bool block); +size_t b2r2_control_read_id(struct b2r2_control_instance *instance, + struct b2r2_blt_request **request_out, bool block, + int request_id); + +#endif |