/drivers/media/cec/ |
D | cec-api.c | 88 struct cec_caps __user *parg) in cec_adap_g_caps() argument 98 if (copy_to_user(parg, &caps, sizeof(caps))) in cec_adap_g_caps() 104 __u16 __user *parg) in cec_adap_g_phys_addr() argument 111 if (copy_to_user(parg, &phys_addr, sizeof(phys_addr))) in cec_adap_g_phys_addr() 134 bool block, __u16 __user *parg) in cec_adap_s_phys_addr() argument 141 if (copy_from_user(&phys_addr, parg, sizeof(phys_addr))) in cec_adap_s_phys_addr() 157 struct cec_log_addrs __user *parg) in cec_adap_g_log_addrs() argument 168 if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) in cec_adap_g_log_addrs() 174 bool block, struct cec_log_addrs __user *parg) in cec_adap_s_log_addrs() argument 181 if (copy_from_user(&log_addrs, parg, sizeof(log_addrs))) in cec_adap_s_log_addrs() [all …]
|
/drivers/media/pci/ttpci/ |
D | av7110_ca.c | 248 static int dvb_ca_ioctl(struct file *file, unsigned int cmd, void *parg) in dvb_ca_ioctl() argument 252 unsigned long arg = (unsigned long) parg; in dvb_ca_ioctl() 274 memcpy(parg, &cap, sizeof(cap)); in dvb_ca_ioctl() 280 struct ca_slot_info *info=(struct ca_slot_info *)parg; in dvb_ca_ioctl() 305 memcpy(parg, &info, sizeof (info)); in dvb_ca_ioctl() 311 struct ca_descr *descr = (struct ca_descr*) parg; in dvb_ca_ioctl()
|
D | av7110_av.c | 1100 unsigned int cmd, void *parg) in dvb_video_ioctl() argument 1104 unsigned long arg = (unsigned long) parg; in dvb_video_ioctl() 1184 memcpy(parg, &av7110->videostate, sizeof(struct video_status)); in dvb_video_ioctl() 1188 ret = dvb_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1192 memcpy(parg, &av7110->video_size, sizeof(video_size_t)); in dvb_video_ioctl() 1232 (struct video_still_picture *) parg; in dvb_video_ioctl() 1273 *(int *)parg = VIDEO_CAP_MPEG1 | VIDEO_CAP_MPEG2 | in dvb_video_ioctl() 1312 unsigned int cmd, void *parg) in dvb_audio_ioctl() argument 1316 unsigned long arg = (unsigned long) parg; in dvb_audio_ioctl() 1420 memcpy(parg, &av7110->audiostate, sizeof(struct audio_status)); in dvb_audio_ioctl() [all …]
|
D | av7110.c | 694 unsigned int cmd, void *parg) in dvb_osd_ioctl() argument 702 return av7110_osd_cmd(av7110, (osd_cmd_t *) parg); in dvb_osd_ioctl() 704 return av7110_osd_capability(av7110, (osd_cap_t *) parg); in dvb_osd_ioctl()
|
/drivers/media/dvb-core/ |
D | dvb_frontend.c | 1324 unsigned int cmd, void *parg); 1326 unsigned int cmd, void *parg); 1951 unsigned int cmd, void *parg) in dvb_frontend_ioctl() argument 1976 err = dvb_frontend_ioctl_properties(file, cmd, parg); in dvb_frontend_ioctl() 1979 err = dvb_frontend_ioctl_legacy(file, cmd, parg); in dvb_frontend_ioctl() 1987 unsigned int cmd, void *parg) in dvb_frontend_ioctl_properties() argument 1995 struct dtv_properties *tvps = parg; in dvb_frontend_ioctl_properties() 2209 unsigned int cmd, void *parg) in dvb_frontend_ioctl_legacy() argument 2219 struct dvb_frontend_info* info = parg; in dvb_frontend_ioctl_legacy() 2265 enum fe_status *status = parg; in dvb_frontend_ioctl_legacy() [all …]
|
D | dmxdev.c | 961 unsigned int cmd, void *parg) in dvb_demux_do_ioctl() argument 965 unsigned long arg = (unsigned long)parg; in dvb_demux_do_ioctl() 998 ret = dvb_dmxdev_filter_set(dmxdev, dmxdevfilter, parg); in dvb_demux_do_ioctl() 1007 ret = dvb_dmxdev_pes_filter_set(dmxdev, dmxdevfilter, parg); in dvb_demux_do_ioctl() 1025 dmxdev->demux->get_pes_pids(dmxdev->demux, parg); in dvb_demux_do_ioctl() 1034 ((struct dmx_stc *)parg)->num, in dvb_demux_do_ioctl() 1035 &((struct dmx_stc *)parg)->stc, in dvb_demux_do_ioctl() 1036 &((struct dmx_stc *)parg)->base); in dvb_demux_do_ioctl() 1044 ret = dvb_dmxdev_add_pid(dmxdev, dmxdevfilter, *(u16 *)parg); in dvb_demux_do_ioctl() 1053 ret = dvb_dmxdev_remove_pid(dmxdev, dmxdevfilter, *(u16 *)parg); in dvb_demux_do_ioctl() [all …]
|
D | dvbdev.c | 871 void *parg = NULL; in dvb_usercopy() local 881 parg = (void *) arg; in dvb_usercopy() 887 parg = sbuf; in dvb_usercopy() 893 parg = mbuf; in dvb_usercopy() 897 if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd))) in dvb_usercopy() 903 if ((err = func(file, cmd, parg)) == -ENOIOCTLCMD) in dvb_usercopy() 914 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) in dvb_usercopy()
|
D | dvb_net.c | 1442 unsigned int cmd, void *parg) argument 1457 struct dvb_net_if *dvbnetif = parg; 1483 struct dvb_net_if *dvbnetif = parg; 1504 if ((unsigned long) parg >= DVB_NET_DEVICES_MAX) { 1508 ret = dvb_net_remove_if(dvbnet, (unsigned long) parg); 1517 struct __dvb_net_if_old *dvbnetif = parg; 1543 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/media/v4l2-core/ |
D | v4l2-ioctl.c | 2788 static int check_array_args(unsigned int cmd, void *parg, size_t *array_size, in check_array_args() argument 2798 struct v4l2_buffer *buf = parg; in check_array_args() 2815 struct v4l2_edid *edid = parg; in check_array_args() 2833 struct v4l2_ext_controls *ctrls = parg; in check_array_args() 2859 void *parg = (void *)arg; in video_usercopy() local 2870 parg = sbuf; in video_usercopy() 2876 parg = mbuf; in video_usercopy() 2898 if (copy_from_user(parg, (void __user *)arg, n)) in video_usercopy() 2903 memset((u8 *)parg + n, 0, _IOC_SIZE(cmd) - n); in video_usercopy() 2906 memset(parg, 0, _IOC_SIZE(cmd)); in video_usercopy() [all …]
|
/drivers/tee/optee/ |
D | core.c | 216 phys_addr_t parg; in optee_release() local 233 if (tee_shm_va2pa(shm, arg, &parg)) in optee_release() 244 optee_do_call_with_arg(ctx, parg); in optee_release()
|
D | call.c | 133 u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg) in optee_do_call_with_arg() argument 141 reg_pair_from_64(¶m.a1, ¶m.a2, parg); in optee_do_call_with_arg()
|
D | optee_private.h | 151 u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg);
|