/linux-2.4.37.9/drivers/sound/emu10k1/ |
D | audio.c | 264 if (file->f_mode & FMODE_WRITE) 279 if (file->f_mode & FMODE_WRITE) { 312 if (file->f_mode & FMODE_WRITE) { 388 if (file->f_mode & FMODE_WRITE) { 412 else if (file->f_mode & FMODE_WRITE) 446 if (file->f_mode & FMODE_WRITE) { 497 if (file->f_mode & FMODE_WRITE) { 520 else if (file->f_mode & FMODE_WRITE) 532 else if (file->f_mode & FMODE_WRITE) { 569 if (file->f_mode & FMODE_WRITE) { [all …]
|
D | midi.h | 37 #define FMODE_MIDI_WRITE (FMODE_WRITE << FMODE_MIDI_SHIFT)
|
/linux-2.4.37.9/drivers/isdn/hysdn/ |
D | hysdn_proclog.c | 272 if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) { in hysdn_log_open() 274 } else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) { in hysdn_log_open() 310 if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) { in hysdn_log_close() 367 if ((file->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) in hysdn_log_poll()
|
D | hysdn_procconf.c | 273 if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) { in hysdn_conf_open() 285 } else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) { in hysdn_conf_open() 358 if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) { in hysdn_conf_close() 368 } else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) { in hysdn_conf_close()
|
/linux-2.4.37.9/drivers/sound/ |
D | au1550_i2s.c | 1038 if (file->f_mode & FMODE_WRITE) { in au1550_poll() 1055 if (file->f_mode & FMODE_WRITE) { in au1550_poll() 1174 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in au1550_ioctl() 1193 if (file->f_mode & FMODE_WRITE) in au1550_ioctl() 1205 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1229 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1236 if (s->open_mode & FMODE_WRITE) in au1550_ioctl() 1254 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1274 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1309 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() [all …]
|
D | swarm_cs4297a.c | 742 if (s->ena & FMODE_WRITE) { in serdma_reg_access() 814 s->ena &= ~FMODE_WRITE; in stop_dac() 833 if (!(s->ena & FMODE_WRITE) && (s->dma_dac.mapped || in start_dac() 836 s->ena |= FMODE_WRITE; in start_dac() 1083 if (s->ena & FMODE_WRITE) { in cs4297a_update_ptr() 1912 if (file->f_mode & FMODE_WRITE) { in cs4297a_poll() 1930 if (file->f_mode & FMODE_WRITE) { in cs4297a_poll() 1986 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in cs4297a_ioctl() 1998 if (file->f_mode & FMODE_WRITE) in cs4297a_ioctl() 2015 if (file->f_mode & FMODE_WRITE) { in cs4297a_ioctl() [all …]
|
D | au1550_psc.c | 1241 if (file->f_mode & FMODE_WRITE) { in au1550_poll() 1258 if (file->f_mode & FMODE_WRITE) { in au1550_poll() 1377 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in au1550_ioctl() 1396 if (file->f_mode & FMODE_WRITE) in au1550_ioctl() 1408 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1432 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1439 if (s->open_mode & FMODE_WRITE) in au1550_ioctl() 1457 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1487 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() 1565 if (file->f_mode & FMODE_WRITE) { in au1550_ioctl() [all …]
|
D | sound_config.h | 114 #if OPEN_READ == FMODE_READ && OPEN_WRITE == FMODE_WRITE 126 ((file->f_mode & FMODE_WRITE) ? OPEN_WRITE : 0); in translate_mode()
|
D | au1000.c | 1286 if (file->f_mode & FMODE_WRITE) { in au1000_poll() 1303 if (file->f_mode & FMODE_WRITE) { in au1000_poll() 1422 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in au1000_ioctl() 1441 if (file->f_mode & FMODE_WRITE) in au1000_ioctl() 1453 if (file->f_mode & FMODE_WRITE) { in au1000_ioctl() 1477 if (file->f_mode & FMODE_WRITE) { in au1000_ioctl() 1484 if (s->open_mode & FMODE_WRITE) in au1000_ioctl() 1502 if (file->f_mode & FMODE_WRITE) { in au1000_ioctl() 1531 if (file->f_mode & FMODE_WRITE) { in au1000_ioctl() 1607 if (file->f_mode & FMODE_WRITE) { in au1000_ioctl() [all …]
|
D | esssolo1.c | 148 #define FMODE_MIDI_WRITE (FMODE_WRITE << FMODE_MIDI_SHIFT) 349 s->ena &= ~FMODE_WRITE; in stop_dac() 359 if (!(s->ena & FMODE_WRITE) && (s->dma_dac.mapped || s->dma_dac.count > 0) && s->dma_dac.ready) { in start_dac() 360 s->ena |= FMODE_WRITE; in start_dac() 578 if (s->ena & FMODE_WRITE) { in solo1_update_ptr() 594 s->ena &= ~FMODE_WRITE; in solo1_update_ptr() 1188 if (file->f_mode & FMODE_WRITE) { in solo1_poll() 1209 if (file->f_mode & FMODE_WRITE) { in solo1_poll() 1269 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in solo1_ioctl() 1276 if (file->f_mode & FMODE_WRITE) in solo1_ioctl() [all …]
|
D | ite8172.c | 1263 if (file->f_mode & FMODE_WRITE) { in it8172_poll() 1279 if (file->f_mode & FMODE_WRITE) { in it8172_poll() 1380 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in it8172_ioctl() 1400 if (file->f_mode & FMODE_WRITE) in it8172_ioctl() 1412 if (file->f_mode & FMODE_WRITE) { in it8172_ioctl() 1438 if (file->f_mode & FMODE_WRITE) { in it8172_ioctl() 1461 if (file->f_mode & FMODE_WRITE) { in it8172_ioctl() 1489 if (file->f_mode & FMODE_WRITE) { in it8172_ioctl() 1530 if (file->f_mode & FMODE_WRITE) { in it8172_ioctl() 1560 if (file->f_mode & FMODE_WRITE && !s->dma_dac.stopped) in it8172_ioctl() [all …]
|
D | rme96xx.c | 1132 if (file->f_mode & FMODE_WRITE) in rme96xx_ioctl() 1211 if (file->f_mode & FMODE_WRITE) { in rme96xx_ioctl() 1259 if (file->f_mode & FMODE_WRITE && s->ctrl & CTRL_DAC2_EN) in rme96xx_ioctl() 1276 if (file->f_mode & FMODE_WRITE) { in rme96xx_ioctl() 1288 if (!(file->f_mode & FMODE_WRITE)) in rme96xx_ioctl() 1323 if (!(file->f_mode & FMODE_WRITE)) in rme96xx_ioctl() 1385 (file->f_mode & FMODE_WRITE && s->dma_dac2.subdivision)) in rme96xx_ioctl() 1393 if (file->f_mode & FMODE_WRITE) in rme96xx_ioctl() 1477 dma->open_mode |= (f->f_mode & (FMODE_READ | FMODE_WRITE)); in rme96xx_open() 1492 if (dma->open_mode & FMODE_WRITE) { in rme96xx_release() [all …]
|
D | msnd_pinnacle.c | 158 if (dev.mode & FMODE_WRITE) { in reset_queues() 187 if (file->f_mode & FMODE_WRITE) in dsp_set_format() 192 if (file->f_mode & FMODE_WRITE) in dsp_set_format() 233 if (!(file->f_mode & FMODE_WRITE)) in dsp_ioctl() 279 if (file->f_mode & FMODE_WRITE) in dsp_ioctl() 294 file->f_mode & FMODE_WRITE) in dsp_ioctl() 319 if (file->f_mode & FMODE_WRITE) in dsp_ioctl() 324 if (file->f_mode & FMODE_WRITE) in dsp_ioctl() 362 if (file->f_mode & FMODE_WRITE) in dsp_ioctl() 367 if (file->f_mode & FMODE_WRITE) in dsp_ioctl() [all …]
|
D | sonicvibes.c | 290 #define FMODE_MIDI_WRITE (FMODE_WRITE << FMODE_MIDI_SHIFT) 1498 if (file->f_mode & FMODE_WRITE) { in sv_poll() 1514 if (file->f_mode & FMODE_WRITE) { in sv_poll() 1573 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in sv_ioctl() 1580 if (file->f_mode & FMODE_WRITE) in sv_ioctl() 1591 if (file->f_mode & FMODE_WRITE) { in sv_ioctl() 1612 if (file->f_mode & FMODE_WRITE) { in sv_ioctl() 1633 if (file->f_mode & FMODE_WRITE) { in sv_ioctl() 1658 if (file->f_mode & FMODE_WRITE) { in sv_ioctl() 1688 if (file->f_mode & FMODE_WRITE) { in sv_ioctl() [all …]
|
D | es1370.c | 311 #define FMODE_MIDI_WRITE (FMODE_WRITE << FMODE_MIDI_SHIFT) 1315 if (file->f_mode & FMODE_WRITE) { in es1370_poll() 1331 if (file->f_mode & FMODE_WRITE) { in es1370_poll() 1398 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac2.mapped) || in es1370_ioctl() 1405 if (file->f_mode & FMODE_WRITE) in es1370_ioctl() 1416 if (file->f_mode & FMODE_WRITE) { in es1370_ioctl() 1432 if (s->open_mode & (~file->f_mode) & (FMODE_READ|FMODE_WRITE)) in es1370_ioctl() 1462 if (file->f_mode & FMODE_WRITE) { in es1370_ioctl() 1490 if (file->f_mode & FMODE_WRITE) { in es1370_ioctl() 1522 if (file->f_mode & FMODE_WRITE) { in es1370_ioctl() [all …]
|
D | es1371.c | 376 #define FMODE_MIDI_WRITE (FMODE_WRITE << FMODE_MIDI_SHIFT) 1504 if (file->f_mode & FMODE_WRITE) { in es1371_poll() 1520 if (file->f_mode & FMODE_WRITE) { in es1371_poll() 1588 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac2.mapped) || in es1371_ioctl() 1595 if (file->f_mode & FMODE_WRITE) in es1371_ioctl() 1606 if (file->f_mode & FMODE_WRITE) { in es1371_ioctl() 1627 if (file->f_mode & FMODE_WRITE) { in es1371_ioctl() 1649 if (file->f_mode & FMODE_WRITE) { in es1371_ioctl() 1677 if (file->f_mode & FMODE_WRITE) { in es1371_ioctl() 1709 if (file->f_mode & FMODE_WRITE) { in es1371_ioctl() [all …]
|
D | hal2.c | 982 if (file->f_mode & FMODE_WRITE) in hal2_ioctl() 997 if (file->f_mode & FMODE_WRITE) { in hal2_ioctl() 1012 if (file->f_mode & FMODE_WRITE) { in hal2_ioctl() 1028 if (file->f_mode & FMODE_WRITE) { in hal2_ioctl() 1044 if (file->f_mode & FMODE_WRITE) { in hal2_ioctl() 1053 if (file->f_mode & FMODE_WRITE) in hal2_ioctl() 1071 if (file->f_mode & FMODE_WRITE) { in hal2_ioctl() 1080 if (file->f_mode & FMODE_WRITE) in hal2_ioctl() 1094 if (!(file->f_mode & FMODE_WRITE)) in hal2_ioctl() 1146 if (file->f_mode & FMODE_WRITE) in hal2_ioctl() [all …]
|
D | nec_vrc5477.c | 1282 if (file->f_mode & FMODE_WRITE) in vrc5477_ac97_poll() 1291 if (file->f_mode & FMODE_WRITE) { in vrc5477_ac97_poll() 1367 if (file->f_mode & FMODE_WRITE) in vrc5477_ac97_ioctl() 1378 if (file->f_mode & FMODE_WRITE) { in vrc5477_ac97_ioctl() 1402 if (file->f_mode & FMODE_WRITE) { in vrc5477_ac97_ioctl() 1424 if (file->f_mode & FMODE_WRITE) { in vrc5477_ac97_ioctl() 1447 if (file->f_mode & FMODE_WRITE) { in vrc5477_ac97_ioctl() 1469 if (file->f_mode & FMODE_WRITE) { in vrc5477_ac97_ioctl() 1488 if (!(file->f_mode & FMODE_WRITE)) in vrc5477_ac97_ioctl() 1521 if (!(file->f_mode & FMODE_WRITE)) in vrc5477_ac97_ioctl() [all …]
|
D | maestro3.c | 1500 if (file->f_mode & FMODE_WRITE) in m3_poll() 1512 if (file->f_mode & FMODE_WRITE) { in m3_poll() 1587 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in m3_ioctl() 1597 if (file->f_mode & FMODE_WRITE) in m3_ioctl() 1610 if (file->f_mode & FMODE_WRITE) { in m3_ioctl() 1632 if (file->f_mode & FMODE_WRITE) { in m3_ioctl() 1654 if (file->f_mode & FMODE_WRITE) { in m3_ioctl() 1680 if (file->f_mode & FMODE_WRITE) { in m3_ioctl() 1711 if (file->f_mode & FMODE_WRITE) { in m3_ioctl() 1736 if ((file->f_mode & FMODE_WRITE) && (s->enable & DAC_RUNNING)) in m3_ioctl() [all …]
|
D | cs46xx.c | 1821 if (file->f_flags & FMODE_WRITE) in cs_midi_poll() 1830 if (file->f_flags & FMODE_WRITE) { in cs_midi_poll() 1877 if (!(card->midi.open_mode & (FMODE_READ | FMODE_WRITE))) { in cs_midi_open() 1887 if (file->f_mode & FMODE_WRITE) { in cs_midi_open() 1891 card->midi.open_mode |= (file->f_mode & (FMODE_READ | FMODE_WRITE)); in cs_midi_open() 1905 if (file->f_mode & FMODE_WRITE) { in cs_midi_release() 1926 card->midi.open_mode &= (~(file->f_mode & (FMODE_READ | FMODE_WRITE))); in cs_midi_release() 2337 if (!(file->f_mode & (FMODE_WRITE | FMODE_READ))) in cs_poll() 2341 if (file->f_mode & FMODE_WRITE) in cs_poll() 2371 if (file->f_mode & FMODE_WRITE) { in cs_poll() [all …]
|
D | cmpci.c | 326 #define FMODE_MIDI_WRITE (FMODE_WRITE << FMODE_MIDI_SHIFT) 2059 if (file->f_mode & FMODE_WRITE) in cm_poll() 2069 if (file->f_mode & FMODE_WRITE) { in cm_poll() 2137 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in cm_ioctl() 2144 if (file->f_mode & FMODE_WRITE) in cm_ioctl() 2155 if (file->f_mode & FMODE_WRITE) { in cm_ioctl() 2180 if (file->f_mode & FMODE_WRITE) { in cm_ioctl() 2203 if (file->f_mode & FMODE_WRITE) { in cm_ioctl() 2235 if (file->f_mode & FMODE_WRITE) { in cm_ioctl() 2252 && (file->f_mode & FMODE_WRITE)) { in cm_ioctl() [all …]
|
D | maestro.c | 2450 if (file->f_mode & FMODE_WRITE) { in ess_poll() 2459 if (file->f_mode & FMODE_WRITE) in ess_poll() 2469 if (file->f_mode & FMODE_WRITE) { in ess_poll() 2534 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in ess_ioctl() 2541 if (file->f_mode & FMODE_WRITE) in ess_ioctl() 2553 if (file->f_mode & FMODE_WRITE) { in ess_ioctl() 2574 if (file->f_mode & FMODE_WRITE) { in ess_ioctl() 2595 if (file->f_mode & FMODE_WRITE) { in ess_ioctl() 2620 if (file->f_mode & FMODE_WRITE) { in ess_ioctl() 2654 if (file->f_mode & FMODE_WRITE) { in ess_ioctl() [all …]
|
/linux-2.4.37.9/drivers/sound/cs4281/ |
D | cs4281m.c | 210 #define FMODE_MIDI_WRITE (FMODE_WRITE << FMODE_MIDI_SHIFT) 1617 s->ena &= ~FMODE_WRITE; in stop_dac() 1632 if (!(s->ena & FMODE_WRITE) && (s->dma_dac.mapped || in start_dac() 1641 s->ena |= FMODE_WRITE; in start_dac() 2041 if (s->ena & FMODE_WRITE) { in cs4281_update_ptr() 2185 s->ena &= ~FMODE_WRITE; // not capturing data yet in prog_codec() 2756 if (s->ena & FMODE_WRITE) in drain_dac() 3147 if (file->f_mode & FMODE_WRITE) { in cs4281_poll() 3165 if (file->f_mode & FMODE_WRITE) { in cs4281_poll() 3258 mapped = ((file->f_mode & FMODE_WRITE) && s->dma_dac.mapped) || in cs4281_ioctl() [all …]
|
/linux-2.4.37.9/drivers/sound/dmasound/ |
D | dmasound_core.c | 667 if (file->f_mode & FMODE_WRITE ) in sq_poll() 676 if (file->f_mode & FMODE_WRITE) in sq_poll() 845 #define write_sq_wake_up(file) sq_wake_up(&write_sq, file, FMODE_WRITE) 849 sq_open2(&write_sq, file, FMODE_WRITE, numWriteBufs, writeBufSize ) 1038 if (file->f_mode & FMODE_WRITE) { in sq_release() 1181 if (file->f_mode & FMODE_WRITE) { in sq_ioctl() 1205 if (file->f_mode & FMODE_WRITE) { in sq_ioctl() 1292 if (file->f_mode & FMODE_WRITE) { in sq_ioctl() 1305 if (file->f_mode & FMODE_WRITE) { in sq_ioctl()
|
/linux-2.4.37.9/fs/ |
D | file_table.c | 118 if (file->f_mode & FMODE_WRITE) in fput() 183 if (S_ISREG(inode->i_mode) && (file->f_mode & FMODE_WRITE)) in fs_may_remount_ro()
|