Lines Matching defs:snd_info_entry

27 struct snd_info_entry;
30 void (*read)(struct snd_info_entry *entry,
32 void (*write)(struct snd_info_entry *entry,
37 int (*open)(struct snd_info_entry *entry,
39 int (*release)(struct snd_info_entry *entry,
41 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data,
44 ssize_t (*write)(struct snd_info_entry *entry, void *file_private_data,
47 loff_t (*llseek)(struct snd_info_entry *entry,
50 __poll_t (*poll)(struct snd_info_entry *entry,
53 int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
55 int (*mmap)(struct snd_info_entry *entry, void *file_private_data,
60 struct snd_info_entry {
69 struct snd_info_entry *parent;
72 void (*private_free)(struct snd_info_entry *entry);
88 extern struct snd_info_entry *snd_seq_root;
90 extern struct snd_info_entry *snd_oss_root;
114 struct snd_info_entry *snd_info_create_module_entry(struct module *module,
116 struct snd_info_entry *parent);
117 struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card,
119 struct snd_info_entry *parent);
120 void snd_info_free_entry(struct snd_info_entry *entry);
127 int snd_info_register(struct snd_info_entry *entry);
131 struct snd_info_entry **entryp)
137 static inline void snd_info_set_text_ops(struct snd_info_entry *entry,
139 void (*read)(struct snd_info_entry *, struct snd_info_buffer *))
147 void (*read)(struct snd_info_entry *,
149 void (*write)(struct snd_info_entry *entry,
165 static inline struct snd_info_entry *snd_info_create_module_entry(struct module *module, const char *name, struct snd_info_entry *parent) { return NULL; }
166 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card *card, const char *name, struct snd_info_entry *parent) { return NULL; }
167 static inline void snd_info_free_entry(struct snd_info_entry *entry) { ; }
174 static inline int snd_info_register(struct snd_info_entry *entry) { return 0; }
177 struct snd_info_entry **entryp) { return -EINVAL; }
178 static inline void snd_info_set_text_ops(struct snd_info_entry *entry __attribute__((unused)),
180 void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) {}
183 void (*read)(struct snd_info_entry *,
185 void (*write)(struct snd_info_entry *entry,
207 void (*read)(struct snd_info_entry *,