/hardware/intel/img/libdrm/libdrm/intel/ |
H A D | intel_chipset.h | 31 #define IS_I830(dev) ((dev)->pci_device == 0x3577) 32 #define IS_845G(dev) ((dev)->pci_device == 0x2562) 33 #define IS_I85X(dev) ((dev)->pci_device == 0x3582) 34 #define IS_I855(dev) ((dev)->pci_device == 0x3582) 35 #define IS_I865G(dev) ((dev) [all...] |
/hardware/libhardware/modules/nfc/ |
H A D | nfc_pn544_example.c | 23 static int pn544_close(hw_device_t *dev) { argument 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 [all...] |
/hardware/broadcom/libbt/conf/asus/grouper/ |
H A D | bt_vendor.conf | 2 UartPort = /dev/ttyHS2
|
/hardware/broadcom/libbt/conf/moto/wingray/ |
H A D | bt_vendor.conf | 2 UartPort = /dev/ttyHS2
|
/hardware/broadcom/libbt/conf/samsung/crespo/ |
H A D | bt_vendor.conf | 2 UartPort = /dev/s3c2410_serial0
|
/hardware/broadcom/libbt/conf/samsung/crespo4g/ |
H A D | bt_vendor.conf | 2 UartPort = /dev/s3c2410_serial0
|
/hardware/broadcom/libbt/conf/samsung/maguro/ |
H A D | bt_vendor.conf | 2 UartPort = /dev/ttyO1
|
/hardware/libhardware/include/hardware/ |
H A D | nfc_tag.h | 65 int (*init)(const struct nfc_tag_device *dev); 75 int (*setContent)(const struct nfc_tag_device *dev, const uint8_t *data, size_t len); 80 int (*getMemorySize)(const struct nfc_tag_device *dev); 84 nfc_tag_device_t** dev) { 86 (struct hw_device_t**)dev); 89 static inline int nfc_tag_close(nfc_tag_device_t* dev) { argument 90 return dev->common.close(&dev->common); 83 nfc_tag_open(const struct hw_module_t* module, nfc_tag_device_t** dev) argument
|
H A D | nfc.h | 200 nfc_nci_device_t** dev) { 202 (struct hw_device_t**) dev); 205 static inline int nfc_nci_close(nfc_nci_device_t* dev) { argument 206 return dev->common.close(&dev->common); 287 nfc_pn544_device_t** dev) { 289 (struct hw_device_t**) dev); 292 static inline int nfc_pn544_close(nfc_pn544_device_t* dev) { argument 293 return dev->common.close(&dev 199 nfc_nci_open(const struct hw_module_t* module, nfc_nci_device_t** dev) argument 286 nfc_pn544_open(const struct hw_module_t* module, nfc_pn544_device_t** dev) argument [all...] |
H A D | consumerir.h | 65 int (*transmit)(struct consumerir_device *dev, int carrier_freq, 75 int (*get_num_carrier_freqs)(struct consumerir_device *dev); 85 int (*get_carrier_freqs)(struct consumerir_device *dev,
|
H A D | local_time_hal.h | 70 int64_t (*get_local_time)(struct local_time_hw_device* dev); 77 uint64_t (*get_local_freq)(struct local_time_hw_device* dev); 89 int (*set_local_slew)(struct local_time_hw_device* dev, int16_t rate); 98 int (*get_debug_log)(struct local_time_hw_device* dev,
|
/hardware/libhardware/modules/fingerprint/ |
H A D | fingerprint.c | 24 static int fingerprint_close(hw_device_t *dev) argument 26 if (dev) { 27 free(dev); 34 static int fingerprint_enroll(struct fingerprint_device __unused *dev, argument 39 static int fingerprint_remove(struct fingerprint_device __unused *dev, argument 44 static int set_notify_callback(struct fingerprint_device *dev, argument 47 dev->notify = notify; 59 fingerprint_device_t *dev = malloc(sizeof(fingerprint_device_t)); local 60 memset(dev, 0, sizeof(fingerprint_device_t)); 62 dev [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | 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 82 s_use_handle(acoustic_device_t *dev, alsa_handle_t *h) argument 87 s_cleanup(acoustic_device_t *dev) argument 93 s_set_params(acoustic_device_t *dev, AudioSystem::audio_in_acoustics acoustics, void *params) argument [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | gps.c | 36 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) argument 44 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 46 if(dev == NULL) 49 memset(dev, 0, sizeof(*dev)); 51 dev->common.tag = HARDWARE_DEVICE_TAG; 52 dev->common.version = 0; 53 dev->common.module = (struct hw_module_t*)module; 54 dev->get_gps_interface = gps__get_gps_interface; 56 *device = (struct hw_device_t*)dev; [all...] |
/hardware/libhardware/modules/nfc-nci/ |
H A D | nfc_nci_example.c | 27 static int hal_open(const struct nfc_nci_device *dev, argument 33 static int hal_write(const struct nfc_nci_device *dev, argument 39 static int hal_core_initialized(const struct nfc_nci_device *dev, argument 45 static int hal_pre_discover(const struct nfc_nci_device *dev) { argument 50 static int hal_close(const struct nfc_nci_device *dev) { argument 72 static int nfc_close(hw_device_t *dev) { argument 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 [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | gps.c | 36 const GpsInterface* gps__get_gps_interface(struct gps_device_t* dev) argument 44 struct gps_device_t *dev = (struct gps_device_t *) malloc(sizeof(struct gps_device_t)); local 45 memset(dev, 0, sizeof(*dev)); 47 dev->common.tag = HARDWARE_DEVICE_TAG; 48 dev->common.version = 0; 49 dev->common.module = (struct hw_module_t*)module; 50 dev->get_gps_interface = gps__get_gps_interface; 52 *device = (struct hw_device_t*)dev;
|
/hardware/libhardware/modules/consumerir/ |
H A D | consumerir.c | 35 static int consumerir_transmit(struct consumerir_device *dev __unused, 51 static int consumerir_get_num_carrier_freqs(struct consumerir_device *dev __unused) 56 static int consumerir_get_carrier_freqs(struct consumerir_device *dev __unused, 66 static int consumerir_close(hw_device_t *dev) argument 68 free(dev); 86 consumerir_device_t *dev = malloc(sizeof(consumerir_device_t)); local 87 memset(dev, 0, sizeof(consumerir_device_t)); 89 dev->common.tag = HARDWARE_DEVICE_TAG; 90 dev->common.version = 0; 91 dev [all...] |
/hardware/libhardware/modules/tv_input/ |
H A D | tv_input.cpp | 56 static int tv_input_initialize(struct tv_input_device* dev, argument 59 if (dev == NULL || callback == NULL) { 62 tv_input_private_t* priv = (tv_input_private_t*)dev; 102 static int tv_input_device_close(struct hw_device_t *dev) argument 104 tv_input_private_t* priv = (tv_input_private_t*)dev; 118 tv_input_private_t* dev = (tv_input_private_t*)malloc(sizeof(*dev)); local 121 memset(dev, 0, sizeof(*dev)); 124 dev [all...] |
/hardware/libhardware/modules/hwcomposer/ |
H A D | hwcomposer.cpp | 70 static int hwc_prepare(hwc_composer_device_1_t *dev, argument 81 static int hwc_set(hwc_composer_device_1_t *dev, argument 96 static int hwc_device_close(struct hw_device_t *dev) argument 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 [all...] |
/hardware/samsung_slsi/exynos5/gralloc/ |
H A D | framebuffer.cpp | 63 static int fb_setSwapInterval(struct framebuffer_device_t* dev, argument 66 fb_context_t* ctx = (fb_context_t*)dev; 67 if (interval < dev->minSwapInterval || interval > dev->maxSwapInterval) 73 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) argument 79 private_module_t* m = reinterpret_cast<private_module_t*>(dev->common.module); 98 static int fb_close(struct hw_device_t *dev) argument 100 fb_context_t* ctx = (fb_context_t*)dev; 156 "/dev/graphics/fb%u", 157 "/dev/f 227 framebuffer_device_t *dev = (framebuffer_device_t *)malloc(sizeof(framebuffer_device_t)); local [all...] |
/hardware/libhardware/modules/gralloc/ |
H A D | gralloc.cpp | 47 static int gralloc_alloc_buffer(alloc_device_t* dev, 104 static int gralloc_alloc_framebuffer_locked(alloc_device_t* dev, argument 108 dev->common.module); 128 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); 157 static int gralloc_alloc_framebuffer(alloc_device_t* dev, argument 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, argument 185 dev->common.module); 199 static int gralloc_alloc(alloc_device_t* dev, argument 245 gralloc_free(alloc_device_t* dev, buffer_handle_t handle) argument 272 gralloc_close(struct hw_device_t *dev) argument 289 gralloc_context_t *dev; local [all...] |
H A D | framebuffer.cpp | 67 static int fb_setSwapInterval(struct framebuffer_device_t* dev, argument 70 fb_context_t* ctx = (fb_context_t*)dev; 71 if (interval < dev->minSwapInterval || interval > dev->maxSwapInterval) 77 static int fb_setUpdateRect(struct framebuffer_device_t* dev, argument 83 fb_context_t* ctx = (fb_context_t*)dev; 85 dev->common.module); 92 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) argument 97 fb_context_t* ctx = (fb_context_t*)dev; 101 dev 313 fb_close(struct hw_device_t *dev) argument 328 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); local [all...] |
/hardware/qcom/display/msm8226/liblight/ |
H A D | lights.c | 114 set_light_backlight(struct light_device_t* dev, argument 119 if(!dev) { 129 set_speaker_light_locked(struct light_device_t* dev, argument 137 if(!dev) { 193 handle_speaker_battery_locked(struct light_device_t* dev) argument 196 set_speaker_light_locked(dev, &g_battery); 198 set_speaker_light_locked(dev, &g_notification); 203 set_light_battery(struct light_device_t* dev, argument 208 handle_speaker_battery_locked(dev); 214 set_light_notifications(struct light_device_t* dev, argument 225 set_light_attention(struct light_device_t* dev, struct light_state_t const* state) argument 240 set_light_buttons(struct light_device_t* dev, struct light_state_t const* state) argument 255 close_lights(struct light_device_t *dev) argument 292 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); local [all...] |
/hardware/intel/img/libdrm/libdrm/nouveau/ |
H A D | nouveau_device.c | 34 nouveau_device_open_existing(struct nouveau_device **dev, int close, argument 42 if (!dev || *dev) 101 *dev = &nvdev->base; 106 nouveau_device_open(struct nouveau_device **dev, const char *busid) argument 111 if (!dev || *dev) 124 ret = nouveau_device_open_existing(dev, 1, fd, ctx); 135 nouveau_device_close(struct nouveau_device **dev) argument 139 if (!dev || !*de 154 nouveau_device_get_param(struct nouveau_device *dev, uint64_t param, uint64_t *value) argument 175 nouveau_device_set_param(struct nouveau_device *dev, uint64_t param, uint64_t value) argument [all...] |
/hardware/qcom/display/msm8084/liblight/ |
H A D | lights.c | 114 set_light_backlight(struct light_device_t* dev, argument 119 if(!dev) { 129 set_speaker_light_locked(struct light_device_t* dev, argument 137 if(!dev) { 187 handle_speaker_battery_locked(struct light_device_t* dev) argument 190 set_speaker_light_locked(dev, &g_battery); 192 set_speaker_light_locked(dev, &g_notification); 197 set_light_notifications(struct light_device_t* dev, argument 202 handle_speaker_battery_locked(dev); 208 set_light_attention(struct light_device_t* dev, argument 223 set_light_buttons(struct light_device_t* dev, struct light_state_t const* state) argument 238 close_lights(struct light_device_t *dev) argument 273 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); local [all...] |