Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 174) 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/interfaces/keymaster/3.0/default/
DKeymasterDevice.cpp36 static int get_keymaster0_dev(keymaster0_device_t** dev, const hw_module_t* mod) { in get_keymaster0_dev()
46 static int get_keymaster1_dev(keymaster1_device_t** dev, const hw_module_t* mod) { in get_keymaster1_dev()
58 static int get_keymaster2_dev(keymaster2_device_t** dev, const hw_module_t* mod) { in get_keymaster2_dev()
78 keymaster0_device_t* dev = nullptr; in createKeymaster3Device() local
84 keymaster1_device_t* dev = nullptr; in createKeymaster3Device() local
90 keymaster2_device_t* dev = nullptr; in createKeymaster3Device() 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/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/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/msm8909w_3100/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/msm8998/libgralloc1/
Dgr_device_impl.cpp73 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open() local
203 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
229 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
238 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
248 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
260 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
273 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
285 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount() local
298 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage() local
386 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/msm8909/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()
345 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8909/gralloc/
Dgr_device_impl.cpp66 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open() local
190 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
216 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
225 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
235 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
247 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
260 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
272 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount() local
285 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage() local
385 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_device_impl.cpp66 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open() local
190 GrallocImpl const *dev = GRALLOC_IMPL(device); in Dump() local
216 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
225 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
235 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
247 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
260 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
272 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount() local
285 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage() local
385 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
[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/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/msm8996/libgralloc1/
Dgr_device_impl.cpp67 gralloc1::GrallocImpl * /*gralloc1_device_t*/ dev = gralloc1::GrallocImpl::GetInstance(module); in gralloc_device_open() local
211 GrallocImpl const *dev = GRALLOC_IMPL(device); in CreateBufferDescriptor() local
220 GrallocImpl const *dev = GRALLOC_IMPL(device); in DestroyBufferDescriptor() local
230 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetConsumerUsage() local
242 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetBufferDimensions() local
255 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetColorFormat() local
267 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetLayerCount() local
280 GrallocImpl const *dev = GRALLOC_IMPL(device); in SetProducerUsage() local
368 GrallocImpl const *dev = GRALLOC_IMPL(device); in AllocateBuffers() local
379 GrallocImpl const *dev = GRALLOC_IMPL(device); in RetainBuffer() local
[all …]
/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/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/sm8150/display/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.cpp166 static int cec_add_logical_address(const struct hdmi_cec_device* dev, in cec_add_logical_address()
183 static void cec_clear_logical_address(const struct hdmi_cec_device* dev) in cec_clear_logical_address()
193 static int cec_get_physical_address(const struct hdmi_cec_device* dev, in cec_get_physical_address()
210 static int cec_send_message(const struct hdmi_cec_device* dev, in cec_send_message()
323 static void cec_register_event_callback(const struct hdmi_cec_device* dev, in cec_register_event_callback()
332 static void cec_get_version(const struct hdmi_cec_device* dev, int* version) in cec_get_version()
339 static void cec_get_vendor_id(const struct hdmi_cec_device* dev, in cec_get_vendor_id()
347 static void cec_get_port_info(const struct hdmi_cec_device* dev, in cec_get_port_info()
356 static void cec_set_option(const struct hdmi_cec_device* dev, int flag, in cec_set_option()
377 static void cec_set_audio_return_channel(const struct hdmi_cec_device* dev, in cec_set_audio_return_channel()
[all …]
/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/sdm845/display/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/sdm845/display/liblight/
Dlights.c196 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
245 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
296 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
306 set_light_battery(struct light_device_t* dev, in set_light_battery()
317 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
328 set_light_attention(struct light_device_t* dev, in set_light_attention()
343 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
358 close_lights(struct light_device_t *dev) in close_lights()
402 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/sm8150/display/liblight/
Dlights.c130 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
210 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
270 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
280 set_light_battery(struct light_device_t* dev, in set_light_battery()
291 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
302 set_light_attention(struct light_device_t* dev, in set_light_attention()
317 set_light_buttons(struct light_device_t* dev, in set_light_buttons()
332 close_lights(struct light_device_t *dev) in close_lights()
376 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/st/nfc/1.0/
Dnfc_nci_st21nfc.c71 st21nfc_dev_t* dev = (st21nfc_dev_t*)p_dev; in hal_open() local
97 st21nfc_dev_t* dev = (st21nfc_dev_t*)p_dev; in hal_write() local
128 st21nfc_dev_t* dev = (st21nfc_dev_t*)p_dev; in hal_core_initialized() local
173 st21nfc_dev_t* dev = (st21nfc_dev_t*)p_dev; in hal_power_cycle() local
199 static int nfc_close(hw_device_t* dev) { in nfc_close()
210 st21nfc_dev_t* dev = calloc(1, sizeof(st21nfc_dev_t)); in nfc_open() local
/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.cpp54 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
74 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
93 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete()
104 int mapFrameBufferLocked(framebuffer_device_t *dev) in mapFrameBufferLocked()
362 static int mapFrameBuffer(framebuffer_device_t *dev) in mapFrameBuffer()
380 static int fb_close(struct hw_device_t *dev) in fb_close()
407 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); in fb_device_open() local

1234567