linux/drivers/iio/industrialio-sw-trigger.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * The Industrial I/O core, software trigger functions
 *
 * Copyright (c) 2015 Intel Corporation
 */

#include <linux/module.h>
#include <linux/init.h>
#include <linux/kmod.h>
#include <linux/list.h>
#include <linux/slab.h>

#include <linux/iio/sw_trigger.h>
#include <linux/iio/configfs.h>
#include <linux/configfs.h>

static struct config_group *iio_triggers_group;
static const struct config_item_type iio_trigger_type_group_type;

static const struct config_item_type iio_triggers_group_type =;

static LIST_HEAD(iio_trigger_types_list);
static DEFINE_MUTEX(iio_trigger_types_lock);

static
struct iio_sw_trigger_type *__iio_find_sw_trigger_type(const char *name,
						       unsigned int len)
{}

int iio_register_sw_trigger_type(struct iio_sw_trigger_type *t)
{}
EXPORT_SYMBOL();

void iio_unregister_sw_trigger_type(struct iio_sw_trigger_type *t)
{}
EXPORT_SYMBOL();

static
struct iio_sw_trigger_type *iio_get_sw_trigger_type(const char *name)
{}

struct iio_sw_trigger *iio_sw_trigger_create(const char *type, const char *name)
{}
EXPORT_SYMBOL();

void iio_sw_trigger_destroy(struct iio_sw_trigger *t)
{}
EXPORT_SYMBOL();

static struct config_group *trigger_make_group(struct config_group *group,
					       const char *name)
{}

static void trigger_drop_group(struct config_group *group,
			       struct config_item *item)
{}

static struct configfs_group_operations trigger_ops =;

static const struct config_item_type iio_trigger_type_group_type =;

static int __init iio_sw_trigger_init(void)
{}
module_init();

static void __exit iio_sw_trigger_exit(void)
{}
module_exit(iio_sw_trigger_exit);

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