.. | .. |
---|
1 | | -// SPDX-License-Identifier: GPL-2.0 |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
---|
2 | 2 | /* |
---|
3 | 3 | * udc.h - ChipIdea UDC structures |
---|
4 | 4 | * |
---|
.. | .. |
---|
61 | 61 | struct list_head td; |
---|
62 | 62 | dma_addr_t dma; |
---|
63 | 63 | struct ci_hw_td *ptr; |
---|
| 64 | + int td_remaining_size; |
---|
64 | 65 | }; |
---|
65 | 66 | |
---|
66 | 67 | /** |
---|
67 | 68 | * struct ci_hw_req - usb request representation |
---|
68 | 69 | * @req: request structure for gadget drivers |
---|
69 | 70 | * @queue: link to QH list |
---|
70 | | - * @ptr: transfer descriptor for this request |
---|
71 | | - * @dma: dma address for the transfer descriptor |
---|
72 | | - * @zptr: transfer descriptor for the zero packet |
---|
73 | | - * @zdma: dma address of the zero packet's transfer descriptor |
---|
| 71 | + * @tds: link to TD list |
---|
74 | 72 | */ |
---|
75 | 73 | struct ci_hw_req { |
---|
76 | 74 | struct usb_request req; |
---|