/fuchsia/zircon/system/dev/ethernet/usb-cdc-ecm/ |
H A D | usb-cdc-ecm.c | 79 static void ecm_unbind(void* cookie) { argument 81 ecm_ctx_t* ctx = cookie; 169 static void ethmac_stop(void* cookie) { argument 171 ecm_ctx_t* ctx = cookie; 226 static void usb_write_complete(usb_request_t* request, void* cookie) { argument 227 ecm_ctx_t* ctx = cookie; 297 static void usb_read_complete(usb_request_t* request, void* cookie) { argument 298 ecm_ctx_t* ctx = cookie; 329 static zx_status_t ethmac_queue_tx(void* cookie, uint32_t options, ethmac_netbuf_t* netbuf) { argument 330 ecm_ctx_t* ctx = cookie; 356 ethmac_set_param(void *cookie, uint32_t param, int32_t value, void* data) argument 368 ecm_interrupt_complete(usb_request_t* request, void* cookie) argument 414 ecm_int_handler_thread(void* cookie) argument [all...] |
/fuchsia/zircon/system/dev/serial/ftdi/ |
H A D | ftdi.c | 78 static void ftdi_read_complete(usb_request_t* request, void* cookie) { argument 79 ftdi_t* ftdi = (ftdi_t*)cookie; 97 static void ftdi_write_complete(usb_request_t* request, void* cookie) { argument 98 ftdi_t* ftdi = (ftdi_t*)cookie; 281 static zx_status_t ftdi_set_notify_callback(void* ctx, serial_notify_cb cb, void* cookie) { argument 289 ftdi->notify_cb_cookie = cookie; 409 req->cookie = ftdi; 419 req->cookie = ftdi;
|
/fuchsia/zircon/system/ulib/memfs/ |
H A D | dnode.h | 78 static zx_status_t ReaddirStart(fs::DirentFiller* df, void* cookie); 79 void Readdir(fs::DirentFiller* df, void* cookie) const;
|
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | platform-i2c.cpp | 51 i2c->cookie = txn->cookie; 149 txn->cookie = req->cookie;
|
H A D | platform-i2c.h | 33 void* cookie; member in struct:platform_bus::PlatformI2cBus::I2cTxn
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netruncmd.c | 73 m.hdr.cookie = 0x11224455;
|
/fuchsia/zircon/system/ulib/fs/include/fs/ |
H A D | lazy-dir.h | 39 // Read the directory contents. Note that cookie->p is used to denote 41 zx_status_t Readdir(vdircookie_t* cookie, void* dirents, size_t len, size_t* out_actual) final;
|
/fuchsia/zircon/system/ulib/libzbi/ |
H A D | zbi.c | 15 void* cookie) { 16 struct check_state* const state = cookie; 111 void* cookie) { 121 zbi_result_t result = cb(entryHeader, entryHeader + 1, cookie); 14 for_each_check_entry(zbi_header_t* hdr, void* payload, void* cookie) argument 110 zbi_for_each(const void* base, const zbi_foreach_cb_t cb, void* cookie) argument
|
/fuchsia/zircon/kernel/lib/debuglog/ |
H A D | debuglog.cpp | 253 void dlog_reader_init(dlog_reader_t* rdr, void (*notify)(void*), void* cookie) { argument 258 rdr->cookie = cookie; 274 notify(cookie); 305 rdr->notify(rdr->cookie); 334 static void debuglog_dumper_notify(void* cookie) { argument 335 event_t* event = reinterpret_cast<event_t*>(cookie);
|
/fuchsia/zircon/system/dev/ethernet/intel-ethernet/ |
H A D | ethernet.c | 47 void* cookie; member in struct:ethernet_device 67 edev->ifc->recv(edev->cookie, data, len, 0); 79 edev->ifc->status(edev->cookie, online ? ETH_STATUS_ONLINE : 0); 110 static zx_status_t eth_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) { argument 119 edev->cookie = cookie; 120 edev->ifc->status(edev->cookie, edev->online ? ETH_STATUS_ONLINE : 0);
|
/fuchsia/zircon/system/ulib/fdio/ |
H A D | fidl.c | 42 static zx_status_t handle_rpc_close(zxfidl_cb_t cb, void* cookie) { argument 62 cb(&msg, &cnxn.txn, cookie); 66 static zx_status_t handle_rpc(zx_handle_t h, zxfidl_cb_t cb, void* cookie) { argument 99 return cb(&msg, &cnxn.txn, cookie); 103 zx_status_t zxfidl_handler(zx_handle_t h, zxfidl_cb_t cb, void* cookie) { argument 105 return handle_rpc_close(cb, cookie); 109 return handle_rpc(h, cb, cookie);
|
/fuchsia/zircon/system/ulib/inet6/ |
H A D | netifc.c | 136 static void tx_complete(void* ctx, void* cookie) __TA_REQUIRES(eth_lock) { 137 eth_put_buffer_locked(cookie, ETH_BUFFER_TX); 252 static zx_status_t netifc_open_cb(int dirfd, int event, const char* fn, void* cookie) { argument 267 if (cookie != NULL) { 268 const char* interface = cookie; 422 static void rx_complete(void* ctx, void* cookie, size_t len, uint32_t flags) { argument 423 eth_buffer_t* ethbuf = cookie;
|
/fuchsia/zircon/system/dev/block/fvm/ |
H A D | fvm.cpp | 140 VpmIoCookie* c = reinterpret_cast<VpmIoCookie*>(op->cookie); 150 VpmIoCookie cookie; 151 cookie.num_txns.store(1); 152 cookie.status.store(ZX_OK); 163 bop->cookie = &cookie; 166 sync_completion_wait(&cookie.signal, ZX_TIME_INFINITE); 167 return static_cast<zx_status_t>(cookie.status.load()); 191 VpmIoCookie cookie; 192 cookie [all...] |
/fuchsia/zircon/system/core/netsvc/ |
H A D | tftp.c | 79 static ssize_t file_open_read(const char* filename, void* cookie) { argument 84 file_info_t* file_info = cookie; 308 void* cookie) { 313 file_info_t* file_info = cookie; 341 static tftp_status file_read(void* data, size_t* length, off_t offset, void* cookie) { argument 353 static tftp_status file_write(const void* data, size_t* length, off_t offset, void* cookie) { argument 357 file_info_t* file_info = cookie; 394 static void file_close(void* cookie) { argument 395 file_info_t* file_info = cookie; 307 file_open_write(const char* filename, size_t size, void* cookie) argument
|
/fuchsia/zircon/system/dev/ethernet/usb-cdc-function/ |
H A D | cdc-eth-function.c | 186 static void cdc_ethmac_stop(void* cookie) { argument 188 usb_cdc_t* cdc = cookie; 238 static zx_status_t cdc_ethmac_queue_tx(void* cookie, uint32_t options, ethmac_netbuf_t* netbuf) { argument 239 usb_cdc_t* cdc = cookie; 264 static zx_status_t ethmac_set_param(void *cookie, uint32_t param, int32_t value, void* data) { argument 276 static void cdc_intr_complete(usb_request_t* req, void* cookie) { argument 277 usb_cdc_t* cdc = cookie; 291 req->cookie = cdc; 340 static void cdc_rx_complete(usb_request_t* req, void* cookie) { argument 341 usb_cdc_t* cdc = cookie; 369 cdc_tx_complete(usb_request_t* req, void* cookie) argument [all...] |
/fuchsia/zircon/system/dev/ethernet/asix-88179/ |
H A D | asix-88179.c | 89 void* cookie; member in struct:__anon336 300 eth->ifc->recv(eth->cookie, read_data + offset + 2, pkt_len - 2, 0); 311 static void ax88179_read_complete(usb_request_t* request, void* cookie) { argument 312 ax88179_t* eth = (ax88179_t*)cookie; 358 static void ax88179_write_complete(usb_request_t* request, void* cookie) { argument 360 ax88179_t* eth = (ax88179_t*)cookie; 380 eth->ifc->complete_tx(eth->cookie, next_netbuf, ZX_OK); 415 static void ax88179_interrupt_complete(usb_request_t* request, void* cookie) { argument 416 ax88179_t* eth = (ax88179_t*)cookie; 446 eth->ifc->status(eth->cookie, ETH_STATUS_ONLIN 596 ax88179_start(void* ctx, ethmac_ifc_t* ifc, void* cookie) argument [all...] |
/fuchsia/zircon/system/core/devmgr/ |
H A D | bootfs.cpp | 51 zx_status_t Bootfs::Parse(Callback callback, void* cookie) { argument 63 if ((r = callback(cookie, e)) != ZX_OK) {
|
/fuchsia/zircon/system/dev/block/ums-function/ |
H A D | ums-function.c | 370 static void ums_cbw_complete(usb_request_t* req, void* cookie) { argument 371 usb_ums_t* ums = cookie; 382 static void ums_data_complete(usb_request_t* req, void* cookie) { argument 383 usb_ums_t* ums = cookie; 409 static void ums_csw_complete(usb_request_t* req, void* cookie) { argument 565 ums->cbw_req->cookie = ums; 566 ums->data_req->cookie = ums; 567 ums->csw_req->cookie = ums;
|
/fuchsia/zircon/kernel/target/arm64/boot-shim/ |
H A D | boot-shim.c | 69 static int node_callback(int depth, const char *name, void *cookie) { argument 76 device_tree_context_t* ctx = cookie; 94 static int prop_callback(const char *name, uint8_t *data, uint32_t size, void *cookie) { argument 102 device_tree_context_t* ctx = cookie;
|
H A D | devicetree.c | 143 int dt_walk(devicetree_t *dtree, dt_node_cb ncb, dt_prop_cb pcb, void *cookie) { argument 163 if (ncb(depth, p, cookie)) 177 if (pcb((const char*) (ds.data + str), data, sz, cookie))
|
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | ethernet.h | 41 zx_status_t Start(ethmac_ifc_t* ifc, void* cookie) TA_EXCL(state_lock_);
|
/fuchsia/zircon/system/dev/nand/nand/ |
H A D | nand_driver_test.c | 26 sync_completion_signal((sync_completion_t*)nand_op->cookie); 102 nand_op->cookie = &completion; 180 nand_op->cookie = &completion; 232 nand_op->cookie = &completion;
|
/fuchsia/zircon/system/public/zircon/boot/ |
H A D | netboot.h | 78 uint32_t cookie; member in struct:nbmsg_t
|
/fuchsia/zircon/system/public/zircon/device/ |
H A D | ethernet.h | 118 // with the same cookie value (opaque to the driver) will be readable 123 // received, an eth_fifo_entry_t with the same cookie value (opaque to 149 // opaque cookie 150 void* cookie; member in struct:eth_fifo_entry
|
/fuchsia/zircon/system/uapp/netreflector/ |
H A D | netreflector.c | 68 e->cookie = pending_tx; 79 eth_buf_t* buf = e->cookie; 232 .offset = n * BUFSIZE, .length = BUFSIZE, .flags = 0, .cookie = NULL, 244 .offset = n * BUFSIZE, .length = BUFSIZE, .flags = 0, .cookie = buf,
|