/external/tinyalsa/ |
tinymix.c | 39 static void tinymix_print_enum(struct mixer_ctl *ctl, int print_all); 67 struct mixer_ctl *ctl; local 77 printf("ctl\ttype\tnum\t%-40s value\n", "name"); 79 ctl = mixer_get_ctl(mixer, i); 81 mixer_ctl_get_name(ctl, buffer, sizeof(buffer)); 82 type = mixer_ctl_get_type_string(ctl); 83 num_values = mixer_ctl_get_num_values(ctl); 89 static void tinymix_print_enum(struct mixer_ctl *ctl, int print_all) 95 num_enums = mixer_ctl_get_num_enums(ctl); 98 mixer_ctl_get_enum_string(ctl, i, buffer, sizeof(buffer)) 110 struct mixer_ctl *ctl; local 165 struct mixer_ctl *ctl; local [all...] |
mixer.c | 54 struct mixer_ctl *ctl; member in struct:mixer 68 if (mixer->ctl) { 70 if (mixer->ctl[n].ename) { 71 unsigned int max = mixer->ctl[n].info->value.enumerated.items; 73 free(mixer->ctl[n].ename[m]); 74 free(mixer->ctl[n].ename); 77 free(mixer->ctl); 111 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 113 if (!mixer->ctl || !mixer->info) 132 mixer->ctl[n].info = ei [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 | 43 static int ctl; variable 88 ctl = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_BNEP); 89 if (ctl < 0) { 102 if (!ioctl(ctl, BNEPGETCONNLIST, &req)) { 122 close(ctl); 134 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 | 249 static int create_device(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout) 340 err = ioctl(ctl, HIDPCONNADD, &req); 348 static void run_server(int ctl, int csk, int isk, uint8_t subclass, int nosdp, int nocheck, int bootonly, int encrypt, int timeout) 381 err = create_device(ctl, ncsk, nisk, subclass, nosdp, nocheck, bootonly, encrypt, timeout); 421 static void do_show(int ctl) 431 if (ioctl(ctl, HIDPGETCONNLIST, &req) < 0) { 433 close(ctl); 445 static void do_connect(int ctl, bdaddr_t *src, bdaddr_t *dst, uint8_t subclass, int fakehid, int bootonly, int encrypt, int timeout) 463 close(ctl); 474 close(ctl); 698 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...] |
rfcomm.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) 68 if (ioctl(ctl, HCIGETDEVLIST, (void *) dl) < 0) { 75 if (ioctl(ctl, HCIGETDEVINFO, (void *) &di) < 0) 83 print_dev_info(ctl, &di); 168 static void cmd_rstat(int ctl, int hdev, char *opt) 171 if (ioctl(ctl, HCIDEVRESTAT, hdev) < 0) { 178 static void cmd_scan(int ctl, int hdev, char *opt) 191 if (ioctl(ctl, HCISETSCAN, (unsigned long) &dr) < 0) { 198 static void cmd_le_addr(int ctl, int hdev, char *opt 1964 int opt, ctl, i, cmd = 0; local [all...] |
/external/qemu-pc-bios/vgabios/tests/ |
testbios.c | 31 Bit8u ctl;
member in struct:__anon10336 281 biosarea->ctl=peekb(0x40,0x87);
307 printf("ctl : %02x\n",biosarea->ctl);
|
/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
|
/development/tools/emulator/system/sensors/ |
sensors_qemu.c | 138 SensorPoll* ctl = (void*)dev; local 141 if (ctl->fd < 0) { 142 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME); 144 D("%s: fd=%d", __FUNCTION__, ctl->fd); 146 handle->data[0] = dup(ctl->fd); 155 SensorPoll* ctl = (void*)dev; local 161 _sensorIdToName(handle), handle, ctl->fd, enabled); 171 active = ctl->active_sensors; 181 if (ctl->fd < 0) { 182 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME) 198 SensorPoll* ctl = (void*)dev; local 211 SensorPoll* ctl = (void*)dev; local 417 SensorPoll* ctl = (void*)dev; local 455 SensorPoll* ctl = (void*)dev; local [all...] |
/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...] |
/sdk/emulator/sensors/ |
sensors_qemu.c | 138 SensorPoll* ctl = (void*)dev; local 141 if (ctl->fd < 0) { 142 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME); 144 D("%s: fd=%d", __FUNCTION__, ctl->fd); 146 handle->data[0] = dup(ctl->fd); 155 SensorPoll* ctl = (void*)dev; local 161 _sensorIdToName(handle), handle, ctl->fd, enabled); 171 active = ctl->active_sensors; 181 if (ctl->fd < 0) { 182 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME) 198 SensorPoll* ctl = (void*)dev; local 211 SensorPoll* ctl = (void*)dev; local 417 SensorPoll* ctl = (void*)dev; local 455 SensorPoll* ctl = (void*)dev; local [all...] |
/system/core/libusbhost/ |
usbhost.c | 441 struct usbdevfs_ioctl ctl; local 443 ctl.ifno = interface; 444 ctl.ioctl_code = (connect ? USBDEVFS_CONNECT : USBDEVFS_DISCONNECT); 445 ctl.data = NULL; 446 return ioctl(device->fd, USBDEVFS_IOCTL, &ctl);
|
/external/bluetooth/bluez/input/ |
device.c | 532 int ctl, err = 0; local 534 ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HIDP); 535 if (ctl < 0) 538 if (ioctl(ctl, HIDPCONNADD, req) < 0) 541 close(ctl); 652 int ctl; local 659 ctl = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HIDP); 660 if (ctl < 0) 665 if (ioctl(ctl, HIDPGETCONNINFO, &ci) < 0) { 666 close(ctl); 684 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...] |
/dalvik/vm/ |
Thread.h | 97 } ctl; member in union:InterpBreak 392 return (self->interpBreak.ctl.subMode & kSubModeSuspendPending);
|
/device/samsung/crespo/libaudio/ |
AudioHardware.cpp | 411 struct mixer_ctl *ctl= mixer_get_ctl_by_name(mMixer, "Playback Path"); local 413 if (ctl != NULL) { 416 mixer_ctl_set_enum_by_string(ctl, "RCV"); 756 struct mixer_ctl *ctl= mixer_get_ctl_by_name(mMixer, "Voice Call Path"); local 758 LOGE_IF(ctl == NULL, "setIncallPath_l() could not get mixer ctl"); 759 if (ctl != NULL) { 762 mixer_ctl_set_enum_by_string(ctl, getVoiceRouteFromDevice(device)); 978 struct mixer_ctl *ctl= mixer_get_ctl_by_name(mMixer, "Input Source"); local 980 if (ctl == NULL) [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ThreadPoolExecutor.java | 283 * The main pool control state, ctl, is an atomic integer packing 339 private final AtomicInteger ctl = new AtomicInteger(ctlOf(RUNNING, 0)); field in class:ThreadPoolExecutor 350 // Packing and unpacking ctl 356 * Bit field accessors that don't require unpacking ctl. 373 * Attempt to CAS-increment the workerCount field of ctl. 376 return ctl.compareAndSet(expect, expect + 1); 380 * Attempt to CAS-decrement the workerCount field of ctl. 383 return ctl.compareAndSet(expect, expect - 1); 387 * Decrements the workerCount field of ctl. This is called only on 392 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
|