Changeset 5a6cc679 in mainline for uspace/lib/usbhost/include
- Timestamp:
- 2018-01-31T02:21:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- Location:
- uspace/lib/usbhost/include/usb/host
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/ddf_helpers.h
r132ab5d1 r5a6cc679 45 45 46 46 47 int hcd_ddf_setup_hc(ddf_dev_t *, size_t);47 errno_t hcd_ddf_setup_hc(ddf_dev_t *, size_t); 48 48 void hcd_ddf_clean_hc(hc_device_t *); 49 49 … … 52 52 void hcd_ddf_fun_destroy(device_t *); 53 53 54 int hcd_ddf_setup_match_ids(device_t *, usb_standard_device_descriptor_t *);54 errno_t hcd_ddf_setup_match_ids(device_t *, usb_standard_device_descriptor_t *); 55 55 56 int hcd_ddf_enable_interrupt(hc_device_t *hcd, int);57 int hcd_ddf_get_registers(hc_device_t *hcd, hw_res_list_parsed_t *hw_res);56 errno_t hcd_ddf_enable_interrupt(hc_device_t *hcd, int); 57 errno_t hcd_ddf_get_registers(hc_device_t *hcd, hw_res_list_parsed_t *hw_res); 58 58 59 59 void hcd_ddf_gen_irq_handler(ipc_callid_t iid, ipc_call_t *call, ddf_dev_t *dev); -
uspace/lib/usbhost/include/usb/host/hcd.h
r132ab5d1 r5a6cc679 108 108 } 109 109 110 int hc_driver_main(const hc_driver_t *);110 extern errno_t hc_driver_main(const hc_driver_t *); 111 111 112 112 #endif -
uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
r132ab5d1 r5a6cc679 83 83 84 84 /** Indicates success/failure of the communication */ 85 int error;85 errno_t error; 86 86 } usb_transfer_batch_t; 87 87 -
uspace/lib/usbhost/include/usb/host/utils/malloc32.h
r132ab5d1 r5a6cc679 59 59 { 60 60 uintptr_t result; 61 int ret = as_get_physical_mapping(addr, &result);61 errno_t ret = as_get_physical_mapping(addr, &result); 62 62 63 63 if (ret != EOK) … … 78 78 size_t real_size = ALIGN_UP(size, PAGE_SIZE); 79 79 80 const int ret = dmamem_map_anonymous(real_size,80 const errno_t ret = dmamem_map_anonymous(real_size, 81 81 DMAMEM_4GiB, AS_AREA_READ | AS_AREA_WRITE, 0, &phys, 82 82 &address);
Note:
See TracChangeset
for help on using the changeset viewer.