Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 146) sorted by relevance

123456

/device/generic/goldfish/wifi/wifi_hal/
Dwifi_hal.cpp52 wifi_error wifi_initialize(wifi_handle* handle) { in wifi_initialize()
77 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { in wifi_cleanup()
110 void wifi_event_loop(wifi_handle handle) { in wifi_event_loop()
118 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, in wifi_get_supported_feature_set()
127 wifi_error wifi_get_ifaces(wifi_handle handle, in wifi_get_ifaces()
137 wifi_error wifi_get_iface_name(wifi_interface_handle handle, in wifi_get_iface_name()
148 wifi_interface_handle handle, in wifi_get_link_stats()
157 wifi_error wifi_set_link_stats(wifi_interface_handle handle, in wifi_set_link_stats()
167 wifi_interface_handle handle, in wifi_set_alert_handler()
177 wifi_interface_handle handle) { in wifi_reset_alert_handler()
[all …]
/device/linaro/poplar/wifi/wifi_hal/
Dcommon.cpp40 interface_info *getIfaceInfo(wifi_interface_handle handle) in getIfaceInfo()
45 wifi_handle getWifiHandle(wifi_interface_handle handle) in getWifiHandle()
50 hal_info *getHalInfo(wifi_handle handle) in getHalInfo()
55 hal_info *getHalInfo(wifi_interface_handle handle) in getHalInfo()
70 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler()
95 wifi_error wifi_register_vendor_handler(wifi_handle handle, in wifi_register_vendor_handler()
121 void wifi_unregister_handler(wifi_handle handle, int cmd) in wifi_unregister_handler()
147 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler()
171 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd()
193 WifiCommand *wifi_unregister_cmd(wifi_handle handle, int id) in wifi_unregister_cmd()
[all …]
Dwifi_hal.cpp218 wifi_error wifi_initialize(wifi_handle *handle) in wifi_initialize()
339 static int wifi_add_membership(wifi_handle handle, const char *group) in wifi_add_membership()
358 static void internal_cleaned_up_handler(wifi_handle handle) in internal_cleaned_up_handler()
379 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) in wifi_cleanup()
442 static int internal_pollin_handler(wifi_handle handle) in internal_pollin_handler()
453 void wifi_event_loop(wifi_handle handle) in wifi_event_loop()
524 wifi_handle handle = (wifi_handle)arg; in internal_valid_message_handler() local
595 GetMulticastIdCommand(wifi_handle handle, const char *name, const char *group) in GetMulticastIdCommand()
670 SetPnoMacAddrOuiCommand(wifi_interface_handle handle, oui scan_oui) in SetPnoMacAddrOuiCommand()
722 SetNodfsCommand(wifi_interface_handle handle, u32 nodfs) in SetNodfsCommand()
[all …]
/device/google/contexthub/util/stm32_flash/
Dstm32_bl.h31 typedef struct handle struct
38 uint8_t (*write_data)(struct handle *, uint8_t *buffer, int length); argument
39 uint8_t (*write_cmd)(struct handle *, uint8_t cmd); argument
40 uint8_t (*read_data)(struct handle *, uint8_t *buffer, int length); argument
41 uint8_t (*read_ack)(struct handle *); argument
Dstm32_bl.c26 uint8_t checksum(__attribute__((unused)) handle_t *handle, uint8_t *bytes, int length) in checksum()
43 static uint8_t write_len(handle_t *handle, int len) in write_len()
52 static uint8_t write_cnt(handle_t *handle, uint16_t cnt) in write_cnt()
62 static uint8_t write_addr(handle_t *handle, uint32_t addr) in write_addr()
75 static uint8_t write_len_data(handle_t *handle, int len, uint8_t *data) in write_len_data()
89 static uint8_t read_ack_loop(handle_t *handle) in read_ack_loop()
101 uint8_t erase_sector(handle_t *handle, uint16_t sector) in erase_sector()
134 uint8_t read_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in read_memory()
169 uint8_t write_memory(handle_t *handle, uint32_t addr, uint32_t length, uint8_t *buffer) in write_memory()
Di2c.c26 uint8_t i2c_write_data(handle_t *handle, uint8_t *buffer, int length) in i2c_write_data()
38 uint8_t i2c_write_cmd(handle_t *handle, uint8_t cmd) in i2c_write_cmd()
48 uint8_t i2c_read_data(handle_t *handle, uint8_t *data, int length) in i2c_read_data()
58 uint8_t i2c_read_ack(handle_t *handle) in i2c_read_ack()
68 int i2c_init(handle_t *handle) in i2c_init()
Dspi.c24 uint8_t spi_write_data(handle_t *handle, uint8_t *buffer, int length) in spi_write_data()
43 uint8_t spi_write_cmd(handle_t *handle, uint8_t cmd) in spi_write_cmd()
66 uint8_t spi_read_data(handle_t *handle, uint8_t *data, int length) in spi_read_data()
94 uint8_t spi_read_ack(handle_t *handle) in spi_read_ack()
129 uint8_t spi_sync(handle_t *handle) in spi_sync()
150 int spi_init(handle_t *handle) in spi_init()
Duart.c29 uint8_t uart_write_data(handle_t *handle, uint8_t *buffer, int length) in uart_write_data()
41 uint8_t uart_write_cmd(handle_t *handle, uint8_t cmd) in uart_write_cmd()
56 uint8_t uart_read_data(handle_t *handle, uint8_t *data, int length) in uart_read_data()
72 uint8_t uart_read_ack(handle_t *handle) in uart_read_ack()
82 int uart_init(handle_t *handle) in uart_init()
/device/google/contexthub/sensorhal/
Dsensors.cpp80 int SensorContext::activate(int handle, int enabled) { in activate()
91 int SensorContext::setDelay(int handle, int64_t delayNs) { in setDelay()
112 int handle, in batch()
125 int SensorContext::flush(int handle) { in flush()
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()
180 int handle, in BatchWrapper()
190 int SensorContext::FlushWrapper(struct sensors_poll_device_1 *dev, int handle) { in FlushWrapper()
253 bool SensorContext::HubConnectionOperation::owns(int handle) { in owns()
257 int SensorContext::HubConnectionOperation::activate(int handle, int enabled) { in activate()
[all …]
Ddirectchannel.cpp178 int GrallocHalWrapper::registerBuffer(const native_handle_t *handle) { in registerBuffer()
189 int GrallocHalWrapper::unregisterBuffer(const native_handle_t *handle) { in unregisterBuffer()
200 int GrallocHalWrapper::lock(const native_handle_t *handle, in lock()
222 int GrallocHalWrapper::unlock(const native_handle_t *handle) { in unlock()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_private_interface.cpp35 …ic int32_t mali_gralloc_private_get_buff_int_fmt(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_fmt()
51 static int32_t mali_gralloc_private_get_buff_fd(gralloc1_device_t *device, buffer_handle_t handle, … in mali_gralloc_private_get_buff_fd()
66 …c int32_t mali_gralloc_private_get_buff_int_dims(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_dims()
83 … mali_gralloc_private_get_buff_offset(gralloc1_device_t *device, buffer_handle_t handle, int64_t *… in mali_gralloc_private_get_buff_offset()
98 …int32_t mali_gralloc_private_get_buff_bytestride(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_bytestride()
114 …ic int32_t mali_gralloc_private_get_buff_yuvinfo(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_yuvinfo()
130 static int32_t mali_gralloc_private_get_buff_size(gralloc1_device_t *device, buffer_handle_t handle in mali_gralloc_private_get_buff_size()
145 …t mali_gralloc_private_get_buff_flags(gralloc1_device_t *device, buffer_handle_t handle, int *flag… in mali_gralloc_private_get_buff_flags()
160 …32_t mali_gralloc_private_get_buff_min_page_size(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_min_page_size()
176 …t mali_gralloc_private_get_attr_param(gralloc1_device_t *device, buffer_handle_t handle, buf_attr … in mali_gralloc_private_get_attr_param()
[all …]
Dmali_gralloc_module.cpp78 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer()
85 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer()
92 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock()
100 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr()
108 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock()
115 static int gralloc_lock_async(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_async()
123 static int gralloc_lock_ycbcr_async(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_ycbcr_async()
131 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int32_t *fe… in gralloc_unlock_async()
Dmali_gralloc_reference.cpp37 int mali_gralloc_reference_retain(mali_gralloc_module const *module, buffer_handle_t handle) in mali_gralloc_reference_retain()
81 int mali_gralloc_reference_release(mali_gralloc_module const *module, buffer_handle_t handle, bool … in mali_gralloc_reference_release()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_private_interface.cpp35 …ic int32_t mali_gralloc_private_get_buff_int_fmt(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_fmt()
51 static int32_t mali_gralloc_private_get_buff_fd(gralloc1_device_t *device, buffer_handle_t handle, … in mali_gralloc_private_get_buff_fd()
66 …c int32_t mali_gralloc_private_get_buff_int_dims(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_int_dims()
83 … mali_gralloc_private_get_buff_offset(gralloc1_device_t *device, buffer_handle_t handle, int64_t *… in mali_gralloc_private_get_buff_offset()
98 …int32_t mali_gralloc_private_get_buff_bytestride(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_bytestride()
114 …ic int32_t mali_gralloc_private_get_buff_yuvinfo(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_yuvinfo()
130 static int32_t mali_gralloc_private_get_buff_size(gralloc1_device_t *device, buffer_handle_t handle in mali_gralloc_private_get_buff_size()
145 …t mali_gralloc_private_get_buff_flags(gralloc1_device_t *device, buffer_handle_t handle, int *flag… in mali_gralloc_private_get_buff_flags()
160 …32_t mali_gralloc_private_get_buff_min_page_size(gralloc1_device_t *device, buffer_handle_t handle, in mali_gralloc_private_get_buff_min_page_size()
176 …t mali_gralloc_private_get_attr_param(gralloc1_device_t *device, buffer_handle_t handle, buf_attr … in mali_gralloc_private_get_attr_param()
[all …]
Dmali_gralloc_module.cpp78 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer()
85 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer()
92 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock()
100 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr()
108 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock()
115 static int gralloc_lock_async(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_async()
123 static int gralloc_lock_ycbcr_async(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_ycbcr_async()
131 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int32_t *fe… in gralloc_unlock_async()
Dmali_gralloc_reference.cpp37 int mali_gralloc_reference_retain(mali_gralloc_module const *module, buffer_handle_t handle) in mali_gralloc_reference_retain()
81 int mali_gralloc_reference_release(mali_gralloc_module const *module, buffer_handle_t handle, bool … in mali_gralloc_reference_release()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dmapper.cpp43 buffer_handle_t handle) { in gralloc_register_buffer()
57 buffer_handle_t handle) { in gralloc_unregister_buffer()
66 gralloc_module_t const* /*module*/, buffer_handle_t handle, int /*usage*/, in gralloc_lock()
90 gralloc_module_t const* /*module*/, buffer_handle_t handle) { in gralloc_unlock()
107 gralloc_module_t const* /*module*/, buffer_handle_t handle, int /*usage*/, in gralloc_lock_ycbcr()
127 buffer_handle_t handle, in gralloc_get_transport_size()
140 buffer_handle_t handle, in gralloc_validate_buffer_size()
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp62 static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_register_buffer()
239 static int gralloc_unregister_buffer(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unregister_buffer()
281 static int gralloc_lock(gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, i… in gralloc_lock()
330 static int gralloc_lock_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usage, in… in gralloc_lock_ycbcr()
410 static int gralloc_unlock(gralloc_module_t const *module, buffer_handle_t handle) in gralloc_unlock()
465 static int gralloc_lock_async (gralloc_module_t const *module, buffer_handle_t handle, int usage, i… in gralloc_lock_async()
476 static int gralloc_unlock_async(gralloc_module_t const *module, buffer_handle_t handle, int *fenceF… in gralloc_unlock_async()
489 static int gralloc_lock_async_ycbcr(gralloc_module_t const *module, buffer_handle_t handle, int usa… in gralloc_lock_async_ycbcr()
/device/linaro/dragonboard/gralloc/
Dgralloc_gbm.cpp160 struct gralloc_handle_t *handle = gralloc_handle(_handle); in gbm_import() local
200 struct gralloc_handle_t *handle = gralloc_handle(_handle); in gbm_alloc() local
241 void gbm_free(buffer_handle_t handle) in gbm_free()
255 struct gbm_bo *gralloc_gbm_bo_from_handle(buffer_handle_t handle) in gralloc_gbm_bo_from_handle()
260 static int gbm_map(buffer_handle_t handle, int x, int y, int w, int h, in gbm_map()
356 int gralloc_gbm_handle_unregister(buffer_handle_t handle) in gralloc_gbm_handle_unregister()
370 native_handle_t *handle; in gralloc_gbm_bo_create() local
394 int gralloc_gbm_bo_lock(buffer_handle_t handle, in gralloc_gbm_bo_lock()
461 int gralloc_gbm_bo_unlock(buffer_handle_t handle) in gralloc_gbm_bo_unlock()
488 int gralloc_gbm_bo_lock_ycbcr(buffer_handle_t handle, in gralloc_gbm_bo_lock_ycbcr()
Dgralloc.cpp97 buffer_handle_t handle) in gbm_mod_register_buffer()
114 buffer_handle_t handle) in gbm_mod_unregister_buffer()
126 static int gbm_mod_lock(const gralloc_module_t *mod, buffer_handle_t handle, in gbm_mod_lock()
141 static int gbm_mod_unlock(const gralloc_module_t *mod, buffer_handle_t handle) in gbm_mod_unlock()
153 static int gbm_mod_lock_ycbcr(gralloc_module_t const *mod, buffer_handle_t handle, in gbm_mod_lock_ycbcr()
177 static int gbm_mod_free_gpu0(alloc_device_t *dev, buffer_handle_t handle) in gbm_mod_free_gpu0()
192 buffer_handle_t *handle, int *stride) in gbm_mod_alloc_gpu0()
/device/google/cuttlefish/guest/hals/camera/
DGrallocModule.cpp49 int GrallocModule::import(buffer_handle_t handle, in import()
82 int GrallocModule::release(buffer_handle_t handle) { in release()
106 int GrallocModule::lock(buffer_handle_t handle, int usage, int l, int t, int w, in lock()
149 int GrallocModule::lock_ycbcr(buffer_handle_t handle, int usage, int l, int t, in lock_ycbcr()
202 int GrallocModule::unlock(buffer_handle_t handle) { in unlock()
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxf-proxy.c96 static inline u32 xf_client_alloc(xf_proxy_t *proxy, xf_handle_t *handle) in xf_client_alloc()
113 static inline void xf_client_free(xf_proxy_t *proxy, xf_handle_t *handle) in xf_client_free()
138 static inline int xf_client_register(xf_proxy_t *proxy, xf_handle_t *handle, xf_id_t id, u32 core) in xf_client_register()
167 static inline int xf_client_unregister(xf_proxy_t *proxy, xf_handle_t *handle) in xf_client_unregister()
368 int xf_open(xf_proxy_t *proxy, xf_handle_t *handle, xf_id_t id, u32 core, xf_response_cb response) in xf_open()
414 void xf_close(xf_handle_t *handle) in xf_close()
542 int xf_command(xf_handle_t *handle, u32 port, u32 opcode, void *buffer, u32 length) in xf_command()
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-proxy.h159 xf_handle_t *handle; member
264 static inline u32 xf_handle_id(xf_handle_t *handle) in xf_handle_id()
270 static inline void * xf_handle_aux(xf_handle_t *handle) in xf_handle_aux()
276 static inline void xf_lock(xf_handle_t *handle) in xf_lock()
282 static inline void xf_unlock(xf_handle_t *handle) in xf_unlock()
288 static inline int xf_response_put(xf_handle_t *handle, xf_user_msg_t *msg) in xf_response_put()
294 static inline int xf_response_get(xf_handle_t *handle, xf_user_msg_t *msg) in xf_response_get()
/device/google/contexthub/firmware/os/inc/
Dsensors_priv.h26 uint32_t handle; /* here 0 means invalid */ member
39 uint32_t handle; member
53 uint32_t handle; member
69 #define HANDLE_TO_TID(handle) (((handle) >> (32 - TASK_TID_BITS)) & TASK_TID_MASK) argument
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.cpp162 virtual uint32_t getHostHandle(native_handle_t const* handle) in getHostHandle()
167 virtual int getFormat(native_handle_t const* handle) in getFormat()
172 virtual size_t getAllocatedSize(native_handle_t const* handle) in getAllocatedSize()
239 virtual uint32_t getHostHandle(native_handle_t const* handle) { in getHostHandle()
249 virtual int getFormat(native_handle_t const* handle) { in getFormat()
253 virtual size_t getAllocatedSize(native_handle_t const* handle) { in getAllocatedSize()
267 bool getResInfo(native_handle_t const* handle, in getResInfo()
318 virtual uint32_t getHostHandle(native_handle_t const* handle) { in getHostHandle()
323 virtual int getFormat(native_handle_t const* handle) { in getFormat()
328 virtual size_t getAllocatedSize(native_handle_t const* handle) { in getAllocatedSize()

123456