Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dsynclink.h170 } MGSL_PARAMS, *PMGSL_PARAMS; typedef
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dsynclink.h170 } MGSL_PARAMS, *PMGSL_PARAMS; typedef
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dsynclink.h170 } MGSL_PARAMS, *PMGSL_PARAMS; typedef
/OK3568_Linux_fs/kernel/drivers/char/pcmcia/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dsynclink.c113 static MGSL_PARAMS default_params = {
273 MGSL_PARAMS params; /* communications parameters */
825 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params);
826 static int mgsl_set_params(struct mgsl_struct * info, MGSL_PARAMS __user *new_params);
2437 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params) in mgsl_get_params()
2445 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in mgsl_get_params()
2469 static int mgsl_set_params(struct mgsl_struct * info, MGSL_PARAMS __user *new_params) in mgsl_set_params()
2472 MGSL_PARAMS tmp_params; in mgsl_set_params()
2478 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in mgsl_set_params()
2488 memcpy(&info->params,&tmp_params,sizeof(MGSL_PARAMS)); in mgsl_set_params()
[all …]
H A Dsynclink_gt.c268 MGSL_PARAMS params; /* communications parameters */
330 static MGSL_PARAMS default_params = {
455 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *params);
456 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *params);
2535 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params()
2538 if (copy_to_user(user_params, &info->params, sizeof(MGSL_PARAMS))) in get_params()
2543 static int set_params(struct slgt_info *info, MGSL_PARAMS __user *new_params) in set_params()
2546 MGSL_PARAMS tmp_params; in set_params()
2549 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params()
2556 memcpy(&info->params, &tmp_params, sizeof(MGSL_PARAMS)); in set_params()
[all …]
H A 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);
2843 static int get_params(SLMP_INFO * info, MGSL_PARAMS __user *user_params) in get_params()
2851 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()
2863 static int set_params(SLMP_INFO * info, MGSL_PARAMS __user *new_params) in set_params()
2866 MGSL_PARAMS tmp_params; in set_params()
2872 COPY_FROM_USER(err,&tmp_params, new_params, sizeof(MGSL_PARAMS)); in set_params()
2882 memcpy(&info->params,&tmp_params,sizeof(MGSL_PARAMS)); in set_params()
[all …]