Lines Matching refs:entry

272 static void snd_ca0106_proc_iec958(struct snd_info_entry *entry,   in snd_ca0106_proc_iec958()  argument
275 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958()
294 static void snd_ca0106_proc_reg_write32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_write32() argument
297 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32()
312 static void snd_ca0106_proc_reg_read32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read32() argument
315 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32()
328 static void snd_ca0106_proc_reg_read16(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read16() argument
331 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16()
344 static void snd_ca0106_proc_reg_read8(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read8() argument
347 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8()
360 static void snd_ca0106_proc_reg_read1(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read1() argument
363 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read1()
378 static void snd_ca0106_proc_reg_read2(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read2() argument
381 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read2()
396 static void snd_ca0106_proc_reg_write(struct snd_info_entry *entry, in snd_ca0106_proc_reg_write() argument
399 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write()
410 static void snd_ca0106_proc_i2c_write(struct snd_info_entry *entry, in snd_ca0106_proc_i2c_write() argument
413 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_i2c_write()
427 struct snd_info_entry *entry; in snd_ca0106_proc_init() local
429 if(! snd_card_proc_new(emu->card, "iec958", &entry)) in snd_ca0106_proc_init()
430 snd_info_set_text_ops(entry, emu, snd_ca0106_proc_iec958); in snd_ca0106_proc_init()
431 if(! snd_card_proc_new(emu->card, "ca0106_reg32", &entry)) { in snd_ca0106_proc_init()
432 snd_info_set_text_ops(entry, emu, snd_ca0106_proc_reg_read32); in snd_ca0106_proc_init()
433 entry->c.text.write = snd_ca0106_proc_reg_write32; in snd_ca0106_proc_init()
434 entry->mode |= S_IWUSR; in snd_ca0106_proc_init()
436 if(! snd_card_proc_new(emu->card, "ca0106_reg16", &entry)) in snd_ca0106_proc_init()
437 snd_info_set_text_ops(entry, emu, snd_ca0106_proc_reg_read16); in snd_ca0106_proc_init()
438 if(! snd_card_proc_new(emu->card, "ca0106_reg8", &entry)) in snd_ca0106_proc_init()
439 snd_info_set_text_ops(entry, emu, snd_ca0106_proc_reg_read8); in snd_ca0106_proc_init()
440 if(! snd_card_proc_new(emu->card, "ca0106_regs1", &entry)) { in snd_ca0106_proc_init()
441 snd_info_set_text_ops(entry, emu, snd_ca0106_proc_reg_read1); in snd_ca0106_proc_init()
442 entry->c.text.write = snd_ca0106_proc_reg_write; in snd_ca0106_proc_init()
443 entry->mode |= S_IWUSR; in snd_ca0106_proc_init()
445 if(! snd_card_proc_new(emu->card, "ca0106_i2c", &entry)) { in snd_ca0106_proc_init()
446 entry->c.text.write = snd_ca0106_proc_i2c_write; in snd_ca0106_proc_init()
447 entry->private_data = emu; in snd_ca0106_proc_init()
448 entry->mode |= S_IWUSR; in snd_ca0106_proc_init()
450 if(! snd_card_proc_new(emu->card, "ca0106_regs2", &entry)) in snd_ca0106_proc_init()
451 snd_info_set_text_ops(entry, emu, snd_ca0106_proc_reg_read2); in snd_ca0106_proc_init()