/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 | 65 struct mixer_ctl *ctl; member in struct:mixer 79 if (mixer->ctl) { 81 if (mixer->ctl[n].ename) { 82 unsigned int max = mixer->ctl[n].info->value.enumerated.items; 84 free(mixer->ctl[n].ename[m]); 85 free(mixer->ctl[n].ename); 88 free(mixer->ctl); 121 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 123 if (!mixer->ctl || !mixer->elem_info) 141 struct mixer_ctl *ctl = mixer->ctl + n local 214 struct mixer_ctl *ctl; local [all...] |
tinymix.c | 43 static void tinymix_print_enum(struct mixer_ctl *ctl, const char *space, 130 struct mixer_ctl *ctl; local 140 printf("ctl\ttype\tnum\tname\tvalue"); 142 printf("ctl\ttype\tnum\t%-40s value\n", "name"); 148 ctl = mixer_get_ctl(mixer, i); 150 name = mixer_ctl_get_name(ctl); 151 type = mixer_ctl_get_type_string(ctl); 152 num_values = mixer_ctl_get_num_values(ctl); 161 static void tinymix_print_enum(struct mixer_ctl *ctl, const char *space, 167 int control_value = mixer_ctl_get_value(ctl, 0) 187 struct mixer_ctl *ctl; local 337 struct mixer_ctl *ctl; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/bl32/tsp/ |
tsp_timer.c | 17 uint32_t ctl; member in struct:timer_context 28 uint32_t ctl = 0; local 35 set_cntp_ctl_enable(ctl); 36 write_cntps_ctl_el1(ctl); 74 pcpu_timer_context[linear_id].ctl = read_cntps_ctl_el1(); 87 write_cntps_ctl_el1(pcpu_timer_context[linear_id].ctl);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
4-1.c | 52 pid_t child, ctl; local 56 ctl = getpid(); 67 if (ctl != getppid()) { 77 ctl = waitpid(child, &status, 0); 78 if (ctl != child) {
|
21-1.c | 73 pid_t child, ctl; local 78 ctl = getpid(); 89 ret = pthread_create(&th, NULL, threaded, &ctl); 118 ctl = waitpid(child, &status, 0); 120 if (ctl != child)
|
3-1.c | 54 pid_t child, ctl; local 72 ctl = waitpid(child, &status, 0); 73 if (ctl != child) {
|
9-1.c | 55 pid_t child, ctl; local 88 ctl = waitpid(child, &status, 0); 90 if (ctl != child) {
|
/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...] |
/frameworks/base/services/core/jni/ |
com_android_server_UsbAlsaJackDetector.cpp | 45 struct mixer_ctl* ctl; local 46 while ((ctl = mixer_get_ctl(card_mixer, id++)) != NULL) { 47 const char* name = mixer_ctl_get_name(ctl); 49 return ctl; 60 struct mixer_ctl* ctl = find_mixer_with_suffix(card_mixer, suffix); local 61 if (!ctl) { 64 mixer_ctl_update(ctl); 65 int val = mixer_ctl_get_value(ctl, 0); 66 ALOGI("%s - value %d\n", mixer_ctl_get_name(ctl), val);
|
/external/syslinux/core/fs/pxe/ |
ftp.c | 155 if (socket->ctl) { 156 core_tcp_close_file(socket->ctl); 157 free_socket(socket->ctl); 158 socket->ctl = NULL; 169 ctlsock = socket->ctl ? PVT(socket->ctl) : NULL; 171 resp = ftp_cmd_response(socket->ctl, "QUIT", NULL, NULL, NULL); 173 resp = ftp_cmd_response(socket->ctl, NULL, NULL, NULL, NULL); 207 socket->ctl = alloc_inode(inode->fs, 0, sizeof(struct pxe_pvt_inode)); 208 if (!socket->ctl) [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/nios2/ |
ctl-r2.d | 2 #name: NIOS2 R2 ctl 4 #source: ctl.s 6 # Test the ctl instructions
|
ctl.d | 2 #name: NIOS2 ctl 4 # Test the ctl instructions
|
/device/generic/goldfish/ |
init.ranchu-net.sh | 10 *) setprop ctl.start dhcpclient_def
|
/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...] |
/external/tinyalsa/include/tinyalsa/ |
asoundlib.h | 288 const char *mixer_ctl_get_name(struct mixer_ctl *ctl); 289 enum mixer_ctl_type mixer_ctl_get_type(struct mixer_ctl *ctl); 290 const char *mixer_ctl_get_type_string(struct mixer_ctl *ctl); 291 unsigned int mixer_ctl_get_num_values(struct mixer_ctl *ctl); 292 unsigned int mixer_ctl_get_num_enums(struct mixer_ctl *ctl); 293 const char *mixer_ctl_get_enum_string(struct mixer_ctl *ctl, 300 void mixer_ctl_update(struct mixer_ctl *ctl); 303 int mixer_ctl_get_percent(struct mixer_ctl *ctl, unsigned int id); 304 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent); 306 int mixer_ctl_get_value(struct mixer_ctl *ctl, unsigned int id) [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 | 58 if (context->ctl) 59 offload_bassboost_send_params(context->ctl, &context->offload_bass, 160 if (bass_ctxt->ctl) 161 offload_bassboost_send_params(bass_ctxt->ctl, 171 if (bass_ctxt->ctl) 172 offload_bassboost_send_params(bass_ctxt->ctl, 229 if (bass_ctxt->ctl && bass_ctxt->strength) 230 offload_bassboost_send_params(bass_ctxt->ctl, 245 if (bass_ctxt->ctl) 246 offload_bassboost_send_params(bass_ctxt->ctl, [all...] |
virtualizer.c | 58 if (context->ctl) 59 offload_virtualizer_send_params(context->ctl, &context->offload_virt, 160 if (virt_ctxt->ctl) 161 offload_virtualizer_send_params(virt_ctxt->ctl, 171 if (virt_ctxt->ctl) 172 offload_virtualizer_send_params(virt_ctxt->ctl, 229 if (virt_ctxt->ctl && virt_ctxt->strength) 230 offload_virtualizer_send_params(virt_ctxt->ctl, 245 if (virt_ctxt->ctl) 246 offload_virtualizer_send_params(virt_ctxt->ctl, [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
2-2.c | 132 pid_t p1, p2, p3, ctl; local 217 ctl = waitpid(p1, &status, 0); 219 if (ctl != p1) { 227 ctl = waitpid(p2, &status, 0); 229 if (ctl != p2) { 237 ctl = waitpid(p3, &status, 0); 239 if (ctl != p3) {
|
/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) { 268 struct mixer_ctl *ctl = index_to_ctl(ar, setting->ctl_index); local 271 mixer_ctl_get_name(ctl), path->name) 304 struct mixer_ctl *ctl; local 384 struct mixer_ctl *ctl; local 406 struct mixer_ctl *ctl; local 461 struct mixer_ctl *ctl; local 588 struct mixer_ctl *ctl; local 650 struct mixer_ctl *ctl; local [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
5-1.c | 154 int ctl = 0; local 178 ctl = 0; 182 &ctl); 228 if (ctl != 3) {
|