Lines Matching defs:csdev
2112 struct device *csdev;
2143 csdev = COMEDI_DEVICE_CREATE(comedi_class, NULL,
2146 if (!IS_ERR(csdev))
2147 info->device->class_dev = csdev;
2148 dev_set_drvdata(csdev, info);
2149 retval = device_create_file(csdev, &dev_attr_max_read_buffer_kb);
2158 retval = device_create_file(csdev, &dev_attr_read_buffer_kb);
2167 retval = device_create_file(csdev, &dev_attr_max_write_buffer_kb);
2176 retval = device_create_file(csdev, &dev_attr_write_buffer_kb);
2218 struct device *csdev;
2244 csdev = COMEDI_DEVICE_CREATE(comedi_class, dev->class_dev,
2248 if (!IS_ERR(csdev))
2249 s->class_dev = csdev;
2250 dev_set_drvdata(csdev, info);
2251 retval = device_create_file(csdev, &dev_attr_max_read_buffer_kb);
2260 retval = device_create_file(csdev, &dev_attr_read_buffer_kb);
2269 retval = device_create_file(csdev, &dev_attr_max_write_buffer_kb);
2278 retval = device_create_file(csdev, &dev_attr_write_buffer_kb);