Home
last modified time | relevance | path

Searched refs:levels (Results 1 – 25 of 126) sorted by relevance

123456

/linux-2.6.39/sound/oss/
Dpas2_mixer.c43 static int *levels; variable
138 levels[whichDev] = mixer_output(right, left, 63, 0x01, 0); in pas_mixer_set()
146 levels[whichDev] = mixer_output(right, left, 12, 0x03, 0); in pas_mixer_set()
149 levels[whichDev] = mixer_output(right, left, 12, 0x04, 0); in pas_mixer_set()
153 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x00, mixer); in pas_mixer_set()
156 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x05, mixer); in pas_mixer_set()
159 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x07, mixer); in pas_mixer_set()
162 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x06, mixer); in pas_mixer_set()
165 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x02, mixer); in pas_mixer_set()
168 levels[whichDev] = mixer_output(right, left, 31, 0x10 | 0x03, mixer); in pas_mixer_set()
[all …]
Dwaveartist.c68 static unsigned short levels[SOUND_MIXER_NRDEVICES] = { variable
111 unsigned short *levels; /* cache of volume settings */ member
920 lev_left = devc->levels[whichDev] & 0xff; in waveartist_mixer_update()
921 lev_right = devc->levels[whichDev] >> 8; in waveartist_mixer_update()
1040 devc->levels[dev] = lev_l | lev_r << 8; in waveartist_decode_mixer()
1056 return devc->levels[dev]; in waveartist_get_mixer()
1384 devc->levels = levels; in attach_waveartist()
1617 devc->levels[dev] = lev_l | lev_r << 8; in netwinder_decode_mixer()
1621 devc->levels[SOUND_MIXER_MIC] &= 0xff; in netwinder_decode_mixer()
1622 devc->levels[SOUND_MIXER_MIC] |= lev_l << 8; in netwinder_decode_mixer()
[all …]
Dsb_mixer.c253 return devc->levels[dev]; in sb_mixer_get()
327 devc->levels[dev] = left | (right << 8); in smw_mixer_set()
329 val = ((devc->levels[SOUND_MIXER_TREBLE] & 0xff) * 16 / (unsigned) 100) << 4; in smw_mixer_set()
330 val |= ((devc->levels[SOUND_MIXER_BASS] & 0xff) * 16 / (unsigned) 100) & 0x0f; in smw_mixer_set()
334 val = (((devc->levels[SOUND_MIXER_TREBLE] >> 8) & 0xff) * 16 / (unsigned) 100) << 4; in smw_mixer_set()
335 val |= (((devc->levels[SOUND_MIXER_BASS] >> 8) & 0xff) * 16 / (unsigned) 100) & 0x0f; in smw_mixer_set()
351 devc->levels[dev] = left | (right << 8); in smw_mixer_set()
385 if (retval >= 0) devc->levels[dev] = retval; in sb_mixer_set()
660 devc->levels = load_mixer_volumes(name, smg_default_levels, 1); in sb_mixer_reset()
662 devc->levels = load_mixer_volumes(name, sb_default_levels, 1); in sb_mixer_reset()
[all …]
Dsoundcard.c85 int *load_mixer_volumes(char *name, int *levels, int present) in load_mixer_volumes() argument
93 return mixer_vols[i].levels; in load_mixer_volumes()
98 return levels; in load_mixer_volumes()
110 mixer_vols[n].levels[i] = levels[i]; in load_mixer_volumes()
111 return mixer_vols[n].levels; in load_mixer_volumes()
122 load_mixer_volumes(buf.name, buf.levels, 0); in set_mixer_levels()
/linux-2.6.39/drivers/pcmcia/
Dsa1100_cerf.c43 unsigned long levels = GPLR; in cerf_pcmcia_socket_state() local
45 state->detect = (levels & CERF_GPIO_CF_CD) ?0:1; in cerf_pcmcia_socket_state()
46 state->ready = (levels & CERF_GPIO_CF_IRQ) ?1:0; in cerf_pcmcia_socket_state()
47 state->bvd1 = (levels & CERF_GPIO_CF_BVD1)?1:0; in cerf_pcmcia_socket_state()
48 state->bvd2 = (levels & CERF_GPIO_CF_BVD2)?1:0; in cerf_pcmcia_socket_state()
Dsa1100_assabet.c46 unsigned long levels = GPLR; in assabet_pcmcia_socket_state() local
48 state->detect = (levels & ASSABET_GPIO_CF_CD) ? 0 : 1; in assabet_pcmcia_socket_state()
49 state->ready = (levels & ASSABET_GPIO_CF_IRQ) ? 1 : 0; in assabet_pcmcia_socket_state()
50 state->bvd1 = (levels & ASSABET_GPIO_CF_BVD1) ? 1 : 0; in assabet_pcmcia_socket_state()
51 state->bvd2 = (levels & ASSABET_GPIO_CF_BVD2) ? 1 : 0; in assabet_pcmcia_socket_state()
Dsa1100_shannon.c45 unsigned long levels = GPLR; in shannon_pcmcia_socket_state() local
49 state->detect = (levels & SHANNON_GPIO_EJECT_0) ? 0 : 1; in shannon_pcmcia_socket_state()
50 state->ready = (levels & SHANNON_GPIO_RDY_0) ? 1 : 0; in shannon_pcmcia_socket_state()
59 state->detect = (levels & SHANNON_GPIO_EJECT_1) ? 0 : 1; in shannon_pcmcia_socket_state()
60 state->ready = (levels & SHANNON_GPIO_RDY_1) ? 1 : 0; in shannon_pcmcia_socket_state()
Dsa1100_nanoengine.c141 unsigned long levels = GPLR; in nanoengine_pcmcia_socket_state() local
150 state->ready = (levels & GPIO_PC_READY0) ? 1 : 0; in nanoengine_pcmcia_socket_state()
151 state->detect = !(levels & GPIO_PC_CD0) ? 1 : 0; in nanoengine_pcmcia_socket_state()
154 state->ready = (levels & GPIO_PC_READY1) ? 1 : 0; in nanoengine_pcmcia_socket_state()
155 state->detect = !(levels & GPIO_PC_CD1) ? 1 : 0; in nanoengine_pcmcia_socket_state()
Dsa1100_simpad.c49 unsigned long levels = GPLR; in simpad_pcmcia_socket_state() local
52 state->detect=((levels & GPIO_CF_CD)==0)?1:0; in simpad_pcmcia_socket_state()
53 state->ready=(levels & GPIO_CF_IRQ)?1:0; in simpad_pcmcia_socket_state()
/linux-2.6.39/drivers/acpi/
Dvideo.c194 int *levels; member
243 if (vd->brightness->levels[i] == cur_level) in acpi_video_get_brightness()
258 vd->brightness->levels[request_level]); in acpi_video_set_brightness()
288 if (level == video->brightness->levels[offset]) { in video_get_cur_state()
307 level = video->brightness->levels[state -1]; in video_set_cur_state()
323 union acpi_object **levels) in acpi_video_device_lcd_query_levels() argument
330 *levels = NULL; in acpi_video_device_lcd_query_levels()
342 *levels = obj; in acpi_video_device_lcd_query_levels()
371 if (level == device->brightness->levels[state]) { in acpi_video_device_lcd_set_level()
457 *level = device->brightness->levels[*level + 2]; in acpi_video_device_lcd_get_level_current()
[all …]
/linux-2.6.39/Documentation/scheduler/
Dsched-nice-design.txt2 nice-levels implementation in the new Linux scheduler.
4 Nice levels were always pretty weak under Linux and people continuously
12 In the O(1) scheduler (in 2003) we changed negative nice levels to be
54 To sum it up: we always wanted to make nice levels more consistent, but
79 nice levels were not 'punchy enough', so lots of people had to resort to
86 To address the first complaint (of nice levels being not "punchy"
88 (and granularity was made a separate concept from nice levels) and thus
94 To address the second complaint (of nice levels not being consistent),
96 tasks, regardless of their absolute nice levels. So on the new
100 levels were changed to be "multiplicative" (or exponential) - that way
[all …]
D00-INDEX10 - How and why the scheduler's nice levels are implemented.
/linux-2.6.39/Documentation/sound/oss/
Dvwsnd153 gain are controlled independently. This gain control has 64 levels,
155 levels are mapped onto 100 levels at the ioctl, see below.
161 independently. This gain control has 32 levels, which range from
162 -34.5 dB to +12.0 dB in 1.5 dB steps. Those 32 levels are mapped onto
163 100 levels at the ioctl, see below.
169 gain control has 32 levels, which range from -34.5 dB to +12.0 dB in
170 1.5 dB steps. Those 32 levels are mapped onto 100 levels at the
177 independently. This gain control has 32 levels, which range from
178 -34.5 dB to +12.0 dB in 1.5 dB steps. Those 32 levels are mapped onto
179 100 levels at the ioctl, see below.
[all …]
/linux-2.6.39/Documentation/ABI/
DREADME3 everchanging nature of Linux, and the differing maturity levels, these
6 We have four different levels of ABI stability, as shown by the four
7 different subdirectories in this location. Interfaces may change levels
10 The different levels of stability are:
64 How things move between levels:
/linux-2.6.39/Documentation/cpuidle/
Dcore.txt2 Supporting multiple CPU idle levels in kernel
8 Various CPUs today support multiple idle levels that are differentiated
Ddriver.txt3 Supporting multiple CPU idle levels in kernel
Dgovernor.txt4 Supporting multiple CPU idle levels in kernel
/linux-2.6.39/arch/sparc/include/asm/
Dobio.h228 #define IGEN_MESSAGE(bcast, devid, sid, levels) \ argument
229 (((bcast) << 31) | ((devid) << 23) | ((sid) << 15) | (levels))
/linux-2.6.39/Documentation/
Dprio_tree.txt36 In the final tree the first few (prio_tree_root->index_bits) levels
38 those levels (i.e. levels prio_tree_root->index_bits + 1 and higher) are
80 to make sure that the first prio_tree_root->index_bits levels of the tree
/linux-2.6.39/Documentation/power/regulator/
Doverview.txt86 o Constraints - Constraints are used to define power levels for performance
87 and hardware protection. Constraints exist at three levels:
106 dynamically setting voltage or current limit levels.
110 to through the levels as follows :-
/linux-2.6.39/drivers/xen/xenbus/
Dxenbus_probe.h42 unsigned int levels; member
/linux-2.6.39/arch/ia64/kernel/
Dtopology.c310 unsigned long i, levels, unique_caches; in cpu_cache_sysfs_init() local
317 if ((status = ia64_pal_cache_summary(&levels, &unique_caches)) != 0) { in cpu_cache_sysfs_init()
327 for (i=0; i < levels; i++) { in cpu_cache_sysfs_init()
/linux-2.6.39/Documentation/ABI/testing/
Dsysfs-driver-samsung-laptop5 Description: Some Samsung laptops have different "performance levels"
/linux-2.6.39/arch/frv/kernel/
Dirq.c153 #error dont know external IRQ trigger levels for this setup in init_IRQ()
/linux-2.6.39/net/wimax/
DKconfig35 the sysfs debug-levels file.

123456