HomeSort by relevance Sort by last modified time
    Searched defs:dev (Results 1 - 25 of 693) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libusb-compat/examples/
lsusb.c 34 struct usb_device *dev; local
35 for (dev = bus->devices; dev; dev = dev->next) {
37 dev->descriptor.idVendor, dev->descriptor.idProduct);
testlibusb.c 62 int print_device(struct usb_device *dev, int level)
69 udev = usb_open(dev);
71 if (dev->descriptor.iManufacturer) {
72 ret = usb_get_string_simple(udev, dev->descriptor.iManufacturer, string, sizeof(string));
77 dev->descriptor.idVendor);
80 dev->descriptor.idVendor);
82 if (dev->descriptor.iProduct) {
83 ret = usb_get_string_simple(udev, dev->descriptor.iProduct, string, sizeof(string));
89 strlen(description), "%04X", dev->descriptor.idProduct);
92 strlen(description), "%04X", dev->descriptor.idProduct)
145 struct usb_device *dev; local
    [all...]
  /external/yaffs2/yaffs2/direct/
yaffscfg.h 18 struct yaffs_DeviceStruct *dev; member in struct:__anon18627
  /hardware/libhardware/modules/nfc/
nfc_pn544_example.c 23 static int pn544_close(hw_device_t *dev) {
24 free(dev);
34 nfc_pn544_device_t *dev = calloc(1, sizeof(nfc_pn544_device_t)); local
36 dev->common.tag = HARDWARE_DEVICE_TAG;
37 dev->common.version = 0;
38 dev->common.module = (struct hw_module_t*) module;
39 dev->common.close = pn544_close;
42 dev->num_eeprom_settings = 0;
43 dev->eeprom_settings = NULL;
44 dev->linktype = PN544_LINK_TYPE_INVALID
    [all...]
  /device/samsung/tuna/nfc/
nfc_hw.c 105 static int pn544_close(hw_device_t *dev) {
106 free(dev);
118 nfc_pn544_device_t *dev = calloc(1, sizeof(nfc_pn544_device_t)); local
120 dev->common.tag = HARDWARE_DEVICE_TAG;
121 dev->common.version = 0;
122 dev->common.module = (struct hw_module_t*) module;
123 dev->common.close = pn544_close;
125 dev->num_eeprom_settings = sizeof(pn544_eedata_settings) / 4;
126 dev->eeprom_settings = (uint8_t*)pn544_eedata_settings;
127 dev->linktype = PN544_LINK_TYPE_UART
    [all...]
  /hardware/qcom/display/libgralloc/
gralloc.cpp 106 gpu_context_t *dev; local
108 dev = new gpu_context_t(m, alloc_ctrl);
109 *device = &dev->common;
  /external/iproute2/ip/
link_veth.c 30 char *name, *type, *link, *dev; local
45 &name, &type, &link, &dev);
  /external/kernel-headers/original/linux/
cdev.h 10 dev_t dev; member in struct:cdev
platform_device.h 19 struct device dev; member in struct:platform_device
24 #define to_platform_device(x) container_of((x), struct platform_device, dev)
59 #define platform_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev)
60 #define platform_set_drvdata(_dev,data) dev_set_drvdata(&(_dev)->dev, (data))
  /external/libusb/examples/
lsusb.c 27 libusb_device *dev; local
30 while ((dev = devs[i++]) != NULL) {
32 int r = libusb_get_device_descriptor(dev, &desc);
40 libusb_get_bus_number(dev), libusb_get_device_address(dev));
  /external/libusb_aah/examples/
listdevs.c 27 libusb_device *dev; local
30 while ((dev = devs[i++]) != NULL) {
32 int r = libusb_get_device_descriptor(dev, &desc);
40 libusb_get_bus_number(dev), libusb_get_device_address(dev));
  /hardware/qcom/audio/legacy/alsa_sound/
acoustics_default.cpp 53 acoustic_device_t *dev; local
54 dev = (acoustic_device_t *) malloc(sizeof(*dev));
55 if (!dev) return -ENOMEM;
57 memset(dev, 0, sizeof(*dev));
60 dev->common.tag = HARDWARE_DEVICE_TAG;
61 dev->common.version = 0;
62 dev->common.module = (hw_module_t *) module;
63 dev->common.close = s_device_close
    [all...]
  /external/e2fsprogs/lib/blkid/
cache.c 72 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs);
73 blkid_debug_dump_dev(dev);
127 blkid_dev dev = list_entry(cache->bic_devs.next, local
130 blkid_free_dev(dev);
163 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); local
166 if (stat(dev->bid_name, &st) < 0) {
168 printf("freeing %s\n", dev->bid_name));
169 blkid_free_dev(dev);
173 printf("Device %s exists\n", dev->bid_name));
196 if ((ret = blkid_get_cache(&cache, "/dev/null")) != 0)
    [all...]
