Changeset d394f1b8 in mainline
- Timestamp:
- 2011-09-07T13:26:48Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ec492b
- Parents:
- 933b0d7
- Location:
- uspace/drv/bus/usb
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.c
r933b0d7 rd394f1b8 39 39 static unsigned togg[2] = { TD_STATUS_T_0, TD_STATUS_T_1 }; 40 40 41 void td_init( 42 td_t *instance, usb_direction_t dir,void *buffer, size_t size, int toggle)41 void td_init(td_t *instance, 42 usb_direction_t dir, const void *buffer, size_t size, int toggle) 43 43 { 44 44 assert(instance); -
uspace/drv/bus/usb/ohci/hw_struct/transfer_descriptor.h
r933b0d7 rd394f1b8 75 75 } __attribute__((packed)) td_t; 76 76 77 void td_init( 78 td_t *instance, usb_direction_t dir,void *buffer, size_t size, int toggle);77 void td_init(td_t *instance, 78 usb_direction_t dir, const void *buffer, size_t size, int toggle); 79 79 80 80 inline static void td_set_next(td_t *instance, td_t *next) -
uspace/drv/bus/usb/ohci/utils/malloc32.h
r933b0d7 rd394f1b8 46 46 * @return Physical address if exists, NULL otherwise. 47 47 */ 48 static inline uintptr_t addr_to_phys( void *addr)48 static inline uintptr_t addr_to_phys(const void *addr) 49 49 { 50 50 uintptr_t result; -
uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.c
r933b0d7 rd394f1b8 61 61 */ 62 62 void td_init(td_t *instance, int err_count, size_t size, bool toggle, bool iso, 63 bool low_speed, usb_target_t target, usb_packet_id pid, void *buffer,63 bool low_speed, usb_target_t target, usb_packet_id pid, const void *buffer, 64 64 const td_t *next) 65 65 { -
uspace/drv/bus/usb/uhci/hw_struct/transfer_descriptor.h
r933b0d7 rd394f1b8 95 95 void td_init(td_t *instance, int error_count, size_t size, bool toggle, 96 96 bool iso, bool low_speed, usb_target_t target, usb_packet_id pid, 97 void *buffer, const td_t *next);97 const void *buffer, const td_t *next); 98 98 99 99 int td_status(td_t *instance);
Note:
See TracChangeset
for help on using the changeset viewer.