Changeset 3bacee1 in mainline for uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hw_struct/endpoint_descriptor.c
r76d0981d r3bacee1 81 81 /* Status: address, endpoint nr, direction mask and max packet size. */ 82 82 OHCI_MEM32_WR(instance->status, 83 ((ep->device->address & ED_STATUS_FA_MASK) << ED_STATUS_FA_SHIFT) 84 | ((ep->endpoint & ED_STATUS_EN_MASK) << ED_STATUS_EN_SHIFT)85 | ((dir[ep->direction] & ED_STATUS_D_MASK) << ED_STATUS_D_SHIFT)86 |((ep->max_packet_size & ED_STATUS_MPS_MASK) << ED_STATUS_MPS_SHIFT));83 ((ep->device->address & ED_STATUS_FA_MASK) << ED_STATUS_FA_SHIFT) | 84 ((ep->endpoint & ED_STATUS_EN_MASK) << ED_STATUS_EN_SHIFT) | 85 ((dir[ep->direction] & ED_STATUS_D_MASK) << ED_STATUS_D_SHIFT) | 86 ((ep->max_packet_size & ED_STATUS_MPS_MASK) << ED_STATUS_MPS_SHIFT)); 87 87 88 88 /* Low speed flag */
Note:
See TracChangeset
for help on using the changeset viewer.