mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
fc9499e55a
* Package version: T713XXU2BQCO Change-Id: I293d9e7f2df458c512d59b7a06f8ca6add610c99
34 lines
951 B
C
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
|