Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/linux/
Dsynclink.h169 } MGSL_PARAMS, *PMGSL_PARAMS; typedef
/linux-4.4.14/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()
1792 static int get_params(MGSLPC_INFO * info, MGSL_PARAMS __user *user_params) in get_params()
1797 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()
1812 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) in set_params()
1815 MGSL_PARAMS tmp_params; in set_params()
1821 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params()
[all …]
/linux-4.4.14/drivers/tty/
Dsynclink.c114 static MGSL_PARAMS default_params = {
275 MGSL_PARAMS params; /* communications parameters */
827 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params);
828 static int mgsl_set_params(struct mgsl_struct * info, MGSL_PARAMS __user *new_params);
2449 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params) in mgsl_get_params()
2457 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in mgsl_get_params()
2481 static int mgsl_set_params(struct mgsl_struct * info, MGSL_PARAMS __user *new_params) in mgsl_set_params()
2484 MGSL_PARAMS tmp_params; in mgsl_set_params()
2490 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in mgsl_set_params()
2500 memcpy(&info->params,&tmp_params,sizeof(MGSL_PARAMS)); in mgsl_set_params()
[all …]
Dsynclink_gt.c295 MGSL_PARAMS params; /* communications parameters */
357 static MGSL_PARAMS default_params = {
504 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *params);
505 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *params);
2627 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params()
2630 if (copy_to_user(user_params, &info->params, sizeof(MGSL_PARAMS))) in get_params()
2635 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params()
2638 MGSL_PARAMS tmp_params; in set_params()
2641 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params()
2648 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);
2873 static int get_params(SLMP_INFO * info, MGSL_PARAMS __user *user_params) in get_params()
2881 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()
2893 static int set_params(SLMP_INFO * info, MGSL_PARAMS __user *new_params) in set_params()
2896 MGSL_PARAMS tmp_params; in set_params()
2902 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params()
2912 memcpy(&info->params,&tmp_params,sizeof(MGSL_PARAMS)); in set_params()
[all …]