Lines Matching defs:fops
40 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_operations *fops, int index, int low, int top)
76 s->unit_fops=fops;
120 static int sound_insert_unit(struct sound_unit **list, const struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, struct device *dev)
129 r = __sound_insert_unit(s, list, fops, index, low, top);
192 * @fops: File operations for the driver
201 int register_sound_special_device(const struct file_operations *fops, int unit,
259 return sound_insert_unit(&chains[chain], fops, -1, unit, max_unit,
265 int register_sound_special(const struct file_operations *fops, int unit)
267 return register_sound_special_device(fops, unit, NULL);
274 * @fops: File operations for the driver
282 int register_sound_mixer(const struct file_operations *fops, int dev)
284 return sound_insert_unit(&chains[0], fops, dev, 0, 128,
292 * @fops: File operations for the driver
300 int register_sound_midi(const struct file_operations *fops, int dev)
302 return sound_insert_unit(&chains[2], fops, dev, 2, 130,
315 * @fops: File operations for the driver
326 int register_sound_dsp(const struct file_operations *fops, int dev)
328 return sound_insert_unit(&chains[3], fops, dev, 3, 131,