/fuchsia/zircon/system/dev/audio/usb-audio/ |
H A D | usb-midi-sink.c | 55 static void usb_midi_sink_write_complete(usb_request_t* req, void* cookie) { argument 56 usb_midi_sink_t* sink = (usb_midi_sink_t*)cookie; 225 req->cookie = sink;
|
H A D | usb-midi-source.c | 54 static void usb_midi_source_read_complete(usb_request_t* req, void* cookie) { argument 55 usb_midi_source_t* source = (usb_midi_source_t*)cookie; 220 req->cookie = source;
|
/fuchsia/zircon/system/dev/usb/usb-bus/ |
H A D | util.c | 25 static void usb_util_control_complete(usb_request_t* req, void* cookie) { argument 26 sync_completion_signal((sync_completion_t*)cookie); 59 req->cookie = &completion;
|
/fuchsia/zircon/system/ulib/kvstore/ |
H A D | kvstore.c | 167 int kvs_foreach(kvstore_t* kvs, void *cookie, argument 168 int (*func)(void *cookie, const char* key, const char* val)) { 174 int r = func(cookie, (const char*) (rec + 2), (const char*) (rec + 2 + ksz + 1));
|
/fuchsia/zircon/system/dev/nand/skip-block/ |
H A D | skip-block.cpp | 41 auto* ctx = static_cast<BlockOperationContext*>(op->cookie); 69 auto* ctx = static_cast<BlockOperationContext*>(op->cookie); 98 auto* ctx = static_cast<BlockOperationContext*>(op->cookie); 288 nand_op->cookie = &op_context; 332 nand_op->cookie = &op_context;
|
/fuchsia/zircon/system/core/virtcon/ |
H A D | textcon-test.cpp | 23 void invalidate_callback(void* cookie, int x, int y, int w, int h) { argument 26 void movecursor_callback(void* cookie, int x, int y) { argument 29 void push_scrollback_line_callback(void* cookie, int y) { argument 32 void copy_lines_callback(void* cookie, int y_dest, int y_src, int line_count) { argument 33 auto* tc = reinterpret_cast<textcon_t*>(cookie); 37 void setparam_callback(void* cookie, int param, uint8_t* arg, size_t arglen) { argument 57 textcon.cookie = &textcon;
|
H A D | textcon.cpp | 12 tc->invalidate(tc->cookie, x, y, w, h); 15 tc->movecursor(tc->cookie, x, y); 18 tc->push_scrollback_line(tc->cookie, y); 22 tc->setparam(tc->cookie, param, arg, arglen); 161 tc->copy_lines(tc->cookie, y0, y0 + delta, copy_count); 165 tc->copy_lines(tc->cookie, y0 + delta, y0, copy_count);
|
/fuchsia/zircon/system/dev/ethernet/realtek-8111/ |
H A D | rtl8111.c | 67 void* cookie; member in struct:ethernet_device 176 edev->ifc->status(edev->cookie, online ? ETH_STATUS_ONLINE : 0); 189 edev->cookie, edev->rxb + (edev->rxd_idx * ETH_BUF_SIZE), len, 0); 229 static zx_status_t rtl8111_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument 238 edev->cookie = cookie; 239 edev->ifc->status(edev->cookie, edev->online ? ETH_STATUS_ONLINE : 0);
|
/fuchsia/zircon/system/dev/input/i2c-hid/ |
H A D | i2c-hid.c | 52 void* cookie; member in struct:i2c_hid_device 112 static zx_status_t i2c_hid_start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument 120 hid->cookie = cookie; 129 hid->cookie = NULL; 307 dev->ifc->io_queue(dev->cookie, buf + 2, report_len - 2); 400 dev->ifc->io_queue(dev->cookie, buf + 2, report_len - 2);
|
/fuchsia/zircon/system/ulib/tftp/ |
H A D | tftp-test.cpp | 80 auto open_read_fn = [](const char* filename, void* cookie) -> ssize_t { 83 auto open_write_fn = [](const char* filename, size_t size, void* cookie) -> tftp_status { 86 auto read_fn = [](void* data, size_t* len, off_t offset, void* cookie) -> tftp_status { 89 auto write_fn = [](const void* data, size_t* len, off_t offset, void* cookie) -> tftp_status { 92 auto close_fn = [](void* cookie) { 401 [](const char* filename, size_t size, void* cookie) -> tftp_status { 408 [](const char* filename, void* cookie) -> ssize_t { 466 static ssize_t dummy_open_read(const char* filename, void* cookie) { argument 470 static tftp_status dummy_open_write(const char* filename, size_t size, void* cookie) { argument 747 tftp_status mock_read(void* data, size_t* len, off_t offset, void* cookie) { argument 981 mock_write(const void* data, size_t* len, off_t offset, void* cookie) argument 1825 open_read_should_wait(const char* filename, void* cookie) argument 1829 open_write_should_wait(const char* filename, size_t size, void* cookie) argument [all...] |
/fuchsia/zircon/system/host/bootserver/ |
H A D | bootserver.c | 224 static int cookie = 0; local 226 msg.cookie = cookie++; 254 static int cookie = 0; local 256 msg.cookie = cookie++;
|
/fuchsia/zircon/system/dev/display/aml-canvas/ |
H A D | aml-canvas.c | 158 static void aml_canvas_proxy_cb(platform_proxy_args_t* args, void* cookie) { argument 180 resp->header.status = aml_canvas_config(cookie, args->req_handles[0], req->offset, 186 resp->header.status = aml_canvas_free(cookie, req->idx);
|
/fuchsia/zircon/system/dev/bluetooth/bt-transport-usb/ |
H A D | bt-transport-usb.c | 121 static void hci_event_complete(usb_request_t* req, void* cookie) { argument 122 hci_t* hci = (hci_t*)cookie; 193 static void hci_acl_read_complete(usb_request_t* req, void* cookie) { argument 194 hci_t* hci = (hci_t*)cookie; 226 static void hci_acl_write_complete(usb_request_t* req, void* cookie) { argument 227 hci_t* hci = (hci_t*)cookie; 634 req->cookie = hci; 644 req->cookie = hci; 654 req->cookie = hci;
|
/fuchsia/zircon/system/dev/board/gauss/ |
H A D | gauss-i2c-test.c | 44 static void i2c_complete(zx_status_t status, i2c_op_t* ops, size_t cnt,void* cookie) { argument
|
/fuchsia/zircon/system/dev/board/hikey960/ |
H A D | hikey960-i2c-test.c | 43 static void i2c_complete(zx_status_t status, i2c_op_t* ops, size_t cnt, void* cookie) { argument
|
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | ethernet.cpp | 99 zx_status_t virtio_net_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument 101 return eth->Start(ifc, cookie); 384 zx_status_t EthernetDevice::Start(ethmac_ifc_t* ifc, void* cookie) { argument 394 cookie_ = cookie;
|
H A D | input.cpp | 201 zx_status_t InputDevice::virtio_input_start(void* ctx, hidbus_ifc_t* ifc, void* cookie) { argument 203 return inp->Start(ifc, cookie); 340 zx_status_t InputDevice::Start(hidbus_ifc_t* ifc, void* cookie) { 346 hidbus_cookie_ = cookie;
|
H A D | virtio_driver.cpp | 30 extern "C" zx_status_t virtio_pci_bind(void* ctx, zx_device_t* bus_device, void** cookie) { argument
|
/fuchsia/zircon/system/dev/nand/nandpart/ |
H A D | aml-bad-block.cpp | 34 auto* ctx = static_cast<BlockOperationContext*>(op->cookie); 112 nand_op->cookie = &op_ctx; 178 nand_op->cookie = &op_ctx; 242 nand_op->cookie = &op_ctx;
|
/fuchsia/zircon/system/dev/serial/aml-uart/ |
H A D | aml-uart.h | 47 zx_status_t SetNotifyCallback(serial_notify_cb cb, void* cookie);
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netaddr.c | 30 static bool on_device(device_info_t* device, void* cookie) { argument
|
H A D | netls.c | 63 static bool on_device(device_info_t* device, void* cookie) { argument
|
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | i2c-impl.h | 13 typedef void (*i2c_impl_complete_cb)(zx_status_t status, void* cookie);
|
H A D | platform-bus.h | 104 typedef void (*platform_proxy_cb_t)(platform_proxy_args_t* args, void* cookie); 143 // and *cb_cookie* is a cookie used to provide context for the *proxy_cb* callback.
|
/fuchsia/zircon/system/ulib/zx/include/lib/zx/ |
H A D | object.h | 172 zx_status_t get_cookie(const object_base& scope, uint64_t *cookie) const { 173 return zx_object_get_cookie(get(), scope.get(), cookie); 176 zx_status_t set_cookie(const object_base& scope, uint64_t cookie) const { 177 return zx_object_set_cookie(get(), scope.get(), cookie);
|