HelenOS sources
transfer 144 uspace/app/usbinfo/info.c usb_transfer_type_t transfer = descriptor->attributes & 0x3;
transfer 148 uspace/app/usbinfo/info.c endpoint_no, usb_str_transfer_type(transfer),
transfer 41 uspace/drv/bus/usb/vhc/transfer.c static bool is_set_address_transfer(vhc_transfer_t *transfer)
transfer 43 uspace/drv/bus/usb/vhc/transfer.c if (transfer->batch.target.endpoint != 0) {
transfer 46 uspace/drv/bus/usb/vhc/transfer.c if (transfer->batch.ep->transfer_type != USB_TRANSFER_CONTROL) {
transfer 49 uspace/drv/bus/usb/vhc/transfer.c if (transfer->batch.dir != USB_DIRECTION_OUT) {
transfer 53 uspace/drv/bus/usb/vhc/transfer.c &transfer->batch.setup.packet;
transfer 141 uspace/drv/bus/usb/vhc/transfer.c vhc_transfer_t *transfer =
transfer 144 uspace/drv/bus/usb/vhc/transfer.c list_remove(&transfer->link);
transfer 146 uspace/drv/bus/usb/vhc/transfer.c return transfer;
transfer 149 uspace/drv/bus/usb/vhc/transfer.c static void execute_transfer_callback_and_free(vhc_transfer_t *transfer,
transfer 153 uspace/drv/bus/usb/vhc/transfer.c assert(transfer);
transfer 154 uspace/drv/bus/usb/vhc/transfer.c transfer->batch.error = outcome;
transfer 155 uspace/drv/bus/usb/vhc/transfer.c transfer->batch.transferred_size = data_transfer_size;
transfer 156 uspace/drv/bus/usb/vhc/transfer.c usb_transfer_batch_finish(&transfer->batch);
transfer 161 uspace/drv/bus/usb/vhc/transfer.c vhc_transfer_t *transfer = calloc(1, sizeof(vhc_transfer_t));
transfer 162 uspace/drv/bus/usb/vhc/transfer.c usb_transfer_batch_init(&transfer->batch, ep);
transfer 163 uspace/drv/bus/usb/vhc/transfer.c link_initialize(&transfer->link);
transfer 164 uspace/drv/bus/usb/vhc/transfer.c return &transfer->batch;
transfer 210 uspace/drv/bus/usb/vhc/transfer.c vhc_transfer_t *transfer = (vhc_transfer_t *) batch;
transfer 220 uspace/drv/bus/usb/vhc/transfer.c if (dev->address == transfer->batch.target.address) {
transfer 222 uspace/drv/bus/usb/vhc/transfer.c list_append(&transfer->link, &dev->transfer_queue);
transfer 249 uspace/drv/bus/usb/vhc/transfer.c vhc_transfer_t *transfer = dequeue_first_transfer(dev);
transfer 255 uspace/drv/bus/usb/vhc/transfer.c rc = process_transfer_remote(&transfer->batch,
transfer 258 uspace/drv/bus/usb/vhc/transfer.c rc = process_transfer_local(&transfer->batch,
transfer 267 uspace/drv/bus/usb/vhc/transfer.c transfer, str_error(rc));
transfer 271 uspace/drv/bus/usb/vhc/transfer.c if (is_set_address_transfer(transfer)) {
transfer 273 uspace/drv/bus/usb/vhc/transfer.c (void *) transfer->batch.setup.buffer;
transfer 283 uspace/drv/bus/usb/vhc/transfer.c list_append(&transfer->link, &dev->transfer_queue);
transfer 288 uspace/drv/bus/usb/vhc/transfer.c execute_transfer_callback_and_free(transfer,
transfer 298 uspace/drv/bus/usb/vhc/transfer.c vhc_transfer_t *transfer = dequeue_first_transfer(dev);
transfer 299 uspace/drv/bus/usb/vhc/transfer.c execute_transfer_callback_and_free(transfer, 0, EBADCHECKSUM);
transfer 160 uspace/drv/bus/usb/xhci/isoch.c xhci_isoch_transfer_t *transfer = &isoch->transfers[i];
transfer 161 uspace/drv/bus/usb/xhci/isoch.c if (dma_buffer_alloc(&transfer->data, ep->base.max_transfer_size)) {
transfer 477 uspace/drv/bus/usb/xhci/isoch.c errno_t isoch_schedule_out(xhci_transfer_t *transfer)
transfer 481 uspace/drv/bus/usb/xhci/isoch.c xhci_endpoint_t *ep = xhci_endpoint_get(transfer->batch.ep);
transfer 486 uspace/drv/bus/usb/xhci/isoch.c assert(transfer->batch.size <= ep->base.max_transfer_size);
transfer 503 uspace/drv/bus/usb/xhci/isoch.c transfer->batch.transferred_size = 0;
transfer 509 uspace/drv/bus/usb/xhci/isoch.c transfer->batch.transferred_size += res->size;
transfer 510 uspace/drv/bus/usb/xhci/isoch.c transfer->batch.error = res->error;
transfer 526 uspace/drv/bus/usb/xhci/isoch.c it->size = transfer->batch.size;
transfer 527 uspace/drv/bus/usb/xhci/isoch.c memcpy(it->data.virt, transfer->batch.dma_buffer.virt, it->size);
transfer 535 uspace/drv/bus/usb/xhci/isoch.c usb_transfer_batch_finish(&transfer->batch);
transfer 543 uspace/drv/bus/usb/xhci/isoch.c errno_t isoch_schedule_in(xhci_transfer_t *transfer)
transfer 545 uspace/drv/bus/usb/xhci/isoch.c xhci_endpoint_t *ep = xhci_endpoint_get(transfer->batch.ep);
transfer 549 uspace/drv/bus/usb/xhci/isoch.c if (transfer->batch.size < ep->base.max_transfer_size) {
transfer 576 uspace/drv/bus/usb/xhci/isoch.c memcpy(transfer->batch.dma_buffer.virt, it->data.virt, it->size);
transfer 577 uspace/drv/bus/usb/xhci/isoch.c transfer->batch.transferred_size = it->size;
transfer 578 uspace/drv/bus/usb/xhci/isoch.c transfer->batch.error = it->error;
transfer 585 uspace/drv/bus/usb/xhci/isoch.c usb_transfer_batch_finish(&transfer->batch);
transfer 99 uspace/drv/bus/usb/xhci/transfers.c xhci_transfer_t *transfer = calloc(1, sizeof(xhci_transfer_t));
transfer 100 uspace/drv/bus/usb/xhci/transfers.c if (!transfer)
transfer 103 uspace/drv/bus/usb/xhci/transfers.c usb_transfer_batch_init(&transfer->batch, ep);
transfer 104 uspace/drv/bus/usb/xhci/transfers.c return &transfer->batch;
transfer 112 uspace/drv/bus/usb/xhci/transfers.c xhci_transfer_t *transfer = xhci_transfer_from_batch(batch);
transfer 113 uspace/drv/bus/usb/xhci/transfers.c free(transfer);
transfer 116 uspace/drv/bus/usb/xhci/transfers.c static xhci_trb_ring_t *get_ring(xhci_transfer_t *transfer)
transfer 118 uspace/drv/bus/usb/xhci/transfers.c xhci_endpoint_t *xhci_ep = xhci_endpoint_get(transfer->batch.ep);
transfer 119 uspace/drv/bus/usb/xhci/transfers.c return xhci_endpoint_get_ring(xhci_ep, transfer->batch.target.stream);
transfer 134 uspace/drv/bus/usb/xhci/transfers.c static void trb_splitter_init(trb_splitter_t *ts, xhci_transfer_t *transfer)
transfer 136 uspace/drv/bus/usb/xhci/transfers.c ts->buf = transfer->batch.dma_buffer;
transfer 142 uspace/drv/bus/usb/xhci/transfers.c ts->remaining = transfer->batch.size;
transfer 144 uspace/drv/bus/usb/xhci/transfers.c ts->mps = transfer->batch.ep->max_packet_size;
transfer 148 uspace/drv/bus/usb/xhci/transfers.c ts->pos = ts->buf.virt + transfer->batch.offset;
transfer 185 uspace/drv/bus/usb/xhci/transfers.c static errno_t schedule_control(xhci_hc_t *hc, xhci_transfer_t *transfer)
transfer 187 uspace/drv/bus/usb/xhci/transfers.c usb_transfer_batch_t *batch = &transfer->batch;
transfer 188 uspace/drv/bus/usb/xhci/transfers.c xhci_endpoint_t *xhci_ep = xhci_endpoint_get(transfer->batch.ep);
transfer 193 uspace/drv/bus/usb/xhci/transfers.c trb_splitter_init(&splitter, transfer);
transfer 212 uspace/drv/bus/usb/xhci/transfers.c stage_dir_flag_t stage_dir = (transfer->batch.dir == USB_DIRECTION_IN) ?
transfer 241 uspace/drv/bus/usb/xhci/transfers.c return xhci_trb_ring_enqueue_multiple(get_ring(transfer), trbs,
transfer 242 uspace/drv/bus/usb/xhci/transfers.c trbs_used, &transfer->interrupt_trb_phys);
transfer 245 uspace/drv/bus/usb/xhci/transfers.c static errno_t schedule_bulk_intr(xhci_hc_t *hc, xhci_transfer_t *transfer)
transfer 247 uspace/drv/bus/usb/xhci/transfers.c xhci_trb_ring_t *const ring = get_ring(transfer);
transfer 252 uspace/drv/bus/usb/xhci/transfers.c xhci_endpoint_t *ep = xhci_endpoint_get(transfer->batch.ep);
transfer 256 uspace/drv/bus/usb/xhci/transfers.c trb_splitter_init(&splitter, transfer);
transfer 275 uspace/drv/bus/usb/xhci/transfers.c ed->parameter = host2xhci(64, (uintptr_t) transfer);
transfer 281 uspace/drv/bus/usb/xhci/transfers.c &transfer->interrupt_trb_phys);
transfer 284 uspace/drv/bus/usb/xhci/transfers.c static int schedule_isochronous(xhci_transfer_t *transfer)
transfer 286 uspace/drv/bus/usb/xhci/transfers.c endpoint_t *ep = transfer->batch.ep;
transfer 289 uspace/drv/bus/usb/xhci/transfers.c isoch_schedule_out(transfer) :
transfer 290 uspace/drv/bus/usb/xhci/transfers.c isoch_schedule_in(transfer);
transfer 317 uspace/drv/bus/usb/xhci/transfers.c xhci_transfer_t *transfer;
transfer 324 uspace/drv/bus/usb/xhci/transfers.c transfer = (xhci_transfer_t *) addr;
transfer 325 uspace/drv/bus/usb/xhci/transfers.c xhci_trb_ring_update_dequeue(get_ring(transfer),
transfer 326 uspace/drv/bus/usb/xhci/transfers.c transfer->interrupt_trb_phys);
transfer 327 uspace/drv/bus/usb/xhci/transfers.c batch = &transfer->batch;
transfer 349 uspace/drv/bus/usb/xhci/transfers.c transfer = xhci_transfer_from_batch(batch);
transfer 428 uspace/drv/bus/usb/xhci/transfers.c xhci_transfer_t *transfer = xhci_transfer_from_batch(batch);
transfer 446 uspace/drv/bus/usb/xhci/transfers.c return schedule_isochronous(transfer);
transfer 502 uspace/drv/bus/usb/xhci/transfers.c if ((err = transfer_handlers[batch->ep->transfer_type](hc, transfer))) {
transfer 454 uspace/lib/drv/generic/remote_usbhc.c if (!usbhc_iface->transfer) {
transfer 488 uspace/lib/drv/generic/remote_usbhc.c if ((err = usbhc_iface->transfer(fun, &trans->request,
transfer 196 uspace/lib/drv/include/usbhc_iface.h errno_t (*transfer)(ddf_fun_t *, const usbhc_iface_transfer_request_t *,
transfer 475 uspace/lib/gfxfont/test/glyph.c PCUT_TEST(transfer)
transfer 185 uspace/lib/usbdev/src/pipes.c transfer_t transfer = {
transfer 191 uspace/lib/usbdev/src/pipes.c if ((err = prepare_control(&transfer, setup_buffer, setup_buffer_size)))
transfer 194 uspace/lib/usbdev/src/pipes.c if ((err = transfer_wrap_dma(&transfer, buffer, buffer_size)))
transfer 198 uspace/lib/usbdev/src/pipes.c *transferred_size = transfer.transferred_size;
transfer 220 uspace/lib/usbdev/src/pipes.c transfer_t transfer = {
transfer 226 uspace/lib/usbdev/src/pipes.c if ((err = prepare_control(&transfer, setup_buffer, setup_buffer_size)))
transfer 229 uspace/lib/usbdev/src/pipes.c return transfer_wrap_dma(&transfer, (void *) buffer, buffer_size);
transfer 268 uspace/lib/usbdev/src/pipes.c transfer_t transfer = {
transfer 273 uspace/lib/usbdev/src/pipes.c if ((err = transfer_wrap_dma(&transfer, buffer, size)))
transfer 277 uspace/lib/usbdev/src/pipes.c *size_transferred = transfer.transferred_size;
transfer 292 uspace/lib/usbdev/src/pipes.c transfer_t transfer = {
transfer 297 uspace/lib/usbdev/src/pipes.c return transfer_wrap_dma(&transfer, (void *) buffer, size);
transfer 315 uspace/lib/usbdev/src/pipes.c transfer_t transfer = {
transfer 320 uspace/lib/usbdev/src/pipes.c setup_dma_buffer(&transfer, base, ptr, size);
transfer 322 uspace/lib/usbdev/src/pipes.c if ((err = transfer_common(&transfer)))
transfer 326 uspace/lib/usbdev/src/pipes.c *size_transferred = transfer.transferred_size;
transfer 343 uspace/lib/usbdev/src/pipes.c transfer_t transfer = {
transfer 348 uspace/lib/usbdev/src/pipes.c setup_dma_buffer(&transfer, base, ptr, size);
transfer 350 uspace/lib/usbdev/src/pipes.c return transfer_common(&transfer);
transfer 334 uspace/lib/usbhost/src/ddf_helpers.c .transfer = transfer,
HelenOS homepage, sources at GitHub