Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 155) sorted by relevance

1234567

/hardware/libhardware/modules/fingerprint/
Dfingerprint.c28 static int fingerprint_close(hw_device_t *dev) in fingerprint_close()
39 static uint64_t fingerprint_pre_enroll(struct fingerprint_device __unused *dev) { in fingerprint_pre_enroll()
43 static int fingerprint_enroll(struct fingerprint_device __unused *dev, in fingerprint_enroll()
50 static uint64_t fingerprint_get_auth_id(struct fingerprint_device __unused *dev) { in fingerprint_get_auth_id()
54 static int fingerprint_cancel(struct fingerprint_device __unused *dev) { in fingerprint_cancel()
58 static int fingerprint_remove(struct fingerprint_device __unused *dev, in fingerprint_remove()
63 static int fingerprint_set_active_group(struct fingerprint_device __unused *dev, in fingerprint_set_active_group()
68 static int fingerprint_authenticate(struct fingerprint_device __unused *dev, in fingerprint_authenticate()
73 static int set_notify_callback(struct fingerprint_device *dev, in set_notify_callback()
88 fingerprint_device_t *dev = malloc(sizeof(fingerprint_device_t)); in fingerprint_open() local
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcModule.cpp42 static int hwc_prepare(struct hwc_composer_device_1 *dev, in hwc_prepare()
54 static int hwc_set(struct hwc_composer_device_1 *dev, in hwc_set()
66 static void hwc_dump(struct hwc_composer_device_1 *dev, in hwc_dump()
74 void hwc_registerProcs(struct hwc_composer_device_1 *dev, in hwc_registerProcs()
81 static int hwc_device_close(struct hw_device_t *dev) in hwc_device_close()
88 static int hwc_query(struct hwc_composer_device_1 *dev, in hwc_query()
96 static int hwc_eventControl(struct hwc_composer_device_1 *dev, in hwc_eventControl()
120 static int hwc_blank(hwc_composer_device_1_t *dev, int disp, int blank) in hwc_blank()
132 static int hwc_getDisplayConfigs(hwc_composer_device_1_t *dev, in hwc_getDisplayConfigs()
147 static int hwc_getDisplayAttributes(hwc_composer_device_1_t *dev, in hwc_getDisplayAttributes()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcModule.cpp46 static int hwc_prepare(struct hwc_composer_device_1 *dev, in hwc_prepare()
59 static int hwc_set(struct hwc_composer_device_1 *dev, in hwc_set()
72 static void hwc_dump(struct hwc_composer_device_1 *dev, in hwc_dump()
80 void hwc_registerProcs(struct hwc_composer_device_1 *dev, in hwc_registerProcs()
102 static int hwc_eventControl(struct hwc_composer_device_1 *dev, in hwc_eventControl()
127 static int hwc_getDisplayConfigs(hwc_composer_device_1_t *dev, in hwc_getDisplayConfigs()
143 static int hwc_getDisplayAttributes(hwc_composer_device_1_t *dev, in hwc_getDisplayAttributes()
160 static int hwc_compositionComplete(hwc_composer_device_1_t *dev, int disp) in hwc_compositionComplete()
173 static int hwc_setPowerMode(hwc_composer_device_1_t *dev, int disp, int mode) in hwc_setPowerMode()
186 static int hwc_getActiveConfig(hwc_composer_device_1_t *dev, int disp) in hwc_getActiveConfig()
[all …]
/hardware/qcom/display/msm8909/liblight/
Dlights.c118 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
133 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
206 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
216 set_light_battery(struct light_device_t* dev, in set_light_battery()
227 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
238 set_light_attention(struct light_device_t* dev, in set_light_attention()
253 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
267 set_light_bluetooth(struct light_device_t* dev, in set_light_bluetooth()
282 close_lights(struct light_device_t *dev) in close_lights()
321 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8994/liblight/
Dlights.c115 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
130 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
194 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
204 set_light_battery(struct light_device_t* dev, in set_light_battery()
215 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
226 set_light_attention(struct light_device_t* dev, in set_light_attention()
241 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
256 close_lights(struct light_device_t *dev) in close_lights()
293 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8226/liblight/
Dlights.c114 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
129 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
193 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
203 set_light_battery(struct light_device_t* dev, in set_light_battery()
214 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
225 set_light_attention(struct light_device_t* dev, in set_light_attention()
240 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
255 close_lights(struct light_device_t *dev) in close_lights()
292 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8996/liblight/
Dlights.c115 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
130 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
203 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
213 set_light_battery(struct light_device_t* dev, in set_light_battery()
224 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
235 set_light_attention(struct light_device_t* dev, in set_light_attention()
250 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
265 close_lights(struct light_device_t *dev) in close_lights()
302 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/sdm845/liblight/
Dlights.c129 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
169 set_light_backlight_ext(struct light_device_t* dev, in set_light_backlight_ext()
191 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
264 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
274 set_light_battery(struct light_device_t* dev, in set_light_battery()
285 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
296 set_light_attention(struct light_device_t* dev, in set_light_attention()
311 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
326 close_lights(struct light_device_t *dev) in close_lights()
373 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_device_impl.cpp66 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open() local
204 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
213 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
223 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
235 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
248 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
260 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount() local
273 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage() local
361 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
372 GrallocImpl const *dev = GRALLOC_IMPL(device); in RetainBuffer() local
[all …]
/hardware/qcom/display/sdm845/libgralloc1/
Dgr_device_impl.cpp69 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open() local
193 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
219 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
228 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
238 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
250 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
263 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
275 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount() local
288 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage() local
376 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_device_impl.cpp69 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open() local
193 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
219 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
228 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
238 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
250 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
263 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
275 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount() local
288 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage() local
376 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
[all …]
/hardware/qcom/display/msm8998/liblight/
Dlights.c127 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
167 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
240 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
250 set_light_battery(struct light_device_t* dev, in set_light_battery()
261 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
272 set_light_attention(struct light_device_t* dev, in set_light_attention()
287 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
302 close_lights(struct light_device_t *dev) in close_lights()
339 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp68 static void hwc_registerProcs(struct hwc_composer_device_1* dev, in hwc_registerProcs()
136 static int hwc_prepare_primary(hwc_composer_device_1 *dev, in hwc_prepare_primary()
165 static int hwc_prepare_external(hwc_composer_device_1 *dev, in hwc_prepare_external()
201 static int hwc_prepare_virtual(hwc_composer_device_1 *dev, in hwc_prepare_virtual()
207 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, in hwc_prepare()
242 static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, in hwc_eventControl()
269 static int hwc_blank(struct hwc_composer_device_1* dev, int dpy, int blank) in hwc_blank()
327 static int hwc_query(struct hwc_composer_device_1* dev, in hwc_query()
458 static int hwc_set(hwc_composer_device_1 *dev, in hwc_set()
489 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs()
[all …]
/hardware/qcom/display/msm8084/liblight/
Dlights.c114 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
129 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
187 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
197 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
208 set_light_attention(struct light_device_t* dev, in set_light_attention()
223 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
238 close_lights(struct light_device_t *dev) in close_lights()
273 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/libhardware/modules/sensors/dynamic_sensor/
Dsensors.cpp80 int SensorContext::CloseWrapper(struct hw_device_t *dev) { in CloseWrapper()
86 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper()
92 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper()
98 struct sensors_poll_device_t *dev, sensors_event_t *data, int count) { in PollWrapper()
104 struct sensors_poll_device_1 *dev, in BatchWrapper()
115 int SensorContext::FlushWrapper(struct sensors_poll_device_1 *dev, int handle) { in FlushWrapper()
131 struct hw_device_t **dev) { in open_sensors()
/hardware/qcom/display/msm8996/hdmi_cec/
Dqhdmi_cec.cpp162 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
179 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
189 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
206 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
317 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
326 static void cec_get_version(const struct hdmi_cec_device* dev, int* version) in cec_get_version()
333 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
341 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
350 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
371 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
[all …]
/hardware/qcom/display/sdm845/hdmi_cec/
Dqhdmi_cec.cpp162 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
179 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
189 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
206 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
319 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
328 static void cec_get_version(const struct hdmi_cec_device* dev, int* version) in cec_get_version()
335 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
343 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
352 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
373 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
[all …]
/hardware/qcom/display/msm8998/hdmi_cec/
Dqhdmi_cec.cpp162 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
179 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
189 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
206 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
319 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
328 static void cec_get_version(const struct hdmi_cec_device* dev, int* version) in cec_get_version()
335 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
343 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
352 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
373 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c293 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
331 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
338 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
344 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
351 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
357 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
363 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
369 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
375 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
381 static int adev_get_master_mute(struct audio_hw_device *dev, bool *muted) in adev_get_master_mute()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc.cpp78 static void hwc_registerProcs(struct hwc_composer_device_1* dev, in hwc_registerProcs()
258 static int hwc_prepare_primary(hwc_composer_device_1 *dev, in hwc_prepare_primary()
316 static int hwc_prepare_external(hwc_composer_device_1 *dev, in hwc_prepare_external()
351 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, in hwc_prepare()
404 static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, in hwc_eventControl()
439 static int hwc_setPowerMode(struct hwc_composer_device_1* dev, int dpy, in hwc_setPowerMode()
541 static void reset_panel(struct hwc_composer_device_1* dev) in reset_panel()
571 static int hwc_query(struct hwc_composer_device_1* dev, in hwc_query()
736 static int hwc_set(hwc_composer_device_1 *dev, in hwc_set()
769 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
Dacoustics_default.cpp53 acoustic_device_t *dev; in s_device_open() local
82 static status_t s_use_handle(acoustic_device_t *dev, alsa_handle_t *h) in s_use_handle()
87 static status_t s_cleanup(acoustic_device_t *dev) in s_cleanup()
93 static status_t s_set_params(acoustic_device_t *dev, in s_set_params()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp76 static void hwc_registerProcs(struct hwc_composer_device_1* dev, in hwc_registerProcs()
252 static void hwc_configure_color_temp(hwc_composer_device_1* dev) { in hwc_configure_color_temp()
280 static int hwc_prepare_primary(hwc_composer_device_1 *dev, in hwc_prepare_primary()
334 static int hwc_prepare_external(hwc_composer_device_1 *dev, in hwc_prepare_external()
369 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, in hwc_prepare()
422 static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, in hwc_eventControl()
453 static int hwc_setPowerMode(struct hwc_composer_device_1* dev, int dpy, in hwc_setPowerMode()
554 static void reset_panel(struct hwc_composer_device_1* dev) in reset_panel()
584 static int hwc_query(struct hwc_composer_device_1* dev, in hwc_query()
750 static int hwc_set(hwc_composer_device_1 *dev, in hwc_set()
[all …]
/hardware/qcom/display/msm8996/libgralloc/
Dframebuffer.cpp57 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
77 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
96 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete()
107 int mapFrameBufferLocked(framebuffer_device_t *dev) in mapFrameBufferLocked()
365 static int mapFrameBuffer(framebuffer_device_t *dev) in mapFrameBuffer()
383 static int fb_close(struct hw_device_t *dev) in fb_close()
410 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); in fb_device_open() local
/hardware/qcom/display/msm8909/libgralloc/
Dframebuffer.cpp57 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
79 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
98 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete()
109 int mapFrameBufferLocked(framebuffer_device_t *dev) in mapFrameBufferLocked()
367 static int mapFrameBuffer(framebuffer_device_t *dev) in mapFrameBuffer()
385 static int fb_close(struct hw_device_t *dev) in fb_close()
412 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); in fb_device_open() local
/hardware/qcom/display/sdm845/libgralloc/
Dframebuffer.cpp59 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
79 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
98 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete()
111 int mapFrameBufferLocked(framebuffer_device_t *dev) in mapFrameBufferLocked()
369 static int mapFrameBuffer(framebuffer_device_t *dev) in mapFrameBuffer()
387 static int fb_close(struct hw_device_t *dev) in fb_close()
414 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); in fb_device_open() local

1234567