Changeset ae3a941 in mainline for uspace/drv/bus/usb/ehci/hw_struct
- 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/ehci/hw_struct
- Files:
-
- 4 edited
-
iso_transfer_descriptor.h (modified) (1 diff)
-
queue_head.c (modified) (2 diffs)
-
queue_head.h (modified) (1 diff)
-
split_iso_transfer_descriptor.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hw_struct/iso_transfer_descriptor.h
r3692678 rae3a941 72 72 /* 64 bit struct only */ 73 73 volatile uint32_t extended_bp[7]; 74 } __attribute__((packed, aligned(32))) itd_t;74 } __attribute__((packed, aligned(32))) itd_t; 75 75 #endif 76 76 /** -
uspace/drv/bus/usb/ehci/hw_struct/queue_head.c
r3692678 rae3a941 70 70 QH_EP_CHAR_EP_SET(ep->endpoint) | 71 71 speed[ep->device->speed] | 72 QH_EP_CHAR_MAX_LENGTH_SET(ep->max_packet_size) 73 ); 72 QH_EP_CHAR_MAX_LENGTH_SET(ep->max_packet_size)); 74 73 if (ep->transfer_type == USB_TRANSFER_CONTROL) { 75 74 if (ep->device->speed != USB_SPEED_HIGH) … … 80 79 } 81 80 uint32_t ep_cap = QH_EP_CAP_C_MASK_SET(3 << 2) | 82 QH_EP_CAP_MULTI_SET(ep->packets_per_uframe);81 QH_EP_CAP_MULTI_SET(ep->packets_per_uframe); 83 82 if (usb_speed_is_11(ep->device->speed)) { 84 83 assert(ep->device->tt.dev != NULL); -
uspace/drv/bus/usb/ehci/hw_struct/queue_head.h
r3692678 rae3a941 143 143 /* 64 bit struct only */ 144 144 volatile uint32_t extended_bp[5]; 145 } __attribute__((packed, aligned(32))) qh_t;145 } __attribute__((packed, aligned(32))) qh_t; 146 146 147 147 static inline void qh_append_qh(qh_t *qh, const qh_t *next) -
uspace/drv/bus/usb/ehci/hw_struct/split_iso_transfer_descriptor.h
r3692678 rae3a941 89 89 /* 64 bit struct only */ 90 90 volatile uint32_t extended_bp[2]; 91 } __attribute__((packed, aligned(32))) sitd_t;91 } __attribute__((packed, aligned(32))) sitd_t; 92 92 #endif 93 93 /**
Note:
See TracChangeset
for help on using the changeset viewer.
