drivers: Use new drivers_api.h in drivers
This commit is contained in:
parent
0930f2614c
commit
19dfb138a6
22 changed files with 22 additions and 22 deletions
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes1610"
|
#define FP_COMPONENT "aes1610"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
|
|
||||||
static void start_capture(struct fp_img_dev *dev);
|
static void start_capture(struct fp_img_dev *dev);
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes1660"
|
#define FP_COMPONENT "aes1660"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "aesx660.h"
|
#include "aesx660.h"
|
||||||
#include "aes1660.h"
|
#include "aes1660.h"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes2501"
|
#define FP_COMPONENT "aes2501"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "aes2501.h"
|
#include "aes2501.h"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes2550"
|
#define FP_COMPONENT "aes2550"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aes2550.h"
|
#include "aes2550.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes2660"
|
#define FP_COMPONENT "aes2660"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "aesx660.h"
|
#include "aesx660.h"
|
||||||
#include "aes2660.h"
|
#include "aes2660.h"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes3500"
|
#define FP_COMPONENT "aes3500"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "aes3k.h"
|
#include "aes3k.h"
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes3k"
|
#define FP_COMPONENT "aes3k"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "aes3k.h"
|
#include "aes3k.h"
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aes4000"
|
#define FP_COMPONENT "aes4000"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "aes3k.h"
|
#include "aes3k.h"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "aesX660"
|
#define FP_COMPONENT "aesX660"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "aesx660.h"
|
#include "aesx660.h"
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "elan"
|
#define FP_COMPONENT "elan"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "elan.h"
|
#include "elan.h"
|
||||||
|
|
||||||
unsigned char elan_get_pixel(struct fpi_frame_asmbl_ctx *ctx,
|
unsigned char elan_get_pixel(struct fpi_frame_asmbl_ctx *ctx,
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "etes603"
|
#define FP_COMPONENT "etes603"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "driver_ids.h"
|
#include "driver_ids.h"
|
||||||
|
|
||||||
/* libusb defines */
|
/* libusb defines */
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "fdu2000"
|
#define FP_COMPONENT "fdu2000"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
|
|
||||||
#ifndef HAVE_MEMMEM
|
#ifndef HAVE_MEMMEM
|
||||||
gpointer
|
gpointer
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "upeksonly"
|
#define FP_COMPONENT "upeksonly"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "upeksonly.h"
|
#include "upeksonly.h"
|
||||||
|
|
||||||
#define CTRL_TIMEOUT 1000
|
#define CTRL_TIMEOUT 1000
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "upektc"
|
#define FP_COMPONENT "upektc"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "upektc.h"
|
#include "upektc.h"
|
||||||
|
|
||||||
#define UPEKTC_EP_IN (2 | LIBUSB_ENDPOINT_IN)
|
#define UPEKTC_EP_IN (2 | LIBUSB_ENDPOINT_IN)
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "upektc_img"
|
#define FP_COMPONENT "upektc_img"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "aeslib.h"
|
#include "aeslib.h"
|
||||||
#include "upektc_img.h"
|
#include "upektc_img.h"
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "upekts"
|
#define FP_COMPONENT "upekts"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
|
|
||||||
#define EP_IN (1 | LIBUSB_ENDPOINT_IN)
|
#define EP_IN (1 | LIBUSB_ENDPOINT_IN)
|
||||||
#define EP_OUT (2 | LIBUSB_ENDPOINT_OUT)
|
#define EP_OUT (2 | LIBUSB_ENDPOINT_OUT)
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <nss.h>
|
#include <nss.h>
|
||||||
#include <pk11pub.h>
|
#include <pk11pub.h>
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
|
|
||||||
#define EP_INTR (1 | LIBUSB_ENDPOINT_IN)
|
#define EP_INTR (1 | LIBUSB_ENDPOINT_IN)
|
||||||
#define EP_DATA (2 | LIBUSB_ENDPOINT_IN)
|
#define EP_DATA (2 | LIBUSB_ENDPOINT_IN)
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "vcom5s"
|
#define FP_COMPONENT "vcom5s"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
|
|
||||||
/* TODO:
|
/* TODO:
|
||||||
* calibration?
|
* calibration?
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "vfs0050"
|
#define FP_COMPONENT "vfs0050"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "vfs0050.h"
|
#include "vfs0050.h"
|
||||||
|
|
||||||
/* USB functions */
|
/* USB functions */
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "vfs101"
|
#define FP_COMPONENT "vfs101"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
|
|
||||||
/* Input-Output usb endpoint */
|
/* Input-Output usb endpoint */
|
||||||
#define EP_IN(n) (n | LIBUSB_ENDPOINT_IN)
|
#define EP_IN(n) (n | LIBUSB_ENDPOINT_IN)
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#define FP_COMPONENT "vfs301"
|
#define FP_COMPONENT "vfs301"
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "vfs301_proto.h"
|
#include "vfs301_proto.h"
|
||||||
|
|
||||||
/************************** GENERIC STUFF *************************************/
|
/************************** GENERIC STUFF *************************************/
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "fp_internal.h"
|
#include "drivers_api.h"
|
||||||
#include "vfs5011_proto.h"
|
#include "vfs5011_proto.h"
|
||||||
|
|
||||||
/* =================== sync/async USB transfer sequence ==================== */
|
/* =================== sync/async USB transfer sequence ==================== */
|
||||||
|
|
Loading…
Reference in a new issue