#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/delay.h>
#include <linux/mm.h>
#include <linux/time.h>
#include <linux/list.h>
#include <linux/semaphore.h>
#include "omap_dmm_tiler.h"
#include "omap_dmm_priv.h"
Go to the source code of this file.
|
int | tiler_pin (struct tiler_block *block, struct page **pages, uint32_t npages, uint32_t roll, bool wait) |
|
int | tiler_unpin (struct tiler_block *block) |
|
struct tiler_block * | tiler_reserve_2d (enum tiler_fmt fmt, uint16_t w, uint16_t h, uint16_t align) |
|
struct tiler_block * | tiler_reserve_1d (size_t size) |
|
int | tiler_release (struct tiler_block *block) |
|
dma_addr_t | tiler_ssptr (struct tiler_block *block) |
|
dma_addr_t | tiler_tsptr (struct tiler_block *block, uint32_t orient, uint32_t x, uint32_t y) |
|
void | tiler_align (enum tiler_fmt fmt, uint16_t *w, uint16_t *h) |
|
uint32_t | tiler_stride (enum tiler_fmt fmt, uint32_t orient) |
|
size_t | tiler_size (enum tiler_fmt fmt, uint16_t w, uint16_t h) |
|
size_t | tiler_vsize (enum tiler_fmt fmt, uint16_t w, uint16_t h) |
|
bool | dmm_is_initialized (void) |
|
| MODULE_LICENSE ("GPL v2") |
|
| MODULE_AUTHOR ("Andy Gross <[email protected]>") |
|
| MODULE_DESCRIPTION ("OMAP DMM/Tiler Driver") |
|
| MODULE_ALIAS ("platform:"DMM_DRIVER_NAME) |
|
#define DMM_DRIVER_NAME "dmm" |
#define GEOM |
( |
|
xshift, |
|
|
|
yshift, |
|
|
|
bytes_per_pixel |
|
) |
| |
Value:{ \
.x_shft = (xshift), \
.cpp = (bytes_per_pixel), \
}
Definition at line 47 of file omap_dmm_tiler.c.
MODULE_ALIAS |
( |
"platform:" |
DMM_DRIVER_NAME | ) |
|
MODULE_DESCRIPTION |
( |
"OMAP DMM/Tiler Driver" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
Initial value:= {
.probe = omap_dmm_probe,
.remove = omap_dmm_remove,
.driver = {
},
}
Definition at line 900 of file omap_dmm_tiler.c.