Home
last modified time | relevance | path

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

12345678910>>...289

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c44 u32 *in = NULL; in mlx5_core_access_reg() local
47 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_core_access_reg()
49 if (!in || !out) in mlx5_core_access_reg()
52 data = MLX5_ADDR_OF(access_register_in, in, register_data); in mlx5_core_access_reg()
55 MLX5_SET(access_register_in, in, opcode, MLX5_CMD_OP_ACCESS_REG); in mlx5_core_access_reg()
56 MLX5_SET(access_register_in, in, op_mod, !write); in mlx5_core_access_reg()
57 MLX5_SET(access_register_in, in, argument, arg); in mlx5_core_access_reg()
58 MLX5_SET(access_register_in, in, register_id, reg_id); in mlx5_core_access_reg()
60 err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in mlx5_core_access_reg()
69 kvfree(in); in mlx5_core_access_reg()
[all …]
Dvport.c46 u32 in[MLX5_ST_SZ_DW(query_vport_state_in)] = {}; in mlx5_query_vport_state() local
49 MLX5_SET(query_vport_state_in, in, opcode, in mlx5_query_vport_state()
51 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_state()
52 MLX5_SET(query_vport_state_in, in, vport_number, vport); in mlx5_query_vport_state()
54 MLX5_SET(query_vport_state_in, in, other_vport, 1); in mlx5_query_vport_state()
56 err = mlx5_cmd_exec_inout(mdev, query_vport_state, in, out); in mlx5_query_vport_state()
66 u32 in[MLX5_ST_SZ_DW(modify_vport_state_in)] = {}; in mlx5_modify_vport_admin_state() local
68 MLX5_SET(modify_vport_state_in, in, opcode, in mlx5_modify_vport_admin_state()
70 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
71 MLX5_SET(modify_vport_state_in, in, vport_number, vport); in mlx5_modify_vport_admin_state()
[all …]
Dfs_cmd.c73 u32 *in, in mlx5_cmd_stub_create_flow_group() argument
158 u32 in[MLX5_ST_SZ_DW(set_flow_table_root_in)] = {}; in mlx5_cmd_update_root_ft() local
165 MLX5_SET(set_flow_table_root_in, in, opcode, in mlx5_cmd_update_root_ft()
167 MLX5_SET(set_flow_table_root_in, in, table_type, ft->type); in mlx5_cmd_update_root_ft()
170 MLX5_SET(set_flow_table_root_in, in, op_mod, 1); in mlx5_cmd_update_root_ft()
172 MLX5_SET(set_flow_table_root_in, in, table_id, ft->id); in mlx5_cmd_update_root_ft()
174 MLX5_SET(set_flow_table_root_in, in, underlay_qpn, underlay_qpn); in mlx5_cmd_update_root_ft()
176 MLX5_SET(set_flow_table_root_in, in, vport_number, ft->vport); in mlx5_cmd_update_root_ft()
177 MLX5_SET(set_flow_table_root_in, in, other_vport, 1); in mlx5_cmd_update_root_ft()
180 return mlx5_cmd_exec_in(dev, set_flow_table_root, in); in mlx5_cmd_update_root_ft()
[all …]
Dtransobj.c40 u32 in[MLX5_ST_SZ_DW(alloc_transport_domain_in)] = {}; in mlx5_core_alloc_transport_domain() local
43 MLX5_SET(alloc_transport_domain_in, in, opcode, in mlx5_core_alloc_transport_domain()
46 err = mlx5_cmd_exec_inout(dev, alloc_transport_domain, in, out); in mlx5_core_alloc_transport_domain()
57 u32 in[MLX5_ST_SZ_DW(dealloc_transport_domain_in)] = {}; in mlx5_core_dealloc_transport_domain() local
59 MLX5_SET(dealloc_transport_domain_in, in, opcode, in mlx5_core_dealloc_transport_domain()
61 MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn); in mlx5_core_dealloc_transport_domain()
62 mlx5_cmd_exec_in(dev, dealloc_transport_domain, in); in mlx5_core_dealloc_transport_domain()
66 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq() argument
71 MLX5_SET(create_rq_in, in, opcode, MLX5_CMD_OP_CREATE_RQ); in mlx5_core_create_rq()
72 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_create_rq()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcmd.c11 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in mlx5_cmd_dump_fill_mkey() local
14 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_cmd_dump_fill_mkey()
16 err = mlx5_cmd_exec_inout(dev, query_special_contexts, in, out); in mlx5_cmd_dump_fill_mkey()
26 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in mlx5_cmd_null_mkey() local
29 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_cmd_null_mkey()
31 err = mlx5_cmd_exec_inout(dev, query_special_contexts, in, out); in mlx5_cmd_null_mkey()
41 u32 in[MLX5_ST_SZ_DW(query_cong_params_in)] = {}; in mlx5_cmd_query_cong_params() local
43 MLX5_SET(query_cong_params_in, in, opcode, in mlx5_cmd_query_cong_params()
45 MLX5_SET(query_cong_params_in, in, cong_protocol, cong_point); in mlx5_cmd_query_cong_params()
47 return mlx5_cmd_exec_inout(dev, query_cong_params, in, out); in mlx5_cmd_query_cong_params()
[all …]
Dsrq_cmd.c12 static int get_pas_size(struct mlx5_srq_attr *in) in get_pas_size() argument
14 u32 log_page_size = in->log_page_size + 12; in get_pas_size()
15 u32 log_srq_size = in->log_size; in get_pas_size()
16 u32 log_rq_stride = in->wqe_shift; in get_pas_size()
17 u32 page_offset = in->page_offset; in get_pas_size()
27 static void set_wq(void *wq, struct mlx5_srq_attr *in) in set_wq() argument
29 MLX5_SET(wq, wq, wq_signature, !!(in->flags in set_wq()
31 MLX5_SET(wq, wq, log_wq_pg_sz, in->log_page_size); in set_wq()
32 MLX5_SET(wq, wq, log_wq_stride, in->wqe_shift + 4); in set_wq()
33 MLX5_SET(wq, wq, log_wq_sz, in->log_size); in set_wq()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_dp_mst_helper.c46 sideband_msg_req_equal(const struct drm_dp_sideband_msg_req_body *in, in sideband_msg_req_equal() argument
52 if (in->req_type != out->req_type) in sideband_msg_req_equal()
55 switch (in->req_type) { in sideband_msg_req_equal()
62 #define IN in->u.i2c_read in sideband_msg_req_equal()
90 #define IN in->u.dpcd_write in sideband_msg_req_equal()
102 #define IN in->u.i2c_write in sideband_msg_req_equal()
114 return memcmp(in, out, sizeof(*in)) == 0; in sideband_msg_req_equal()
121 sideband_msg_req_encode_decode(struct drm_dp_sideband_msg_req_body *in) in sideband_msg_req_encode_decode() argument
128 drm_dp_encode_sideband_req(in, &txmsg); in sideband_msg_req_encode_decode()
136 if (!sideband_msg_req_equal(in, &out)) { in sideband_msg_req_encode_decode()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_core_autosize.c89 struct test_struct___samesize *in = (void *)&input; in handle_samesize() local
92 ptr_samesized = (unsigned long long)in->ptr; in handle_samesize()
93 val1_samesized = in->val1; in handle_samesize()
94 val2_samesized = in->val2; in handle_samesize()
95 val3_samesized = in->val3; in handle_samesize()
96 val4_samesized = in->val4; in handle_samesize()
98 out->ptr = in->ptr; in handle_samesize()
99 out->val1 = in->val1; in handle_samesize()
100 out->val2 = in->val2; in handle_samesize()
101 out->val3 = in->val3; in handle_samesize()
[all …]
/kernel/linux/linux-5.10/crypto/
Drmd128.c45 static void rmd128_transform(u32 *state, const __le32 *in) in rmd128_transform() argument
62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform()
63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform()
64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform()
65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform()
66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform()
67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform()
68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform()
69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform()
70 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd128_transform()
[all …]
Drmd256.c45 static void rmd256_transform(u32 *state, const __le32 *in) in rmd256_transform() argument
62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform()
63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform()
64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform()
65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform()
66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform()
67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform()
68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform()
69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform()
70 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd256_transform()
[all …]
Drmd160.c49 static void rmd160_transform(u32 *state, const __le32 *in) in rmd160_transform() argument
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd160_transform()
[all …]
Drmd320.c49 static void rmd320_transform(u32 *state, const __le32 *in) in rmd320_transform() argument
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd320_transform()
[all …]
Dmd5.c37 #define MD5STEP(f, w, x, y, z, in, s) \ argument
38 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
40 static void md5_transform(__u32 *hash, __u32 const *in) in md5_transform() argument
49 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform()
50 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform()
51 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform()
52 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform()
53 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform()
54 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform()
55 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform()
[all …]
Dmd4.c67 static void md4_transform(u32 *hash, u32 const *in) in md4_transform() argument
76 ROUND1(a, b, c, d, in[0], 3); in md4_transform()
77 ROUND1(d, a, b, c, in[1], 7); in md4_transform()
78 ROUND1(c, d, a, b, in[2], 11); in md4_transform()
79 ROUND1(b, c, d, a, in[3], 19); in md4_transform()
80 ROUND1(a, b, c, d, in[4], 3); in md4_transform()
81 ROUND1(d, a, b, c, in[5], 7); in md4_transform()
82 ROUND1(c, d, a, b, in[6], 11); in md4_transform()
83 ROUND1(b, c, d, a, in[7], 19); in md4_transform()
84 ROUND1(a, b, c, d, in[8], 3); in md4_transform()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/displays/
Dconnector-analog-tv.c19 struct omap_dss_device *in; member
49 struct omap_dss_device *in = ddata->in; in tvc_connect() local
57 r = in->ops.atv->connect(in, dssdev); in tvc_connect()
67 struct omap_dss_device *in = ddata->in; in tvc_disconnect() local
74 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
80 struct omap_dss_device *in = ddata->in; in tvc_enable() local
91 in->ops.atv->set_timings(in, &ddata->timings); in tvc_enable()
94 in->ops.atv->set_type(in, OMAP_DSS_VENC_TYPE_COMPOSITE); in tvc_enable()
96 in->ops.atv->invert_vid_out_polarity(in, in tvc_enable()
100 r = in->ops.atv->enable(in); in tvc_enable()
[all …]
Dpanel-dsi-cm.c40 struct omap_dss_device *in; member
108 struct omap_dss_device *in = ddata->in; in dsicm_dcs_read_1() local
112 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
124 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_0() local
125 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
130 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_1() local
133 return in->ops.dsi->dcs_write(in, ddata->channel, buf, 2); in dsicm_dcs_write_1()
139 struct omap_dss_device *in = ddata->in; in dsicm_sleep_in() local
146 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, &cmd, 1); in dsicm_sleep_in()
194 struct omap_dss_device *in = ddata->in; in dsicm_set_update_window() local
[all …]
Dconnector-hdmi.c38 struct omap_dss_device *in; member
52 struct omap_dss_device *in = ddata->in; in hdmic_connect() local
60 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
70 struct omap_dss_device *in = ddata->in; in hdmic_disconnect() local
77 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
83 struct omap_dss_device *in = ddata->in; in hdmic_enable() local
94 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
96 r = in->ops.hdmi->enable(in); in hdmic_enable()
108 struct omap_dss_device *in = ddata->in; in hdmic_disable() local
115 in->ops.hdmi->disable(in); in hdmic_disable()
[all …]
Dencoder-tpd12s015.c21 struct omap_dss_device *in; member
36 struct omap_dss_device *in = ddata->in; in tpd_connect() local
39 r = in->ops.hdmi->connect(in, dssdev); in tpd_connect()
59 struct omap_dss_device *in = ddata->in; in tpd_disconnect() local
71 in->ops.hdmi->disconnect(in, &ddata->dssdev); in tpd_disconnect()
77 struct omap_dss_device *in = ddata->in; in tpd_enable() local
83 in->ops.hdmi->set_timings(in, &ddata->timings); in tpd_enable()
85 r = in->ops.hdmi->enable(in); in tpd_enable()
97 struct omap_dss_device *in = ddata->in; in tpd_disable() local
102 in->ops.hdmi->disable(in); in tpd_disable()
[all …]
Dpanel-dpi.c22 struct omap_dss_device *in; member
39 struct omap_dss_device *in = ddata->in; in panel_dpi_connect() local
45 r = in->ops.dpi->connect(in, dssdev); in panel_dpi_connect()
55 struct omap_dss_device *in = ddata->in; in panel_dpi_disconnect() local
60 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect()
66 struct omap_dss_device *in = ddata->in; in panel_dpi_enable() local
76 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable()
77 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable()
79 r = in->ops.dpi->enable(in); in panel_dpi_enable()
96 struct omap_dss_device *in = ddata->in; in panel_dpi_disable() local
[all …]
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/
Dresources.c12 u32 in[MLX5_ST_SZ_DW(alloc_pd_in)] = {}; in alloc_pd() local
15 MLX5_SET(alloc_pd_in, in, opcode, MLX5_CMD_OP_ALLOC_PD); in alloc_pd()
16 MLX5_SET(alloc_pd_in, in, uid, uid); in alloc_pd()
18 err = mlx5_cmd_exec_inout(mdev, alloc_pd, in, out); in alloc_pd()
27 u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {}; in dealloc_pd() local
30 MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in dealloc_pd()
31 MLX5_SET(dealloc_pd_in, in, pd, pdn); in dealloc_pd()
32 MLX5_SET(dealloc_pd_in, in, uid, uid); in dealloc_pd()
33 return mlx5_cmd_exec_in(mdev, dealloc_pd, in); in dealloc_pd()
39 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in get_null_mkey() local
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_cmds.c419 struct hfi_framerate *in = pdata, *frate = prop_data; in pkt_session_set_property_1x() local
421 frate->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
422 frate->framerate = in->framerate; in pkt_session_set_property_1x()
427 struct hfi_uncompressed_format_select *in = pdata; in pkt_session_set_property_1x() local
430 hfi->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
431 hfi->format = in->format; in pkt_session_set_property_1x()
436 struct hfi_framesize *in = pdata, *fsize = prop_data; in pkt_session_set_property_1x() local
438 fsize->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
439 fsize->height = in->height; in pkt_session_set_property_1x()
440 fsize->width = in->width; in pkt_session_set_property_1x()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Ddemangle-rust.c51 static bool unescape(const char **in, char **out, const char *seq, char value);
184 const char *in; in rust_demangle_sym() local
191 in = sym; in rust_demangle_sym()
195 while (in < end) in rust_demangle_sym()
196 switch (*in) { in rust_demangle_sym()
198 if (!(unescape(&in, &out, "$C$", ',') in rust_demangle_sym()
199 || unescape(&in, &out, "$SP$", '@') in rust_demangle_sym()
200 || unescape(&in, &out, "$BP$", '*') in rust_demangle_sym()
201 || unescape(&in, &out, "$RF$", '&') in rust_demangle_sym()
202 || unescape(&in, &out, "$LT$", '<') in rust_demangle_sym()
[all …]
/kernel/linux/linux-5.10/fs/udf/
Dudfend.h8 static inline struct kernel_lb_addr lelb_to_cpu(struct lb_addr in) in lelb_to_cpu() argument
12 out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); in lelb_to_cpu()
13 out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum); in lelb_to_cpu()
18 static inline struct lb_addr cpu_to_lelb(struct kernel_lb_addr in) in cpu_to_lelb() argument
22 out.logicalBlockNum = cpu_to_le32(in.logicalBlockNum); in cpu_to_lelb()
23 out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum); in cpu_to_lelb()
28 static inline struct short_ad lesa_to_cpu(struct short_ad in) in lesa_to_cpu() argument
32 out.extLength = le32_to_cpu(in.extLength); in lesa_to_cpu()
33 out.extPosition = le32_to_cpu(in.extPosition); in lesa_to_cpu()
38 static inline struct short_ad cpu_to_lesa(struct short_ad in) in cpu_to_lesa() argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c46 u32 in[MLX5_FPGA_ACCESS_REG_SZ] = {0}; in mlx5_fpga_access_reg() local
57 MLX5_SET(fpga_access_reg, in, size, size); in mlx5_fpga_access_reg()
58 MLX5_SET64(fpga_access_reg, in, address, addr); in mlx5_fpga_access_reg()
60 memcpy(MLX5_ADDR_OF(fpga_access_reg, in, data), buf, size); in mlx5_fpga_access_reg()
62 err = mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fpga_access_reg()
75 u32 in[MLX5_ST_SZ_DW(fpga_cap)] = {0}; in mlx5_fpga_caps() local
77 return mlx5_core_access_reg(dev, in, sizeof(in), dev->caps.fpga, in mlx5_fpga_caps()
84 u32 in[MLX5_ST_SZ_DW(fpga_ctrl)] = {0}; in mlx5_fpga_ctrl_op() local
87 MLX5_SET(fpga_ctrl, in, operation, op); in mlx5_fpga_ctrl_op()
89 return mlx5_core_access_reg(dev, in, sizeof(in), out, sizeof(out), in mlx5_fpga_ctrl_op()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c13 u32 in[MLX5_ST_SZ_DW(query_esw_vport_context_in)] = {}; in mlx5dr_cmd_query_esw_vport_context() local
16 MLX5_SET(query_esw_vport_context_in, in, opcode, in mlx5dr_cmd_query_esw_vport_context()
18 MLX5_SET(query_esw_vport_context_in, in, other_vport, other_vport); in mlx5dr_cmd_query_esw_vport_context()
19 MLX5_SET(query_esw_vport_context_in, in, vport_number, vport_number); in mlx5dr_cmd_query_esw_vport_context()
21 err = mlx5_cmd_exec_inout(mdev, query_esw_vport_context, in, out); in mlx5dr_cmd_query_esw_vport_context()
37 u32 in[MLX5_ST_SZ_DW(query_hca_cap_in)] = {}; in mlx5dr_cmd_query_gvmi() local
47 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in mlx5dr_cmd_query_gvmi()
48 MLX5_SET(query_hca_cap_in, in, other_function, other_vport); in mlx5dr_cmd_query_gvmi()
49 MLX5_SET(query_hca_cap_in, in, function_id, vport_number); in mlx5dr_cmd_query_gvmi()
50 MLX5_SET(query_hca_cap_in, in, op_mod, in mlx5dr_cmd_query_gvmi()
[all …]

12345678910>>...289