Home
last modified time | relevance | path

Searched refs:MGSL_PARAMS (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/include/uapi/linux/
Dsynclink.h170 } MGSL_PARAMS, *PMGSL_PARAMS; typedef
/Linux-v5.4/drivers/char/pcmcia/
Dsynclink_cs.c89 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-v5.4/drivers/tty/
Dsynclink.c113 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 …]
Dsynclink_gt.c294 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);
2591 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params()
2594 if (copy_to_user(user_params, &info->params, sizeof(MGSL_PARAMS))) in get_params()
2599 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params()
2602 MGSL_PARAMS tmp_params; in set_params()
2605 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params()
2612 memcpy(&info->params, &tmp_params, sizeof(MGSL_PARAMS)); in set_params()
[all …]
Dsynclinkmp.c84 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);
2846 static int get_params(SLMP_INFO * info, MGSL_PARAMS __user *user_params) in get_params()
2854 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()
2866 static int set_params(SLMP_INFO * info, MGSL_PARAMS __user *new_params) in set_params()
2869 MGSL_PARAMS tmp_params; in set_params()
2875 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params()
2885 memcpy(&info->params,&tmp_params,sizeof(MGSL_PARAMS)); in set_params()
[all …]