Changeset fafb8e5 in mainline for uspace/srv/devman/client_conn.c


Ignore:
Timestamp:
2019-02-06T13:25:12Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95a47b0
Parents:
eb13ef8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:10:59)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Mechanically lowercase IPC_SET_*/IPC_GET_*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/client_conn.c

    reb13ef8 rfafb8e5  
    102102static void devman_fun_get_match_id(ipc_call_t *icall)
    103103{
    104         devman_handle_t handle = IPC_GET_ARG1(icall);
    105         size_t index = IPC_GET_ARG2(icall);
     104        devman_handle_t handle = ipc_get_arg1(icall);
     105        size_t index = ipc_get_arg2(icall);
    106106        void *buffer = NULL;
    107107
     
    165165static void devman_fun_get_name(ipc_call_t *icall)
    166166{
    167         devman_handle_t handle = IPC_GET_ARG1(icall);
     167        devman_handle_t handle = ipc_get_arg1(icall);
    168168
    169169        fun_node_t *fun = find_fun_node(&device_tree, handle);
     
    218218static void devman_fun_get_driver_name(ipc_call_t *icall)
    219219{
    220         devman_handle_t handle = IPC_GET_ARG1(icall);
     220        devman_handle_t handle = ipc_get_arg1(icall);
    221221
    222222        fun_node_t *fun = find_fun_node(&device_tree, handle);
     
    283283static void devman_fun_get_path(ipc_call_t *icall)
    284284{
    285         devman_handle_t handle = IPC_GET_ARG1(icall);
     285        devman_handle_t handle = ipc_get_arg1(icall);
    286286
    287287        fun_node_t *fun = find_fun_node(&device_tree, handle);
     
    340340        fibril_rwlock_read_lock(&device_tree.rwlock);
    341341
    342         dev = find_dev_node_no_lock(&device_tree, IPC_GET_ARG1(icall));
     342        dev = find_dev_node_no_lock(&device_tree, ipc_get_arg1(icall));
    343343        if (dev == NULL || dev->state == DEVICE_REMOVED) {
    344344                fibril_rwlock_read_unlock(&device_tree.rwlock);
     
    374374
    375375        dev_node_t *dev = find_dev_node_no_lock(&device_tree,
    376             IPC_GET_ARG1(icall));
     376            ipc_get_arg1(icall));
    377377        if (dev == NULL || dev->state == DEVICE_REMOVED) {
    378378                fibril_rwlock_read_unlock(&device_tree.rwlock);
     
    413413        fibril_rwlock_read_lock(&device_tree.rwlock);
    414414
    415         fun = find_fun_node_no_lock(&device_tree, IPC_GET_ARG1(icall));
     415        fun = find_fun_node_no_lock(&device_tree, ipc_get_arg1(icall));
    416416        if (fun == NULL || fun->state == FUN_REMOVED) {
    417417                fibril_rwlock_read_unlock(&device_tree.rwlock);
     
    442442        errno_t rc;
    443443
    444         fun = find_fun_node(&device_tree, IPC_GET_ARG1(icall));
     444        fun = find_fun_node(&device_tree, ipc_get_arg1(icall));
    445445        if (fun == NULL) {
    446446                async_answer_0(icall, ENOENT);
     
    467467        errno_t rc;
    468468
    469         fun = find_fun_node(&device_tree, IPC_GET_ARG1(icall));
     469        fun = find_fun_node(&device_tree, ipc_get_arg1(icall));
    470470        if (fun == NULL) {
    471471                async_answer_0(icall, ENOENT);
     
    484484        fun_node_t *fun;
    485485
    486         fun = find_loc_tree_function(&device_tree, IPC_GET_ARG1(icall));
     486        fun = find_loc_tree_function(&device_tree, ipc_get_arg1(icall));
    487487
    488488        if (fun == NULL) {
     
    550550        }
    551551
    552         driver_t *drv = driver_find(&drivers_list, IPC_GET_ARG1(icall));
     552        driver_t *drv = driver_find(&drivers_list, ipc_get_arg1(icall));
    553553        if (drv == NULL) {
    554554                async_answer_0(&call, ENOENT);
     
    604604static void devman_driver_get_match_id(ipc_call_t *icall)
    605605{
    606         devman_handle_t handle = IPC_GET_ARG1(icall);
    607         size_t index = IPC_GET_ARG2(icall);
     606        devman_handle_t handle = ipc_get_arg1(icall);
     607        size_t index = ipc_get_arg2(icall);
    608608
    609609        driver_t *drv = driver_find(&drivers_list, handle);
     
    655655static void devman_driver_get_name(ipc_call_t *icall)
    656656{
    657         devman_handle_t handle = IPC_GET_ARG1(icall);
     657        devman_handle_t handle = ipc_get_arg1(icall);
    658658
    659659        driver_t *drv = driver_find(&drivers_list, handle);
     
    697697        driver_t *drv;
    698698
    699         drv = driver_find(&drivers_list, IPC_GET_ARG1(icall));
     699        drv = driver_find(&drivers_list, ipc_get_arg1(icall));
    700700        if (drv == NULL) {
    701701                async_answer_0(icall, ENOENT);
     
    712712        errno_t rc;
    713713
    714         drv = driver_find(&drivers_list, IPC_GET_ARG1(icall));
     714        drv = driver_find(&drivers_list, ipc_get_arg1(icall));
    715715        if (drv == NULL) {
    716716                async_answer_0(icall, ENOENT);
     
    731731        errno_t rc;
    732732
    733         drv = driver_find(&drivers_list, IPC_GET_ARG1(icall));
     733        drv = driver_find(&drivers_list, ipc_get_arg1(icall));
    734734        if (drv == NULL) {
    735735                async_answer_0(icall, ENOENT);
     
    754754                async_get_call(&call);
    755755
    756                 if (!IPC_GET_IMETHOD(&call)) {
     756                if (!ipc_get_imethod(&call)) {
    757757                        async_answer_0(&call, EOK);
    758758                        break;
    759759                }
    760760
    761                 switch (IPC_GET_IMETHOD(&call)) {
     761                switch (ipc_get_imethod(&call)) {
    762762                case DEVMAN_DEVICE_GET_HANDLE:
    763763                        devman_function_get_handle(&call);
Note: See TracChangeset for help on using the changeset viewer.