Home
last modified time | relevance | path

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

12

/openbmc/linux/net/9p/
H A Dprotocol.c106 if (c->proto_version == p9_proto_legacy) { in p9_msg_buf_size()
364 p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
418 proto_version, in p9pdu_vreadf()
467 proto_version, in p9pdu_vreadf()
487 p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
509 if ((proto_version != p9_proto_2000u) && in p9pdu_vreadf()
510 (proto_version != p9_proto_2000L)) in p9pdu_vreadf()
597 p9pdu_writef(pdu, proto_version, in p9pdu_vwritef()
630 proto_version, in p9pdu_vwritef()
652 proto_version, in p9pdu_vwritef()
[all …]
H A Dclient.c75 switch (clnt->proto_version) { in p9_show_client_options()
143 clnt->proto_version = p9_proto_2000L; in parse_opts()
196 clnt->proto_version = p9_proto_legacy; in parse_opts()
210 clnt->proto_version = r; in parse_opts()
917 c->msize, c->proto_version); in p9_client_version()
919 switch (c->proto_version) { in p9_client_version()
948 c->proto_version = p9_proto_2000L; in p9_client_version()
950 c->proto_version = p9_proto_2000u; in p9_client_version()
952 c->proto_version = p9_proto_legacy; in p9_client_version()
1807 if (proto_version == p9_proto_2000u || in p9_client_statsize()
[all …]
H A Dprotocol.h13 int p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,
15 int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
/openbmc/qemu/hw/9pfs/
H A D9p.h199 P9ProtoVersion proto_version; member
208 if (dir->proto_version == V9FS_PROTO_2000U) { in v9fs_readdir_lock()
217 if (dir->proto_version == V9FS_PROTO_2000U) { in v9fs_readdir_unlock()
224 static inline void v9fs_readdir_init(P9ProtoVersion proto_version, V9fsDir *dir) in v9fs_readdir_init() argument
226 dir->proto_version = proto_version; in v9fs_readdir_init()
227 if (proto_version == V9FS_PROTO_2000U) { in v9fs_readdir_init()
346 P9ProtoVersion proto_version; member
H A D9p.c335 v9fs_readdir_init(s->proto_version, &f->fs.dir); in alloc_fid()
336 v9fs_readdir_init(s->proto_version, &f->fs_reclaim.dir); in alloc_fid()
1055 if (s->proto_version != V9FS_PROTO_2000L) { in pdu_complete()
1077 if (s->proto_version == V9FS_PROTO_2000L) { in pdu_complete()
1411 s->proto_version = V9FS_PROTO_2000U; in v9fs_version()
1413 s->proto_version = V9FS_PROTO_2000L; in v9fs_version()
1984 if (s->proto_version == V9FS_PROTO_2000L) { in v9fs_open()
2026 if (s->proto_version == V9FS_PROTO_2000L) { in v9fs_open()
2366 if (s->proto_version != V9FS_PROTO_2000U) { in v9fs_read()
2599 if (s->proto_version != V9FS_PROTO_2000L) { in v9fs_readdir()
/openbmc/linux/net/hsr/
H A Dhsr_netlink.c35 enum hsr_version proto_version; in hsr_newlink() local
84 proto_version = HSR_V0; in hsr_newlink()
91 proto_version = nla_get_u8(data[IFLA_HSR_VERSION]); in hsr_newlink()
92 if (proto_version > HSR_V1) { in hsr_newlink()
100 proto_version = PRP_V1; in hsr_newlink()
102 return hsr_dev_finalize(dev, link, multicast_spec, proto_version, extack); in hsr_newlink()
H A Dhsr_forward.c251 struct hsr_port *port, u8 proto_version) in hsr_fill_tag() argument
270 hsr_ethhdr->ethhdr.h_proto = htons(proto_version ? in hsr_fill_tag()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_proto.c115 if (ec_dev->proto_version > 2) in cros_ec_xfer_command()
204 if (ec_dev->proto_version > 2) in cros_ec_prepare_tx()
297 ec_dev->proto_version = 3; in cros_ec_get_proto_info()
345 ec_dev->proto_version = min(EC_HOST_REQUEST_VERSION, in cros_ec_get_proto_info()
350 dev_dbg(ec_dev->dev, "using proto v%u\n", ec_dev->proto_version); in cros_ec_get_proto_info()
376 ec_dev->proto_version = 2; in cros_ec_get_proto_info_legacy()
515 ec_dev->proto_version = EC_PROTO_VERSION_UNKNOWN; in cros_ec_query_all()
612 if (ec_dev->proto_version == EC_PROTO_VERSION_UNKNOWN) { in cros_ec_cmd_xfer()
H A Dcros_ec_proto_test.c34 ec_dev->proto_version = 2; in cros_ec_proto_test_prepare_tx_legacy_normal()
76 ec_dev->proto_version = 2; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize()
274 KUNIT_EXPECT_EQ(test, ec_dev->proto_version, 3); in cros_ec_proto_test_query_all_normal()
532 KUNIT_EXPECT_EQ(test, ec_dev->proto_version, 2); in cros_ec_proto_test_query_all_legacy_normal_v3_return_error()
597 KUNIT_EXPECT_EQ(test, ec_dev->proto_version, 2); in cros_ec_proto_test_query_all_legacy_normal_v3_return0()
629 KUNIT_EXPECT_EQ(test, ec_dev->proto_version, EC_PROTO_VERSION_UNKNOWN); in cros_ec_proto_test_query_all_legacy_xfer_error()
1694 ec_dev->proto_version = 3; in cros_ec_proto_test_cmd_xfer_protocol_v3_normal()
1714 ec_dev->proto_version = 3; in cros_ec_proto_test_cmd_xfer_protocol_v3_no_op()
1731 ec_dev->proto_version = 2; in cros_ec_proto_test_cmd_xfer_protocol_v2_normal()
1751 ec_dev->proto_version = 2; in cros_ec_proto_test_cmd_xfer_protocol_v2_no_op()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/
H A Dclient.py46 proto_version, argument
55 self.proto_version = proto_version
97 await self.socket.send("%s %s" % (self.proto_name, self.proto_version))
H A Dserv.py64 self.proto_version = tuple(int(v) for v in client_proto_version.split("."))
/openbmc/linux/drivers/thunderbolt/
H A Dicm.c102 u8 proto_version; member
112 u8 *proto_version, size_t *nboot_acl, bool *rpm);
456 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_fr_driver_ready() argument
1013 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_tr_driver_ready() argument
1029 if (proto_version) in icm_tr_driver_ready()
1489 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_ar_driver_ready() argument
1633 if (proto_version) in icm_icl_driver_ready()
1756 u8 *proto_version, size_t *nboot_acl, bool *rpm) in __icm_driver_ready() argument
1985 if (icm->proto_version >= 3) in icm_driver_ready()
2273 if (icm->proto_version < 3) in icm_usb4_switch_op()
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dalps.c257 if (priv->proto_version == ALPS_PROTO_V1) { in alps_process_packet_v1_v2()
462 if (priv->proto_version == ALPS_PROTO_V5) { in alps_process_bitmap()
468 if (priv->proto_version == ALPS_PROTO_V3 || in alps_process_bitmap()
469 priv->proto_version == ALPS_PROTO_V4) { in alps_process_bitmap()
1474 if (priv->proto_version == ALPS_PROTO_V2 && in alps_report_bare_ps2_packet()
1617 if (priv->proto_version != ALPS_PROTO_V8 && in alps_process_byte()
1644 if (priv->proto_version < ALPS_PROTO_V5 && in alps_process_byte()
2730 priv->proto_version = protocol->version; in alps_set_protocol()
2740 switch (priv->proto_version) { in alps_set_protocol()
3115 dev2->id.version = priv->proto_version; in alps_init()
[all …]
H A Dalps.h297 u16 proto_version; member
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_fwd.h105 filter->u.usnic.proto_version = (USNIC_ROCE_GRH_VER << in usnic_fwd_init_usnic_filter()
/openbmc/linux/drivers/media/rc/
H A Dir_toy.c76 uint proto_version; member
117 irtoy->proto_version = version; in irtoy_response()
472 irtoy->sw_version % 10, irtoy->proto_version); in irtoy_probe()
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_proto.h169 u16 proto_version; member
/openbmc/linux/include/uapi/linux/
H A Dauto_fs.h46 int proto_version; /* Protocol version */ member
/openbmc/linux/include/net/9p/
H A Dclient.h105 unsigned char proto_version; member
/openbmc/linux/net/l2tp/
H A Dl2tp_netlink.c188 int proto_version; in l2tp_nl_cmd_tunnel_create() local
212 proto_version = nla_get_u8(attrs[L2TP_ATTR_PROTO_VERSION]); in l2tp_nl_cmd_tunnel_create()
236 ret = l2tp_tunnel_create(fd, proto_version, tunnel_id, in l2tp_nl_cmd_tunnel_create()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_devcmd.h565 u8 proto_version; member
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dserver.py293 return self.proto_version > (1, 0) and self.proto_version <= (1, 1)
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dserv.py38 return (self.proto_version == (1, 0))
/openbmc/linux/fs/autofs/
H A Dwaitq.c98 pkt.hdr.proto_version = sbi->version; in autofs_notify_daemon()
H A Dexpire.c548 pkt.hdr.proto_version = sbi->version; in autofs_expire_run()

12