Changeset 3be9d10 in mainline for uspace/lib/drv/generic/remote_usbhid.c
- Timestamp:
- 2018-03-21T21:29:31Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e242d2
- Parents:
- eadaeae8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usbhid.c
readaeae8 r3be9d10 283 283 } 284 284 285 static void remote_usbhid_get_event_length(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);286 static void remote_usbhid_get_event(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);287 static void remote_usbhid_get_report_descriptor_length(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);288 static void remote_usbhid_get_report_descriptor(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);289 // static void remote_usbhid_(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);285 static void remote_usbhid_get_event_length(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *); 286 static void remote_usbhid_get_event(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *); 287 static void remote_usbhid_get_report_descriptor_length(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *); 288 static void remote_usbhid_get_report_descriptor(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *); 289 // static void remote_usbhid_(ddf_fun_t *, void *, cap_call_handle_t, ipc_call_t *); 290 290 291 291 /** Remote USB HID interface operations. */ … … 309 309 310 310 void remote_usbhid_get_event_length(ddf_fun_t *fun, void *iface, 311 ipc_callid_t callid, ipc_call_t *call)311 cap_call_handle_t callid, ipc_call_t *call) 312 312 { 313 313 printf("remote_usbhid_get_event_length()\n"); … … 335 335 336 336 void remote_usbhid_get_event(ddf_fun_t *fun, void *iface, 337 ipc_callid_t callid, ipc_call_t *call)337 cap_call_handle_t callid, ipc_call_t *call) 338 338 { 339 339 usbhid_iface_t *hid_iface = (usbhid_iface_t *) iface; … … 347 347 348 348 size_t len; 349 ipc_callid_t data_callid;349 cap_call_handle_t data_callid; 350 350 if (!async_data_read_receive(&data_callid, &len)) { 351 351 async_answer_0(callid, EPARTY); … … 394 394 395 395 void remote_usbhid_get_report_descriptor_length(ddf_fun_t *fun, void *iface, 396 ipc_callid_t callid, ipc_call_t *call)396 cap_call_handle_t callid, ipc_call_t *call) 397 397 { 398 398 usbhid_iface_t *hid_iface = (usbhid_iface_t *) iface; … … 408 408 409 409 void remote_usbhid_get_report_descriptor(ddf_fun_t *fun, void *iface, 410 ipc_callid_t callid, ipc_call_t *call)410 cap_call_handle_t callid, ipc_call_t *call) 411 411 { 412 412 usbhid_iface_t *hid_iface = (usbhid_iface_t *) iface; … … 418 418 419 419 size_t len; 420 ipc_callid_t data_callid;420 cap_call_handle_t data_callid; 421 421 if (!async_data_read_receive(&data_callid, &len)) { 422 422 async_answer_0(callid, EINVAL);
Note:
See TracChangeset
for help on using the changeset viewer.