Home
last modified time | relevance | path

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

123456789

/device/generic/goldfish/wifi/wifi_hal/
Dwifi_hal.cpp55 wifi_error wifi_initialize(wifi_handle* handle) { in wifi_initialize()
80 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { in wifi_cleanup()
113 void wifi_event_loop(wifi_handle handle) { in wifi_event_loop()
121 wifi_error wifi_get_supported_feature_set(wifi_interface_handle handle, in wifi_get_supported_feature_set()
130 wifi_error wifi_get_ifaces(wifi_handle handle, in wifi_get_ifaces()
140 wifi_error wifi_get_iface_name(wifi_interface_handle handle, in wifi_get_iface_name()
151 wifi_interface_handle handle, in wifi_get_link_stats()
160 wifi_error wifi_set_link_stats(wifi_interface_handle handle, in wifi_set_link_stats()
170 wifi_interface_handle handle, in wifi_set_alert_handler()
180 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()
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()
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()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/
DEfiPerf.h142 #define PERF_ENABLE(handle, table, ticker) InitializePerformanceInfrastructure (handle, table,… argument
143 #define PERF_START(handle, token, host, ticker) StartMeasure (handle, token, host, ticker) argument
144 #define PERF_END(handle, token, host, ticker) EndMeasure (handle, token, host, ticker) argument
145 #define PERF_UPDATE(handle, token, host, handlenew, tokennew, hostnew) \ argument
155 #define PERF_ENABLE(handle, table, ticker) argument
156 #define PERF_START(handle, token, host, ticker) argument
157 #define PERF_END(handle, token, host, ticker) argument
158 #define PERF_UPDATE(handle, token, host, handlenew, tokennew, hostnew) argument
/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/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/generic/goldfish/gralloc/
Dmapper.cpp38 buffer_handle_t handle, in gralloc_map()
59 buffer_handle_t handle) in gralloc_unmap()
77 buffer_handle_t handle) in gralloc_register_buffer()
127 buffer_handle_t handle) in gralloc_unregister_buffer()
158 buffer_handle_t handle, int /*usage*/, in gralloc_lock()
179 buffer_handle_t handle) in gralloc_unlock()
/device/google/cuttlefish_common/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()
/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/bootloader/arm-trusted-firmware/drivers/io/
Dio_storage.c53 static int is_valid_entity(const uintptr_t handle) in is_valid_entity()
86 static void set_handle(uintptr_t *handle, io_entity_t *entity) in set_handle()
163 uintptr_t *handle) in io_dev_open()
216 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle) in io_open()
242 int io_seek(uintptr_t handle, io_seek_mode_t mode, ssize_t offset) in io_seek()
259 int io_size(uintptr_t handle, size_t *length) in io_size()
276 int io_read(uintptr_t handle, in io_read()
296 int io_write(uintptr_t handle, in io_write()
318 int io_close(uintptr_t handle) in io_close()
/device/google/cuttlefish_common/guest/hals/camera/
DGrallocModule.h28 int lock(buffer_handle_t handle, int usage, int l, int t, int w, int h, in lock()
34 int lock_ycbcr(buffer_handle_t handle, int usage, int l, int t, int w, int h, in lock_ycbcr()
40 int unlock(buffer_handle_t handle) { in unlock()
/device/generic/goldfish/camera/
DGrallocModule.h15 int lock(buffer_handle_t handle, in lock()
21 int lock_ycbcr(buffer_handle_t handle, in lock_ycbcr()
28 int unlock(buffer_handle_t handle) { in unlock()
/device/linaro/bootloader/arm-trusted-firmware/services/spd/tspd/
Dtspd_main.c57 uint64_t tspd_handle_sp_preemption(void *handle) in tspd_handle_sp_preemption()
95 void *handle, in tspd_sel1_interrupt_handler()
160 void *handle, in tspd_ns_interrupt_handler()
281 void *handle, in tspd_smc_handler()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/common/
Dmtk_sip_svc.c28 void *handle, in mediatek_plat_sip_handler()
43 void *handle, in mediatek_sip_handler()
91 void *handle, in sip_smc_handler()
/device/google/cuttlefish_common/guest/hals/gralloc/
Dgralloc.cpp122 buffer_handle_t handle, in lock()
144 int unlock(struct gralloc_module_t const* /*module*/, buffer_handle_t handle) { in unlock()
153 buffer_handle_t handle, in lock_ycbcr()
223 static int gralloc_free(alloc_device_t* /*dev*/, buffer_handle_t handle) { in gralloc_free()
231 buffer_handle_t handle) { in register_buffer()
245 buffer_handle_t handle) { in unregister_buffer()
/device/google/cuttlefish_common/guest/commands/usbforward/
Dtransport_request.cpp23 TransportRequest::TransportRequest(std::shared_ptr<libusb_device_handle> handle, in TransportRequest()
45 TransportRequest::TransportRequest(std::shared_ptr<libusb_device_handle> handle, in TransportRequest()
/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()

123456789