Lines Matching refs:tvps

2151 		struct compat_dtv_properties prop, *tvps = NULL;  in dvb_frontend_handle_compat_ioctl()  local
2157 tvps = ∝ in dvb_frontend_handle_compat_ioctl()
2163 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_compat_ioctl()
2166 tvp = memdup_array_user(compat_ptr(tvps->props), in dvb_frontend_handle_compat_ioctl()
2167 tvps->num, sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2171 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_compat_ioctl()
2182 struct compat_dtv_properties prop, *tvps = NULL; in dvb_frontend_handle_compat_ioctl() local
2189 tvps = &prop; in dvb_frontend_handle_compat_ioctl()
2195 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_compat_ioctl()
2198 tvp = memdup_array_user(compat_ptr(tvps->props), in dvb_frontend_handle_compat_ioctl()
2199 tvps->num, sizeof(*tvp)); in dvb_frontend_handle_compat_ioctl()
2216 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_compat_ioctl()
2225 if (copy_to_user((void __user *)compat_ptr(tvps->props), tvp, in dvb_frontend_handle_compat_ioctl()
2226 tvps->num * sizeof(struct compat_dtv_property))) { in dvb_frontend_handle_compat_ioctl()
2358 struct dtv_properties *tvps) in dvb_get_property() argument
2368 __func__, tvps->num); in dvb_get_property()
2370 __func__, tvps->props); in dvb_get_property()
2376 if (!tvps->num || tvps->num > DTV_IOCTL_MAX_MSGS) in dvb_get_property()
2379 tvp = memdup_array_user((void __user *)tvps->props, in dvb_get_property()
2380 tvps->num, sizeof(*tvp)); in dvb_get_property()
2395 for (i = 0; i < tvps->num; i++) { in dvb_get_property()
2402 if (copy_to_user((void __user *)tvps->props, tvp, in dvb_get_property()
2403 tvps->num * sizeof(struct dtv_property))) { in dvb_get_property()
2443 struct dtv_properties *tvps = parg; in dvb_frontend_handle_ioctl() local
2447 __func__, tvps->num); in dvb_frontend_handle_ioctl()
2449 __func__, tvps->props); in dvb_frontend_handle_ioctl()
2455 if (!tvps->num || (tvps->num > DTV_IOCTL_MAX_MSGS)) in dvb_frontend_handle_ioctl()
2458 tvp = memdup_array_user((void __user *)tvps->props, in dvb_frontend_handle_ioctl()
2459 tvps->num, sizeof(*tvp)); in dvb_frontend_handle_ioctl()
2463 for (i = 0; i < tvps->num; i++) { in dvb_frontend_handle_ioctl()