Changeset f6577d9 in mainline for uspace/drv/bus/usb/vhc/vhcd.h


Ignore:
Timestamp:
2012-12-22T15:48:33Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f5f0cfb
Parents:
01eeaaf
Message:

vhc: DCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/vhcd.h

    r01eeaaf rf6577d9  
    3636#define VHCD_VHCD_H_
    3737
    38 #include <usb/debug.h>
    3938#include <usbvirt/device.h>
    40 #include <usb/host/usb_endpoint_manager.h>
    41 #include <usb/host/usb_device_manager.h>
    4239#include <usbhc_iface.h>
    4340#include <async.h>
     
    6259        list_t devices;
    6360        fibril_mutex_t guard;
    64         usb_endpoint_manager_t ep_manager;
    65         usb_device_manager_t dev_manager;
    6661        usbvirt_device_t *hub;
    6762        ddf_fun_t *hc_fun;
     
    7065typedef struct {
    7166        link_t link;
    72 
    7367        usb_transfer_batch_t *batch;
    74 
    75         usb_address_t address;
    76         usb_endpoint_t endpoint;
    77         usb_direction_t direction;
    78         usb_transfer_type_t transfer_type;
    79         void *setup_buffer;
    80         size_t setup_buffer_size;
    81         void *data_buffer;
    82         size_t data_buffer_size;
    83         ddf_fun_t *ddf_fun;
    84         void *callback_arg;
    85         usbhc_iface_transfer_in_callback_t callback_in;
    86         usbhc_iface_transfer_out_callback_t callback_out;
    8768} vhc_transfer_t;
    8869
     
    9576}
    9677
     78void on_client_close(ddf_fun_t *fun);
     79void default_connection_handler(ddf_fun_t *fun, ipc_callid_t icallid,
     80    ipc_call_t *icall);
    9781
    98 vhc_transfer_t *vhc_transfer_create(usb_address_t, usb_endpoint_t,
    99     usb_direction_t, usb_transfer_type_t, ddf_fun_t *, void *);
    10082int vhc_virtdev_plug(vhc_data_t *, async_sess_t *, uintptr_t *);
    10183int vhc_virtdev_plug_local(vhc_data_t *, usbvirt_device_t *, uintptr_t *);
    10284int vhc_virtdev_plug_hub(vhc_data_t *, usbvirt_device_t *, uintptr_t *, usb_address_t address);
    10385void vhc_virtdev_unplug(vhc_data_t *, uintptr_t);
    104 int vhc_virtdev_add_transfer(vhc_data_t *, vhc_transfer_t *);
    105 
    106 int vhc_transfer_queue_processor(void *arg);
    10786
    10887
    10988int vhc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch);
     89int vhc_transfer_queue_processor(void *arg);
    11090
    11191#endif
Note: See TracChangeset for help on using the changeset viewer.