| /linux/net/9p/ |
| H A D | protocol.c | 53 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 …]
|
| H A D | client.c | 38 return clnt->proto_version == p9_proto_2000L; in p9_is_proto_dotl() 44 return clnt->proto_version == p9_proto_2000u; in p9_is_proto_dotu() 54 switch (clnt->proto_version) { in p9_show_client_options() 91 clnt->proto_version = ctx->client_opts.proto_version; in apply_client_options() 425 err = p9pdu_readf(&req->rc, c->proto_version, "s?d", in p9_check_errors() 443 err = p9pdu_readf(&req->rc, c->proto_version, "d", &ecode); in p9_check_errors() 528 err = p9pdu_vwritef(&req->tc, c->proto_version, fmt, ap); in p9_client_prepare_req() 795 c->msize, c->proto_version); in p9_client_version() 797 switch (c->proto_version) { in p9_client_version() 817 err = p9pdu_readf(&req->rc, c->proto_version, "ds", &msize, &version); in p9_client_version() [all …]
|
| H A D | protocol.h | 13 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/net/hsr/ |
| H A D | hsr_netlink.c | 39 enum hsr_version proto_version; in hsr_newlink() local 104 proto_version = HSR_V0; in hsr_newlink() 111 proto_version = nla_get_u8(data[IFLA_HSR_VERSION]); in hsr_newlink() 112 if (proto_version > HSR_V1) { in hsr_newlink() 120 proto_version = PRP_V1; in hsr_newlink() 129 proto_version, extack); in hsr_newlink()
|
| H A D | hsr_forward.c | 290 struct hsr_port *port, u8 proto_version) in hsr_fill_tag() argument 321 hsr_ethhdr->ethhdr.h_proto = htons(proto_version ? in hsr_fill_tag()
|
| /linux/drivers/thunderbolt/ |
| H A D | icm.c | 103 u8 proto_version; member 113 u8 *proto_version, size_t *nboot_acl, bool *rpm); 478 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_fr_driver_ready() argument 1038 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_tr_driver_ready() argument 1054 if (proto_version) in icm_tr_driver_ready() 1055 *proto_version = (reply.info & ICM_TR_INFO_PROTO_VERSION_MASK) >> in icm_tr_driver_ready() 1520 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_ar_driver_ready() argument 1650 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_icl_driver_ready() argument 1664 if (proto_version) in icm_icl_driver_ready() 1665 *proto_version = (reply.info & ICM_TR_INFO_PROTO_VERSION_MASK) >> in icm_icl_driver_ready() [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | alps.c | 257 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() 1480 if (priv->proto_version == ALPS_PROTO_V2 && in alps_report_bare_ps2_packet() 1621 if (priv->proto_version != ALPS_PROTO_V8 && in alps_process_byte() 1648 if (priv->proto_version < ALPS_PROTO_V5 && in alps_process_byte() 1655 if (priv->proto_version == ALPS_PROTO_V3_RUSHMORE && in alps_process_byte() 1672 if ((priv->proto_version == ALPS_PROTO_V7 && in alps_process_byte() 1674 (priv->proto_version == ALPS_PROTO_V8 && in alps_process_byte() [all …]
|
| H A D | alps.h | 297 u16 proto_version; member
|
| /linux/include/net/9p/ |
| H A D | client.h | 111 unsigned char proto_version; member 146 unsigned char proto_version; member
|
| /linux/drivers/media/rc/ |
| H A D | ir_toy.c | 76 uint proto_version; member 117 irtoy->proto_version = version; in irtoy_response() 472 irtoy->sw_version % 10, irtoy->proto_version); in irtoy_probe()
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_proto_test.c | 34 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() 1682 ec_dev->proto_version = 3; in cros_ec_proto_test_cmd_xfer_protocol_v3_normal() [all …]
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_fwd.h | 105 filter->u.usnic.proto_version = (USNIC_ROCE_GRH_VER << in usnic_fwd_init_usnic_filter()
|
| /linux/include/uapi/linux/ |
| H A D | auto_fs.h | 46 int proto_version; /* Protocol version */ member
|
| /linux/fs/9p/ |
| H A D | v9fs.c | 362 clnt->proto_version = p9_proto_legacy; in v9fs_parse_param() 365 clnt->proto_version = result.uint_32; in v9fs_parse_param()
|
| H A D | vfs_super.c | 332 ctx->client_opts.proto_version = p9_proto_2000L; in v9fs_init_fs_context()
|
| /linux/net/l2tp/ |
| H A D | l2tp_netlink.c | 189 int proto_version; in l2tp_nl_cmd_tunnel_create() local 213 proto_version = nla_get_u8(attrs[L2TP_ATTR_PROTO_VERSION]); in l2tp_nl_cmd_tunnel_create() 237 ret = l2tp_tunnel_create(fd, proto_version, tunnel_id, in l2tp_nl_cmd_tunnel_create()
|
| /linux/drivers/net/ethernet/cisco/enic/ |
| H A D | vnic_devcmd.h | 584 u8 proto_version; member
|
| /linux/fs/autofs/ |
| H A D | waitq.c | 98 pkt.hdr.proto_version = sbi->version; in autofs_notify_daemon()
|
| H A D | expire.c | 548 pkt.hdr.proto_version = sbi->version; in autofs_expire_run()
|