Searched refs:dev (Results 1 - 25 of 107) sorted by relevance

12345

/hardware/libhardware/modules/nfc/
H A Dnfc_pn544_example.c23 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 Dbt_vendor.conf2 UartPort = /dev/ttyHS2
/hardware/broadcom/libbt/conf/moto/wingray/
H A Dbt_vendor.conf2 UartPort = /dev/ttyHS2
/hardware/broadcom/libbt/conf/samsung/crespo/
H A Dbt_vendor.conf2 UartPort = /dev/s3c2410_serial0
/hardware/broadcom/libbt/conf/samsung/crespo4g/
H A Dbt_vendor.conf2 UartPort = /dev/s3c2410_serial0
/hardware/broadcom/libbt/conf/samsung/maguro/
H A Dbt_vendor.conf2 UartPort = /dev/ttyO1
/hardware/qcom/audio/legacy/alsa_sound/
H A Dacoustics_default.cpp53 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/libhardware/modules/nfc-nci/
H A Dnfc_nci_example.c27 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/libhardware/modules/consumerir/
H A Dconsumerir.c35 static int consumerir_transmit(struct consumerir_device *dev, argument
51 static int consumerir_get_num_carrier_freqs(struct consumerir_device *dev) argument
56 static int consumerir_get_carrier_freqs(struct consumerir_device *dev, argument
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/hwcomposer/
H A Dhwcomposer.cpp70 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 Dframebuffer.cpp64 static int fb_setSwapInterval(struct framebuffer_device_t* dev, argument
67 fb_context_t* ctx = (fb_context_t*)dev;
68 if (interval < dev->minSwapInterval || interval > dev->maxSwapInterval)
74 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) argument
80 private_module_t* m = reinterpret_cast<private_module_t*>(dev->common.module);
99 static int fb_close(struct hw_device_t *dev) argument
101 fb_context_t* ctx = (fb_context_t*)dev;
157 "/dev/graphics/fb%u",
158 "/dev/f
228 framebuffer_device_t *dev = (framebuffer_device_t *)malloc(sizeof(framebuffer_device_t)); local
[all...]
/hardware/libhardware/include/hardware/
H A Dnfc.h187 nfc_nci_device_t** dev) {
189 (struct hw_device_t**) dev);
192 static inline int nfc_nci_close(nfc_nci_device_t* dev) { argument
193 return dev->common.close(&dev->common);
262 nfc_pn544_device_t** dev) {
264 (struct hw_device_t**) dev);
267 static inline int nfc_pn544_close(nfc_pn544_device_t* dev) { argument
268 return dev->common.close(&dev
186 nfc_nci_open(const struct hw_module_t* module, nfc_nci_device_t** dev) argument
261 nfc_pn544_open(const struct hw_module_t* module, nfc_pn544_device_t** dev) argument
[all...]
H A Dconsumerir.h53 int (*transmit)(struct consumerir_device *dev, int carrier_freq,
63 int (*get_num_carrier_freqs)(struct consumerir_device *dev);
73 int (*get_carrier_freqs)(struct consumerir_device *dev,
H A Dlocal_time_hal.h64 int64_t (*get_local_time)(struct local_time_hw_device* dev);
71 uint64_t (*get_local_freq)(struct local_time_hw_device* dev);
83 int (*set_local_slew)(struct local_time_hw_device* dev, int16_t rate);
92 int (*get_debug_log)(struct local_time_hw_device* dev,
H A Dhwcomposer.h477 int (*prepare)(struct hwc_composer_device_1 *dev,
522 int (*set)(struct hwc_composer_device_1 *dev,
538 int (*eventControl)(struct hwc_composer_device_1* dev, int disp,
552 int (*blank)(struct hwc_composer_device_1* dev, int disp, int blank);
559 int (*query)(struct hwc_composer_device_1* dev, int what, int* value);
568 void (*registerProcs)(struct hwc_composer_device_1* dev,
576 void (*dump)(struct hwc_composer_device_1* dev, char *buff, int buff_len);
600 int (*getDisplayConfigs)(struct hwc_composer_device_1* dev, int disp,
621 int (*getDisplayAttributes)(struct hwc_composer_device_1* dev, int disp,
/hardware/libhardware/modules/gralloc/
H A Dgralloc.cpp47 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 Dframebuffer.cpp60 static int fb_setSwapInterval(struct framebuffer_device_t* dev, argument
63 fb_context_t* ctx = (fb_context_t*)dev;
64 if (interval < dev->minSwapInterval || interval > dev->maxSwapInterval)
70 static int fb_setUpdateRect(struct framebuffer_device_t* dev, argument
76 fb_context_t* ctx = (fb_context_t*)dev;
78 dev->common.module);
85 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) argument
90 fb_context_t* ctx = (fb_context_t*)dev;
94 dev
301 fb_close(struct hw_device_t *dev) argument
316 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); local
[all...]
/hardware/qcom/display/msm8974/libcopybit/
H A Dcopybit.h181 * @param dev from open
187 int (*set_parameter)(struct copybit_device_t *dev, int name, int value);
192 * @param dev from open
197 int (*get)(struct copybit_device_t *dev, int name);
202 * @param dev from open
209 int (*blit)(struct copybit_device_t *dev,
218 * @param dev from open
223 int (*set_sync)(struct copybit_device_t *dev,
229 * @param dev from open
238 int (*stretch)(struct copybit_device_t *dev,
[all...]
/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp84 struct submix_audio_device *dev; member in struct:android::submix_stream_out
89 struct submix_audio_device *dev; member in struct:android::submix_stream_in
105 uint32_t out_rate = out->dev->config.rate;
118 out->dev->config.rate = rate;
126 const struct submix_config& config_out = out->dev->config;
138 uint32_t channels = out->dev->config.channel_mask;
163 pthread_mutex_lock(&out->dev->lock);
165 out->dev->output_standby = true;
167 pthread_mutex_unlock(&out->dev->lock);
187 pthread_mutex_lock(&out->dev
511 adev_open_output_stream(struct audio_hw_device *dev, audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, struct audio_stream_out **stream_out) argument
593 adev_close_output_stream(struct audio_hw_device *dev, struct audio_stream_out *stream) argument
608 adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) argument
613 adev_get_parameters(const struct audio_hw_device *dev, const char *keys) argument
619 adev_init_check(const struct audio_hw_device *dev) argument
625 adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument
630 adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
635 adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument
640 adev_set_master_mute(struct audio_hw_device *dev, bool muted) argument
645 adev_get_master_mute(struct audio_hw_device *dev, bool *muted) argument
650 adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) argument
655 adev_set_mic_mute(struct audio_hw_device *dev, bool state) argument
660 adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) argument
665 adev_get_input_buffer_size(const struct audio_hw_device *dev, const struct audio_config *config) argument
672 adev_open_input_stream(struct audio_hw_device *dev, audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, struct audio_stream_in **stream_in) argument
738 adev_close_input_stream(struct audio_hw_device *dev, struct audio_stream_in *stream) argument
[all...]
/hardware/qcom/display/msm8960/liblight/
H A Dlights.c130 set_light_backlight(struct light_device_t* dev, argument
142 set_speaker_light_locked(struct light_device_t* dev, argument
230 handle_speaker_battery_locked(struct light_device_t* dev) argument
233 set_speaker_light_locked(dev, &g_battery);
235 set_speaker_light_locked(dev, &g_notification);
240 set_light_notifications(struct light_device_t* dev, argument
245 handle_speaker_battery_locked(dev);
251 set_light_attention(struct light_device_t* dev, argument
260 handle_speaker_battery_locked(dev);
268 close_lights(struct light_device_t *dev) argument
301 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); local
[all...]
/hardware/qcom/display/msm8974/liblight/
H A Dlights.c130 set_light_backlight(struct light_device_t* dev, argument
142 set_speaker_light_locked(struct light_device_t* dev, argument
230 handle_speaker_battery_locked(struct light_device_t* dev) argument
233 set_speaker_light_locked(dev, &g_battery);
235 set_speaker_light_locked(dev, &g_notification);
240 set_light_notifications(struct light_device_t* dev, argument
245 handle_speaker_battery_locked(dev);
251 set_light_attention(struct light_device_t* dev, argument
260 handle_speaker_battery_locked(dev);
268 close_lights(struct light_device_t *dev) argument
301 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); local
[all...]
/hardware/qcom/display/msm8x26/liblight/
H A Dlights.c130 set_light_backlight(struct light_device_t* dev, argument
142 set_speaker_light_locked(struct light_device_t* dev, argument
230 handle_speaker_battery_locked(struct light_device_t* dev) argument
233 set_speaker_light_locked(dev, &g_battery);
235 set_speaker_light_locked(dev, &g_notification);
240 set_light_notifications(struct light_device_t* dev, argument
245 handle_speaker_battery_locked(dev);
251 set_light_attention(struct light_device_t* dev, argument
260 handle_speaker_battery_locked(dev);
268 close_lights(struct light_device_t *dev) argument
301 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); local
[all...]
/hardware/qcom/display/msm8960/libcopybit/
H A Dcopybit.h180 * @param dev from open
186 int (*set_parameter)(struct copybit_device_t *dev, int name, int value);
191 * @param dev from open
196 int (*get)(struct copybit_device_t *dev, int name);
201 * @param dev from open
208 int (*blit)(struct copybit_device_t *dev,
216 * @param dev from open
225 int (*stretch)(struct copybit_device_t *dev,
235 * @param dev from open
239 int (*finish)(struct copybit_device_t *dev);
[all...]
/hardware/qcom/display/msm8x26/libcopybit/
H A Dcopybit.h180 * @param dev from open
186 int (*set_parameter)(struct copybit_device_t *dev, int name, int value);
191 * @param dev from open
196 int (*get)(struct copybit_device_t *dev, int name);
201 * @param dev from open
208 int (*blit)(struct copybit_device_t *dev,
216 * @param dev from open
225 int (*stretch)(struct copybit_device_t *dev,
235 * @param dev from open
239 int (*finish)(struct copybit_device_t *dev);
[all...]
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc.cpp72 static void hwc_registerProcs(struct hwc_composer_device_1* dev, argument
76 hwc_context_t* ctx = (hwc_context_t*)(dev);
151 static int hwc_prepare_primary(hwc_composer_device_1 *dev, argument
154 hwc_context_t* ctx = (hwc_context_t*)(dev);
173 static int hwc_prepare_external(hwc_composer_device_1 *dev, argument
177 hwc_context_t* ctx = (hwc_context_t*)(dev);
210 static int hwc_prepare_virtual(hwc_composer_device_1 *dev, argument
213 hwc_context_t* ctx = (hwc_context_t*)(dev);
243 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, argument
247 hwc_context_t* ctx = (hwc_context_t*)(dev);
290 hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, int event, int enable) argument
318 hwc_blank(struct hwc_composer_device_1* dev, int dpy, int blank) argument
374 hwc_query(struct hwc_composer_device_1* dev, int param, int* value) argument
552 hwc_set(hwc_composer_device_1 *dev, size_t numDisplays, hwc_display_contents_1_t** displays) argument
584 hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, uint32_t* configs, size_t* numConfigs) argument
612 hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, uint32_t config, const uint32_t* attributes, int32_t* values) argument
664 hwc_dump(struct hwc_composer_device_1* dev, char *buff, int buff_len) argument
690 hwc_device_close(struct hw_device_t *dev) argument
708 struct hwc_context_t *dev; local
[all...]

Completed in 1714 milliseconds

12345