Home
last modified time | relevance | path

Searched refs:user_params (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/block/
H A Dfloppy.c489 static struct floppy_struct user_params[N_DRIVE]; variable
3364 user_params[drive] = *g; in set_geometry()
3366 SUPBOUND(buffer_max, user_params[drive].sect); in set_geometry()
3367 current_type[drive] = &user_params[drive]; in set_geometry()
3368 floppy_sizes[drive] = user_params[drive].size; in set_geometry()
3378 if (drive_state[current_drive].maxblock > user_params[drive].sect || in set_geometry()
3380 ((user_params[drive].sect ^ oldStretch) & in set_geometry()
H A Dataflop.c277 static struct atari_disk_type user_params[FD_MAX_UNITS]; variable
1684 dtp = &user_params[drive]; in fd_locked_ioctl()
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dsynclink_gt.c1072 static long get_params32(struct slgt_info *info, struct MGSL_PARAMS32 __user *user_params) in get_params32() argument
1091 if (copy_to_user(user_params, &tmp_params, sizeof(struct MGSL_PARAMS32))) in get_params32()
2535 static int get_params(struct slgt_info *info, MGSL_PARAMS __user *user_params) in get_params() argument
2538 if (copy_to_user(user_params, &info->params, sizeof(MGSL_PARAMS))) in get_params()
H A Dsynclink.c825 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params);
2437 static int mgsl_get_params(struct mgsl_struct * info, MGSL_PARAMS __user *user_params) in mgsl_get_params() argument
2445 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in mgsl_get_params()
H A Dsynclinkmp.c2843 static int get_params(SLMP_INFO * info, MGSL_PARAMS __user *user_params) in get_params() argument
2851 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()
/OK3568_Linux_fs/kernel/drivers/char/pcmcia/
H A Dsynclink_cs.c423 static int get_params(MGSLPC_INFO *info, MGSL_PARAMS __user *user_params);
1785 static int get_params(MGSLPC_INFO * info, MGSL_PARAMS __user *user_params) in get_params() argument
1790 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()