Changeset 83c439c in mainline for uspace/drv/uhci-hcd/batch.h
- Timestamp:
- 2011-02-12T02:12:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2806cd2
- Parents:
- 7dd3318
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/batch.h
r7dd3318 r83c439c 32 32 * @brief UHCI driver 33 33 */ 34 #ifndef DRV_UHCI_ TRACKER_H35 #define DRV_UHCI_ TRACKER_H34 #ifndef DRV_UHCI_BATCH_H 35 #define DRV_UHCI_BATCH_H 36 36 37 37 #include <adt/list.h> … … 48 48 } dev_speed_t; 49 49 50 typedef struct tracker50 typedef struct batch 51 51 { 52 52 link_t link; … … 71 71 queue_head_t *qh; 72 72 transfer_descriptor_t *tds; 73 void (*next_step)(struct tracker*);74 } tracker_t;73 void (*next_step)(struct batch*); 74 } batch_t; 75 75 76 tracker_t * tracker_get(device_t *dev, usb_target_t target,76 batch_t * batch_get(device_t *dev, usb_target_t target, 77 77 usb_transfer_type_t transfer_type, size_t max_packet_size, 78 78 dev_speed_t speed, char *buffer, size_t size, … … 81 81 usbhc_iface_transfer_out_callback_t func_out, void *arg); 82 82 83 bool tracker_is_complete(tracker_t *instance);83 bool batch_is_complete(batch_t *instance); 84 84 85 void tracker_control_write(tracker_t *instance);85 void batch_control_write(batch_t *instance); 86 86 87 void tracker_control_read(tracker_t *instance);87 void batch_control_read(batch_t *instance); 88 88 89 void tracker_interrupt_in(tracker_t *instance);89 void batch_interrupt_in(batch_t *instance); 90 90 91 void tracker_interrupt_out(tracker_t *instance);91 void batch_interrupt_out(batch_t *instance); 92 92 93 93 /* DEPRECATED FUNCTIONS NEEDED BY THE OLD API */ 94 void tracker_control_setup_old(tracker_t *instance);94 void batch_control_setup_old(batch_t *instance); 95 95 96 void tracker_control_write_data_old(tracker_t *instance);96 void batch_control_write_data_old(batch_t *instance); 97 97 98 void tracker_control_read_data_old(tracker_t *instance);98 void batch_control_read_data_old(batch_t *instance); 99 99 100 void tracker_control_write_status_old(tracker_t *instance);100 void batch_control_write_status_old(batch_t *instance); 101 101 102 void tracker_control_read_status_old(tracker_t *instance);102 void batch_control_read_status_old(batch_t *instance); 103 103 #endif 104 104 /**
Note:
See TracChangeset
for help on using the changeset viewer.