Changeset ae3a941 in mainline for uspace/drv/bus/usb/uhci
- Timestamp:
- 2018-02-26T16:51:40Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e773f58
- Parents:
- 3692678
- Location:
- uspace/drv/bus/usb/uhci
- Files:
-
- 3 edited
-
hw_struct/queue_head.h (modified) (1 diff)
-
hw_struct/transfer_descriptor.h (modified) (1 diff)
-
uhci_batch.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hw_struct/queue_head.h
r3692678 rae3a941 48 48 /** Pointer to the next entity (another QH or TD */ 49 49 volatile link_pointer_t next; 50 /** Pointer to the contained entities (execution controlled by vertical flag*/ 50 /** 51 * Pointer to the contained entities 52 * (execution controlled by vertical flag) 53 */ 51 54 volatile link_pointer_t element; 52 } __attribute__((packed, aligned(16))) qh_t;55 } __attribute__((packed, aligned(16))) qh_t; 53 56 54 57 /** Initialize queue head structure -
uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h
r3692678 rae3a941 95 95 * memory just needs to be aligned. We don't use it anyway. 96 96 */ 97 } __attribute__((packed, aligned(16))) td_t;97 } __attribute__((packed, aligned(16))) td_t; 98 98 99 99 -
uspace/drv/bus/usb/uhci/uhci_batch.h
r3692678 rae3a941 70 70 } uhci_transfer_batch_t; 71 71 72 uhci_transfer_batch_t * uhci_transfer_batch_create(endpoint_t *);72 uhci_transfer_batch_t *uhci_transfer_batch_create(endpoint_t *); 73 73 int uhci_transfer_batch_prepare(uhci_transfer_batch_t *); 74 74 bool uhci_transfer_batch_check_completed(uhci_transfer_batch_t *); … … 79 79 * @return Pointer to the setup buffer. 80 80 */ 81 static inline void * uhci_transfer_batch_setup_buffer(81 static inline void *uhci_transfer_batch_setup_buffer( 82 82 const uhci_transfer_batch_t *uhci_batch) 83 83 { … … 91 91 * @return Pointer to the data buffer. 92 92 */ 93 static inline void * uhci_transfer_batch_data_buffer(93 static inline void *uhci_transfer_batch_data_buffer( 94 94 const uhci_transfer_batch_t *uhci_batch) 95 95 { … … 108 108 } 109 109 110 static inline uhci_transfer_batch_t *uhci_transfer_batch_get(usb_transfer_batch_t *b) 110 static inline uhci_transfer_batch_t *uhci_transfer_batch_get( 111 usb_transfer_batch_t *b) 111 112 { 112 113 assert(b);
Note:
See TracChangeset
for help on using the changeset viewer.
