Changeset a4e7e6e1 in mainline for uspace/drv/bus/usb/xhci/streams.c
- Timestamp:
- 2018-01-19T15:25:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 861b5d6
- Parents:
- c7d5189
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/streams.c
rc7d5189 ra4e7e6e1 327 327 } 328 328 329 hc_stop_endpoint( hc, dev->slot_id, xhci_endpoint_index(xhci_ep));329 hc_stop_endpoint(dev, xhci_endpoint_index(xhci_ep)); 330 330 xhci_endpoint_free_transfer_ds(xhci_ep); 331 331 … … 340 340 memset(&ep_ctx, 0, sizeof(ep_ctx)); 341 341 xhci_setup_endpoint_context(xhci_ep, &ep_ctx); 342 return hc_update_endpoint( hc, dev->slot_id, xhci_endpoint_index(xhci_ep), &ep_ctx);342 return hc_update_endpoint(dev, xhci_endpoint_index(xhci_ep), &ep_ctx); 343 343 } 344 344 … … 361 361 * Stop the endpoint, destroy the ring, and transition to streams. 362 362 */ 363 hc_stop_endpoint( hc, dev->slot_id, xhci_endpoint_index(xhci_ep));363 hc_stop_endpoint(dev, xhci_endpoint_index(xhci_ep)); 364 364 xhci_endpoint_free_transfer_ds(xhci_ep); 365 365 … … 381 381 setup_stream_context(xhci_ep, &ep_ctx, pstreams, 1); 382 382 383 return hc_update_endpoint( hc, dev->slot_id, xhci_endpoint_index(xhci_ep), &ep_ctx);383 return hc_update_endpoint(dev, xhci_endpoint_index(xhci_ep), &ep_ctx); 384 384 } 385 385 … … 434 434 * Stop the endpoint, destroy the ring, and transition to streams. 435 435 */ 436 hc_stop_endpoint( hc, dev->slot_id, xhci_endpoint_index(xhci_ep));436 hc_stop_endpoint(dev, xhci_endpoint_index(xhci_ep)); 437 437 xhci_endpoint_free_transfer_ds(xhci_ep); 438 438 … … 455 455 setup_stream_context(xhci_ep, &ep_ctx, pstreams, 0); 456 456 457 return hc_update_endpoint( hc, dev->slot_id, xhci_endpoint_index(xhci_ep), &ep_ctx);457 return hc_update_endpoint(dev, xhci_endpoint_index(xhci_ep), &ep_ctx); 458 458 459 459 err_init:
Note:
See TracChangeset
for help on using the changeset viewer.