Lines Matching refs:code
66 The code for OSS PCM and mixer emulation modules is stored in this
68 code since it's quite small. The sequencer code is stored in
82 This contains the OSS sequencer emulation code.
96 This directory contains code shared among different drivers on different
99 in this directory. In the sub-directories, there is code for components
118 code for some cards, because the soundcard needs only a simple operation
133 for PCI soundcards and the code specific to the PCI BUS.
173 This contains OSS/Lite code.
174 At the time of writing, all code has been removed except for dmasound
205 The code example is shown below. Some parts are kept unimplemented at
489 The above code assumes that the card pointer is set to the PCI driver
505 in the source file. If the code is split into several files, the files
666 The demerit of this method is the obviously larger amount of code.
698 destructor and PCI entries. Example code is shown first, below::
838 Suppose a 28bit mask, the code to be added would look like::
939 so the disabling code is not written here.
1128 The example code below does not include any hardware access routines but
1423 device will be released by the middle layer code automatically, you
1997 ``card->sync_irq`` in the driver code unless the driver re-acquires
2100 Typical code would look like::
2138 Typical code would look as follows::
2196 section. If the critical section is not in interrupt handler code and if
2548 :c:func:`snd_ctl_enum_info()`. The final code looks like below.
2637 return a negative error code as usual.
2726 write much code to control it. Only low-level control routines are
2991 no interrupt is to be allocated (because your code is already allocating
3026 some code to move data between the buffer and the hardware.
3287 the micro code. In such a case, you can create a hwdep
3707 to add power-management code to the driver. The additional code for
3762 Typical code would look like::
3796 Typical code would look like::
3901 Typical code would look as below::
3968 In the following sections, the driver code is supposed to be put into