linux/drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c

// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012 Invensense, Inc.
*/

#include <linux/pm_runtime.h>

#include <linux/iio/common/inv_sensors_timestamp.h>
#include <linux/iio/events.h>

#include "inv_mpu_iio.h"

static unsigned int inv_scan_query_mpu6050(struct iio_dev *indio_dev)
{}

static unsigned int inv_scan_query_mpu9x50(struct iio_dev *indio_dev)
{}

static unsigned int inv_scan_query(struct iio_dev *indio_dev)
{}

static unsigned int inv_compute_skip_samples(const struct inv_mpu6050_state *st)
{}

int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable)
{}

/**
 *  inv_mpu6050_set_enable() - enable chip functions.
 *  @indio_dev:	Device driver instance.
 *  @enable: enable/disable
 */
static int inv_mpu6050_set_enable(struct iio_dev *indio_dev, bool enable)
{}

/**
 * inv_mpu_data_rdy_trigger_set_state() - set data ready interrupt state
 * @trig: Trigger instance
 * @state: Desired trigger state
 */
static int inv_mpu_data_rdy_trigger_set_state(struct iio_trigger *trig,
					      bool state)
{}

static const struct iio_trigger_ops inv_mpu_trigger_ops =;

static irqreturn_t inv_mpu6050_interrupt_timestamp(int irq, void *p)
{}

static irqreturn_t inv_mpu6050_interrupt_handle(int irq, void *p)
{}

int inv_mpu6050_probe_trigger(struct iio_dev *indio_dev, int irq_type)
{}