Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dmax96714.c445 struct rkmodule_vicap_reset_info *vicap_rst_inf; in max96714_compat_ioctl32() local
481 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in max96714_compat_ioctl32()
482 if (!vicap_rst_inf) { in max96714_compat_ioctl32()
487 ret = max96714_ioctl(sd, cmd, vicap_rst_inf); in max96714_compat_ioctl32()
489 ret = copy_to_user(up, vicap_rst_inf, sizeof(*vicap_rst_inf)); in max96714_compat_ioctl32()
493 kfree(vicap_rst_inf); in max96714_compat_ioctl32()
496 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in max96714_compat_ioctl32()
497 if (!vicap_rst_inf) { in max96714_compat_ioctl32()
502 ret = copy_from_user(vicap_rst_inf, up, sizeof(*vicap_rst_inf)); in max96714_compat_ioctl32()
504 ret = max96714_ioctl(sd, cmd, vicap_rst_inf); in max96714_compat_ioctl32()
[all …]
H A Dthcv244.c644 struct rkmodule_vicap_reset_info *vicap_rst_inf; in thcv244_compat_ioctl32() local
679 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in thcv244_compat_ioctl32()
680 if (!vicap_rst_inf) { in thcv244_compat_ioctl32()
685 ret = thcv244_ioctl(sd, cmd, vicap_rst_inf); in thcv244_compat_ioctl32()
687 ret = copy_to_user(up, vicap_rst_inf, sizeof(*vicap_rst_inf)); in thcv244_compat_ioctl32()
691 kfree(vicap_rst_inf); in thcv244_compat_ioctl32()
694 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in thcv244_compat_ioctl32()
695 if (!vicap_rst_inf) { in thcv244_compat_ioctl32()
700 ret = copy_from_user(vicap_rst_inf, up, sizeof(*vicap_rst_inf)); in thcv244_compat_ioctl32()
702 ret = thcv244_ioctl(sd, cmd, vicap_rst_inf); in thcv244_compat_ioctl32()
[all …]
H A Dmax96712.c1277 struct rkmodule_vicap_reset_info *vicap_rst_inf; in max96712_compat_ioctl32() local
1314 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in max96712_compat_ioctl32()
1315 if (!vicap_rst_inf) { in max96712_compat_ioctl32()
1320 ret = max96712_ioctl(sd, cmd, vicap_rst_inf); in max96712_compat_ioctl32()
1322 ret = copy_to_user(up, vicap_rst_inf, in max96712_compat_ioctl32()
1323 sizeof(*vicap_rst_inf)); in max96712_compat_ioctl32()
1327 kfree(vicap_rst_inf); in max96712_compat_ioctl32()
1330 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in max96712_compat_ioctl32()
1331 if (!vicap_rst_inf) { in max96712_compat_ioctl32()
1336 ret = copy_from_user(vicap_rst_inf, up, sizeof(*vicap_rst_inf)); in max96712_compat_ioctl32()
[all …]
H A Dmax96722.c1288 struct rkmodule_vicap_reset_info *vicap_rst_inf; in max96722_compat_ioctl32() local
1325 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in max96722_compat_ioctl32()
1326 if (!vicap_rst_inf) { in max96722_compat_ioctl32()
1331 ret = max96722_ioctl(sd, cmd, vicap_rst_inf); in max96722_compat_ioctl32()
1333 ret = copy_to_user(up, vicap_rst_inf, in max96722_compat_ioctl32()
1334 sizeof(*vicap_rst_inf)); in max96722_compat_ioctl32()
1338 kfree(vicap_rst_inf); in max96722_compat_ioctl32()
1341 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in max96722_compat_ioctl32()
1342 if (!vicap_rst_inf) { in max96722_compat_ioctl32()
1347 ret = copy_from_user(vicap_rst_inf, up, sizeof(*vicap_rst_inf)); in max96722_compat_ioctl32()
[all …]
H A Dnvp6188.c1299 struct rkmodule_vicap_reset_info *vicap_rst_inf; in nvp6188_compat_ioctl32() local
1364 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in nvp6188_compat_ioctl32()
1365 if (!vicap_rst_inf) { in nvp6188_compat_ioctl32()
1370 ret = nvp6188_ioctl(sd, cmd, vicap_rst_inf); in nvp6188_compat_ioctl32()
1372 ret = copy_to_user(up, vicap_rst_inf, sizeof(*vicap_rst_inf)); in nvp6188_compat_ioctl32()
1376 kfree(vicap_rst_inf); in nvp6188_compat_ioctl32()
1379 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in nvp6188_compat_ioctl32()
1380 if (!vicap_rst_inf) { in nvp6188_compat_ioctl32()
1385 ret = copy_from_user(vicap_rst_inf, up, sizeof(*vicap_rst_inf)); in nvp6188_compat_ioctl32()
1387 ret = nvp6188_ioctl(sd, cmd, vicap_rst_inf); in nvp6188_compat_ioctl32()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/techpoint/
H A Dtechpoint_v4l2.c632 struct rkmodule_vicap_reset_info *vicap_rst_inf; in techpoint_compat_ioctl32() local
713 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in techpoint_compat_ioctl32()
714 if (!vicap_rst_inf) { in techpoint_compat_ioctl32()
719 ret = techpoint_ioctl(sd, cmd, vicap_rst_inf); in techpoint_compat_ioctl32()
721 ret = copy_to_user(up, vicap_rst_inf, in techpoint_compat_ioctl32()
722 sizeof(*vicap_rst_inf)); in techpoint_compat_ioctl32()
726 kfree(vicap_rst_inf); in techpoint_compat_ioctl32()
729 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in techpoint_compat_ioctl32()
730 if (!vicap_rst_inf) { in techpoint_compat_ioctl32()
735 if (copy_from_user(vicap_rst_inf, up, sizeof(*vicap_rst_inf))) { in techpoint_compat_ioctl32()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/nvp6158_drv/
H A Dnvp6158_v4l2.c1042 struct rkmodule_vicap_reset_info *vicap_rst_inf; in nvp6158_compat_ioctl32() local
1105 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in nvp6158_compat_ioctl32()
1106 if (!vicap_rst_inf) { in nvp6158_compat_ioctl32()
1111 ret = nvp6158_ioctl(sd, cmd, vicap_rst_inf); in nvp6158_compat_ioctl32()
1113 ret = copy_to_user(up, vicap_rst_inf, sizeof(*vicap_rst_inf)); in nvp6158_compat_ioctl32()
1117 kfree(vicap_rst_inf); in nvp6158_compat_ioctl32()
1120 vicap_rst_inf = kzalloc(sizeof(*vicap_rst_inf), GFP_KERNEL); in nvp6158_compat_ioctl32()
1121 if (!vicap_rst_inf) { in nvp6158_compat_ioctl32()
1126 ret = copy_from_user(vicap_rst_inf, up, sizeof(*vicap_rst_inf)); in nvp6158_compat_ioctl32()
1128 ret = nvp6158_ioctl(sd, cmd, vicap_rst_inf); in nvp6158_compat_ioctl32()
[all …]