p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.216.202
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/source/include/linux/iio/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/source/include/linux/iio/sw_device.h
/*
 * Industrial I/O software device interface
 *
 * Copyright (c) 2016 Intel Corporation
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published by
 * the Free Software Foundation.
 */

#ifndef __IIO_SW_DEVICE
#define __IIO_SW_DEVICE

#include <linux/module.h>
#include <linux/device.h>
#include <linux/iio/iio.h>
#include <linux/configfs.h>

#define module_iio_sw_device_driver(__iio_sw_device_type) \
	module_driver(__iio_sw_device_type, iio_register_sw_device_type, \
		      iio_unregister_sw_device_type)

struct iio_sw_device_ops;

struct iio_sw_device_type {
	const char *name;
	struct module *owner;
	const struct iio_sw_device_ops *ops;
	struct list_head list;
	struct config_group *group;
};

struct iio_sw_device {
	struct iio_dev *device;
	struct iio_sw_device_type *device_type;
	struct config_group group;
};

struct iio_sw_device_ops {
	struct iio_sw_device* (*probe)(const char *);
	int (*remove)(struct iio_sw_device *);
};

static inline
struct iio_sw_device *to_iio_sw_device(struct config_item *item)
{
	return container_of(to_config_group(item), struct iio_sw_device,
			    group);
}

int iio_register_sw_device_type(struct iio_sw_device_type *dt);
void iio_unregister_sw_device_type(struct iio_sw_device_type *dt);

struct iio_sw_device *iio_sw_device_create(const char *, const char *);
void iio_sw_device_destroy(struct iio_sw_device *);

int iio_sw_device_type_configfs_register(struct iio_sw_device_type *dt);
void iio_sw_device_type_configfs_unregister(struct iio_sw_device_type *dt);

static inline
void iio_swd_group_init_type_name(struct iio_sw_device *d,
				  const char *name,
				  struct config_item_type *type)
{
#ifdef CONFIG_CONFIGFS_FS
	config_group_init_type_name(&d->group, name, type);
#endif
}

#endif /* __IIO_SW_DEVICE */
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:51
0 / 0
0755
adc
--
January 19 2024 08:12:50
0 / 0
0755
common
--
January 19 2024 08:12:50
0 / 0
0755
dac
--
January 19 2024 08:12:50
0 / 0
0755
frequency
--
January 19 2024 08:12:50
0 / 0
0755
gyro
--
January 19 2024 08:12:50
0 / 0
0755
imu
--
January 19 2024 08:12:50
0 / 0
0755
buffer-dma.h
4.555 KB
November 06 2023 09:15:52
0 / 0
0644
buffer-dmaengine.h
0.38 KB
November 06 2023 09:15:52
0 / 0
0644
buffer.h
7.301 KB
November 06 2023 09:15:52
0 / 0
0644
configfs.h
0.396 KB
November 06 2023 09:15:52
0 / 0
0644
consumer.h
10.339 KB
November 06 2023 09:15:52
0 / 0
0644
driver.h
0.813 KB
November 06 2023 09:15:52
0 / 0
0644
events.h
2.242 KB
November 06 2023 09:15:52
0 / 0
0644
iio.h
25.604 KB
November 06 2023 09:15:52
0 / 0
0644
kfifo_buf.h
0.372 KB
November 06 2023 09:15:52
0 / 0
0644
machine.h
0.975 KB
November 06 2023 09:15:52
0 / 0
0644
sw_device.h
1.823 KB
November 06 2023 09:15:52
0 / 0
0644
sw_trigger.h
1.861 KB
November 06 2023 09:15:52
0 / 0
0644
sysfs.h
4.864 KB
November 06 2023 09:15:52
0 / 0
0644
trigger.h
4.841 KB
November 06 2023 09:15:52
0 / 0
0644
trigger_consumer.h
1.787 KB
November 06 2023 09:15:52
0 / 0
0644
triggered_buffer.h
0.725 KB
November 06 2023 09:15:52
0 / 0
0644
triggered_event.h
0.306 KB
November 06 2023 09:15:52
0 / 0
0644
types.h
0.853 KB
November 06 2023 09:15:52
0 / 0
0644