static int ehci_reset_queue(EHCIQueue *q)

{

    int packets;



    trace_usb_ehci_queue_action(q, "reset");

    packets = ehci_cancel_queue(q);

    q->dev = NULL;

    q->qtdaddr = 0;


    return packets;

}
static int ehci_reset_queue(EHCIQueue *q)

{

    int packets;



    trace_usb_ehci_queue_action(q, "reset");

    packets = ehci_cancel_queue(q);

    q->dev = NULL;

    q->qtdaddr = 0;


    return packets;

}
static int FUNC_0(EHCIQueue *VAR_0)

{

    int VAR_1;



    trace_usb_ehci_queue_action(VAR_0, "reset");

    VAR_1 = ehci_cancel_queue(VAR_0);

    VAR_0->dev = NULL;

    VAR_0->qtdaddr = 0;


    return VAR_1;

}
static int FUNC_0(EHCIQueue *VAR_0)
{ int VAR_1; trace_usb_ehci_queue_action(VAR_0, "reset"); VAR_1 = ehci_cancel_queue(VAR_0); VAR_0->dev = NULL; VAR_0->qtdaddr = 0; return VAR_1; }