/device/samsung/crespo/libaudio/ |
amix.c | 46 struct mixer_ctl *ctl; local 58 ctl = get_ctl(mixer, argv[1]); 62 if (!ctl) { 69 r = mixer_ctl_set(ctl, atoi(argv[0])); 71 r = mixer_ctl_select(ctl, argv[0]); 75 mixer_ctl_print(ctl);
|
alsa_mixer.c | 71 struct mixer_ctl *ctl; member in struct:mixer 82 if (mixer->ctl) { 84 if (mixer->ctl[n].ename) { 85 unsigned max = mixer->ctl[n].info->value.enumerated.items; 87 free(mixer->ctl[n].ename[m]); 88 free(mixer->ctl[n].ename); 91 free(mixer->ctl); 121 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 123 if (!mixer->ctl || !mixer->info) 142 mixer->ctl[n].info = ei [all...] |
aplay.c | 53 struct pcm_ctl *ctl = NULL; local 71 ctl = mixer_get_control(mixer,"Playback Path", 0); 85 if (ctl) { 86 //mixer_ctl_select(ctl, "SPK"); 87 ctl = 0;
|
AudioHardware.cpp | 395 struct mixer_ctl *ctl= mixer_get_control(mMixer, "Playback Path", 0); local 397 if (ctl != NULL) { 400 mixer_ctl_select(ctl, "RCV"); 740 struct mixer_ctl *ctl= mixer_get_control(mMixer, "Voice Call Path", 0); local 742 LOGE_IF(ctl == NULL, "setIncallPath_l() could not get mixer ctl"); 743 if (ctl != NULL) { 746 mixer_ctl_select(ctl, getVoiceRouteFromDevice(device)); 953 struct mixer_ctl *ctl= mixer_get_control(mMixer, "Input Source", 0); local 955 if (ctl == NULL) [all...] |
/external/bluetooth/bluez/network/ |
common.c | 48 static int ctl; variable 108 ctl = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_BNEP); 110 if (ctl < 0) { 122 close(ctl); 133 if (ioctl(ctl, BNEPCONNDEL, &req)) { 152 if (ioctl(ctl, BNEPGETCONNLIST, &req)) { 165 ioctl(ctl, BNEPCONNDEL, &del); 179 if (ioctl(ctl, BNEPCONNADD, &req) < 0) {
|
/external/libpcap/ |
pcap-enet.c | 154 struct eniocb ctl; local 174 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) { 182 ctl.en_rtout = 1 * ctl.en_hz; 183 ctl.en_tr_etherhead = 1; 184 ctl.en_tap_network = 1; 185 ctl.en_multi_packet = 1; 186 ctl.en_maxlen = BUFSPACE; 188 ctl.en_rtout = 64; /* randomly picked value for HZ */ 190 if (ioctl(if_fd, EIOCSETP, &ctl) == -1) [all...] |
pcap-snit.c | 210 struct strbuf ctl, data; local 217 ctl.len = sizeof(*sa); /* XXX - what was this? */ 218 ctl.buf = (char *)sa; 221 ret = putmsg(p->fd, &ctl, &data);
|
pcap-dlpi.c | 237 static struct strbuf ctl = { variable in typeref:struct:strbuf 284 if (getmsg(p->fd, &ctl, &data, &flags) < 0) { 1123 struct strbuf ctl; local 1126 ctl.maxlen = 0; 1127 ctl.len = len; 1128 ctl.buf = ptr; 1131 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) { 1144 struct strbuf ctl; local 1154 ctl.maxlen = MAXDLBUF; 1155 ctl.len = 0 1496 struct strbuf ctl, data; local 1625 struct strbuf ctl; local [all...] |
/external/bluetooth/bluez/compat/ |
bnep.c | 44 static int ctl; variable 89 ctl = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_BNEP); 90 if (ctl < 0) { 103 if (!ioctl(ctl, BNEPGETCONNLIST, &req)) { 123 close(ctl); 135 if (ioctl(ctl, bnepgetconnlist, &req)) { 154 if (ioctl(ctl, bnepconndel, &req)) { 169 if (ioctl(ctl, bnepgetconnlist, &req)) { 178 ioctl(ctl, bnepconndel, &req); 191 if (ioctl(ctl, bnepconnadd, &req) [all...] |
hidd.c | 250 static int create_device(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout) 341 err = ioctl(ctl, HIDPCONNADD, &req); 350 static void run_server(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout) 383 err = create_device(ctl, ncsk, nisk, subclass, nosdp, nocheck, bootonly, encrypt, timeout); 423 static void do_show(int ctl) 433 if (ioctl(ctl, HIDPGETCONNLIST, &req) < 0) { 435 close(ctl); 447 static void do_connect(int ctl, bdaddr_t *src, bdaddr_t *dst, uint8_t subclass, int fakehid, int bootonly, int encrypt, int timeout) 465 close(ctl); 476 close(ctl); 700 int opt, ctl, csk, isk; local [all...] |
/external/bluetooth/bluez/tools/ |
ciptool.c | 131 static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigned short psm, uint32_t flags) 193 if (ioctl(ctl, CMTPCONNADD, &req) < 0) { 201 static void cmd_show(int ctl, bdaddr_t *bdaddr, int argc, char **argv) 211 if (ioctl(ctl, CMTPGETCONNLIST, &req) < 0) { 224 static void cmd_search(int ctl, bdaddr_t *bdaddr, int argc, char **argv) 262 do_connect(ctl, dev_id, &src, &dst, psm, 0); 272 static void cmd_create(int ctl, bdaddr_t *bdaddr, int argc, char **argv) 298 do_connect(ctl, dev_id, &src, &dst, psm, 0); 301 static void cmd_release(int ctl, bdaddr_t *bdaddr, int argc, char **argv) 311 if (ioctl(ctl, CMTPGETCONNLIST, &cl) < 0) 451 int i, opt, ctl; local [all...] |
main.c | 125 static void print_dev_list(int ctl, int flags) 140 if (ioctl(ctl, RFCOMMGETDEVLIST, (void *) dl) < 0) { 151 static int create_dev(int ctl, int dev, uint32_t flags, bdaddr_t *bdaddr, int argc, char **argv) 184 err = ioctl(ctl, RFCOMMCREATEDEV, &req); 193 static int create_all(int ctl) 216 ioctl(ctl, RFCOMMCREATEDEV, &req); 222 static int release_dev(int ctl, int dev, uint32_t flags) 230 err = ioctl(ctl, RFCOMMRELEASEDEV, &req); 237 static int release_all(int ctl) 252 if (ioctl(ctl, RFCOMMGETDEVLIST, (void *) dl) < 0) 749 int i, opt, ctl, dev_id, show_all = 0; local [all...] |
hciconfig.c | 52 static void print_dev_info(int ctl, struct hci_dev_info *di); 54 static void print_dev_list(int ctl, int flags) 67 if (ioctl(ctl, HCIGETDEVLIST, (void *) dl) < 0) { 74 if (ioctl(ctl, HCIGETDEVINFO, (void *) &di) < 0) 82 print_dev_info(ctl, &di); 122 static void cmd_rstat(int ctl, int hdev, char *opt) 125 if (ioctl(ctl, HCIDEVRESTAT, hdev) < 0) { 132 static void cmd_scan(int ctl, int hdev, char *opt) 145 if (ioctl(ctl, HCISETSCAN, (unsigned long) &dr) < 0) { 152 static void cmd_iac(int ctl, int hdev, char *opt 1757 int opt, ctl, i, cmd=0; local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
mixer_abst.h | 75 snd_ctl_t *ctl; member in struct:_sm_class_basic
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 770 struct strbuf ctl; local 776 ctl.maxlen = 0; 777 ctl.len = sizeof (promiscon_req); 778 ctl.buf = (char *) &promiscon_req; 782 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) 790 struct strbuf ctl; local 795 ctl.maxlen = 0; 796 ctl.len = sizeof (info_req); 797 ctl.buf = (char *) &info_req; 801 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0 809 struct strbuf data, ctl; local 836 struct strbuf ctl; local 868 struct strbuf ctl; local 891 struct strbuf ctl; local 910 struct strbuf ctl; local 942 struct strbuf ctl; local [all...] |
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
usbhost.c | 438 struct usbdevfs_ioctl ctl; local 440 ctl.ifno = interface; 441 ctl.ioctl_code = (connect ? USBDEVFS_CONNECT : USBDEVFS_DISCONNECT); 442 ctl.data = NULL; 443 return ioctl(device->fd, USBDEVFS_IOCTL, &ctl);
|
/sdk/emulator/sensors/ |
sensors_qemu.c | 130 SensorControl* ctl = (void*)dev; local 133 if (ctl->fd < 0) { 134 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME); 136 D("%s: fd=%d", __FUNCTION__, ctl->fd); 138 handle->data[0] = dup(ctl->fd); 147 SensorControl* ctl = (void*)dev; local 153 _sensorIdToName(handle), handle, ctl->fd, enabled); 163 active = ctl->active_sensors; 173 if (ctl->fd < 0) { 174 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME) 190 SensorControl* ctl = (void*)dev; local 208 SensorControl* ctl = (void*)dev; local 217 SensorControl* ctl = (void*)dev; local [all...] |
/external/bluetooth/bluez/input/ |
device.c | 564 int ctl, err = 0; local 566 ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HIDP); 567 if (ctl < 0) 570 if (ioctl(ctl, HIDPCONNADD, req) < 0) 573 close(ctl); 675 int ctl; local 682 ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HIDP); 683 if (ctl < 0) 688 if (ioctl(ctl, HIDPGETCONNINFO, &ci) < 0) { 689 close(ctl); 707 int ctl, err; local [all...] |
/external/strace/ |
system.c | 1987 char ctl[1024]; local [all...] |
process.c | 233 unalignctl_string (unsigned int ctl) 237 switch (ctl) { 249 sprintf(buf, "%x", ctl); 301 int ctl; local 303 umove(tcp, tcp->u_arg[1], &ctl); 304 tcp->auxstr = unalignctl_string(ctl); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadPoolExecutor.java | 295 * The main pool control state, ctl, is an atomic integer packing 351 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0)); field in class:ThreadPoolExecutor 362 // Packing and unpacking ctl 368 * Bit field accessors that don't require unpacking ctl. 385 * Attempt to CAS-increment the workerCount field of ctl. 388 return ctl.compareAndSet(expect, expect + 1); 392 * Attempt to CAS-decrement the workerCount field of ctl. 395 return ctl.compareAndSet(expect, expect - 1); 399 * Decrements the workerCount field of ctl. This is called only on 404 do {} while (! compareAndDecrementWorkerCount(ctl.get())) [all...] |
/bionic/libc/kernel/common/linux/ |
ata.h | 222 u8 ctl; member in struct:ata_taskfile
|
/development/ndk/platforms/android-3/include/linux/ |
ata.h | 222 u8 ctl; member in struct:ata_taskfile
|
/external/kernel-headers/original/linux/ |
ata.h | 255 u8 ctl; /* control reg */ member in struct:ata_taskfile
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
ata.h | 222 u8 ctl; member in struct:ata_taskfile
|