X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Fs3c24xx%2Ffiles-2.6.31%2Finclude%2Flinux%2Ftouchscreen%2Fts_filter.h;fp=target%2Flinux%2Fs3c24xx%2Ffiles-2.6.31%2Finclude%2Flinux%2Ftouchscreen%2Fts_filter.h;h=0000000000000000000000000000000000000000;hp=aac1e028d0b62db6f010635e0df4985515f75d62;hb=882e36ca7f56ba2427d7f2791b26501f2e4669f4;hpb=851d953350108e427064a344da1407c96621fdf8 diff --git a/target/linux/s3c24xx/files-2.6.31/include/linux/touchscreen/ts_filter.h b/target/linux/s3c24xx/files-2.6.31/include/linux/touchscreen/ts_filter.h deleted file mode 100644 index aac1e028d0..0000000000 --- a/target/linux/s3c24xx/files-2.6.31/include/linux/touchscreen/ts_filter.h +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef __TS_FILTER_H__ -#define __TS_FILTER_H__ - -/* - * Touchscreen filter. - * - * (c) 2008,2009 Andy Green - */ - -#include - -#define MAX_TS_FILTER_COORDS 3 /* X, Y and Z (pressure). */ - -struct ts_filter; -struct ts_filter_configuration; - -/* Operations that a filter can perform. */ - -struct ts_filter_api { - /* Create the filter - mandatory. */ - struct ts_filter * (*create)( - struct platform_device *pdev, - const struct ts_filter_configuration *config, - int count_coords); - /* Destroy the filter - mandatory. */ - void (*destroy)(struct ts_filter *filter); - /* Clear the filter - optional. */ - void (*clear)(struct ts_filter *filter); - - - /* - * The next three API functions only make sense if all of them are - * set for a filter. If a filter has the next three methods then - * it can propagate coordinates in the chain. - */ - - /* - * Process the filter. - * It returns non-zero if the filter reaches an error. - */ - int (*process)(struct ts_filter *filter, int *coords); - /* - * Is the filter ready to return a point? - * Please do not code side effects in this function. - */ - int (*haspoint)(struct ts_filter *filter); - /* - * Get a point. - * Do not call unless the filter actually has a point to deliver. - */ - void (*getpoint)(struct ts_filter *filter, int *coords); - - /* - * Scale the points - optional. - * A filter could only scale coordinates. - */ - void (*scale)(struct ts_filter *filter, int *coords); -}; - -/* - * Generic filter configuration. Actual configurations have this structure - * as a member. - */ -struct ts_filter_configuration { -}; - -struct ts_filter { - /* Operations for this filter. */ - const struct ts_filter_api *api; - /* Number of coordinates to process. */ - int count_coords; -}; - -#endif