Home
last modified time | relevance | path

Searched refs:parg (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/drivers/media/cec/core/
H A Dcec-api.c76 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
122 bool block, __u16 __user *parg) in cec_adap_s_phys_addr() argument
145 struct cec_log_addrs __user *parg) in cec_adap_g_log_addrs() argument
359 u32 __user *parg) in cec_g_mode() argument
369 u32 __user *parg) in cec_s_mode() argument
509 void __user *parg = (void __user *)arg; in cec_ioctl() local
516 return cec_adap_g_caps(adap, parg); in cec_ioctl()
543 return cec_g_mode(adap, fh, parg); in cec_ioctl()
[all …]
/openbmc/qemu/chardev/
H A Dchar-parallel.c120 struct ParallelIOArg *parg = arg; in pp_ioctl() local
121 int n = read(fd, parg->buffer, parg->count); in pp_ioctl()
122 if (n != parg->count) { in pp_ioctl()
129 struct ParallelIOArg *parg = arg; in pp_ioctl() local
130 int n = read(fd, parg->buffer, parg->count); in pp_ioctl()
131 if (n != parg->count) { in pp_ioctl()
138 struct ParallelIOArg *parg = arg; in pp_ioctl() local
139 int n = write(fd, parg->buffer, parg->count); in pp_ioctl()
140 if (n != parg->count) { in pp_ioctl()
148 int n = write(fd, parg->buffer, parg->count); in pp_ioctl()
[all …]
/openbmc/linux/tools/net/ynl/generated/
H A Dethtool-user.c1102 parg.ys = yarg->ys; in ethtool_cable_nest_parse()
1162 parg.ys = yarg->ys; in ethtool_bitset_bits_parse()
1224 parg.ys = yarg->ys; in ethtool_strings_parse()
1284 parg.ys = yarg->ys; in ethtool_bitset_parse()
1348 parg.ys = yarg->ys; in ethtool_stringset_parse()
1408 parg.ys = yarg->ys; in ethtool_tunnel_udp_table_parse()
1484 parg.ys = yarg->ys; in ethtool_stringsets_parse()
1527 parg.ys = yarg->ys; in ethtool_tunnel_udp_parse()
1571 parg.ys = yarg->ys; in ethtool_strset_get_rsp_parse()
1707 parg.ys = yarg->ys; in ethtool_linkinfo_get_rsp_parse()
[all …]
H A Dhandshake-user.c163 struct ynl_parse_arg parg; in handshake_accept_rsp_parse() local
167 parg.ys = yarg->ys; in handshake_accept_rsp_parse()
219 parg.rsp_policy = &handshake_x509_nest; in handshake_accept_rsp_parse()
222 parg.data = &dst->certificate[i]; in handshake_accept_rsp_parse()
223 if (handshake_x509_parse(&parg, attr)) in handshake_accept_rsp_parse()
H A Ddevlink-user.c242 struct ynl_parse_arg parg; in devlink_dl_reload_act_stats_parse() local
245 parg.ys = yarg->ys; in devlink_dl_reload_act_stats_parse()
291 struct ynl_parse_arg parg; in devlink_dl_reload_act_info_parse() local
294 parg.ys = yarg->ys; in devlink_dl_reload_act_info_parse()
345 struct ynl_parse_arg parg; in devlink_dl_reload_stats_parse() local
348 parg.ys = yarg->ys; in devlink_dl_reload_stats_parse()
390 struct ynl_parse_arg parg; in devlink_dl_dev_stats_parse() local
392 parg.ys = yarg->ys; in devlink_dl_dev_stats_parse()
443 struct ynl_parse_arg parg; in devlink_get_rsp_parse() local
446 parg.ys = yarg->ys; in devlink_get_rsp_parse()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_probe.c1250 if (!parg->comm) in traceprobe_parse_probe_arg_body()
1273 if (kstrtouint(t2, 0, &parg->count) || !parg->count) { in traceprobe_parse_probe_arg_body()
1302 if (!parg->type) { in traceprobe_parse_probe_arg_body()
1330 *size += parg->type->size * (parg->count ?: 1); in traceprobe_parse_probe_arg_body()
1332 if (parg->count) { in traceprobe_parse_probe_arg_body()
1339 snprintf(parg->fmt, len, "%s[%d]", parg->type->fmttype, in traceprobe_parse_probe_arg_body()
1340 parg->count); in traceprobe_parse_probe_arg_body()
1444 if (!parg->code) in traceprobe_parse_probe_arg_body()
1529 if (!parg->name) in traceprobe_parse_probe_arg()
1843 if (parg->fmt) in traceprobe_define_arg_fields()
[all …]
/openbmc/u-boot/drivers/dfu/
H A Ddfu_ram.c59 const char **parg = argv; in dfu_fill_entity_ram() local
61 for (; parg < argv + sizeof(argv) / sizeof(*argv); ++parg) { in dfu_fill_entity_ram()
62 *parg = strsep(&s, " "); in dfu_fill_entity_ram()
63 if (*parg == NULL) { in dfu_fill_entity_ram()
H A Ddfu_mmc.c302 const char **parg = argv; in dfu_fill_entity_mmc() local
306 for (; parg < argv + sizeof(argv) / sizeof(*argv); ++parg) { in dfu_fill_entity_mmc()
307 *parg = strsep(&s, " "); in dfu_fill_entity_mmc()
308 if (*parg == NULL) { in dfu_fill_entity_mmc()
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-compat-ioctl32.c931 return get_v4l2_format32(parg, arg); in v4l2_compat_get_user()
946 return get_v4l2_buffer32(parg, arg); in v4l2_compat_get_user()
954 return get_v4l2_create32(parg, arg); in v4l2_compat_get_user()
960 return get_v4l2_input32(parg, arg); in v4l2_compat_get_user()
964 return get_v4l2_edid32(parg, arg); in v4l2_compat_get_user()
975 return put_v4l2_format32(parg, arg); in v4l2_compat_put_user()
990 return put_v4l2_buffer32(parg, arg); in v4l2_compat_put_user()
998 return put_v4l2_create32(parg, arg); in v4l2_compat_put_user()
1004 return put_v4l2_input32(parg, arg); in v4l2_compat_put_user()
1008 return put_v4l2_edid32(parg, arg); in v4l2_compat_put_user()
[all …]
H A Dv4l2-ioctl.c3112 struct v4l2_edid *edid = parg; in check_array_args()
3196 memset(parg, 0, n); in video_get_user()
3219 memset(parg, 0, n); in video_get_user()
3222 memset(parg, 0, n); in video_get_user()
3281 struct v4l2_event *ev = parg; in video_put_user()
3339 void *parg = (void *)arg; in video_usercopy() local
3352 parg = sbuf; in video_usercopy()
3358 parg = mbuf; in video_usercopy()
3380 orig_cmd, parg); in video_usercopy()
3390 err = func(file, cmd, parg); in video_usercopy()
[all …]
/openbmc/qemu/net/
H A Dtap.c411 char **parg; in launch_script() local
422 parg = args; in launch_script()
424 *parg++ = (char *)ifname; in launch_script()
425 *parg = NULL; in launch_script()
482 char **parg; in net_bridge_run_helper() local
522 parg = args; in net_bridge_run_helper()
526 *parg++ = NULL; in net_bridge_run_helper()
535 parg = args; in net_bridge_run_helper()
538 *parg++ = fd_buf; in net_bridge_run_helper()
539 *parg++ = br_buf; in net_bridge_run_helper()
[all …]
/openbmc/linux/drivers/media/dvb-core/
H A Ddmxdev.c1030 unsigned int cmd, void *parg) in dvb_demux_do_ioctl() argument
1034 unsigned long arg = (unsigned long)parg; in dvb_demux_do_ioctl()
1094 dmxdev->demux->get_pes_pids(dmxdev->demux, parg); in dvb_demux_do_ioctl()
1103 ((struct dmx_stc *)parg)->num, in dvb_demux_do_ioctl()
1104 &((struct dmx_stc *)parg)->stc, in dvb_demux_do_ioctl()
1105 &((struct dmx_stc *)parg)->base); in dvb_demux_do_ioctl()
1159 ret = dvb_vb2_qbuf(&dmxdevfilter->vb2_ctx, parg); in dvb_demux_do_ioctl()
1284 unsigned int cmd, void *parg) in dvb_dvr_do_ioctl() argument
1288 unsigned long arg = (unsigned long)parg; in dvb_dvr_do_ioctl()
1313 ret = dvb_vb2_qbuf(&dmxdev->dvr_vb2_ctx, parg); in dvb_dvr_do_ioctl()
[all …]
H A Ddvb_frontend.c1347 unsigned int cmd, void *parg);
2068 void *parg) in dvb_frontend_do_ioctl() argument
2436 unsigned int cmd, void *parg) in dvb_frontend_handle_ioctl() argument
2448 struct dtv_properties *tvps = parg; in dvb_frontend_handle_ioctl()
2540 enum fe_status *status = parg; in dvb_frontend_handle_ioctl()
2588 fepriv->tone = (long)parg; in dvb_frontend_handle_ioctl()
2597 fepriv->voltage = (long)parg; in dvb_frontend_handle_ioctl()
2623 (unsigned long)parg); in dvb_frontend_handle_ioctl()
2691 err = fe->ops.read_ber(fe, parg); in dvb_frontend_handle_ioctl()
2709 err = fe->ops.read_snr(fe, parg); in dvb_frontend_handle_ioctl()
[all …]
H A Ddvbdev.c974 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 err = func(file, cmd, parg); in dvb_usercopy()
1017 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) in dvb_usercopy()
H A Ddvb_net.c1424 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;
H A Ddvb_ca_en50221.c1347 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()
/openbmc/linux/drivers/staging/media/av7110/
H A Dav7110_ca.c234 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()
H A Dav7110_av.c1122 unsigned int cmd, void *parg) in dvb_video_ioctl() argument
1126 unsigned long arg = (unsigned long) parg; 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
1357 unsigned long arg = (unsigned long) parg; in dvb_audio_ioctl()
[all …]
H A Dav7110.c680 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()
/openbmc/openbmc/poky/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/
H A D0002-musl-does-not-provide-printf-h.patch302 + size_t parg = 0;
303 + fmt = consume_argn(fmt+1, &parg);
304 + if (parg == 0)
305 + parg = ++i;
306 + if (parg > last)
307 + last = parg;
308 + if (parg <= n && types[parg-1] == NONE)
309 + types[parg-1] = INT;
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0002-add-fallback-parse_printf_format-implementation.patch287 + size_t parg = 0;
288 + fmt = consume_argn(fmt+1, &parg);
289 + if (parg == 0)
290 + parg = ++i;
291 + if (parg > last)
292 + last = parg;
293 + if (parg <= n && types[parg-1] == NONE)
294 + types[parg-1] = INT;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0002-add-fallback-parse_printf_format-implementation.patch287 + size_t parg = 0;
288 + fmt = consume_argn(fmt+1, &parg);
289 + if (parg == 0)
290 + parg = ++i;
291 + if (parg > last)
292 + last = parg;
293 + if (parg <= n && types[parg-1] == NONE)
294 + types[parg-1] = INT;
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dscan_manager.c73 static void scan_mgr_jtag_io(const u32 flags, const u8 iarg, const u32 parg) in scan_mgr_jtag_io() argument
75 u32 data = parg; in scan_mgr_jtag_io()
/openbmc/linux/include/media/
H A Dv4l2-ioctl.h690 int v4l2_compat_get_user(void __user *arg, void *parg, unsigned int cmd);
691 int v4l2_compat_put_user(void __user *arg, void *parg, unsigned int cmd);
/openbmc/linux/drivers/tee/optee/
H A Dsmc_abi.c916 phys_addr_t parg; in optee_smc_do_call_with_arg() local
918 rc = tee_shm_get_pa(shm, offs, &parg); in optee_smc_do_call_with_arg()
926 reg_pair_from_64(&param.a1, &param.a2, parg); in optee_smc_do_call_with_arg()