Searched refs:MGSL_PARAMS (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/include/uapi/linux/ |
D | synclink.h | 170 } MGSL_PARAMS, *PMGSL_PARAMS; typedef
|
/Linux-v4.19/drivers/char/pcmcia/ |
D | synclink_cs.c | 89 static MGSL_PARAMS default_params = { 204 MGSL_PARAMS params; /* communications parameters */ 423 static int get_params(MGSLPC_INFO *info, MGSL_PARAMS __user *user_params); 424 static int set_params(MGSLPC_INFO *info, MGSL_PARAMS __user *new_params, struct tty_struct *tty); 539 memcpy(&info->params,&default_params,sizeof(MGSL_PARAMS)); in mgslpc_probe() 1785 static int get_params(MGSLPC_INFO * info, MGSL_PARAMS __user *user_params) in get_params() 1790 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params() 1805 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) in set_params() 1808 MGSL_PARAMS tmp_params; in set_params() 1814 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params() [all …]
|
/Linux-v4.19/drivers/tty/ |
D | synclink.c | 113 static MGSL_PARAMS default_params = { 274 MGSL_PARAMS params; /* communications parameters */ 826 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params); 827 static int mgsl_set_params(struct mgsl_struct * info, MGSL_PARAMS __user *new_params); 2438 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params) in mgsl_get_params() 2446 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in mgsl_get_params() 2470 static int mgsl_set_params(struct mgsl_struct * info, MGSL_PARAMS __user *new_params) in mgsl_set_params() 2473 MGSL_PARAMS tmp_params; in mgsl_set_params() 2479 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in mgsl_set_params() 2489 memcpy(&info->params,&tmp_params,sizeof(MGSL_PARAMS)); in mgsl_set_params() [all …]
|
D | synclink_gt.c | 294 MGSL_PARAMS params; /* communications parameters */ 356 static MGSL_PARAMS default_params = { 503 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *params); 504 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *params); 2600 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params() 2603 if (copy_to_user(user_params, &info->params, sizeof(MGSL_PARAMS))) in get_params() 2608 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params() 2611 MGSL_PARAMS tmp_params; in set_params() 2614 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params() 2621 memcpy(&info->params, &tmp_params, sizeof(MGSL_PARAMS)); in set_params() [all …]
|
D | synclinkmp.c | 84 static MGSL_PARAMS default_params = { 237 MGSL_PARAMS params; /* communications parameters */ 538 static int get_params(SLMP_INFO *info, MGSL_PARAMS __user *params); 539 static int set_params(SLMP_INFO *info, MGSL_PARAMS __user *params); 2847 static int get_params(SLMP_INFO * info, MGSL_PARAMS __user *user_params) in get_params() 2855 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params() 2867 static int set_params(SLMP_INFO * info, MGSL_PARAMS __user *new_params) in set_params() 2870 MGSL_PARAMS tmp_params; in set_params() 2876 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params() 2886 memcpy(&info->params,&tmp_params,sizeof(MGSL_PARAMS)); in set_params() [all …]
|