Lines Matching defs:dev
8 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr,
11 struct soundbus_dev *sdev = to_soundbus_device(dev);
18 of->dev.of_node, 'T',
19 of_node_get_device_type(of->dev.of_node));
23 static ssize_t name_show(struct device *dev,
26 struct soundbus_dev *sdev = to_soundbus_device(dev);
29 return sysfs_emit(buf, "%pOFn\n", of->dev.of_node);
33 static ssize_t type_show(struct device *dev,
36 struct soundbus_dev *sdev = to_soundbus_device(dev);
39 return sysfs_emit(buf, "%s\n", of_node_get_device_type(of->dev.of_node));