Home
last modified time | relevance | path

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

1234

/device/google/contexthub/firmware/os/core/
Dspi.c35 struct SpiDevice dev; member
64 struct SpiDevice *dev = &state->dev; in spiMasterStart() local
79 void spi_masterStartAsync_done(struct SpiDevice *dev, int err) in spi_masterStartAsync_done()
95 struct SpiDevice *dev = &state->dev; in spiMasterNext() local
113 void spiMasterRxTxDone(struct SpiDevice *dev, int err) in spiMasterRxTxDone()
134 struct SpiDevice *dev = &state->dev; in spiMasterStop() local
148 void spiMasterStopAsyncDone(struct SpiDevice *dev, int err) in spiMasterStopAsyncDone()
167 struct SpiDevice *dev = &state->dev; in spiSlaveStart() local
181 void spiSlaveStartAsyncDone(struct SpiDevice *dev, int err) in spiSlaveStartAsyncDone()
191 void spiSlaveRxTxDone(struct SpiDevice *dev, int err) in spiSlaveRxTxDone()
[all …]
/device/generic/goldfish/lights/
Dlights_qemu.c65 set_light_backlight( struct light_device_t* dev, struct light_state_t const* state ) in set_light_backlight()
101 set_light_buttons( struct light_device_t* dev, struct light_state_t const* state ) in set_light_buttons()
110 set_light_battery( struct light_device_t* dev, struct light_state_t const* state ) in set_light_battery()
119 set_light_keyboard( struct light_device_t* dev, struct light_state_t const* state ) in set_light_keyboard()
128 set_light_notifications( struct light_device_t* dev, struct light_state_t const* state ) in set_light_notifications()
137 set_light_attention( struct light_device_t* dev, struct light_state_t const* state ) in set_light_attention()
147 close_lights( struct light_device_t *dev ) in close_lights()
182 struct light_device_t *dev = malloc( sizeof(struct light_device_t) ); in open_lights() local
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCamera.cpp729 int EmulatedCamera::set_preview_window(struct camera_device* dev, in set_preview_window()
740 struct camera_device* dev, camera_notify_callback notify_cb, in set_callbacks()
752 void EmulatedCamera::enable_msg_type(struct camera_device* dev, in enable_msg_type()
762 void EmulatedCamera::disable_msg_type(struct camera_device* dev, in disable_msg_type()
772 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, in msg_type_enabled()
782 int EmulatedCamera::start_preview(struct camera_device* dev) { in start_preview()
791 void EmulatedCamera::stop_preview(struct camera_device* dev) { in stop_preview()
800 int EmulatedCamera::preview_enabled(struct camera_device* dev) { in preview_enabled()
809 int EmulatedCamera::store_meta_data_in_buffers(struct camera_device* dev, in store_meta_data_in_buffers()
819 int EmulatedCamera::start_recording(struct camera_device* dev) { in start_recording()
[all …]
/device/linaro/hikey/gralloc960/
Dgralloc_vsync_default.cpp39 int gralloc_vsync_enable(framebuffer_device_t *dev) in gralloc_vsync_enable()
45 int gralloc_vsync_disable(framebuffer_device_t *dev) in gralloc_vsync_disable()
51 int gralloc_wait_for_vsync(framebuffer_device_t *dev) in gralloc_wait_for_vsync()
Dgralloc_vsync_s3cfb.cpp28 int gralloc_vsync_enable(framebuffer_device_t *dev) in gralloc_vsync_enable()
41 int gralloc_vsync_disable(framebuffer_device_t *dev) in gralloc_vsync_disable()
54 int gralloc_wait_for_vsync(framebuffer_device_t *dev) in gralloc_wait_for_vsync()
/device/google/cuttlefish_common/guest/hals/lights/
Dlights_vsoc.c30 static int set_light(struct light_device_t* dev, in set_light()
39 static int close_lights(struct light_device_t* dev) { in close_lights()
46 struct light_device_t* dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/generic/goldfish/camera/
DEmulatedCamera.cpp948 int EmulatedCamera::set_preview_window(struct camera_device* dev, in set_preview_window()
960 struct camera_device* dev, in set_callbacks()
975 void EmulatedCamera::enable_msg_type(struct camera_device* dev, int32_t msg_type) in enable_msg_type()
985 void EmulatedCamera::disable_msg_type(struct camera_device* dev, int32_t msg_type) in disable_msg_type()
995 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, int32_t msg_type) in msg_type_enabled()
1005 int EmulatedCamera::start_preview(struct camera_device* dev) in start_preview()
1015 void EmulatedCamera::stop_preview(struct camera_device* dev) in stop_preview()
1025 int EmulatedCamera::preview_enabled(struct camera_device* dev) in preview_enabled()
1035 int EmulatedCamera::store_meta_data_in_buffers(struct camera_device* dev, in store_meta_data_in_buffers()
1046 int EmulatedCamera::start_recording(struct camera_device* dev) in start_recording()
[all …]
/device/generic/goldfish/audio/
Daudio_hw_legacy.c55 struct generic_audio_device *dev; member
62 struct generic_audio_device *dev; member
371 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
450 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
463 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
468 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
474 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
484 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
490 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
495 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
[all …]
/device/generic/goldfish/gralloc/
Dgralloc.cpp107 static int gralloc_alloc_framebuffer_locked(alloc_device_t* dev, in gralloc_alloc_framebuffer_locked()
160 static int gralloc_alloc_framebuffer(alloc_device_t* dev, in gralloc_alloc_framebuffer()
171 static int gralloc_alloc_buffer(alloc_device_t* dev, in gralloc_alloc_buffer()
207 static int gralloc_alloc(alloc_device_t* dev, in gralloc_alloc()
256 static int gralloc_free(alloc_device_t* dev, in gralloc_free()
283 static int gralloc_close(struct hw_device_t *dev) in gralloc_close()
300 gralloc_context_t *dev; in gralloc_device_open() local
Dframebuffer.cpp63 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval()
73 static int fb_setUpdateRect(struct framebuffer_device_t* dev, in fb_setUpdateRect()
88 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post()
309 static int fb_close(struct hw_device_t *dev)
324 fb_context_t *dev = (fb_context_t*)malloc(sizeof(*dev)); local
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_storage.c44 const io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in is_valid_dev() local
181 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_dev_init() local
201 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_dev_close() local
222 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_open() local
249 io_dev_info_t *dev = entity->dev_handle; in io_seek() local
266 io_dev_info_t *dev = entity->dev_handle; in io_size() local
286 io_dev_info_t *dev = entity->dev_handle; in io_read() local
306 io_dev_info_t *dev = entity->dev_handle; in io_write() local
325 io_dev_info_t *dev = entity->dev_handle; in io_close() local
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/
Dhwcomposer.cpp231 static int vsoc_hwc_prepare(vsoc_hwc_device* dev, hwc_layer_list_t* list) {
251 int vsoc_hwc_set(struct hwc_composer_device* dev, hwc_display_t dpy,
266 static int vsoc_hwc_set(vsoc_hwc_device* dev, size_t numDisplays,
306 static void vsoc_hwc_register_procs(vsoc_hwc_device* dev,
313 static int vsoc_hwc_query(vsoc_hwc_device* dev, int what, int* value) {
351 static void vsoc_hwc_dump(vsoc_hwc_device* dev, char* buff, int buff_len) {
394 static int vsoc_hwc_get_display_attributes(vsoc_hwc_device* dev, int disp,
415 struct vsoc_hwc_composer_device_1_t* dev = local
433 vsoc_hwc_composer_device_1_t* dev = new vsoc_hwc_composer_device_1_t(); local
/device/google/cuttlefish_common/guest/hals/hwcomposer/cutf_cvm/
Dhwcomposer.cpp223 static int vsoc_hwc_prepare(vsoc_hwc_device* dev, hwc_layer_list_t* list) {
243 int vsoc_hwc_set(struct hwc_composer_device* dev, hwc_display_t dpy,
258 static int vsoc_hwc_set(vsoc_hwc_device* dev, size_t numDisplays,
298 static void vsoc_hwc_register_procs(vsoc_hwc_device* dev,
305 static int vsoc_hwc_query(vsoc_hwc_device* dev, int what, int* value) {
343 static void vsoc_hwc_dump(vsoc_hwc_device* dev, char* buff, int buff_len) {
385 static int vsoc_hwc_get_display_attributes(vsoc_hwc_device* dev, int disp,
406 struct vsoc_hwc_composer_device_1_t* dev = local
424 vsoc_hwc_composer_device_1_t* dev = new vsoc_hwc_composer_device_1_t(); local
/device/google/marlin/liblight/
Dlights.c177 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()
261 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
272 set_light_battery(struct light_device_t* dev, in set_light_battery()
284 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
295 set_light_attention(struct light_device_t* dev, in set_light_attention()
311 close_lights(struct light_device_t *dev) in close_lights()
348 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/google/wahoo/liblight/
Dlights.c177 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()
260 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked()
271 set_light_battery(struct light_device_t* dev, in set_light_battery()
283 set_light_notifications(struct light_device_t* dev, in set_light_notifications()
294 set_light_attention(struct light_device_t* dev, in set_light_attention()
310 close_lights(struct light_device_t *dev) in close_lights()
347 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp52 static int fb_set_swap_interval(struct framebuffer_device_t *dev, int interval) in fb_set_swap_interval()
68 static int fb_post(struct framebuffer_device_t *dev, buffer_handle_t buffer) in fb_post()
420 framebuffer_device_t *dev = reinterpret_cast<framebuffer_device_t *>(device); in fb_close() local
433 int compositionComplete(struct framebuffer_device_t *dev) in compositionComplete()
475 framebuffer_device_t *dev = (framebuffer_device_t *)malloc(sizeof(framebuffer_device_t)); in framebuffer_device_open() local
Dalloc_device.cpp122 static int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHand… in gralloc_alloc_buffer()
332 static int gralloc_alloc_framebuffer_locked(alloc_device_t *dev, size_t size, int usage, buffer_han… in gralloc_alloc_framebuffer_locked()
433 static int gralloc_alloc_framebuffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *… in gralloc_alloc_framebuffer()
443 static int alloc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_hand… in alloc_device_alloc()
609 static int alloc_device_free(alloc_device_t __unused *dev, buffer_handle_t handle) in alloc_device_free()
672 alloc_device_t *dev = reinterpret_cast<alloc_device_t *>(device); in alloc_device_close() local
746 alloc_device_t *dev; in alloc_device_open() local
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dmorse.py119 def play(line, dev, wave): argument
129 def sine(dev, length, wave): argument
133 def pause(dev, length): argument
/device/linaro/poplar/audio/
Daudio_hw.c82 struct alsa_audio_device *dev; member
419 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
495 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
502 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
508 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
515 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
521 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
527 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
533 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
539 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
[all …]
/device/linaro/hikey/gralloc960/legacy/
Dalloc_device.cpp43 static int alloc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_hand… in alloc_device_alloc()
132 static int alloc_device_free(alloc_device_t *dev, buffer_handle_t handle) in alloc_device_free()
159 alloc_device_t *dev; in alloc_device_open() local
/device/google/contexthub/sensorhal/
Dsensors.cpp155 int SensorContext::CloseWrapper(struct hw_device_t *dev) { in CloseWrapper()
161 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper()
167 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper()
173 struct sensors_poll_device_t *dev, sensors_event_t *data, int count) { in PollWrapper()
179 struct sensors_poll_device_1 *dev, in BatchWrapper()
190 int SensorContext::FlushWrapper(struct sensors_poll_device_1 *dev, int handle) { in FlushWrapper()
195 int SensorContext::RegisterDirectChannelWrapper(struct sensors_poll_device_1 *dev, in RegisterDirectChannelWrapper()
202 int SensorContext::ConfigDirectReportWrapper(struct sensors_poll_device_1 *dev, in ConfigDirectReportWrapper()
230 int SensorContext::InjectSensorDataWrapper(struct sensors_poll_device_1 *dev, in InjectSensorDataWrapper()
385 struct hw_device_t **dev) { in open_sensors()
/device/generic/goldfish/keymaster/trusty/
Dtrusty_keymaster_device.cpp649 static inline TrustyKeymasterDevice* convert_device(const keymaster2_device_t* dev) { in convert_device()
654 int TrustyKeymasterDevice::close_device(hw_device_t* dev) { in close_device()
660 keymaster_error_t TrustyKeymasterDevice::configure(const keymaster2_device_t* dev, in configure()
666 keymaster_error_t TrustyKeymasterDevice::add_rng_entropy(const keymaster2_device_t* dev, in add_rng_entropy()
673 const keymaster2_device_t* dev, const keymaster_key_param_set_t* params, in generate_key()
680 const keymaster2_device_t* dev, const keymaster_key_blob_t* key_blob, in get_key_characteristics()
689 const keymaster2_device_t* dev, const keymaster_key_param_set_t* params, in import_key()
696 keymaster_error_t TrustyKeymasterDevice::export_key(const keymaster2_device_t* dev, in export_key()
707 keymaster_error_t TrustyKeymasterDevice::attest_key(const keymaster2_device_t* dev, in attest_key()
715 keymaster_error_t TrustyKeymasterDevice::upgrade_key(const keymaster2_device_t* dev, in upgrade_key()
[all …]
/device/generic/goldfish/sensors/
Dsensors_qemu.c181 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
198 static int sensor_device_send_command_locked(SensorDevice* dev, in sensor_device_send_command_locked()
272 static int sensor_device_poll_event_locked(SensorDevice* dev) in sensor_device_poll_event_locked()
510 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
534 SensorDevice* dev = (void*)dev0; in sensor_device_poll() local
584 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
631 SensorDevice* dev = (void*)dev0; in sensor_device_default_flush() local
667 SensorDevice* dev = (void*)dev0; in sensor_device_set_delay() local
685 struct sensors_poll_device_1* dev, in sensor_device_default_batch()
941 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
/device/linaro/hikey/audio/
Daudio_hw.c116 struct alsa_audio_device *dev; member
598 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
674 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
681 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
687 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
694 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
700 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
706 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
712 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
718 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
[all …]
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dframebuffer.cpp58 static int fb_setSwapInterval(struct framebuffer_device_t* dev, int interval) { in fb_setSwapInterval()
109 static int fb_close(struct hw_device_t *dev) { in fb_close()
123 fb_context_t* dev = (fb_context_t*) malloc(sizeof(*dev)); in fb_device_open() local

1234