Changeset 83c439c in mainline for uspace/drv/uhci-hcd/batch.h


Ignore:
Timestamp:
2011-02-12T02:12:52Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2806cd2
Parents:
7dd3318
Message:

Rename tracker⇒batch

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/batch.h

    r7dd3318 r83c439c  
    3232 * @brief UHCI driver
    3333 */
    34 #ifndef DRV_UHCI_TRACKER_H
    35 #define DRV_UHCI_TRACKER_H
     34#ifndef DRV_UHCI_BATCH_H
     35#define DRV_UHCI_BATCH_H
    3636
    3737#include <adt/list.h>
     
    4848} dev_speed_t;
    4949
    50 typedef struct tracker
     50typedef struct batch
    5151{
    5252        link_t link;
     
    7171        queue_head_t *qh;
    7272        transfer_descriptor_t *tds;
    73         void (*next_step)(struct tracker*);
    74 } tracker_t;
     73        void (*next_step)(struct batch*);
     74} batch_t;
    7575
    76 tracker_t * tracker_get(device_t *dev, usb_target_t target,
     76batch_t * batch_get(device_t *dev, usb_target_t target,
    7777    usb_transfer_type_t transfer_type, size_t max_packet_size,
    7878    dev_speed_t speed, char *buffer, size_t size,
     
    8181    usbhc_iface_transfer_out_callback_t func_out, void *arg);
    8282
    83 bool tracker_is_complete(tracker_t *instance);
     83bool batch_is_complete(batch_t *instance);
    8484
    85 void tracker_control_write(tracker_t *instance);
     85void batch_control_write(batch_t *instance);
    8686
    87 void tracker_control_read(tracker_t *instance);
     87void batch_control_read(batch_t *instance);
    8888
    89 void tracker_interrupt_in(tracker_t *instance);
     89void batch_interrupt_in(batch_t *instance);
    9090
    91 void tracker_interrupt_out(tracker_t *instance);
     91void batch_interrupt_out(batch_t *instance);
    9292
    9393/* DEPRECATED FUNCTIONS NEEDED BY THE OLD API */
    94 void tracker_control_setup_old(tracker_t *instance);
     94void batch_control_setup_old(batch_t *instance);
    9595
    96 void tracker_control_write_data_old(tracker_t *instance);
     96void batch_control_write_data_old(batch_t *instance);
    9797
    98 void tracker_control_read_data_old(tracker_t *instance);
     98void batch_control_read_data_old(batch_t *instance);
    9999
    100 void tracker_control_write_status_old(tracker_t *instance);
     100void batch_control_write_status_old(batch_t *instance);
    101101
    102 void tracker_control_read_status_old(tracker_t *instance);
     102void batch_control_read_status_old(batch_t *instance);
    103103#endif
    104104/**
Note: See TracChangeset for help on using the changeset viewer.