/external/qemu/hw/ |
goldfish_switch.c | 29 struct goldfish_device dev; member in struct:switch_state 79 goldfish_device_set_irq(&s->dev, 0, 0); 115 goldfish_device_set_irq(&s->dev, 0, value); 142 goldfish_device_set_irq(&s->dev, 0, 1); 151 s->dev.name = "goldfish-switch"; 152 s->dev.id = id; 153 s->dev.size = 0x1000; 154 s->dev.irq_count = 1; 160 ret = goldfish_device_add(&s->dev, goldfish_switch_readfn, goldfish_switch_writefn, s);
|
armv7m.c | 125 static void bitband_init(SysBusDevice *dev) 127 BitBandState *s = FROM_SYSBUS(BitBandState, dev); 130 s->base = qdev_get_prop_int(&dev->qdev, "base", 0); 133 sysbus_init_mmio(dev, 0x02000000, iomemtype); 138 DeviceState *dev; local 140 dev = qdev_create(NULL, "ARM,bitband-memory"); 141 qdev_set_prop_int(dev, "base", 0x20000000); 142 qdev_init(dev); 143 sysbus_mmio_map(sysbus_from_qdev(dev), 0, 0x22000000); 145 dev = qdev_create(NULL, "ARM,bitband-memory") [all...] |
goldfish_battery.c | 36 struct goldfish_device dev; member in struct:goldfish_battery_state 92 goldfish_device_set_irq(&s->dev, 0, 0); 125 // goldfish_device_set_irq(&s->dev, 0, (s->int_status & s->int_enable)); 151 s->dev.name = "goldfish-battery"; 152 s->dev.base = 0; // will be allocated dynamically 153 s->dev.size = 0x1000; 154 s->dev.irq_count = 1; 165 goldfish_device_add(&s->dev, goldfish_battery_readfn, goldfish_battery_writefn, s); 200 goldfish_device_set_irq(&battery_state->dev, 0, (battery_state->int_status & battery_state->int_enable));
|
goldfish_device.c | 34 struct goldfish_device dev; member in struct:bus_state 44 void goldfish_device_set_irq(struct goldfish_device *dev, int irq, int level) 46 if(irq >= dev->irq_count) 47 cpu_abort (cpu_single_env, "goldfish_device_set_irq: Bad irq %d >= %d\n", irq, dev->irq_count); 49 qemu_set_irq(goldfish_pic[dev->irq + irq], level); 52 int goldfish_add_device_no_io(struct goldfish_device *dev) 54 if(dev->base == 0) { 55 dev->base = goldfish_free_base; 56 goldfish_free_base += dev->size; 58 if(dev->irq == 0 && dev->irq_count > 0) 141 struct goldfish_device *dev = first_device; local [all...] |
/external/skia/gm/ |
ninepatchstretch.cpp | 17 SkDevice* dev; local 25 dev = new SkGpuDevice(ctx, SkBitmap::kARGB_8888_Config, kSize, kSize); 26 *bitmap = dev->accessBitmap(false); 32 dev = new SkDevice(*bitmap); 35 SkCanvas canvas(dev); 36 dev->unref();
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_pd.c | 136 struct p2p_device *dev; local 149 dev = p2p_get_device(p2p, sa); 150 if (dev == NULL || (dev->flags & P2P_DEV_PROBE_REQ_ONLY)) { 162 wpabuf_free(dev->info.wfd_subelems); 163 dev->info.wfd_subelems = wpabuf_dup(msg.wfd_subelems); 189 if (dev) 190 dev->flags &= ~(P2P_DEV_PD_PEER_DISPLAY | 195 if (dev) 196 dev->flags |= P2P_DEV_PD_PEER_KEYPAD 261 struct p2p_device *dev; local 425 struct p2p_device *dev; local 480 struct p2p_device *dev; local [all...] |
/hardware/libhardware/modules/gralloc/ |
gralloc.cpp | 47 static int gralloc_alloc_buffer(alloc_device_t* dev, 104 static int gralloc_alloc_framebuffer_locked(alloc_device_t* dev, 108 dev->common.module); 128 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); 157 static int gralloc_alloc_framebuffer(alloc_device_t* dev, 161 dev->common.module); 163 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle); 168 static int gralloc_alloc_buffer(alloc_device_t* dev, 185 dev->common.module); 199 static int gralloc_alloc(alloc_device_t* dev, 291 gralloc_context_t *dev; local [all...] |
/hardware/msm7k/libgralloc-qsd8k/ |
gralloc.cpp | 33 static int gralloc_alloc_buffer(alloc_device_t* dev, 141 "/dev/pmem"); 144 "/dev/pmem_adsp"); 187 gpu_context_t *dev; local 188 dev = new gpu_context_t(gpuContextDeviceDepsImpl, pmemAllocator, 190 *device = &dev->common;
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/ |
eval_param.pass.cpp | 61 double dev = std::sqrt(var); local 62 skew /= u.size() * dev * var; 104 double dev = std::sqrt(var); local 105 skew /= u.size() * dev * var; 147 double dev = std::sqrt(var); local 148 skew /= u.size() * dev * var; 190 double dev = std::sqrt(var); local 191 skew /= u.size() * dev * var; 233 double dev = std::sqrt(var); local 234 skew /= u.size() * dev * var [all...] |
/system/core/toolbox/ |
lsusb.c | 28 static const char *get_str(struct usb_device *dev, int id) 30 char *str = usb_device_get_string(dev, id); 43 static void lsusb_parse_device_descriptor(struct usb_device *dev, 55 printf("\tiManufacturer: %s\n", get_str(dev, desc->iManufacturer)); 56 printf("\tiProduct: %s\n", get_str(dev, desc->iProduct)); 57 printf("\tiSerialNumber: %s\n", get_str(dev,desc->iSerialNumber)); 62 static void lsusb_parse_config_descriptor(struct usb_device *dev, 69 printf("\tiConfiguration: %s\n", get_str(dev, desc->iConfiguration)); 75 static void lsusb_parse_interface_descriptor(struct usb_device *dev, 85 printf("\tiInterface: %s\n", get_str(dev, desc->iInterface)) 150 struct usb_device *dev = usb_device_open(dev_name); local [all...] |
/system/extras/fatblock/ |
fatblock.h | 49 dev_t dev; member in struct:file
|
/bionic/libc/kernel/common/linux/ |
mca.h | 24 typedef int (*MCA_ProcFn)(char* buf, int slot, void* dev); 44 struct device dev; member in struct:mca_device 47 #define to_mca_device(mdev) container_of(mdev, struct mca_device, dev) 66 struct device dev; member in struct:mca_bus 70 #define to_mca_bus(mdev) container_of(mdev, struct mca_bus, dev)
|
miscdevice.h | 61 struct device *dev; member in struct:miscdevice
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ConnectReqTestCase.java | 100 WifiP2pDevice dev = mReceiverTest.waitDeviceFound(mTargetAddress, TIMEOUT); local 101 if (dev == null) { 106 if (!isJoin && dev.isGroupOwner()) { 110 } else if (isJoin && !dev.isGroupOwner()) { 126 config.deviceAddress = dev.deviceAddress;
|
/development/ndk/platforms/android-3/include/linux/ |
mca.h | 19 typedef int (*MCA_ProcFn)(char* buf, int slot, void* dev); 42 struct device dev; member in struct:mca_device 45 #define to_mca_device(mdev) container_of(mdev, struct mca_device, dev) 62 struct device dev; member in struct:mca_bus 65 #define to_mca_bus(mdev) container_of(mdev, struct mca_bus, dev)
|
miscdevice.h | 52 struct device *dev; member in struct:miscdevice
|
/device/samsung/tuna/liblight/ |
lights.c | 33 char const *const LED_FILE = "/dev/an30259a_leds"; 83 static int set_light_backlight(struct light_device_t *dev, 96 static int close_lights(struct light_device_t *dev) 99 if (dev) 100 free(dev); 167 static int set_light_leds_notifications(struct light_device_t *dev, 173 static int set_light_leds_attention(struct light_device_t *dev, 182 int (*set_light)(struct light_device_t *dev, 196 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); local 197 memset(dev, 0, sizeof(*dev)) [all...] |
/external/bluetooth/bluedroid/stack/gap/ |
gap_api.c | 769 UINT8 *dev; local 774 dev = BTM_ReadDeviceClass(); 775 BTM_COD_SERVICE_CLASS( service, dev ); 776 BTM_COD_MINOR_CLASS(minor, dev ); 777 BTM_COD_MAJOR_CLASS(major, dev ); 834 UINT8 *dev; local [all...] |
/external/e2fsprogs/lib/blkid/ |
read.c | 42 #define blkid_debug_dump_dev(dev) (debug_dump_dev(dev)) 43 static void debug_dump_dev(blkid_dev dev); 184 static int parse_dev(blkid_cache cache, blkid_dev *dev, char **cp) 195 printf("blkid: short line parsing dev: %s\n", *cp)); 226 DBG(DEBUG_READ, printf("found dev %s\n", name)); 228 if (!(*dev = blkid_get_dev(cache, name, BLKID_DEV_CREATE))) { 304 static int parse_tag(blkid_cache cache, blkid_dev dev, char **cp) 310 if (!cache || !dev) 319 dev->bid_devno = STRTOULL(value, 0, 0) 345 blkid_dev dev; local 413 blkid_dev dev; local [all...] |
/external/iproute2/ip/ |
ipmaddr.c | 33 char *dev; member in struct:__anon9115 41 fprintf(stderr, "Usage: ip maddr [ add | del ] MULTIADDR dev STRING\n"); 42 fprintf(stderr, " ip maddr show [ dev STRING ]\n"); 102 if (filter.dev && strcmp(filter.dev, m.name)) 145 if (filter.dev && strcmp(filter.dev, m.name)) 174 if (filter.dev && strcmp(filter.dev, m.name)) 253 if (strcmp(*argv, "dev") == 0) [all...] |
/external/kernel-headers/original/linux/ |
hidraw.h | 54 struct device *dev; member in struct:hidraw
|
miscdevice.h | 41 struct device *dev; member in struct:miscdevice
|
/external/libpcap/ |
pcap-snit.c | 97 * "ps_drop" counts packets dropped inside the "/dev/nit" 272 static char dev[] = "/dev/nit"; local 302 p->fd = fd = open(dev, O_RDWR); 304 p->fd = fd = open(dev, O_RDONLY); 306 snprintf(ebuf, PCAP_ERRBUF_SIZE, "%s: %s", dev,
|
/external/libppp/src/ |
exec.c | 73 struct device dev; /* What struct physical knows about */ member in struct:execdevice 88 struct execdevice *dev = device2exec(p->handler); local 90 if (dev->fd_out != -1) 91 close(dev->fd_out); 92 free(dev); 99 struct execdevice *dev; local 110 dev = device2exec(d); 111 if (dev->fd_out >= 0) { 112 *auxfd = dev->fd_out; 120 struct execdevice *dev = device2exec(p->handler) local 146 struct execdevice *dev = device2exec(p->handler); local 178 struct execdevice *dev = (struct execdevice *)iov[(*niov)++].iov_base; local 207 struct execdevice *dev = device2exec(p->handler); local 233 struct execdevice *dev = device2exec(p->handler); local 243 struct execdevice *dev; local [all...] |
i4b.c | 78 #define Online(dev) ((dev)->mbits & TIOCM_CD) 81 struct device dev; /* What struct physical knows about */ member in struct:i4bdevice 103 struct i4bdevice *dev = device2i4b(p->handler); local 106 timer_Stop(&dev->Timer); 107 dev->Timer.load = SECTICKS; /* Once a second please */ 108 timer_Start(&dev->Timer); 109 ombits = dev->mbits; 112 if (ioctl(p->fd, TIOCMGET, &dev->mbits) < 0) { 116 timer_Stop(&dev->Timer) 159 struct i4bdevice *dev = device2i4b(p->handler); local 174 struct i4bdevice *dev = device2i4b(p->handler); local 205 struct i4bdevice *dev = device2i4b(p->handler); local 232 struct i4bdevice *dev = device2i4b(p->handler); local 240 struct i4bdevice *dev = device2i4b(p->handler); local 262 struct i4bdevice *dev = device2i4b(p->handler); local 288 struct i4bdevice *dev = device2i4b(d); local 331 struct i4bdevice *dev = (struct i4bdevice *)iov[(*niov)++].iov_base; local 358 struct i4bdevice *dev; local [all...] |