Changeset 5a6cc679 in mainline for uspace/drv/bus/usb/uhci/uhci_rh.c
- Timestamp:
- 2018-01-31T02:21:24Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_rh.c
r132ab5d1 r5a6cc679 79 79 * @return Error code, EOK on success. 80 80 */ 81 int uhci_rh_init(uhci_rh_t *instance, ioport16_t *ports, const char *name)81 errno_t uhci_rh_init(uhci_rh_t *instance, ioport16_t *ports, const char *name) 82 82 { 83 83 assert(instance); … … 99 99 * not have to be. 100 100 */ 101 int uhci_rh_schedule(uhci_rh_t *instance, usb_transfer_batch_t *batch)101 errno_t uhci_rh_schedule(uhci_rh_t *instance, usb_transfer_batch_t *batch) 102 102 { 103 103 assert(instance); … … 189 189 * it is usefull for debuging purposes only. 190 190 */ 191 static int req_get_port_state(usbvirt_device_t *device,191 static errno_t req_get_port_state(usbvirt_device_t *device, 192 192 const usb_device_request_setup_packet_t *setup_packet, 193 193 uint8_t *data, size_t *act_size) … … 224 224 * @note: reset change status needs to be handled in sw. 225 225 */ 226 static int req_get_port_status(usbvirt_device_t *device,226 static errno_t req_get_port_status(usbvirt_device_t *device, 227 227 const usb_device_request_setup_packet_t *setup_packet, 228 228 uint8_t *data, size_t *act_size) … … 263 263 * @return Error code. 264 264 */ 265 static int req_clear_port_feature(usbvirt_device_t *device,265 static errno_t req_clear_port_feature(usbvirt_device_t *device, 266 266 const usb_device_request_setup_packet_t *setup_packet, 267 267 uint8_t *data, size_t *act_size) … … 336 336 * @return Error code. 337 337 */ 338 static int req_set_port_feature(usbvirt_device_t *device,338 static errno_t req_set_port_feature(usbvirt_device_t *device, 339 339 const usb_device_request_setup_packet_t *setup_packet, 340 340 uint8_t *data, size_t *act_size) … … 398 398 * only need 1 byte. 399 399 */ 400 static int req_status_change_handler(usbvirt_device_t *device,400 static errno_t req_status_change_handler(usbvirt_device_t *device, 401 401 usb_endpoint_t endpoint, usb_transfer_type_t tr_type, 402 402 void *buffer, size_t buffer_size, size_t *actual_size)
Note:
See TracChangeset
for help on using the changeset viewer.