/drivers/media/cec/core/ |
D | cec-api.c | 76 struct cec_caps __user *parg) in cec_adap_g_caps() argument 86 if (copy_to_user(parg, &caps, sizeof(caps))) in cec_adap_g_caps() 92 __u16 __user *parg) in cec_adap_g_phys_addr() argument 99 if (copy_to_user(parg, &phys_addr, sizeof(phys_addr))) in cec_adap_g_phys_addr() 122 bool block, __u16 __user *parg) in cec_adap_s_phys_addr() argument 129 if (copy_from_user(&phys_addr, parg, sizeof(phys_addr))) in cec_adap_s_phys_addr() 145 struct cec_log_addrs __user *parg) in cec_adap_g_log_addrs() argument 162 if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) in cec_adap_g_log_addrs() 168 bool block, struct cec_log_addrs __user *parg) in cec_adap_s_log_addrs() argument 175 if (copy_from_user(&log_addrs, parg, sizeof(log_addrs))) in cec_adap_s_log_addrs() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 934 int v4l2_compat_get_user(void __user *arg, void *parg, unsigned int cmd) in v4l2_compat_get_user() argument 940 return get_v4l2_format32(parg, arg); in v4l2_compat_get_user() 943 return get_v4l2_framebuffer32(parg, arg); in v4l2_compat_get_user() 949 return get_v4l2_buffer32_time32(parg, arg); in v4l2_compat_get_user() 955 return get_v4l2_buffer32(parg, arg); in v4l2_compat_get_user() 960 return get_v4l2_ext_controls32(parg, arg); in v4l2_compat_get_user() 963 return get_v4l2_create32(parg, arg); in v4l2_compat_get_user() 966 return get_v4l2_standard32(parg, arg); in v4l2_compat_get_user() 969 return get_v4l2_input32(parg, arg); in v4l2_compat_get_user() 973 return get_v4l2_edid32(parg, arg); in v4l2_compat_get_user() [all …]
|
D | v4l2-ioctl.c | 3012 static int check_array_args(unsigned int cmd, void *parg, size_t *array_size, in check_array_args() argument 3022 struct v4l2_buffer *buf = parg; in check_array_args() 3039 struct v4l2_edid *edid = parg; in check_array_args() 3057 struct v4l2_ext_controls *ctrls = parg; in check_array_args() 3075 struct v4l2_format *fmt = parg; in check_array_args() 3120 static int video_get_user(void __user *arg, void *parg, in video_get_user() argument 3129 memset(parg, 0, n); in video_get_user() 3149 if (copy_from_user(parg, (void __user *)arg, n)) in video_get_user() 3152 memset(parg, 0, n); in video_get_user() 3153 err = v4l2_compat_get_user(arg, parg, cmd); in video_get_user() [all …]
|
/drivers/media/dvb-core/ |
D | dmxdev.c | 1040 unsigned int cmd, void *parg) in dvb_demux_do_ioctl() argument 1044 unsigned long arg = (unsigned long)parg; in dvb_demux_do_ioctl() 1077 ret = dvb_dmxdev_filter_set(dmxdev, dmxdevfilter, parg); in dvb_demux_do_ioctl() 1086 ret = dvb_dmxdev_pes_filter_set(dmxdev, dmxdevfilter, parg); in dvb_demux_do_ioctl() 1104 dmxdev->demux->get_pes_pids(dmxdev->demux, parg); in dvb_demux_do_ioctl() 1113 ((struct dmx_stc *)parg)->num, in dvb_demux_do_ioctl() 1114 &((struct dmx_stc *)parg)->stc, in dvb_demux_do_ioctl() 1115 &((struct dmx_stc *)parg)->base); in dvb_demux_do_ioctl() 1123 ret = dvb_dmxdev_add_pid(dmxdev, dmxdevfilter, *(u16 *)parg); in dvb_demux_do_ioctl() 1132 ret = dvb_dmxdev_remove_pid(dmxdev, dmxdevfilter, *(u16 *)parg); in dvb_demux_do_ioctl() [all …]
|
D | dvb_frontend.c | 1340 unsigned int cmd, void *parg); 2060 void *parg) in dvb_frontend_do_ioctl() argument 2097 err = dvb_frontend_handle_ioctl(file, cmd, parg); in dvb_frontend_do_ioctl() 2422 unsigned int cmd, void *parg) in dvb_frontend_handle_ioctl() argument 2434 struct dtv_properties *tvps = parg; in dvb_frontend_handle_ioctl() 2467 err = dvb_get_property(fe, file, parg); in dvb_frontend_handle_ioctl() 2471 struct dvb_frontend_info *info = parg; in dvb_frontend_handle_ioctl() 2525 enum fe_status *status = parg; in dvb_frontend_handle_ioctl() 2551 struct dvb_diseqc_master_cmd *cmd = parg; in dvb_frontend_handle_ioctl() 2566 (enum fe_sec_mini_cmd)parg); in dvb_frontend_handle_ioctl() [all …]
|
D | dvbdev.c | 974 void *parg = NULL; in dvb_usercopy() local 984 parg = (void *) arg; in dvb_usercopy() 990 parg = sbuf; in dvb_usercopy() 996 parg = mbuf; in dvb_usercopy() 1000 if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd))) in dvb_usercopy() 1006 if ((err = func(file, cmd, parg)) == -ENOIOCTLCMD) in dvb_usercopy() 1017 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) in dvb_usercopy()
|
D | dvb_net.c | 1424 unsigned int cmd, void *parg) argument 1439 struct dvb_net_if *dvbnetif = parg; 1465 struct dvb_net_if *dvbnetif = parg; 1492 if ((unsigned long) parg >= DVB_NET_DEVICES_MAX) { 1496 ret = dvb_net_remove_if(dvbnet, (unsigned long) parg); 1505 struct __dvb_net_if_old *dvbnetif = parg; 1531 struct __dvb_net_if_old *dvbnetif = parg;
|
D | dvb_ca_en50221.c | 1347 unsigned int cmd, void *parg) in dvb_ca_en50221_io_do_ioctl() argument 1379 struct ca_caps *caps = parg; in dvb_ca_en50221_io_do_ioctl() 1389 struct ca_slot_info *info = parg; in dvb_ca_en50221_io_do_ioctl()
|
/drivers/staging/media/av7110/ |
D | av7110_ca.c | 234 static int dvb_ca_ioctl(struct file *file, unsigned int cmd, void *parg) in dvb_ca_ioctl() argument 238 unsigned long arg = (unsigned long) parg; in dvb_ca_ioctl() 260 memcpy(parg, &cap, sizeof(cap)); in dvb_ca_ioctl() 266 struct ca_slot_info *info=(struct ca_slot_info *)parg; in dvb_ca_ioctl() 291 memcpy(parg, &info, sizeof (info)); in dvb_ca_ioctl() 297 struct ca_descr *descr = (struct ca_descr*) parg; in dvb_ca_ioctl()
|
D | av7110_av.c | 1122 unsigned int cmd, void *parg) in dvb_video_ioctl() argument 1126 unsigned long arg = (unsigned long) parg; in dvb_video_ioctl() 1206 memcpy(parg, &av7110->videostate, sizeof(struct video_status)); in dvb_video_ioctl() 1211 ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1216 ret = dvb_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1220 memcpy(parg, &av7110->video_size, sizeof(video_size_t)); in dvb_video_ioctl() 1261 (struct compat_video_still_picture *) parg; in dvb_video_ioctl() 1273 (struct video_still_picture *) parg; in dvb_video_ioctl() 1314 *(int *)parg = VIDEO_CAP_MPEG1 | VIDEO_CAP_MPEG2 | in dvb_video_ioctl() 1353 unsigned int cmd, void *parg) in dvb_audio_ioctl() argument [all …]
|
D | av7110.c | 680 unsigned int cmd, void *parg) in dvb_osd_ioctl() argument 688 return av7110_osd_cmd(av7110, (osd_cmd_t *) parg); in dvb_osd_ioctl() 690 return av7110_osd_capability(av7110, (osd_cap_t *) parg); in dvb_osd_ioctl()
|
/drivers/tee/optee/ |
D | core.c | 274 phys_addr_t parg; in optee_release() local 292 if (tee_shm_va2pa(shm, arg, &parg)) in optee_release() 303 optee_do_call_with_arg(ctx, parg); in optee_release()
|
D | optee_private.h | 153 u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg);
|
D | call.c | 128 u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg) in optee_do_call_with_arg() argument 137 reg_pair_from_64(¶m.a1, ¶m.a2, parg); in optee_do_call_with_arg()
|