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);
21 of->dev.of_node, 'T',
22 of_node_get_device_type(of->dev.of_node));
29 static ssize_t name_show(struct device *dev,
32 struct soundbus_dev *sdev = to_soundbus_device(dev);
35 return sprintf(buf, "%pOFn\n", of->dev.of_node);
39 static ssize_t type_show(struct device *dev,
42 struct soundbus_dev *sdev = to_soundbus_device(dev);
45 return sprintf(buf, "%s\n", of_node_get_device_type(of->dev.of_node));