Home
last modified time | relevance | path

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

123

/hardware/libhardware/modules/nfc-nci/
Dnfc_nci_example.c27 static int hal_open(const struct nfc_nci_device *dev, in hal_open()
33 static int hal_write(const struct nfc_nci_device *dev, in hal_write()
39 static int hal_core_initialized(const struct nfc_nci_device *dev, in hal_core_initialized()
45 static int hal_pre_discover(const struct nfc_nci_device *dev) { in hal_pre_discover()
50 static int hal_close(const struct nfc_nci_device *dev) { in hal_close()
72 static int nfc_close(hw_device_t *dev) { in nfc_close()
80 nfc_nci_device_t *dev = calloc(1, sizeof(nfc_nci_device_t)); in nfc_open() local
/hardware/qcom/display/msm8x26/libhwcomposer/
Dhwc.cpp68 static void hwc_registerProcs(struct hwc_composer_device_1* dev, in hwc_registerProcs()
137 static int hwc_prepare_primary(hwc_composer_device_1 *dev, in hwc_prepare_primary()
166 static int hwc_prepare_external(hwc_composer_device_1 *dev, in hwc_prepare_external()
202 static int hwc_prepare_virtual(hwc_composer_device_1 *dev, in hwc_prepare_virtual()
208 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, in hwc_prepare()
243 static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, in hwc_eventControl()
271 static int hwc_blank(struct hwc_composer_device_1* dev, int dpy, int blank) in hwc_blank()
329 static int hwc_query(struct hwc_composer_device_1* dev, in hwc_query()
460 static int hwc_set(hwc_composer_device_1 *dev, in hwc_set()
490 int hwc_getDisplayConfigs(struct hwc_composer_device_1* dev, int disp, in hwc_getDisplayConfigs()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp68 static void hwc_registerProcs(struct hwc_composer_device_1* dev, in hwc_registerProcs()
137 static int hwc_prepare_primary(hwc_composer_device_1 *dev, in hwc_prepare_primary()
166 static int hwc_prepare_external(hwc_composer_device_1 *dev, in hwc_prepare_external()
202 static int hwc_prepare_virtual(hwc_composer_device_1 *dev, in hwc_prepare_virtual()
208 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, in hwc_prepare()
243 static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, in hwc_eventControl()
270 static int hwc_blank(struct hwc_composer_device_1* dev, int dpy, int blank) in hwc_blank()
328 static int hwc_query(struct hwc_composer_device_1* dev, in hwc_query()
459 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/libhardware/modules/audio/
Daudio_hw.c216 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
258 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
264 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
269 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
275 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
280 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
285 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
290 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
295 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
300 static int adev_get_master_mute(struct audio_hw_device *dev, bool *muted) in adev_get_master_mute()
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hw.c60 struct audio_device *dev; member
246 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
299 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
308 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
313 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
319 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
324 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
329 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
334 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
339 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
[all …]
/hardware/libhardware/modules/consumerir/
Dconsumerir.c35 static int consumerir_transmit(struct consumerir_device *dev, in consumerir_transmit()
51 static int consumerir_get_num_carrier_freqs(struct consumerir_device *dev) in consumerir_get_num_carrier_freqs()
56 static int consumerir_get_carrier_freqs(struct consumerir_device *dev, in consumerir_get_carrier_freqs()
66 static int consumerir_close(hw_device_t *dev) in consumerir_close()
86 consumerir_device_t *dev = malloc(sizeof(consumerir_device_t)); in consumerir_open() local
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc.cpp72 static void hwc_registerProcs(struct hwc_composer_device_1* dev, in hwc_registerProcs()
151 static int hwc_prepare_primary(hwc_composer_device_1 *dev, in hwc_prepare_primary()
173 static int hwc_prepare_external(hwc_composer_device_1 *dev, in hwc_prepare_external()
210 static int hwc_prepare_virtual(hwc_composer_device_1 *dev, in hwc_prepare_virtual()
243 static int hwc_prepare(hwc_composer_device_1 *dev, size_t numDisplays, in hwc_prepare()
290 static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy, in hwc_eventControl()
318 static int hwc_blank(struct hwc_composer_device_1* dev, int dpy, int blank) in hwc_blank()
374 static int hwc_query(struct hwc_composer_device_1* dev, in hwc_query()
552 static int hwc_set(hwc_composer_device_1 *dev, in hwc_set()
584 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()
Daudio_hw_hal.cpp429 static inline struct qcom_audio_device * to_ladev(struct audio_hw_device *dev) in to_ladev()
434 static inline const struct qcom_audio_device * to_cladev(const struct audio_hw_device *dev) in to_cladev()
439 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
446 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
452 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
458 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { in adev_get_master_volume()
465 static int adev_set_fm_volume(struct audio_hw_device *dev, float volume) in adev_set_fm_volume()
472 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
478 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
484 static int adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) in adev_get_mic_mute()
[all …]
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp104 static int gralloc_alloc_framebuffer_locked(alloc_device_t* dev, in gralloc_alloc_framebuffer_locked()
157 static int gralloc_alloc_framebuffer(alloc_device_t* dev, in gralloc_alloc_framebuffer()
168 static int gralloc_alloc_buffer(alloc_device_t* dev, in gralloc_alloc_buffer()
199 static int gralloc_alloc(alloc_device_t* dev, in gralloc_alloc()
245 static int gralloc_free(alloc_device_t* dev, in gralloc_free()
272 static int gralloc_close(struct hw_device_t *dev) in gralloc_close()
289 gralloc_context_t *dev; in gralloc_device_open() local
Dframebuffer.cpp60 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
70 static int fb_setUpdateRect(struct framebuffer_device_t* dev, in fb_setUpdateRect()
85 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
301 static int fb_close(struct hw_device_t *dev) in fb_close()
316 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); in fb_device_open() local
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit.cpp158 static void set_rects(struct copybit_context_t *dev, in set_rects()
214 static void set_infos(struct copybit_context_t *dev, in set_infos()
230 static int msm_copybit(struct copybit_context_t *dev, void const *list) in msm_copybit()
273 struct copybit_device_t *dev, in set_parameter_copybit()
362 static int get(struct copybit_device_t *dev, int name) in get()
389 static int set_sync_copybit(struct copybit_device_t *dev, in set_sync_copybit()
417 struct copybit_device_t *dev, in stretch_copybit()
540 struct copybit_device_t *dev, in blit_copybit()
550 static int finish_copybit(struct copybit_device_t *dev) in finish_copybit()
559 static int close_copybit(struct hw_device_t *dev) in close_copybit()
[all …]
/hardware/qcom/display/msm8974/liblight/
Dlights.c130 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
142 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
230 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
240 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
251 set_light_attention(struct light_device_t* dev, in set_light_attention()
268 close_lights(struct light_device_t *dev) in close_lights()
301 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8x26/liblight/
Dlights.c130 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
142 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
230 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
240 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
251 set_light_attention(struct light_device_t* dev, in set_light_attention()
268 close_lights(struct light_device_t *dev) in close_lights()
301 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/qcom/display/msm8960/liblight/
Dlights.c130 set_light_backlight(struct light_device_t* dev, in set_light_backlight()
142 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked()
230 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
240 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
251 set_light_attention(struct light_device_t* dev, in set_light_attention()
268 close_lights(struct light_device_t *dev) in close_lights()
301 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp84 struct submix_audio_device *dev; member
89 struct submix_audio_device *dev; member
511 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
593 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
608 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
613 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
619 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
625 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
630 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
635 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
[all …]
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp70 static int hwc_prepare(hwc_composer_device_1_t *dev, in hwc_prepare()
81 static int hwc_set(hwc_composer_device_1_t *dev, in hwc_set()
96 static int hwc_device_close(struct hw_device_t *dev) in hwc_device_close()
112 struct hwc_context_t *dev; in hwc_device_open() local
/hardware/qcom/display/msm8x26/libcopybit/
Dcopybit.cpp155 static void set_rects(struct copybit_context_t *dev, in set_rects()
211 static void set_infos(struct copybit_context_t *dev, in set_infos()
227 static int msm_copybit(struct copybit_context_t *dev, void const *list) in msm_copybit()
270 struct copybit_device_t *dev, in set_parameter_copybit()
352 static int get(struct copybit_device_t *dev, int name) in get()
381 struct copybit_device_t *dev, in stretch_copybit()
497 struct copybit_device_t *dev, in blit_copybit()
507 static int finish_copybit(struct copybit_device_t *dev) in finish_copybit()
515 static int close_copybit(struct hw_device_t *dev) in close_copybit()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp155 static void set_rects(struct copybit_context_t *dev, in set_rects()
211 static void set_infos(struct copybit_context_t *dev, in set_infos()
227 static int msm_copybit(struct copybit_context_t *dev, void const *list) in msm_copybit()
270 struct copybit_device_t *dev, in set_parameter_copybit()
352 static int get(struct copybit_device_t *dev, int name) in get()
381 struct copybit_device_t *dev, in stretch_copybit()
497 struct copybit_device_t *dev, in blit_copybit()
507 static int finish_copybit(struct copybit_device_t *dev) in finish_copybit()
515 static int close_copybit(struct hw_device_t *dev) in close_copybit()
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp408 static inline struct legacy_audio_device * to_ladev(struct audio_hw_device *dev) in to_ladev()
413 static inline const struct legacy_audio_device * to_cladev(const struct audio_hw_device *dev) in to_cladev()
418 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
425 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
431 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
437 static int adev_get_master_volume(struct audio_hw_device *dev, float* volume) in adev_get_master_volume()
443 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode()
450 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute()
456 static int adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) in adev_get_mic_mute()
462 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
[all …]
/hardware/libhardware/modules/camera/
DCamera.cpp45 static int close_device(hw_device_t* dev) in close_device()
648 static Camera *camdev_to_camera(const camera3_device_t *dev) in camdev_to_camera()
653 static int initialize(const camera3_device_t *dev, in initialize()
659 static int configure_streams(const camera3_device_t *dev, in configure_streams()
665 static int register_stream_buffers(const camera3_device_t *dev, in register_stream_buffers()
672 const camera3_device_t *dev, int type) in construct_default_request_settings()
677 static int process_capture_request(const camera3_device_t *dev, in process_capture_request()
683 static void get_metadata_vendor_tag_ops(const camera3_device_t *dev, in get_metadata_vendor_tag_ops()
689 static void dump(const camera3_device_t *dev, int fd) in dump()
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp318 static int poll__close(struct hw_device_t *dev) in poll__close()
328 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
335 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
343 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
350 static int poll__query(struct sensors_poll_device_1 *dev, in poll__query()
357 static int poll__batch(struct sensors_poll_device_1 *dev, in poll__batch()
372 sensors_poll_context_t *dev = new sensors_poll_context_t(); in open_sensors() local
/hardware/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp95 static int exynos_km_generate_keypair(const keymaster_device_t* dev, in exynos_km_generate_keypair()
136 static int exynos_km_import_keypair(const keymaster_device_t* dev, in exynos_km_import_keypair()
232 static int exynos_km_get_keypair_public(const struct keymaster_device* dev, in exynos_km_get_keypair_public()
331 static int exynos_km_sign_data(const keymaster_device_t* dev, in exynos_km_sign_data()
379 static int exynos_km_verify_data(const keymaster_device_t* dev, in exynos_km_verify_data()
421 static int exynos_km_close(hw_device_t *dev) { in exynos_km_close()
434 Unique_keymaster_device_t dev(new keymaster_device_t); in exynos_km_open() local
/hardware/qcom/display/msm8974/libgralloc/
Dframebuffer.cpp64 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
85 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
102 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete()
353 static int fb_close(struct hw_device_t *dev) in fb_close()
373 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); in fb_device_open() local
/hardware/invensense/60xx/libsensors_iio/
Dsensors_mpl.cpp204 static int poll__close(struct hw_device_t *dev) in poll__close()
214 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
221 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
229 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
244 sensors_poll_context_t *dev = new sensors_poll_context_t(); in open_sensors() local

123