| /device/google/contexthub/firmware/src/ |
| D | spi.c | 35 struct SpiDevice dev; member 63 struct SpiDevice *dev = &state->dev; in spiMasterStart() local 78 void spi_masterStartAsync_done(struct SpiDevice *dev, int err) in spi_masterStartAsync_done() 94 struct SpiDevice *dev = &state->dev; in spiMasterNext() local 112 void spiMasterRxTxDone(struct SpiDevice *dev, int err) in spiMasterRxTxDone() 133 struct SpiDevice *dev = &state->dev; in spiMasterStop() local 147 void spiMasterStopAsyncDone(struct SpiDevice *dev, int err) in spiMasterStopAsyncDone() 164 struct SpiDevice *dev = &state->dev; in spiSlaveStart() local 178 void spiSlaveStartAsyncDone(struct SpiDevice *dev, int err) in spiSlaveStartAsyncDone() 188 void spiSlaveRxTxDone(struct SpiDevice *dev, int err) in spiSlaveRxTxDone() [all …]
|
| /device/google/dragon/recovery/updater/ |
| D | flash_file.cpp | 40 static void *file_blob_open(struct file_data *dev, const Value *param) in file_blob_open() 53 struct file_data *dev = reinterpret_cast<struct file_data*>(calloc(1, sizeof(struct file_data))); in file_open() local 96 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_close() local 107 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_read() local 122 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_write() local 137 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_erase() local 152 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_get_size() local 159 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_get_write_size() local 166 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_get_erase_size() local 173 struct file_data *dev = reinterpret_cast<struct file_data*>(hnd); in file_get_fmap_offset() local
|
| D | flash_device.c | 51 struct flash_device *dev; in flash_open() local 87 void flash_close(struct flash_device *dev) in flash_close() 97 int flash_read(struct flash_device *dev, off_t off, void *buff, size_t len) in flash_read() 102 int flash_write(struct flash_device *dev, off_t off, void *buff, size_t len) in flash_write() 112 int flash_erase(struct flash_device *dev, off_t off, size_t len) in flash_erase() 123 size_t flash_get_size(struct flash_device *dev) in flash_get_size() 128 struct fmap *flash_get_fmap(struct flash_device *dev) in flash_get_fmap() 142 uint8_t *flash_get_gbb(struct flash_device *dev, size_t *size) in flash_get_gbb() 155 int flash_cmd(struct flash_device *dev, int cmd, int ver, in flash_cmd()
|
| D | flash_mtd.c | 45 struct mtd_data *dev = calloc(1, sizeof(struct mtd_data)); in mtd_open() local 81 struct mtd_data *dev = hnd; in mtd_close() local 89 struct mtd_data *dev = hnd; in mtd_read() local 113 struct mtd_data *dev = hnd; in mtd_write() local 136 struct mtd_data *dev = hnd; in mtd_erase() local 164 struct mtd_data *dev = hnd; in mtd_get_size() local 171 struct mtd_data *dev = hnd; in mtd_get_write_size() local 178 struct mtd_data *dev = hnd; in mtd_get_erase_size() local
|
| D | flash_ec.c | 93 struct ec_data *dev = calloc(1, sizeof(struct ec_data)); in ec_open() local 143 struct ec_data *dev = hnd; in ec_close() local 151 struct ec_data *dev = hnd; in ec_read() local 176 struct ec_data *dev = hnd; in ec_write() local 208 struct ec_data *dev = hnd; in ec_erase() local 226 struct ec_data *dev = hnd; in ec_get_size() local 233 struct ec_data *dev = hnd; in ec_get_write_size() local 240 struct ec_data *dev = hnd; in ec_get_erase_size() local 247 struct ec_data *dev = hnd; in ec_get_fmap_offset() local
|
| D | fwtool.cpp | 53 static void dump_fmap(struct flash_device *dev) in dump_fmap() 74 static void dump_section(struct flash_device *dev, const char *name) in dump_section() 92 struct flash_device* dev = reinterpret_cast<struct flash_device*>(spi); in cmd_flash_fmap() local 208 struct flash_device* dev = reinterpret_cast<struct flash_device*>(spi); in sync_slots() local
|
| D | vboot_interface.c | 123 off_t fmap_scan_offset(struct flash_device *dev, off_t end) in fmap_scan_offset() 145 struct fmap *fmap_load(struct flash_device *dev, off_t offset) in fmap_load() 177 int fmap_get_section_offset(struct flash_device *dev, const char *name, in fmap_get_section_offset() 203 void *fmap_read_section(struct flash_device *dev, in fmap_read_section() 247 uint8_t *gbb_get_rootkey(struct flash_device *dev, size_t *size) in gbb_get_rootkey()
|
| /device/generic/goldfish/lights/ |
| D | lights_qemu.c | 65 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/generic/goldfish/camera/ |
| D | EmulatedCamera.cpp | 688 int EmulatedCamera::set_preview_window(struct camera_device* dev, in set_preview_window() 700 struct camera_device* dev, in set_callbacks() 715 void EmulatedCamera::enable_msg_type(struct camera_device* dev, int32_t msg_type) in enable_msg_type() 725 void EmulatedCamera::disable_msg_type(struct camera_device* dev, int32_t msg_type) in disable_msg_type() 735 int EmulatedCamera::msg_type_enabled(struct camera_device* dev, int32_t msg_type) in msg_type_enabled() 745 int EmulatedCamera::start_preview(struct camera_device* dev) in start_preview() 755 void EmulatedCamera::stop_preview(struct camera_device* dev) in stop_preview() 765 int EmulatedCamera::preview_enabled(struct camera_device* dev) in preview_enabled() 775 int EmulatedCamera::store_meta_data_in_buffers(struct camera_device* dev, in store_meta_data_in_buffers() 786 int EmulatedCamera::start_recording(struct camera_device* dev) in start_recording() [all …]
|
| /device/generic/goldfish/audio/ |
| D | audio_hw.c | 55 struct generic_audio_device *dev; member 61 struct generic_audio_device *dev; member 369 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream() 430 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream() 443 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters() 448 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters() 454 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check() 464 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() 470 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() 475 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume() [all …]
|
| /device/google/marlin/liblight/ |
| D | lights.c | 180 set_light_backlight(struct light_device_t* dev, in set_light_backlight() 217 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked() 268 handle_speaker_battery_locked(struct light_device_t* dev) in handle_speaker_battery_locked() 279 set_light_battery(struct light_device_t* dev, in set_light_battery() 291 set_light_notifications(struct light_device_t* dev, in set_light_notifications() 302 set_light_attention(struct light_device_t* dev, in set_light_attention() 317 set_light_buttons(struct light_device_t* dev, in set_light_buttons() 332 close_lights(struct light_device_t *dev) in close_lights() 371 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
|
| /device/google/contexthub/sensorhal/ |
| D | sensors.cpp | 145 int SensorContext::CloseWrapper(struct hw_device_t *dev) { in CloseWrapper() 151 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper() 157 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper() 163 struct sensors_poll_device_t *dev, sensors_event_t *data, int count) { in PollWrapper() 169 struct sensors_poll_device_1 *dev, in BatchWrapper() 180 int SensorContext::FlushWrapper(struct sensors_poll_device_1 *dev, int handle) { in FlushWrapper() 195 struct hw_device_t **dev) { in open_sensors()
|
| /device/linaro/hikey/audio/ |
| D | audio_hw.c | 82 struct alsa_audio_device *dev; member 422 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream() 498 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream() 505 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters() 511 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters() 518 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check() 524 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() 530 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() 536 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume() 542 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute() [all …]
|
| /device/asus/fugu/libaudio/ |
| D | audio_hal_thunks.cpp | 376 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters() 385 static char * adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters() 394 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() 401 static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode) in adev_set_mode() 408 static int adev_set_mic_mute(struct audio_hw_device *dev, bool state) in adev_set_mic_mute() 416 static int adev_get_mic_mute(const struct audio_hw_device *dev, bool *state) in adev_get_mic_mute() 424 static size_t adev_get_input_buffer_size(const struct audio_hw_device *dev, in adev_get_input_buffer_size() 433 static int adev_open_input_stream(struct audio_hw_device *dev, in adev_open_input_stream() 496 static void adev_close_input_stream(struct audio_hw_device *dev, in adev_close_input_stream() 508 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream() [all …]
|
| /device/htc/flounder/lights/ |
| D | lights.c | 65 static int set_light_battery(struct light_device_t* dev, in set_light_battery() 79 static int set_light_notifications(struct light_device_t* dev, in set_light_notifications() 93 static int set_light_backlight(struct light_device_t *dev, in set_light_backlight() 107 static int close_lights(struct light_device_t *dev) in close_lights() 118 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
|
| /device/linaro/hikey/gralloc/ |
| D | alloc_device.cpp | 99 static int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHand… in gralloc_alloc_buffer() 259 static int gralloc_alloc_framebuffer_locked(alloc_device_t *dev, size_t size, int usage, buffer_han… in gralloc_alloc_framebuffer_locked() 348 static int gralloc_alloc_framebuffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *… in gralloc_alloc_framebuffer() 357 static int alloc_device_alloc(alloc_device_t *dev, int w, int h, int format, int usage, buffer_hand… in alloc_device_alloc() 505 static int alloc_device_free(alloc_device_t *dev, buffer_handle_t handle) in alloc_device_free() 582 alloc_device_t *dev = reinterpret_cast<alloc_device_t *>(device); in alloc_device_close() local 608 alloc_device_t *dev; in alloc_device_open() local
|
| D | framebuffer_device.cpp | 51 static int fb_set_swap_interval(struct framebuffer_device_t *dev, int interval) in fb_set_swap_interval() 67 static int fb_post(struct framebuffer_device_t *dev, buffer_handle_t buffer) in fb_post() 416 framebuffer_device_t *dev = reinterpret_cast<framebuffer_device_t *>(device); in fb_close() local 429 int compositionComplete(struct framebuffer_device_t *dev) in compositionComplete() 471 framebuffer_device_t *dev = (framebuffer_device_t *)malloc(sizeof(framebuffer_device_t)); in framebuffer_device_open() local
|
| /device/huawei/angler/liblight/ |
| D | lights.c | 154 set_light_backlight(struct light_device_t* dev, in set_light_backlight() 201 set_speaker_light_locked(struct light_device_t* dev, in set_speaker_light_locked() 283 set_light_battery(struct light_device_t* dev, in set_light_battery() 299 set_light_notifications(struct light_device_t* dev, in set_light_notifications() 315 close_lights(struct light_device_t *dev) in close_lights() 350 struct light_device_t *dev = malloc(sizeof(struct light_device_t)); in open_lights() local
|
| /device/htc/flounder/sensor_hub/libsensors/ |
| D | sensors.cpp | 768 static int poll__close(struct hw_device_t *dev) in poll__close() 777 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate() 783 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay() 789 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll() 795 static int poll__batch(struct sensors_poll_device_1 *dev, in poll__batch() 802 static int poll__flush(struct sensors_poll_device_1 *dev, in poll__flush() 814 sensors_poll_context_t *dev = new sensors_poll_context_t(); in open_sensors() local
|
| /device/google/contexthub/firmware/src/platform/stm32f4xx/ |
| D | spi.c | 229 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/goldfish/sensors/ |
| D | sensors_qemu.c | 174 static int sensor_device_get_fd_locked(SensorDevice* dev) { in sensor_device_get_fd_locked() 191 static int sensor_device_send_command_locked(SensorDevice* dev, in sensor_device_send_command_locked() 245 static int sensor_device_poll_event_locked(SensorDevice* dev) in sensor_device_poll_event_locked() 411 SensorDevice* dev = (void*)dev0; in sensor_device_close() local 435 SensorDevice* dev = (void*)dev0; in sensor_device_poll() local 485 SensorDevice* dev = (void*)dev0; in sensor_device_activate() local 532 SensorDevice* dev = (void*)dev0; in sensor_device_set_delay() local 714 SensorDevice *dev = malloc(sizeof(*dev)); in open_sensors() local
|
| /device/generic/goldfish/opengl/system/gralloc/ |
| D | gralloc.cpp | 125 static int gralloc_alloc(alloc_device_t* dev, in gralloc_alloc() 359 static int gralloc_free(alloc_device_t* dev, in gralloc_free() 412 static int gralloc_device_close(struct hw_device_t *dev) in gralloc_device_close() 428 static int fb_compositionComplete(struct framebuffer_device_t* dev) in fb_compositionComplete() 438 static int fb_post(struct framebuffer_device_t* dev, buffer_handle_t buffer) in fb_post() 465 static int fb_setUpdateRect(struct framebuffer_device_t* dev, in fb_setUpdateRect() 489 static int fb_setSwapInterval(struct framebuffer_device_t* dev, in fb_setSwapInterval() 508 static int fb_close(struct hw_device_t *dev) in fb_close() 912 gralloc_device_t *dev; in gralloc_device_open() local 960 fb_device_t *dev; in gralloc_device_open() local
|
| /device/google/dragon/sensor_hub/ |
| D | sensors.cpp | 693 int cros_ec_sensors_poll_context_t::wrapper_close(struct hw_device_t *dev) in wrapper_close() 707 int cros_ec_sensors_poll_context_t::wrapper_activate(struct sensors_poll_device_t *dev, in wrapper_activate() 714 int cros_ec_sensors_poll_context_t::wrapper_setDelay(struct sensors_poll_device_t *dev, in wrapper_setDelay() 721 int cros_ec_sensors_poll_context_t::wrapper_poll(struct sensors_poll_device_t *dev, in wrapper_poll() 728 int cros_ec_sensors_poll_context_t::wrapper_batch(struct sensors_poll_device_1 *dev, in wrapper_batch() 735 int cros_ec_sensors_poll_context_t::wrapper_flush(struct sensors_poll_device_1 *dev, in wrapper_flush() 765 cros_ec_sensors_poll_context_t *dev = new cros_ec_sensors_poll_context_t( in cros_ec_open_sensors() local
|
| /device/google/dragon/lights/ |
| D | lights.c | 66 static struct dragon_lights *to_dragon_lights(struct light_device_t *dev) in to_dragon_lights() 156 static int set_light_backlight(struct light_device_t *dev, in set_light_backlight() 178 static int close_lights(struct hw_device_t *dev) in close_lights()
|
| /device/google/dragon/audio/hal/ |
| D | audio_hw.c | 2684 static int adev_open_output_stream(struct audio_hw_device *dev, in adev_open_output_stream() 2794 static void adev_close_output_stream(struct audio_hw_device *dev, in adev_close_output_stream() 2811 static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs) in adev_set_parameters() 2906 static char* adev_get_parameters(const struct audio_hw_device *dev, in adev_get_parameters() 2915 static int adev_init_check(const struct audio_hw_device *dev) in adev_init_check() 2922 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() 2934 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() 2942 static int adev_get_master_volume(struct audio_hw_device *dev, in adev_get_master_volume() 2951 static int adev_set_master_mute(struct audio_hw_device *dev, bool muted) in adev_set_master_mute() 2959 static int adev_get_master_mute(struct audio_hw_device *dev, bool *muted) in adev_get_master_mute() [all …]
|