HomeSort by relevance Sort by last modified time
    Searched refs:ctl (Results 1 - 25 of 169) sorted by null

1 2 3 4 5 6 7

  /hardware/qcom/audio/legacy/alsa_sound/
ALSAControl.cpp 56 struct mixer_ctl *ctl; local
63 ctl = mixer_get_control(mHandle, name, index);
64 if (!ctl)
67 mixer_ctl_get(ctl, &value);
73 struct mixer_ctl *ctl; local
82 ctl = mixer_get_control(mHandle, name, 0);
83 if(ctl == NULL) {
87 ret = mixer_ctl_set(ctl, value);
93 struct mixer_ctl *ctl; local
102 ctl = mixer_get_control(mHandle, name, 0)
113 struct mixer_ctl *ctl; local
    [all...]
  /external/tinyalsa/
mixer.c 58 struct mixer_ctl *ctl; member in struct:mixer
72 if (mixer->ctl) {
74 if (mixer->ctl[n].ename) {
75 unsigned int max = mixer->ctl[n].info->value.enumerated.items;
77 free(mixer->ctl[n].ename[m]);
78 free(mixer->ctl[n].ename);
81 free(mixer->ctl);
115 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl));
117 if (!mixer->ctl || !mixer->elem_info)
139 mixer->ctl[n].info = ei
    [all...]
tinymix.c 41 static void tinymix_print_enum(struct mixer_ctl *ctl, int print_all);
84 struct mixer_ctl *ctl; local
93 printf("ctl\ttype\tnum\t%-40s value\n", "name");
95 ctl = mixer_get_ctl(mixer, i);
97 name = mixer_ctl_get_name(ctl);
98 type = mixer_ctl_get_type_string(ctl);
99 num_values = mixer_ctl_get_num_values(ctl);
105 static void tinymix_print_enum(struct mixer_ctl *ctl, int print_all)
111 num_enums = mixer_ctl_get_num_enums(ctl);
114 string = mixer_ctl_get_enum_string(ctl, i)
126 struct mixer_ctl *ctl; local
254 struct mixer_ctl *ctl; local
    [all...]
  /external/tinyalsa/include/tinyalsa/
asoundlib.h 278 const char *mixer_ctl_get_name(struct mixer_ctl *ctl);
279 enum mixer_ctl_type mixer_ctl_get_type(struct mixer_ctl *ctl);
280 const char *mixer_ctl_get_type_string(struct mixer_ctl *ctl);
281 unsigned int mixer_ctl_get_num_values(struct mixer_ctl *ctl);
282 unsigned int mixer_ctl_get_num_enums(struct mixer_ctl *ctl);
283 const char *mixer_ctl_get_enum_string(struct mixer_ctl *ctl,
290 void mixer_ctl_update(struct mixer_ctl *ctl);
293 int mixer_ctl_get_percent(struct mixer_ctl *ctl, unsigned int id);
294 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent);
296 int mixer_ctl_get_value(struct mixer_ctl *ctl, unsigned int id)
    [all...]
  /external/autotest/server/
source_kernel.py 55 ctl = ("testkernel = job.kernel('%s')\n" % kernel)
59 ctl += "testkernel.patch(%s)\n" % patches
62 ctl += "testkernel.config('%s')\n" % config
64 ctl += "testkernel.config('', None, True)\n"
66 ctl += "testkernel.build()\n"
70 return ctl
  /hardware/qcom/audio/legacy/libalsa-intf/
amix.c 54 struct mixer_ctl *ctl; local
71 ctl = get_ctl(mixer, argv[1]);
75 if (!ctl) {
82 r = mixer_ctl_set_value(ctl, argc, argv);
84 r = mixer_ctl_select(ctl, argv[0]);
88 mixer_ctl_get(ctl, &value);
alsa_mixer.c 134 if (mixer->ctl) {
136 if (mixer->ctl[n].ename) {
137 unsigned max = mixer->ctl[n].info->value.enumerated.items;
139 free(mixer->ctl[n].ename[m]);
140 free(mixer->ctl[n].ename);
143 free(mixer->ctl);
177 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl));
179 if (!mixer->ctl || !mixer->info)
198 mixer->ctl[n].info = ei;
199 mixer->ctl[n].mixer = mixer
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/
control.h 53 /** CTL card info container */
56 /** CTL element identifier container */
59 /** CTL element identifier list container */
62 /** CTL element info container */
65 /** CTL element value container */
68 /** CTL event container */
71 /** CTL element type */
90 /** CTL related interface */
128 /** CTL name helper */
130 /** CTL name helper *
    [all...]
  /external/libpcap/
pcap-enet.c 150 struct eniocb ctl; local
170 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) {
178 ctl.en_rtout = 1 * ctl.en_hz;
179 ctl.en_tr_etherhead = 1;
180 ctl.en_tap_network = 1;
181 ctl.en_multi_packet = 1;
182 ctl.en_maxlen = BUFSPACE;
184 ctl.en_rtout = 64; /* randomly picked value for HZ */
186 if (ioctl(if_fd, EIOCSETP, &ctl) == -1)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
control.h 53 /** CTL card info container */
56 /** CTL element identifier container */
59 /** CTL element identifier list container */
62 /** CTL element info container */
65 /** CTL element value container */
68 /** CTL event container */
71 /** CTL element type */
90 /** CTL related interface */
128 /** CTL name helper */
130 /** CTL name helper *
    [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
802.3.h 36 uint8 ctl; /* always 0x03 */ member in struct:dot3_mac_llc_snap_header
  /hardware/qcom/audio/post_proc/
bass_boost.c 57 if (context->ctl)
58 offload_bassboost_send_params(context->ctl, &context->offload_bass,
159 if (bass_ctxt->ctl)
160 offload_bassboost_send_params(bass_ctxt->ctl,
170 if (bass_ctxt->ctl)
171 offload_bassboost_send_params(bass_ctxt->ctl,
228 if (bass_ctxt->ctl && bass_ctxt->strength)
229 offload_bassboost_send_params(bass_ctxt->ctl,
244 if (bass_ctxt->ctl)
245 offload_bassboost_send_params(bass_ctxt->ctl,
    [all...]
virtualizer.c 57 if (context->ctl)
58 offload_virtualizer_send_params(context->ctl, &context->offload_virt,
159 if (virt_ctxt->ctl)
160 offload_virtualizer_send_params(virt_ctxt->ctl,
170 if (virt_ctxt->ctl)
171 offload_virtualizer_send_params(virt_ctxt->ctl,
228 if (virt_ctxt->ctl && virt_ctxt->strength)
229 offload_virtualizer_send_params(virt_ctxt->ctl,
244 if (virt_ctxt->ctl)
245 offload_virtualizer_send_params(virt_ctxt->ctl,
    [all...]
effect_api.h 22 struct mixer_ctl *ctl);
39 int offload_bassboost_send_params(struct mixer_ctl *ctl,
61 int offload_virtualizer_send_params(struct mixer_ctl *ctl,
77 int offload_eq_send_params(struct mixer_ctl *ctl, struct eq_params *eq,
134 int offload_reverb_send_params(struct mixer_ctl *ctl,
reverb.c 132 if (context->ctl)
133 offload_reverb_send_params(context->ctl, &context->offload_reverb,
150 if (context->ctl)
151 offload_reverb_send_params(context->ctl, &context->offload_reverb,
167 if (context->ctl)
168 offload_reverb_send_params(context->ctl, &context->offload_reverb,
185 if (context->ctl)
186 offload_reverb_send_params(context->ctl, &context->offload_reverb,
202 if (context->ctl)
203 offload_reverb_send_params(context->ctl, &context->offload_reverb
    [all...]
effect_api.c 57 struct mixer_ctl *ctl)
67 ctl = NULL;
70 ctl = mixer_get_ctl_by_name(mixer, mixer_string);
71 if (!ctl) {
78 ALOGV("mixer: %p, ctl: %p", mixer, ctl);
121 int offload_bassboost_send_params(struct mixer_ctl *ctl,
157 if (param_values[2] && ctl)
158 mixer_ctl_set_array(ctl, param_values, ARRAY_SIZE(param_values));
204 int offload_virtualizer_send_params(struct mixer_ctl *ctl,
    [all...]
  /ndk/sources/cxx-stl/stlport/stlport/stl/config/
_cray.h 60 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </opt/ctl/CC/CC/include/##__x>
  /prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/config/
_cray.h 60 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </opt/ctl/CC/CC/include/##__x>
  /external/valgrind/coregrind/
vgdb-invoker-solaris.c 80 /* Process control file /proc/<pid>/ctl.
130 snprintf(procname, sizeof(procname), "/proc/%d/ctl", pid);
144 ctl_t ctl; local
145 ctl.cmd = PCSET;
146 ctl.arg.flags = PR_RLC;
147 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags);
148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes);
157 ctl.cmd = PCSTOP;
158 bytes = sizeof(ctl.cmd)
378 ctl_t ctl; local
468 ctl_t ctl; local
    [all...]
  /system/media/audio_route/
audio_route.c 43 struct mixer_ctl *ctl; member in struct:mixer_state
115 LOG_ALWAYS_FATAL("Unsupported mixer ctl type: %d, check type before calling", (int)type);
123 return ar->mixer_state[ctl_index].ctl;
134 struct mixer_ctl *ctl = index_to_ctl(ar, path->setting[i].ctl_index);
136 ALOGE(" id=%d: ctl=%s", i, mixer_ctl_get_name(ctl));
137 if (mixer_ctl_get_type(ctl) == MIXER_CTL_TYPE_BYTE) {
140 } else if (mixer_ctl_get_type(ctl) == MIXER_CTL_TYPE_ENUM) {
263 struct mixer_ctl *ctl = index_to_ctl(ar, setting->ctl_index); local
266 mixer_ctl_get_name(ctl), path->name)
299 struct mixer_ctl *ctl; local
379 struct mixer_ctl *ctl; local
400 struct mixer_ctl *ctl; local
443 struct mixer_ctl *ctl; local
563 struct mixer_ctl *ctl; local
625 struct mixer_ctl *ctl; local
    [all...]
  /device/asus/fugu/libaudio/
HDMIAudioOutput.cpp 90 struct mixer_ctl *ctl = mixer_get_ctl_by_name(mixer, ctlName); local
91 if (ctl == NULL) {
92 ALOGE("Couldn't get mixer ctl %s", ctlName);
97 err = mixer_ctl_get_array(ctl, &iec958, count);
109 err = mixer_ctl_set_array(ctl, &iec958, count);
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/nios2/
ctl.d 2 #name: NIOS2 ctl
4 # Test the ctl instructions
  /libcore/luni/src/main/java/java/util/concurrent/
ThreadPoolExecutor.java 311 * The main pool control state, ctl, is an atomic integer packing
367 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0)); field in class:ThreadPoolExecutor
378 // Packing and unpacking ctl
384 * Bit field accessors that don't require unpacking ctl.
401 * Attempts to CAS-increment the workerCount field of ctl.
404 return ctl.compareAndSet(expect, expect + 1);
408 * Attempts to CAS-decrement the workerCount field of ctl.
411 return ctl.compareAndSet(expect, expect - 1);
415 * Decrements the workerCount field of ctl. This is called only on
420 do {} while (! compareAndDecrementWorkerCount(ctl.get()))
    [all...]
  /prebuilts/go/darwin-x86/src/net/
file_plan9.go 33 var ctl *os.File
52 case "ctl", "clone":
62 ctl = os.NewFile(uintptr(fd), dir+"/"+file)
63 ctl.Seek(0, 0)
65 n, err := ctl.Read(buf[:])
75 ctl, err = os.OpenFile(dir+"/ctl", os.O_RDWR, 0)
79 defer close(int(ctl.Fd()))
86 return newFD(comp[1], name, ctl, nil, laddr, nil)
  /prebuilts/go/linux-x86/src/net/
file_plan9.go 33 var ctl *os.File
52 case "ctl", "clone":
62 ctl = os.NewFile(uintptr(fd), dir+"/"+file)
63 ctl.Seek(0, 0)
65 n, err := ctl.Read(buf[:])
75 ctl, err = os.OpenFile(dir+"/ctl", os.O_RDWR, 0)
79 defer close(int(ctl.Fd()))
86 return newFD(comp[1], name, ctl, nil, laddr, nil)

Completed in 283 milliseconds

1 2 3 4 5 6 7