#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/math64.h>
#include <linux/module.h>
#include <linux/iio/common/inv_sensors_timestamp.h>
#define INV_SENSORS_TIMESTAMP_JITTER(_val, _jitter) …
#define INV_SENSORS_TIMESTAMP_MIN(_val, _jitter) …
#define INV_SENSORS_TIMESTAMP_MAX(_val, _jitter) …
static void inv_update_acc(struct inv_sensors_timestamp_acc *acc, uint32_t val)
{ … }
void inv_sensors_timestamp_init(struct inv_sensors_timestamp *ts,
const struct inv_sensors_timestamp_chip *chip)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int inv_sensors_timestamp_update_odr(struct inv_sensors_timestamp *ts,
uint32_t period, bool fifo)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
static bool inv_validate_period(struct inv_sensors_timestamp *ts, uint32_t period)
{ … }
static bool inv_update_chip_period(struct inv_sensors_timestamp *ts,
uint32_t period)
{ … }
static void inv_align_timestamp_it(struct inv_sensors_timestamp *ts)
{ … }
void inv_sensors_timestamp_interrupt(struct inv_sensors_timestamp *ts,
size_t sample_nb, int64_t timestamp)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
void inv_sensors_timestamp_apply_odr(struct inv_sensors_timestamp *ts,
uint32_t fifo_period, size_t fifo_nb,
unsigned int fifo_no)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;