1 /**************************************************************************/
2 /*                                                                        */
3 /*       Copyright (c) Microsoft Corporation. All rights reserved.        */
4 /*                                                                        */
5 /*       This software is licensed under the Microsoft Software License   */
6 /*       Terms for Microsoft Azure RTOS. Full text of the license can be  */
7 /*       found in the LICENSE file at https://aka.ms/AzureRTOS_EULA       */
8 /*       and in the root directory of this software.                      */
9 /*                                                                        */
10 /**************************************************************************/
11 
12 
13 /**************************************************************************/
14 /**************************************************************************/
15 /**                                                                       */
16 /** USBX Component                                                        */
17 /**                                                                       */
18 /**   EHCI Controller Driver                                              */
19 /**                                                                       */
20 /**************************************************************************/
21 /**************************************************************************/
22 
23 
24 /* Include necessary system files.  */
25 
26 #define UX_SOURCE_CODE
27 
28 #include "ux_api.h"
29 #include "ux_hcd_ehci.h"
30 #include "ux_host_stack.h"
31 
32 
33 /**************************************************************************/
34 /*                                                                        */
35 /*  FUNCTION                                               RELEASE        */
36 /*                                                                        */
37 /*    _ux_hcd_ehci_fsisochronous_tds_process              PORTABLE C      */
38 /*                                                           6.1.10       */
39 /*  AUTHOR                                                                */
40 /*                                                                        */
41 /*    Chaoqiong Xiao, Microsoft Corporation                               */
42 /*                                                                        */
43 /*  DESCRIPTION                                                           */
44 /*                                                                        */
45 /*    This function processes the isochronous, periodic and asynchronous  */
46 /*    lists in search for transfers that occurred in the past             */
47 /*    (micro-)frame.                                                      */
48 /*                                                                        */
49 /*  INPUT                                                                 */
50 /*                                                                        */
51 /*    hcd_ehci                              Pointer to HCD EHCI           */
52 /*    prev_itd                              Pointer to pointer point to   */
53 /*                                          previous FSISO TD             */
54 /*    itd                                   Pointer to FSISO TD           */
55 /*                                                                        */
56 /*  OUTPUT                                                                */
57 /*                                                                        */
58 /*    UX_EHCI_HSISO_TD                      Pointer to FSISO TD           */
59 /*                                                                        */
60 /*  CALLS                                                                 */
61 /*                                                                        */
62 /*    (ux_transfer_request_completion_function) Completion function       */
63 /*    _ux_host_semaphore_put                Put semaphore                 */
64 /*    _ux_utility_physical_address          Get physical address          */
65 /*                                                                        */
66 /*  CALLED BY                                                             */
67 /*                                                                        */
68 /*    EHCI Controller Driver                                              */
69 /*                                                                        */
70 /*  RELEASE HISTORY                                                       */
71 /*                                                                        */
72 /*    DATE              NAME                      DESCRIPTION             */
73 /*                                                                        */
74 /*  05-19-2020     Chaoqiong Xiao           Initial Version 6.0           */
75 /*  09-30-2020     Chaoqiong Xiao           Modified comment(s),          */
76 /*                                            resulting in version 6.1    */
77 /*  01-31-2022     Chaoqiong Xiao           Modified comment(s),          */
78 /*                                            resulting in version 6.1.10 */
79 /*                                                                        */
80 /**************************************************************************/
_ux_hcd_ehci_fsisochronous_tds_process(UX_HCD_EHCI * hcd_ehci,UX_EHCI_FSISO_TD * itd)81 UX_EHCI_FSISO_TD* _ux_hcd_ehci_fsisochronous_tds_process(
82     UX_HCD_EHCI *hcd_ehci,
83     UX_EHCI_FSISO_TD* itd)
84 {
85 
86     UX_PARAMETER_NOT_USED(hcd_ehci);
87 
88     /* TBD  */
89 
90     return(itd -> ux_ehci_fsiso_td_next_scan_td);
91 }
92 
93