resolve.c 31 blkid_dev dev; local
45 if ((dev = blkid_get_dev(c, devname, BLKID_DEV_NORMAL)) &&
46 (found = blkid_find_tag_dev(dev, tagname)))
64 blkid_dev dev; local
93 dev = blkid_find_dev_with_tag(c, token, value);
94 if (!dev)
97 ret = blkid_strdup(blkid_dev_devname(dev));
123 if (blkid_get_cache(&cache, "/dev/null") < 0) {
save.c 29 static int save_dev(blkid_dev dev, FILE *file)
33 if (!dev || dev->bid_name[0] != '/')
37 printf("device %s, type %s\n", dev->bid_name, dev->bid_type ?
38 dev->bid_type : "(null)"));
42 (unsigned long) dev->bid_devno, (long) dev->bid_time);
43 if (dev->bid_pri)
44 fprintf(file, " PRI=\"%d\"", dev->bid_pri)
121 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
getsize.c 75 HANDLE dev; local
85 dev = CreateFile(file, GENERIC_READ,
89 if (dev == INVALID_HANDLE_VALUE)
91 if (DeviceIoControl(dev, IOCTL_DISK_GET_PARTITION_INFO,
98 } else if (DeviceIoControl(dev, IOCTL_DISK_GET_DRIVE_GEOMETRY,
109 } else if (GetFileSizeEx(dev, &filesize)) {
114 filesize = GetFileSize(dev, NULL);
121 CloseHandle(dev); variable
  /external/libnfc-nci/halimpl/bcm2079x/
nfc_nci.c 36 bcm2079x_dev_t *dev = (bcm2079x_dev_t*) p_dev; local
38 retval = HaiOpen (dev, p_hal_cback, p_hal_data_callback);
47 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; local
49 retval = HaiWrite (dev, data_len, p_data);
58 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; local
60 retval = HaiCoreInitialized (dev, p_core_init_rsp_params);
68 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; local
70 retval = HaiPreDiscover (dev);
78 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; local
80 retval = HaiClose (dev);
88 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; local
98 bcm2079x_dev_t* dev = (bcm2079x_dev_t*) p_dev; local
127 bcm2079x_dev_t *dev = calloc (1, sizeof(bcm2079x_dev_t)); local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/audio/nas/
SDL_nasaudio.h 46 AuDeviceID dev; member in struct:SDL_PrivateAudioData
  /external/qemu/hw/
goldfish_memlog.c 36 struct goldfish_device *dev = opaque; local
39 (void)dev;
70 struct goldfish_device *dev = &memlog_dev; local
72 dev->name = "goldfish_memlog";
73 dev->id = 0;
74 dev->base = base;
75 dev->size = 0x1000;
76 dev->irq_count = 0;
82 goldfish_device_add(dev, memlog_readfn, memlog_writefn, dev);
    [all...]
  /hardware/libhardware/modules/hwcomposer/
hwcomposer.cpp 70 static int hwc_prepare(hwc_composer_device_1_t *dev,
81 static int hwc_set(hwc_composer_device_1_t *dev,
96 static int hwc_device_close(struct hw_device_t *dev)
98 struct hwc_context_t* ctx = (struct hwc_context_t*)dev;
112 struct hwc_context_t *dev; local
113 dev = (hwc_context_t*)malloc(sizeof(*dev));
116 memset(dev, 0, sizeof(*dev));
119 dev->device.common.tag = HARDWARE_DEVICE_TAG
    [all...]
  /hardware/libhardware/modules/nfc-nci/
nfc_nci_example.c 27 static int hal_open(const struct nfc_nci_device *dev,
33 static int hal_write(const struct nfc_nci_device *dev,
39 static int hal_core_initialized(const struct nfc_nci_device *dev,
45 static int hal_pre_discover(const struct nfc_nci_device *dev) {
50 static int hal_close(const struct nfc_nci_device *dev) {
72 static int nfc_close(hw_device_t *dev) {
73 free(dev);
80 nfc_nci_device_t *dev = calloc(1, sizeof(nfc_nci_device_t)); local
82 dev->common.tag = HARDWARE_DEVICE_TAG;
83 dev->common.version = 0x00010000; // [31:16] major, [15:0] mino
    [all...]
  /bionic/libc/kernel/common/linux/
platform_device.h 26 struct device dev; member in struct:platform_device
31 #define to_platform_device(x) container_of((x), struct platform_device, dev)
42 #define platform_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev)
44 #define platform_set_drvdata(_dev,data) dev_set_drvdata(&(_dev)->dev, (data))
  /development/ndk/platforms/android-3/include/linux/
platform_device.h 20 struct device dev; member in struct:platform_device
25 #define to_platform_device(x) container_of((x), struct platform_device, dev)
36 #define platform_get_drvdata(_dev) dev_get_drvdata(&(_dev)->dev)
37 #define platform_set_drvdata(_dev,data) dev_set_drvdata(&(_dev)->dev, (data))
  /external/blktrace/btt/
unplug_hist.c 29 __u32 dev; member in struct:hist_bkt
40 hbp->dev = device;
69 int mjr = hbp->dev >> MINORBITS;
70 int mnr = hbp->dev & ((1 << MINORBITS) - 1);
  /external/bluetooth/bluedroid/bta/sys/
utl.c 192 UINT8 *dev; local
197 dev = BTM_ReadDeviceClass();
198 BTM_COD_SERVICE_CLASS( service, dev );
199 BTM_COD_MINOR_CLASS(minor, dev );
200 BTM_COD_MAJOR_CLASS(major, dev );

Completed in 1401 milliseconds

1 2 3 4 5 6 7 8 91011>>