/external/yaffs2/yaffs2/direct/ |
yaffscfg.h | 18 struct yaffs_DeviceStruct *dev; member in struct:__anon14418
|
/hardware/libhardware/modules/nfc/ |
nfc_hw_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...] |
/hardware/qcom/gps/loc_api/libloc_api/ |
gps.c | 34 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) 42 struct gps_device_t *dev = malloc(sizeof(struct gps_device_t)); local 43 memset(dev, 0, sizeof(*dev)); 45 dev->common.tag = HARDWARE_DEVICE_TAG; 46 dev->common.version = 0; 47 dev->common.module = (struct hw_module_t*)module; 48 dev->get_gps_interface = gps__get_gps_interface; 50 *device = (struct hw_device_t*)dev;
|
/device/samsung/crespo/nfc/ |
nfc_hw.c | 88 static int pn544_close(hw_device_t *dev) { 89 free(dev); 101 nfc_pn544_device_t *dev = calloc(1, sizeof(nfc_pn544_device_t)); local 103 dev->common.tag = HARDWARE_DEVICE_TAG; 104 dev->common.version = 0; 105 dev->common.module = (struct hw_module_t*) module; 106 dev->common.close = pn544_close; 108 dev->num_eeprom_settings = sizeof(pn544_eedata_settings) / 4; 109 dev->eeprom_settings = (uint8_t*)pn544_eedata_settings; 110 dev->linktype = PN544_LINK_TYPE_I2C [all...] |
/device/samsung/tuna/nfc/ |
nfc_hw.c | 107 static int pn544_close(hw_device_t *dev) { 108 free(dev); 120 nfc_pn544_device_t *dev = calloc(1, sizeof(nfc_pn544_device_t)); local 122 dev->common.tag = HARDWARE_DEVICE_TAG; 123 dev->common.version = 0; 124 dev->common.module = (struct hw_module_t*) module; 125 dev->common.close = pn544_close; 127 dev->num_eeprom_settings = sizeof(pn544_eedata_settings) / 4; 128 dev->eeprom_settings = (uint8_t*)pn544_eedata_settings; 129 dev->linktype = PN544_LINK_TYPE_UART [all...] |
/external/bluetooth/bluez/tools/ |
hcieventmask.c | 48 int dd, opt, dev = 0; local 53 dev = hci_devid(optarg); 54 if (dev < 0) { 62 dd = hci_open_dev(dev); 65 dev, strerror(errno), errno); 69 if (hci_devinfo(dev, &di) < 0) { 71 dev, strerror(errno), errno); 78 dev, strerror(errno), errno);
|
csr_hci.c | 47 int dev = 0; local 50 dev = hci_devid(device); 51 if (dev < 0) { 57 dd = hci_open_dev(dev); 60 dev, strerror(errno), errno); 64 if (hci_devinfo(dev, &di) < 0) { 66 dev, strerror(errno), errno); 73 dev, strerror(errno), errno);
|
csr_usb.c | 44 static inline int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout) 46 return usb_bulk_read(dev, ep, bytes, size, timeout); 61 struct usb_device *dev; local 69 for (dev = bus->devices; dev; dev = dev->next) { 70 if (dev->descriptor.bDeviceClass == USB_CLASS_HUB) 73 if (dev->descriptor.idVendor != 0x0a12 || 74 dev->descriptor.idProduct != 0x0001 [all...] |
/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))
|
/bionic/libc/kernel/arch-sh/asm/ |
timer.h | 29 struct sys_device dev; member in struct:sys_timer
|