Changeset 3be9d10 in mainline for uspace/drv/hid
- Timestamp:
- 2018-03-21T21:29:31Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e242d2
- Parents:
- eadaeae8
- Location:
- uspace/drv/hid
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/adb-kbd/adb-kbd.c
readaeae8 r3be9d10 43 43 #include "ctl.h" 44 44 45 static void adb_kbd_events( ipc_callid_t, ipc_call_t *, void *);45 static void adb_kbd_events(cap_call_handle_t, ipc_call_t *, void *); 46 46 static void adb_kbd_reg0_data(adb_kbd_t *, uint16_t); 47 static void adb_kbd_conn( ipc_callid_t, ipc_call_t *, void *);47 static void adb_kbd_conn(cap_call_handle_t, ipc_call_t *, void *); 48 48 49 49 /** Add ADB keyboard device */ … … 130 130 } 131 131 132 static void adb_kbd_events( ipc_callid_t iid, ipc_call_t *icall, void *arg)132 static void adb_kbd_events(cap_call_handle_t iid, ipc_call_t *icall, void *arg) 133 133 { 134 134 adb_kbd_t *kbd = (adb_kbd_t *) arg; … … 138 138 139 139 ipc_call_t call; 140 ipc_callid_t callid = async_get_call(&call);140 cap_call_handle_t callid = async_get_call(&call); 141 141 142 142 errno_t retval = EOK; … … 190 190 191 191 /** Handle client connection */ 192 static void adb_kbd_conn( ipc_callid_t iid, ipc_call_t *icall, void *arg)193 { 194 ipc_callid_t callid;192 static void adb_kbd_conn(cap_call_handle_t iid, ipc_call_t *icall, void *arg) 193 { 194 cap_call_handle_t callid; 195 195 ipc_call_t call; 196 196 sysarg_t method; -
uspace/drv/hid/adb-mouse/adb-mouse.c
readaeae8 r3be9d10 41 41 #include "adb-mouse.h" 42 42 43 static void adb_mouse_conn( ipc_callid_t, ipc_call_t *, void *);43 static void adb_mouse_conn(cap_call_handle_t, ipc_call_t *, void *); 44 44 45 45 static void adb_mouse_event_button(adb_mouse_t *mouse, int bnum, int bpress) … … 88 88 } 89 89 90 static void adb_mouse_events( ipc_callid_t iid, ipc_call_t *icall, void *arg)90 static void adb_mouse_events(cap_call_handle_t iid, ipc_call_t *icall, void *arg) 91 91 { 92 92 adb_mouse_t *mouse = (adb_mouse_t *) arg; … … 95 95 while (true) { 96 96 ipc_call_t call; 97 ipc_callid_t callid = async_get_call(&call);97 cap_call_handle_t callid = async_get_call(&call); 98 98 99 99 errno_t retval = EOK; … … 200 200 201 201 /** Handle client connection */ 202 static void adb_mouse_conn( ipc_callid_t iid, ipc_call_t *icall, void *arg)203 { 204 ipc_callid_t callid;202 static void adb_mouse_conn(cap_call_handle_t iid, ipc_call_t *icall, void *arg) 203 { 204 cap_call_handle_t callid; 205 205 ipc_call_t call; 206 206 sysarg_t method; -
uspace/drv/hid/atkbd/atkbd.c
readaeae8 r3be9d10 298 298 */ 299 299 static void default_connection_handler(ddf_fun_t *fun, 300 ipc_callid_t icallid, ipc_call_t *icall)300 cap_call_handle_t icallid, ipc_call_t *icall) 301 301 { 302 302 const sysarg_t method = IPC_GET_IMETHOD(*icall); -
uspace/drv/hid/ps2mouse/ps2mouse.c
readaeae8 r3be9d10 104 104 static errno_t polling_intellimouse(void *); 105 105 static errno_t probe_intellimouse(ps2_mouse_t *, bool); 106 static void default_connection_handler(ddf_fun_t *, ipc_callid_t, ipc_call_t *);106 static void default_connection_handler(ddf_fun_t *, cap_call_handle_t, ipc_call_t *); 107 107 108 108 /** ps/2 mouse driver ops. */ … … 404 404 */ 405 405 void default_connection_handler(ddf_fun_t *fun, 406 ipc_callid_t icallid, ipc_call_t *icall)406 cap_call_handle_t icallid, ipc_call_t *icall) 407 407 { 408 408 const sysarg_t method = IPC_GET_IMETHOD(*icall); -
uspace/drv/hid/usbhid/kbd/kbddev.c
readaeae8 r3be9d10 72 72 #include "../usbhid.h" 73 73 74 static void default_connection_handler(ddf_fun_t *, ipc_callid_t, ipc_call_t *);74 static void default_connection_handler(ddf_fun_t *, cap_call_handle_t, ipc_call_t *); 75 75 static ddf_dev_ops_t kbdops = { .default_handler = default_connection_handler }; 76 76 … … 161 161 */ 162 162 static void default_connection_handler(ddf_fun_t *fun, 163 ipc_callid_t icallid, ipc_call_t *icall)163 cap_call_handle_t icallid, ipc_call_t *icall) 164 164 { 165 165 const sysarg_t method = IPC_GET_IMETHOD(*icall); -
uspace/drv/hid/usbhid/mouse/mousedev.c
readaeae8 r3be9d10 55 55 #define NAME "mouse" 56 56 57 static void default_connection_handler(ddf_fun_t *, ipc_callid_t, ipc_call_t *);57 static void default_connection_handler(ddf_fun_t *, cap_call_handle_t, ipc_call_t *); 58 58 59 59 static ddf_dev_ops_t ops = { .default_handler = default_connection_handler }; … … 114 114 */ 115 115 static void default_connection_handler(ddf_fun_t *fun, 116 ipc_callid_t icallid, ipc_call_t *icall)116 cap_call_handle_t icallid, ipc_call_t *icall) 117 117 { 118 118 usb_mouse_t *mouse_dev = ddf_fun_data_get(fun); -
uspace/drv/hid/usbhid/multimedia/multimedia.c
readaeae8 r3be9d10 85 85 */ 86 86 static void default_connection_handler(ddf_fun_t *fun, 87 ipc_callid_t icallid, ipc_call_t *icall)87 cap_call_handle_t icallid, ipc_call_t *icall) 88 88 { 89 89 usb_log_debug(NAME " default_connection_handler()"); -
uspace/drv/hid/xtkbd/xtkbd.c
readaeae8 r3be9d10 334 334 */ 335 335 static void default_connection_handler(ddf_fun_t *fun, 336 ipc_callid_t icallid, ipc_call_t *icall)336 cap_call_handle_t icallid, ipc_call_t *icall) 337 337 { 338 338 const sysarg_t method = IPC_GET_IMETHOD(*icall);
Note:
See TracChangeset
for help on using the changeset viewer.