android_kernel_samsung_msm8976/drivers/sensorhub/stm/ssp_sysfs.h
LuK1337 fc9499e55a Import latest Samsung release
* Package version: T713XXU2BQCO

Change-Id: I293d9e7f2df458c512d59b7a06f8ca6add610c99
2017-04-18 03:43:52 +02:00

34 lines
951 B
C

/*
* Copyright (C) 2015, Samsung Electronics Co. Ltd. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef __SSP_SYSFS_H__
#define __SSP_SYSFS_H__
#include <linux/math64.h>
#include "ssp.h"
#define BATCH_IOCTL_MAGIC 0xFC
enum {
SENSORS_BATCH_DRY_RUN = 0x00000001,
SENSORS_BATCH_WAKE_UPON_FIFO_FULL = 0x00000002
};
int get_msdelay(int64_t dDelayRate);
int initialize_sysfs(struct ssp_data *data);
void remove_sysfs(struct ssp_data *data);
#endif