Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/iio/
Dsw_device.h33 struct iio_sw_device { struct
40 struct iio_sw_device* (*probe)(const char *); argument
41 int (*remove)(struct iio_sw_device *);
45 struct iio_sw_device *to_iio_sw_device(struct config_item *item) in to_iio_sw_device()
47 return container_of(to_config_group(item), struct iio_sw_device, in to_iio_sw_device()
54 struct iio_sw_device *iio_sw_device_create(const char *, const char *);
55 void iio_sw_device_destroy(struct iio_sw_device *);
61 void iio_swd_group_init_type_name(struct iio_sw_device *d, in iio_swd_group_init_type_name()
/Linux-v4.19/drivers/iio/
Dindustrialio-sw-device.c99 struct iio_sw_device *iio_sw_device_create(const char *type, const char *name) in iio_sw_device_create()
101 struct iio_sw_device *d; in iio_sw_device_create()
122 void iio_sw_device_destroy(struct iio_sw_device *d) in iio_sw_device_destroy()
134 struct iio_sw_device *d; in device_make_group()
148 struct iio_sw_device *d = to_iio_sw_device(item); in device_drop_group()
/Linux-v4.19/drivers/iio/dummy/
Diio_simple_dummy.c566 static struct iio_sw_device *iio_dummy_probe(const char *name) in iio_dummy_probe()
571 struct iio_sw_device *swd; in iio_dummy_probe()
667 static int iio_dummy_remove(struct iio_sw_device *swd) in iio_dummy_remove()