Home
last modified time | relevance | path

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

123

/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.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/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/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/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/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/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.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/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/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()
1179 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1278 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1301 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) { in adev_set_parameters()
1318 static char *adev_get_parameters(const struct audio_hw_device * dev, const char *keys) { in adev_get_parameters()
1322 static int adev_init_check(const struct audio_hw_device *dev) { in adev_init_check()
1326 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) { in adev_set_voice_volume()
1331 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) { in adev_set_master_volume()
1335 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { in adev_get_master_volume()
1339 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/comet/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/akita/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/trout/tools/tracing/proto/
Dperfetto_trace.proto2899 optional uint64 dev = 1; field
2908 optional uint64 dev = 1; field
2915 optional uint64 dev = 1; field
2922 optional uint64 dev = 1; field
2929 optional uint64 dev = 1; field
2936 optional uint64 dev = 1; field
2943 optional uint64 dev = 1; field
2951 optional uint64 dev = 1; field
2956 optional uint64 dev = 1; field
2966 optional uint64 dev = 1; field
[all …]
/device/google/trout/hal/sensors/2.1/tests/
DIioUtilsTest.cpp33 static bool sensorFilter(iio_device_data* dev) { in sensorFilter()
88 static bool writeAccelDevice(const std::string& td_path, const iio_device_data& dev) { in writeAccelDevice()
112 iio_device_data dev; in createDefaultAccelerometerDevice() local
/device/linaro/dragonboard/shared/utils/rmtfs/
Dsharedmem.c31 static int parse_hex_sysattr(struct udev_device *dev, const char *name, in parse_hex_sysattr()
55 struct udev_device *dev; in rmtfs_mem_open_rfsa() local
125 struct udev_device *dev; in rmtfs_mem_open_uio() local
/device/google/contexthub/firmware/os/platform/native/
Dspi.c25 int spiRequest(struct SpiDevice *dev, uint8_t busId) in spiRequest()

123