Lines Matching refs:device
43 static int snd_seq_bus_match(struct device *dev, struct device_driver *drv) in snd_seq_bus_match()
63 static int print_dev_info(struct device *dev, void *data) in print_dev_info()
89 static int request_seq_drv(struct device *dev, void *data) in request_seq_drv()
145 static int snd_seq_device_dev_free(struct snd_device *device) in snd_seq_device_dev_free() argument
147 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_free()
156 static int snd_seq_device_dev_register(struct snd_device *device) in snd_seq_device_dev_register() argument
158 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register()
169 static int snd_seq_device_dev_disconnect(struct snd_device *device) in snd_seq_device_dev_disconnect() argument
171 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect()
177 static void snd_seq_dev_release(struct device *dev) in snd_seq_dev_release()
189 int snd_seq_device_new(struct snd_card *card, int device, const char *id, in snd_seq_device_new() argument
212 dev->device = device; in snd_seq_device_new()
220 dev_set_name(&dev->dev, "%s-%d-%d", dev->id, card->number, device); in snd_seq_device_new()