Home
last modified time | relevance | path

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

/linux-6.6.21/net/9p/
Dprotocol.c53 c->proto_version == p9_proto_2000L ? rlerror_size : rerror_size; in p9_msg_buf_size()
106 if (c->proto_version == p9_proto_legacy) { in p9_msg_buf_size()
194 p9pdu_writef(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
258 p9pdu_vreadf(struct p9_fcall *pdu, int proto_version, const char *fmt, in p9pdu_vreadf() argument
308 errcode = p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
350 errcode = p9pdu_readf(pdu, proto_version, "bdq", in p9pdu_vreadf()
364 p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
384 p9pdu_readf(pdu, proto_version, "d", count); in p9pdu_vreadf()
399 errcode = p9pdu_readf(pdu, proto_version, in p9pdu_vreadf()
418 proto_version, in p9pdu_vreadf()
[all …]
Dclient.c59 return clnt->proto_version == p9_proto_2000L; in p9_is_proto_dotl()
65 return clnt->proto_version == p9_proto_2000u; in p9_is_proto_dotu()
75 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()
545 err = p9pdu_readf(&req->rc, c->proto_version, "s?d", in p9_check_errors()
563 err = p9pdu_readf(&req->rc, c->proto_version, "d", &ecode); in p9_check_errors()
648 err = p9pdu_vwritef(&req->tc, c->proto_version, fmt, ap); in p9_client_prepare_req()
915 c->msize, c->proto_version); in p9_client_version()
[all …]
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, ...);
/linux-6.6.21/net/hsr/
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()
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()
/linux-6.6.21/drivers/platform/chrome/
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()
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()
677 KUNIT_EXPECT_EQ(test, ec_dev->proto_version, EC_PROTO_VERSION_UNKNOWN); in cros_ec_proto_test_query_all_legacy_return_error()
730 KUNIT_EXPECT_EQ(test, ec_dev->proto_version, EC_PROTO_VERSION_UNKNOWN); in cros_ec_proto_test_query_all_legacy_data_error()
778 KUNIT_EXPECT_EQ(test, ec_dev->proto_version, EC_PROTO_VERSION_UNKNOWN); in cros_ec_proto_test_query_all_legacy_return0()
1694 ec_dev->proto_version = 3; in cros_ec_proto_test_cmd_xfer_protocol_v3_normal()
[all …]
/linux-6.6.21/drivers/thunderbolt/
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()
1030 *proto_version = (reply.info & ICM_TR_INFO_PROTO_VERSION_MASK) >> in icm_tr_driver_ready()
1489 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_ar_driver_ready() argument
1619 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_icl_driver_ready() argument
1633 if (proto_version) in icm_icl_driver_ready()
1634 *proto_version = (reply.info & ICM_TR_INFO_PROTO_VERSION_MASK) >> in icm_icl_driver_ready()
[all …]
/linux-6.6.21/drivers/input/mouse/
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()
1651 if (priv->proto_version == ALPS_PROTO_V3_RUSHMORE && in alps_process_byte()
1668 if ((priv->proto_version == ALPS_PROTO_V7 && in alps_process_byte()
1670 (priv->proto_version == ALPS_PROTO_V8 && in alps_process_byte()
[all …]
Dalps.h297 u16 proto_version; member
/linux-6.6.21/drivers/media/rc/
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()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_fwd.h105 filter->u.usnic.proto_version = (USNIC_ROCE_GRH_VER << in usnic_fwd_init_usnic_filter()
/linux-6.6.21/include/linux/platform_data/
Dcros_ec_proto.h169 u16 proto_version; member
/linux-6.6.21/include/uapi/linux/
Dauto_fs.h46 int proto_version; /* Protocol version */ member
/linux-6.6.21/include/net/9p/
Dclient.h105 unsigned char proto_version; member
/linux-6.6.21/net/l2tp/
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()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Dvnic_devcmd.h565 u8 proto_version; member
/linux-6.6.21/fs/autofs/
Dwaitq.c98 pkt.hdr.proto_version = sbi->version; in autofs_notify_daemon()
Dexpire.c548 pkt.hdr.proto_version = sbi->version; in autofs_expire_run()
/linux-6.6.21/drivers/net/thunderbolt/
Dmain.c98 u32 proto_version; member
268 request.proto_version = TBIP_LOGIN_PROTO_VERSION; in tbnet_login_request()
/linux-6.6.21/Documentation/filesystems/
Dautofs.rst341 int proto_version; /* Protocol version */