~adam-hraska+lp/helenos/cht-bench

« back to all changes in this revision

Viewing changes to uspace/drv/bus/usb/ohci/ohci_endpoint.c

  • Committer: Adam Hraska
  • Date: 2012-08-08 17:19:28 UTC
  • mfrom: (1574.1.16 rcu-clone)
  • Revision ID: adam.hraska+hos@gmail.com-20120808171928-7gf0fh7pcxxcoaoo
Merged in mainline changes from rcu-clone.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        assert(instance->ed);
48
48
        ed_toggle_set(instance->ed, toggle);
49
49
}
50
 
/*----------------------------------------------------------------------------*/
 
50
 
51
51
/** Callback to get value of toggle bit.
52
52
 *
53
53
 * @param[in] hcd_ep hcd endpoint structure
60
60
        assert(instance->ed);
61
61
        return ed_toggle_get(instance->ed);
62
62
}
63
 
/*----------------------------------------------------------------------------*/
 
63
 
64
64
/** Creates new hcd endpoint representation.
65
65
 *
66
66
 * @param[in] ep USBD endpoint structure
92
92
        hc_enqueue_endpoint(hcd->private_data, ep);
93
93
        return EOK;
94
94
}
95
 
/*----------------------------------------------------------------------------*/
 
95
 
96
96
/** Disposes hcd endpoint structure
97
97
 *
98
98
 * @param[in] hcd driver using this instance.