Searched refs:MGSL_PARAMS (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/include/uapi/linux/ |
D | synclink.h | 170 } MGSL_PARAMS, *PMGSL_PARAMS; typedef
|
/linux-6.1.9/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); 537 memcpy(&info->params,&default_params,sizeof(MGSL_PARAMS)); in mgslpc_probe() 1779 static int get_params(MGSLPC_INFO * info, MGSL_PARAMS __user *user_params) in get_params() 1784 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params() 1799 static int set_params(MGSLPC_INFO * info, MGSL_PARAMS __user *new_params, struct tty_struct *tty) in set_params() 1802 MGSL_PARAMS tmp_params; in set_params() 1808 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params() [all …]
|
/linux-6.1.9/drivers/tty/ |
D | synclink_gt.c | 265 MGSL_PARAMS params; /* communications parameters */ 327 static MGSL_PARAMS default_params = { 452 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *params); 453 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *params); 2519 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params() 2522 if (copy_to_user(user_params, &info->params, sizeof(MGSL_PARAMS))) in get_params() 2527 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params() 2530 MGSL_PARAMS tmp_params; in set_params() 2533 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params() 2540 memcpy(&info->params, &tmp_params, sizeof(MGSL_PARAMS)); in set_params() [all …]
|