Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 78) 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/amlogic/yukawa/hal/hdmicec/
Dhdmi_cec.c54 static int hdmicec_add_logical_address(const struct hdmi_cec_device *dev, cec_logical_address_t add… in hdmicec_add_logical_address()
141 static void hdmicec_clear_logical_address(const struct hdmi_cec_device *dev) in hdmicec_clear_logical_address()
153 static int hdmicec_get_physical_address(const struct hdmi_cec_device *dev, uint16_t *addr) in hdmicec_get_physical_address()
163 static int hdmicec_send_message(const struct hdmi_cec_device *dev, const cec_message_t *msg) in hdmicec_send_message()
198 static void hdmicec_register_event_callback(const struct hdmi_cec_device *dev, in hdmicec_register_event_callback()
207 static void hdmicec_get_version(const struct hdmi_cec_device *dev, int *version) in hdmicec_get_version()
214 static void hdmicec_get_vendor_id(const struct hdmi_cec_device *dev, uint32_t *vendor_id) in hdmicec_get_vendor_id()
221 static void hdmicec_get_port_info(const struct hdmi_cec_device *dev, in hdmicec_get_port_info()
242 static void hdmicec_set_option(const struct hdmi_cec_device *dev, int flag, int value) in hdmicec_set_option()
255 static int hdmicec_is_connected(const struct hdmi_cec_device *dev, int port_id) in hdmicec_is_connected()
[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/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/dragonboard/audio/
Daudio_hw.c543 struct audio_hw_device* dev = (struct audio_hw_device*)in->dev; in in_get_active_microphones() local
786 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
879 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
890 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
896 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
903 static int adev_get_microphones(const struct audio_hw_device* dev, in adev_get_microphones()
914 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
920 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
926 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
932 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
[all …]
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c577 struct audio_hw_device* dev = (struct audio_hw_device*)in->dev; in in_get_active_microphones() local
815 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
908 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
919 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
925 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
932 static int adev_get_microphones(const struct audio_hw_device* dev, in adev_get_microphones()
943 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
949 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
955 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
961 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()
Dframebuffer_device.cpp57 static int fb_set_swap_interval(struct framebuffer_device_t *dev, int interval) in fb_set_swap_interval()
83 static int fb_post(struct framebuffer_device_t *dev, buffer_handle_t buffer) in fb_post()
392 framebuffer_device_t *dev = reinterpret_cast<framebuffer_device_t *>(device); in fb_close() local
533 int compositionComplete(struct framebuffer_device_t *dev) in compositionComplete()
604 …framebuffer_device_t *dev = reinterpret_cast<framebuffer_device_t *>(malloc(sizeof(framebuffer_dev… in framebuffer_device_open() local
/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()
Dframebuffer_device.cpp57 static int fb_set_swap_interval(struct framebuffer_device_t *dev, int interval) in fb_set_swap_interval()
83 static int fb_post(struct framebuffer_device_t *dev, buffer_handle_t buffer) in fb_post()
392 framebuffer_device_t *dev = reinterpret_cast<framebuffer_device_t *>(device); in fb_close() local
533 int compositionComplete(struct framebuffer_device_t *dev) in compositionComplete()
604 …framebuffer_device_t *dev = reinterpret_cast<framebuffer_device_t *>(malloc(sizeof(framebuffer_dev… in framebuffer_device_open() 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.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/hikey/audio/
Daudio_hw.c116 struct alsa_audio_device *dev; member
603 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
679 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
686 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
692 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
699 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
705 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
711 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
717 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
723 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
[all …]
/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/google/trout/hal/audio/6.0/
Daudio_hw.c158 static bool is_zone_selected_to_play(struct audio_hw_device *dev, int zone_id) { in is_zone_selected_to_play()
1094 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1185 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1208 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) { in adev_set_parameters()
1224 static char *adev_get_parameters(const struct audio_hw_device * dev, const char *keys) { in adev_get_parameters()
1228 static int adev_init_check(const struct audio_hw_device *dev) { in adev_init_check()
1232 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) { in adev_set_voice_volume()
1237 static int adev_set_main_volume(struct audio_hw_device *dev, float volume) { in adev_set_main_volume()
1241 static int adev_get_main_volume(struct audio_hw_device *dev, float *volume) { in adev_get_main_volume()
1245 static int adev_set_main_mute(struct audio_hw_device *dev, bool muted) { in adev_set_main_mute()
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_hw.c215 static bool is_zone_selected_to_play(struct audio_hw_device *dev, int zone_id) { in is_zone_selected_to_play()
1140 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1237 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1260 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) { in adev_set_parameters()
1276 static char *adev_get_parameters(const struct audio_hw_device * dev, const char *keys) { in adev_get_parameters()
1280 static int adev_init_check(const struct audio_hw_device *dev) { in adev_init_check()
1284 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) { in adev_set_voice_volume()
1289 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) { in adev_set_master_volume()
1293 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { in adev_get_master_volume()
1297 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) { in adev_set_master_mute()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c180 struct generic_audio_device *dev; // Constant after init member
211 struct generic_audio_device *dev; // Constant after init member
1190 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1292 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1314 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
1319 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
1325 static int adev_get_audio_port(struct audio_hw_device *dev, in adev_get_audio_port()
1331 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
1336 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
1342 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
[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/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/dragonboard/gralloc/
Dgralloc.cpp166 static int gbm_mod_close_gpu0(struct hw_device_t *dev) in gbm_mod_close_gpu0()
177 static int gbm_mod_free_gpu0(alloc_device_t *dev, buffer_handle_t handle) in gbm_mod_free_gpu0()
190 static int gbm_mod_alloc_gpu0(alloc_device_t *dev, in gbm_mod_alloc_gpu0()
208 static int gbm_mod_open_gpu0(struct gbm_module_t *dmod, hw_device_t **dev) in gbm_mod_open_gpu0()
235 const char *name, struct hw_device_t **dev) in gbm_mod_open()
/device/generic/goldfish-opengl/system/hwc2/
DDevice.h78 static T DeviceHook(hwc2_device_t* dev, Args... args) { in DeviceHook()
85 static int32_t displayHook(hwc2_device_t* dev, hwc2_display_t displayId, in displayHook()
99 static int32_t layerHook(hwc2_device_t* dev, hwc2_display_t displayId, in layerHook()
/device/generic/vulkan-cereal/third-party/perfetto-tracing-only/proto/
Dperfetto_trace.proto2366 optional uint64 dev = 1; field
2375 optional uint64 dev = 1; field
2382 optional uint64 dev = 1; field
2389 optional uint64 dev = 1; field
2396 optional uint64 dev = 1; field
2403 optional uint64 dev = 1; field
2410 optional uint64 dev = 1; field
2418 optional uint64 dev = 1; field
2423 optional uint64 dev = 1; field
2433 optional uint64 dev = 1; field
[all …]

1234