Lines Matching refs:dt
68 void iio_unregister_sw_device_type(struct iio_sw_device_type *dt)
73 iter = __iio_find_sw_device_type(dt->name, strlen(dt->name));
75 list_del(&dt->list);
78 configfs_unregister_default_group(dt->group);
85 struct iio_sw_device_type *dt;
88 dt = __iio_find_sw_device_type(name, strlen(name));
89 if (dt && !try_module_get(dt->owner))
90 dt = NULL;
93 return dt;
99 struct iio_sw_device_type *dt;
101 dt = iio_get_sw_device_type(type);
102 if (!dt) {
106 d = dt->ops->probe(name);
110 d->device_type = dt;
114 module_put(dt->owner);
121 struct iio_sw_device_type *dt = d->device_type;
123 dt->ops->remove(d);
124 module_put(dt->owner);