Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 86) 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/google/cuttlefish/guest/hals/camera/
DEmulatedCamera.cpp725 int EmulatedCamera::set_preview_window(struct camera_device* dev, in set_preview_window()
736 struct camera_device* dev, camera_notify_callback notify_cb, in set_callbacks()
748 void EmulatedCamera::enable_msg_type(struct camera_device* dev, in enable_msg_type()
758 void EmulatedCamera::disable_msg_type(struct camera_device* dev, in disable_msg_type()
768 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, in msg_type_enabled()
778 int EmulatedCamera::start_preview(struct camera_device* dev) { in start_preview()
787 void EmulatedCamera::stop_preview(struct camera_device* dev) { in stop_preview()
796 int EmulatedCamera::preview_enabled(struct camera_device* dev) { in preview_enabled()
805 int EmulatedCamera::store_meta_data_in_buffers(struct camera_device* dev, in store_meta_data_in_buffers()
815 int EmulatedCamera::start_recording(struct camera_device* dev) { in start_recording()
[all …]
/device/amlogic/yukawa/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/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/amlogic/yukawa/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/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/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/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/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.c83 struct alsa_audio_device *dev; member
420 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
496 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
503 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
509 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
516 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
522 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
528 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
534 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
540 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute()
[all …]
/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/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/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/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/google/cuttlefish/guest/hals/hwcomposer/common/
Dhwcomposer.cpp182 bool IsValidLayer(hwc_composer_device_1_t* dev, const hwc_layer_1_t& layer) { in IsValidLayer()
213 bool IsValidComposition(hwc_composer_device_1_t* dev, int num_layers, in IsValidComposition()
329 static int cvd_hwc_prepare(hwc_composer_device_1_t* dev, size_t numDisplays, in cvd_hwc_prepare()
347 static int cvd_hwc_set(hwc_composer_device_1_t* dev, size_t numDisplays, in cvd_hwc_set()
391 static void cvd_hwc_register_procs(hwc_composer_device_1_t* dev, in cvd_hwc_register_procs()
406 static int cvd_hwc_query(hwc_composer_device_1_t* dev, int what, int* value) { in cvd_hwc_query()
439 static void cvd_hwc_dump(hwc_composer_device_1_t* dev, char* buff, int buff_len) { in cvd_hwc_dump()
480 static int cvd_hwc_get_display_attributes(hwc_composer_device_1_t* dev, int disp, in cvd_hwc_get_display_attributes()
499 struct cvd_hwc_composer_device_1_t* dev = in cvd_hwc_close() local
520 cvd_hwc_composer_device_1_t* dev = new cvd_hwc_composer_device_1_t(); in cvd_hwc_open() local
/device/amlogic/yukawa/audio/
Daudio_hw.c480 struct audio_hw_device* dev = (struct audio_hw_device*)in->dev; in in_get_active_microphones() local
723 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
810 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
819 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters()
825 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters()
832 static int adev_get_microphones(const struct audio_hw_device* dev, in adev_get_microphones()
843 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check()
849 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume()
855 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume()
861 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume()
[all …]
/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/generic/car/emulator/audio/driver/
Daudio_hw.c118 static bool is_zone_selected_to_play(struct audio_hw_device *dev, int zone_id) { in is_zone_selected_to_play()
1027 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1119 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1142 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) { in adev_set_parameters()
1158 static char *adev_get_parameters(const struct audio_hw_device * dev, const char *keys) { in adev_get_parameters()
1162 static int adev_init_check(const struct audio_hw_device *dev) { in adev_init_check()
1166 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) { in adev_set_voice_volume()
1171 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) { in adev_set_master_volume()
1175 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { in adev_get_master_volume()
1179 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/linaro/dragonboard/gralloc/
Dgralloc.cpp153 static int gbm_mod_close_gpu0(struct hw_device_t *dev) in gbm_mod_close_gpu0()
164 static int gbm_mod_free_gpu0(alloc_device_t *dev, buffer_handle_t handle) in gbm_mod_free_gpu0()
177 static int gbm_mod_alloc_gpu0(alloc_device_t *dev, in gbm_mod_alloc_gpu0()
195 static int gbm_mod_open_gpu0(struct gbm_module_t *dmod, hw_device_t **dev) in gbm_mod_open_gpu0()
222 const char *name, struct hw_device_t **dev) in gbm_mod_open()
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Ddisklabel.h48 #define DISKUNIT(dev) ((minor(dev) / OLDMAXPARTITIONS) % __I386_MAXDISKS) argument
49 #define DISKPART(dev) ((minor(dev) % OLDMAXPARTITIONS) + \ argument
/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()
1092 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream()
1192 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream()
1215 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) { in adev_set_parameters()
1231 static char *adev_get_parameters(const struct audio_hw_device * dev, const char *keys) { in adev_get_parameters()
1235 static int adev_init_check(const struct audio_hw_device *dev) { in adev_init_check()
1239 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) { in adev_set_voice_volume()
1244 static int adev_set_main_volume(struct audio_hw_device *dev, float volume) { in adev_set_main_volume()
1248 static int adev_get_main_volume(struct audio_hw_device *dev, float *volume) { in adev_get_main_volume()
1252 static int adev_set_main_mute(struct audio_hw_device *dev, bool muted) { in adev_set_main_mute()
[all …]

1234