linux/drivers/iio/accel/ssp_accel_sensor.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Copyright (C) 2014, Samsung Electronics Co. Ltd. All Rights Reserved.
 */

#include <linux/iio/common/ssp_sensors.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include "../common/ssp_sensors/ssp_iio_sensor.h"

#define SSP_CHANNEL_COUNT

#define SSP_ACCEL_NAME
static const char ssp_accel_device_name[] =;

enum ssp_accel_3d_channel {};

static int ssp_accel_read_raw(struct iio_dev *indio_dev,
			      struct iio_chan_spec const *chan,  int *val,
			      int *val2, long mask)
{}

static int ssp_accel_write_raw(struct iio_dev *indio_dev,
			       struct iio_chan_spec const *chan, int val,
			       int val2, long mask)
{}

static const struct iio_info ssp_accel_iio_info =;

static const unsigned long ssp_accel_scan_mask[] =;

static const struct iio_chan_spec ssp_acc_channels[] =;

static int ssp_process_accel_data(struct iio_dev *indio_dev, void *buf,
				  int64_t timestamp)
{}

static const struct iio_buffer_setup_ops ssp_accel_buffer_ops =;

static int ssp_accel_probe(struct platform_device *pdev)
{}

static struct platform_driver ssp_accel_driver =;

module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_IMPORT_NS();