Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 79) 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/camera/
DEmulatedCamera.cpp949 int EmulatedCamera::set_preview_window(struct camera_device* dev, in set_preview_window()
961 struct camera_device* dev, in set_callbacks()
976 void EmulatedCamera::enable_msg_type(struct camera_device* dev, int32_t msg_type) in enable_msg_type()
986 void EmulatedCamera::disable_msg_type(struct camera_device* dev, int32_t msg_type) in disable_msg_type()
996 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, int32_t msg_type) in msg_type_enabled()
1006 int EmulatedCamera::start_preview(struct camera_device* dev) in start_preview()
1016 void EmulatedCamera::stop_preview(struct camera_device* dev) in stop_preview()
1026 int EmulatedCamera::preview_enabled(struct camera_device* dev) in preview_enabled()
1036 int EmulatedCamera::store_meta_data_in_buffers(struct camera_device* dev, in store_meta_data_in_buffers()
1047 int EmulatedCamera::start_recording(struct camera_device* dev) in start_recording()
[all …]
/device/amlogic/yukawa/hal/hdmicec/
Dhdmi_cec.c57 static int hdmicec_add_logical_address(const struct hdmi_cec_device *dev, cec_logical_address_t add… in hdmicec_add_logical_address()
144 static void hdmicec_clear_logical_address(const struct hdmi_cec_device *dev) in hdmicec_clear_logical_address()
156 static int hdmicec_get_physical_address(const struct hdmi_cec_device *dev, uint16_t *addr) in hdmicec_get_physical_address()
166 static int hdmicec_send_message(const struct hdmi_cec_device *dev, const cec_message_t *msg) in hdmicec_send_message()
210 static void hdmicec_register_event_callback(const struct hdmi_cec_device *dev, in hdmicec_register_event_callback()
219 static void hdmicec_get_version(const struct hdmi_cec_device *dev, int *version) in hdmicec_get_version()
226 static void hdmicec_get_vendor_id(const struct hdmi_cec_device *dev, uint32_t *vendor_id) in hdmicec_get_vendor_id()
233 static void hdmicec_get_port_info(const struct hdmi_cec_device *dev, in hdmicec_get_port_info()
254 static void hdmicec_set_option(const struct hdmi_cec_device *dev, int flag, int value) in hdmicec_set_option()
275 static int hdmicec_is_connected(const struct hdmi_cec_device *dev, int port_id) in hdmicec_is_connected()
[all …]
/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/amlogic/yukawa/hal/audio/
Daudio_hw.c581 struct audio_hw_device* dev = (struct audio_hw_device*)in->dev; in in_get_active_microphones() local
819 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
912 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
923 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
929 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
936 static int adev_get_microphones(const struct audio_hw_device* dev, in adev_get_microphones()
947 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
953 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
959 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
965 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
[all …]
/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/amlogic/yukawa/hal/gralloc/
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/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/linaro/hikey/audio/
Daudio_hw.c115 struct alsa_audio_device *dev; member
602 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
678 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
685 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
691 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
698 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
704 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
710 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
716 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
722 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
[all …]
/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.cpp199 static int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHand… in gralloc_alloc_buffer()
367 static int gralloc_alloc_framebuffer_locked(alloc_device_t *dev, size_t size, int usage, buffer_han… in gralloc_alloc_framebuffer_locked()
468 static int gralloc_alloc_framebuffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *… in gralloc_alloc_framebuffer()
478 static int alloc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_hand… in alloc_device_alloc()
644 static int alloc_device_free(alloc_device_t __unused *dev, buffer_handle_t handle) in alloc_device_free()
707 alloc_device_t *dev = reinterpret_cast<alloc_device_t *>(device); in alloc_device_close() local
827 alloc_device_t *dev; in alloc_device_open() local
/device/linaro/dragonboard/audio/
Daudio_hw.c561 struct audio_hw_device* dev = (struct audio_hw_device*)in->dev; in in_get_active_microphones() local
804 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
898 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
909 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
915 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
922 static int adev_get_microphones(const struct audio_hw_device* dev, in adev_get_microphones()
933 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
939 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
945 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
951 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
[all …]
/device/generic/vulkan-cereal/protocols/vulkan/
Dpackage-lock.json9 "dev": true boolean
15 "dev": true boolean
21 "dev": true boolean
/device/google/contexthub/firmware/os/platform/stm32/
Dspi.c229 static int stmSpiMasterStartSync(struct SpiDevice *dev, spi_cs_t cs, in stmSpiMasterStartSync()
250 static int stmSpiSlaveStartSync(struct SpiDevice *dev, in stmSpiSlaveStartSync()
323 static int stmSpiRxTx(struct SpiDevice *dev, void *rxBuf, const void *txBuf, in stmSpiRxTx()
399 static int stmSpiSlaveIdle(struct SpiDevice *dev, const struct SpiMode *mode) in stmSpiSlaveIdle()
415 static inline void stmSpiDisable(struct SpiDevice *dev, bool master) in stmSpiDisable()
432 static int stmSpiMasterStopSync(struct SpiDevice *dev) in stmSpiMasterStopSync()
446 static int stmSpiSlaveStopSync(struct SpiDevice *dev) in stmSpiSlaveStopSync()
472 static void stmSpiSlaveSetCsInterrupt(struct SpiDevice *dev, bool enabled) in stmSpiSlaveSetCsInterrupt()
492 static bool stmSpiSlaveCsIsActive(struct SpiDevice *dev) in stmSpiSlaveCsIsActive()
522 static int stmSpiRelease(struct SpiDevice *dev) in stmSpiRelease()
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_hw.c243 static bool is_zone_selected_to_play(struct audio_hw_device *dev, int zone_id) { in is_zone_selected_to_play()
1167 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1265 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1288 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) { in adev_set_parameters()
1305 static char *adev_get_parameters(const struct audio_hw_device * dev, const char *keys) { in adev_get_parameters()
1309 static int adev_init_check(const struct audio_hw_device *dev) { in adev_init_check()
1313 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) { in adev_set_voice_volume()
1318 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) { in adev_set_master_volume()
1322 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { in adev_get_master_volume()
1326 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) { in adev_set_master_mute()
[all …]
/device/amlogic/yukawa/hal/gralloc/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()
133 static int alloc_device_free(alloc_device_t *dev, buffer_handle_t handle) in alloc_device_free()
160 alloc_device_t *dev; in alloc_device_open() local
/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/lynx/sensors/
Dsensors_dummy.c164 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
210 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
241 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
273 SensorDevice* dev = (void*)dev0; in sensor_device_default_flush() local
304 struct sensors_poll_device_1* dev, in sensor_device_default_batch()
368 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
/device/google/pantah/sensors/
Dsensors_dummy.c164 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
210 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
241 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
273 SensorDevice* dev = (void*)dev0; in sensor_device_default_flush() local
304 struct sensors_poll_device_1* dev, in sensor_device_default_batch()
368 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
/device/google/gs201/sensors/
Dsensors_dummy.c164 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
210 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
241 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
273 SensorDevice* dev = (void*)dev0; in sensor_device_default_flush() local
304 struct sensors_poll_device_1* dev, in sensor_device_default_batch()
368 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
/device/google/felix/sensors/
Dsensors_dummy.c164 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
210 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
241 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
273 SensorDevice* dev = (void*)dev0; in sensor_device_default_flush() local
304 struct sensors_poll_device_1* dev, in sensor_device_default_batch()
368 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
/device/google/gs101/sensors/
Dsensors_dummy.c164 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
210 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
241 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
273 SensorDevice* dev = (void*)dev0; in sensor_device_default_flush() local
304 struct sensors_poll_device_1* dev, in sensor_device_default_batch()
368 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
/device/google/tangorpro/sensors/
Dsensors_dummy.c164 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked()
210 SensorDevice* dev = (void*)dev0; in sensor_device_close() local
241 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local
273 SensorDevice* dev = (void*)dev0; in sensor_device_default_flush() local
304 struct sensors_poll_device_1* dev, in sensor_device_default_batch()
368 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local

1234