Home
last modified time | relevance | path

Searched refs:iio_sw_device (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/linux/iio/
H A Dsw_device.h30 struct iio_sw_device { struct
37 struct iio_sw_device* (*probe)(const char *); argument
38 int (*remove)(struct iio_sw_device *);
42 struct iio_sw_device *to_iio_sw_device(struct config_item *item) in to_iio_sw_device()
44 return container_of(to_config_group(item), struct iio_sw_device, in to_iio_sw_device()
51 struct iio_sw_device *iio_sw_device_create(const char *, const char *);
52 void iio_sw_device_destroy(struct iio_sw_device *);
58 void iio_swd_group_init_type_name(struct iio_sw_device *d, in iio_swd_group_init_type_name()
/openbmc/linux/drivers/iio/
H A Dindustrialio-sw-device.c96 struct iio_sw_device *iio_sw_device_create(const char *type, const char *name) in iio_sw_device_create()
98 struct iio_sw_device *d; in iio_sw_device_create()
119 void iio_sw_device_destroy(struct iio_sw_device *d) in iio_sw_device_destroy()
131 struct iio_sw_device *d; in device_make_group()
145 struct iio_sw_device *d = to_iio_sw_device(item); in device_drop_group()
/openbmc/linux/drivers/iio/dummy/
H A Diio_simple_dummy.c563 static struct iio_sw_device *iio_dummy_probe(const char *name) in iio_dummy_probe()
568 struct iio_sw_device *swd; in iio_dummy_probe()
670 static int iio_dummy_remove(struct iio_sw_device *swd) in iio_dummy_remove()