Lines Matching refs:tmp_params

1067 	struct MGSL_PARAMS32 tmp_params;  in get_params32()  local
1070 memset(&tmp_params, 0, sizeof(tmp_params)); in get_params32()
1071 tmp_params.mode = (compat_ulong_t)info->params.mode; in get_params32()
1072 tmp_params.loopback = info->params.loopback; in get_params32()
1073 tmp_params.flags = info->params.flags; in get_params32()
1074 tmp_params.encoding = info->params.encoding; in get_params32()
1075 tmp_params.clock_speed = (compat_ulong_t)info->params.clock_speed; in get_params32()
1076 tmp_params.addr_filter = info->params.addr_filter; in get_params32()
1077 tmp_params.crc_type = info->params.crc_type; in get_params32()
1078 tmp_params.preamble_length = info->params.preamble_length; in get_params32()
1079 tmp_params.preamble = info->params.preamble; in get_params32()
1080 tmp_params.data_rate = (compat_ulong_t)info->params.data_rate; in get_params32()
1081 tmp_params.data_bits = info->params.data_bits; in get_params32()
1082 tmp_params.stop_bits = info->params.stop_bits; in get_params32()
1083 tmp_params.parity = info->params.parity; in get_params32()
1084 if (copy_to_user(user_params, &tmp_params, sizeof(struct MGSL_PARAMS32))) in get_params32()
1091 struct MGSL_PARAMS32 tmp_params; in set_params32() local
1094 if (copy_from_user(&tmp_params, new_params, sizeof(struct MGSL_PARAMS32))) in set_params32()
1098 if (tmp_params.mode == MGSL_MODE_BASE_CLOCK) { in set_params32()
1099 info->base_clock = tmp_params.clock_speed; in set_params32()
1101 info->params.mode = tmp_params.mode; in set_params32()
1102 info->params.loopback = tmp_params.loopback; in set_params32()
1103 info->params.flags = tmp_params.flags; in set_params32()
1104 info->params.encoding = tmp_params.encoding; in set_params32()
1105 info->params.clock_speed = tmp_params.clock_speed; in set_params32()
1106 info->params.addr_filter = tmp_params.addr_filter; in set_params32()
1107 info->params.crc_type = tmp_params.crc_type; in set_params32()
1108 info->params.preamble_length = tmp_params.preamble_length; in set_params32()
1109 info->params.preamble = tmp_params.preamble; in set_params32()
1110 info->params.data_rate = tmp_params.data_rate; in set_params32()
1111 info->params.data_bits = tmp_params.data_bits; in set_params32()
1112 info->params.stop_bits = tmp_params.stop_bits; in set_params32()
1113 info->params.parity = tmp_params.parity; in set_params32()
2530 MGSL_PARAMS tmp_params; in set_params() local
2533 if (copy_from_user(&tmp_params, new_params, sizeof(MGSL_PARAMS))) in set_params()
2537 if (tmp_params.mode == MGSL_MODE_BASE_CLOCK) in set_params()
2538 info->base_clock = tmp_params.clock_speed; in set_params()
2540 memcpy(&info->params, &tmp_params, sizeof(MGSL_PARAMS)); in set_params()