Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hc.c

    rbb97118 r8300c72  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2018 Ondrej Hlavaty, Petr Manek, Jaroslav Jindrak, Jan Hrach, Michal Staruch
    34 * All rights reserved.
     
    746747}
    747748
     749/**
     750 * Quiesce host controller.
     751 */
     752errno_t hc_quiesce(xhci_hc_t *hc)
     753{
     754        hc_stop(hc);
     755        usb_log_info("HC quiesced.");
     756        return EOK;
     757}
     758
    748759unsigned hc_speed_to_psiv(usb_speed_t speed)
    749760{
     
    886897        }
    887898
    888         /* Issue configure endpoint command (sec 4.3.5). */
     899        /* Issue configure endpoint command (sec 4.3.5).  */
    889900        dma_buffer_t ictx_dma_buf;
    890901        if ((err = create_configure_ep_input_ctx(dev, &ictx_dma_buf)))
     
    928939        xhci_cmd_t cmd;
    929940
    930         /* Issue configure endpoint command (sec 4.3.5). */
     941        /* Issue configure endpoint command (sec 4.3.5).  */
    931942        dma_buffer_t ictx_dma_buf;
    932943        errno_t err = create_configure_ep_input_ctx(dev, &ictx_dma_buf);
     
    957968                return EOK;
    958969
    959         /* Issue configure endpoint command (sec 4.3.5) with the DC flag. */
     970        /* Issue configure endpoint command (sec 4.3.5) with the DC flag.  */
    960971        xhci_cmd_init(&cmd, XHCI_CMD_CONFIGURE_ENDPOINT);
    961972        cmd.slot_id = dev->slot_id;
     
    981992        xhci_cmd_t cmd;
    982993
    983         /* Issue configure endpoint command (sec 4.3.5). */
     994        /* Issue configure endpoint command (sec 4.3.5).  */
    984995        dma_buffer_t ictx_dma_buf;
    985996        errno_t err = create_configure_ep_input_ctx(dev, &ictx_dma_buf);
     
    10201031                return EOK;
    10211032
    1022         /* Issue configure endpoint command (sec 4.3.5). */
     1033        /* Issue configure endpoint command (sec 4.3.5).  */
    10231034        dma_buffer_t ictx_dma_buf;
    10241035        errno_t err = create_configure_ep_input_ctx(dev, &ictx_dma_buf);
Note: See TracChangeset for help on using the changeset viewer.