Home
last modified time | relevance | path

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

12345678910>>...109

/linux-5.19.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 …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c45 u32 *in = NULL; in mlx5_access_reg() local
48 in = kvzalloc(inlen, GFP_KERNEL); in mlx5_access_reg()
50 if (!in || !out) in mlx5_access_reg()
53 data = MLX5_ADDR_OF(access_register_in, in, register_data); in mlx5_access_reg()
56 MLX5_SET(access_register_in, in, opcode, MLX5_CMD_OP_ACCESS_REG); in mlx5_access_reg()
57 MLX5_SET(access_register_in, in, op_mod, !write); in mlx5_access_reg()
58 MLX5_SET(access_register_in, in, argument, arg); in mlx5_access_reg()
59 MLX5_SET(access_register_in, in, register_id, reg_id); in mlx5_access_reg()
61 err = mlx5_cmd_do(dev, in, inlen, out, outlen); in mlx5_access_reg()
63 err = mlx5_cmd_check(dev, err, in, out); in mlx5_access_reg()
[all …]
Dvport.c47 u32 in[MLX5_ST_SZ_DW(query_vport_state_in)] = {}; in mlx5_query_vport_state() local
50 MLX5_SET(query_vport_state_in, in, opcode, in mlx5_query_vport_state()
52 MLX5_SET(query_vport_state_in, in, op_mod, opmod); in mlx5_query_vport_state()
53 MLX5_SET(query_vport_state_in, in, vport_number, vport); in mlx5_query_vport_state()
55 MLX5_SET(query_vport_state_in, in, other_vport, 1); in mlx5_query_vport_state()
57 err = mlx5_cmd_exec_inout(mdev, query_vport_state, in, out); in mlx5_query_vport_state()
67 u32 in[MLX5_ST_SZ_DW(modify_vport_state_in)] = {}; in mlx5_modify_vport_admin_state() local
69 MLX5_SET(modify_vport_state_in, in, opcode, in mlx5_modify_vport_admin_state()
71 MLX5_SET(modify_vport_state_in, in, op_mod, opmod); in mlx5_modify_vport_admin_state()
72 MLX5_SET(modify_vport_state_in, in, vport_number, vport); in mlx5_modify_vport_admin_state()
[all …]
Dfs_cmd.c76 u32 *in, in mlx5_cmd_stub_create_flow_group() argument
167 u32 in[MLX5_ST_SZ_DW(set_flow_table_root_in)] = {}; in mlx5_cmd_set_slave_root_fdb() local
171 MLX5_SET(set_flow_table_root_in, in, opcode, in mlx5_cmd_set_slave_root_fdb()
173 MLX5_SET(set_flow_table_root_in, in, table_type, in mlx5_cmd_set_slave_root_fdb()
176 MLX5_SET(set_flow_table_root_in, in, in mlx5_cmd_set_slave_root_fdb()
178 MLX5_SET(set_flow_table_root_in, in, in mlx5_cmd_set_slave_root_fdb()
181 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
187 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
191 return mlx5_cmd_exec(slave, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_set_slave_root_fdb()
212 u32 in[MLX5_ST_SZ_DW(set_flow_table_root_in)] = {}; in mlx5_cmd_update_root_ft() local
[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 …]
/linux-5.19.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
139 drm_dp_encode_sideband_req(in, txmsg); in sideband_msg_req_encode_decode()
148 if (!sideband_msg_req_equal(in, out)) { in sideband_msg_req_encode_decode()
[all …]
/linux-5.19.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 …]
/linux-5.19.10/crypto/
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 …]
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 …]
/linux-5.19.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
56 return in->ops.atv->connect(in, dssdev); in tvc_connect()
62 struct omap_dss_device *in = ddata->in; in tvc_disconnect() local
69 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
75 struct omap_dss_device *in = ddata->in; in tvc_enable() local
86 in->ops.atv->set_timings(in, &ddata->timings); in tvc_enable()
89 in->ops.atv->set_type(in, OMAP_DSS_VENC_TYPE_COMPOSITE); in tvc_enable()
91 in->ops.atv->invert_vid_out_polarity(in, in tvc_enable()
95 r = in->ops.atv->enable(in); in tvc_enable()
[all …]
Dconnector-hdmi.c38 struct omap_dss_device *in; member
52 struct omap_dss_device *in = ddata->in; in hdmic_connect() local
59 return in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
65 struct omap_dss_device *in = ddata->in; in hdmic_disconnect() local
72 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
78 struct omap_dss_device *in = ddata->in; in hdmic_enable() local
89 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
91 r = in->ops.hdmi->enable(in); in hdmic_enable()
103 struct omap_dss_device *in = ddata->in; in hdmic_disable() local
110 in->ops.hdmi->disable(in); in hdmic_disable()
[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 …]
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
44 return in->ops.dpi->connect(in, dssdev); in panel_dpi_connect()
50 struct omap_dss_device *in = ddata->in; in panel_dpi_disconnect() local
55 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect()
61 struct omap_dss_device *in = ddata->in; in panel_dpi_enable() local
71 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable()
72 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable()
74 r = in->ops.dpi->enable(in); in panel_dpi_enable()
91 struct omap_dss_device *in = ddata->in; in panel_dpi_disable() local
[all …]
/linux-5.19.10/drivers/media/platform/qcom/venus/
Dhfi_cmds.c420 struct hfi_framerate *in = pdata, *frate = prop_data; in pkt_session_set_property_1x() local
422 frate->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
423 frate->framerate = in->framerate; in pkt_session_set_property_1x()
428 struct hfi_uncompressed_format_select *in = pdata; in pkt_session_set_property_1x() local
431 hfi->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
432 hfi->format = in->format; in pkt_session_set_property_1x()
437 struct hfi_framesize *in = pdata, *fsize = prop_data; in pkt_session_set_property_1x() local
439 fsize->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
440 fsize->height = in->height; in pkt_session_set_property_1x()
441 fsize->width = in->width; in pkt_session_set_property_1x()
[all …]
/linux-5.19.10/drivers/vdpa/mlx5/core/
Dresources.c13 u32 in[MLX5_ST_SZ_DW(alloc_pd_in)] = {}; in alloc_pd() local
16 MLX5_SET(alloc_pd_in, in, opcode, MLX5_CMD_OP_ALLOC_PD); in alloc_pd()
17 MLX5_SET(alloc_pd_in, in, uid, uid); in alloc_pd()
19 err = mlx5_cmd_exec_inout(mdev, alloc_pd, in, out); in alloc_pd()
28 u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {}; in dealloc_pd() local
31 MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in dealloc_pd()
32 MLX5_SET(dealloc_pd_in, in, pd, pdn); in dealloc_pd()
33 MLX5_SET(dealloc_pd_in, in, uid, uid); in dealloc_pd()
34 return mlx5_cmd_exec_in(mdev, dealloc_pd, in); in dealloc_pd()
40 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in get_null_mkey() local
[all …]
/linux-5.19.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 …]
/linux-5.19.10/arch/powerpc/sysdev/xics/
Dics-native.c40 static void __iomem *ics_native_xive(struct ics_native *in, unsigned int vec) in ics_native_xive() argument
42 return in->base + 0x800 + ((vec - in->ibase) << 2); in ics_native_xive()
49 struct ics_native *in = to_ics_native(ics); in ics_native_unmask_irq() local
54 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_unmask_irq()
58 out_be32(ics_native_xive(in, vec), (server << 8) | DEFAULT_PRIORITY); in ics_native_unmask_irq()
78 static void ics_native_do_mask(struct ics_native *in, unsigned int vec) in ics_native_do_mask() argument
80 out_be32(ics_native_xive(in, vec), 0xff); in ics_native_do_mask()
87 struct ics_native *in = to_ics_native(ics); in ics_native_mask_irq() local
91 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_mask_irq()
93 ics_native_do_mask(in, vec); in ics_native_mask_irq()
[all …]
/linux-5.19.10/tools/include/nolibc/
Dstdlib.h184 int utoh_r(unsigned long in, char *buffer) in utoh_r() argument
191 dig = in >> pos; in utoh_r()
192 in -= (uint64_t)dig << pos; in utoh_r()
209 char *utoh(unsigned long in) in utoh() argument
211 utoh_r(in, itoa_buffer); in utoh()
224 int utoa_r(unsigned long in, char *buffer) in utoa_r() argument
235 if (digits || in >= lim || !pos) { in utoa_r()
236 for (dig = 0; in >= lim; dig++) in utoa_r()
237 in -= lim; in utoa_r()
253 int itoa_r(long in, char *buffer) in itoa_r() argument
[all …]
/linux-5.19.10/fs/smbfs_common/
Dcifs_md4.c54 static void md4_transform(u32 *hash, u32 const *in) in md4_transform() argument
63 ROUND1(a, b, c, d, in[0], 3); in md4_transform()
64 ROUND1(d, a, b, c, in[1], 7); in md4_transform()
65 ROUND1(c, d, a, b, in[2], 11); in md4_transform()
66 ROUND1(b, c, d, a, in[3], 19); in md4_transform()
67 ROUND1(a, b, c, d, in[4], 3); in md4_transform()
68 ROUND1(d, a, b, c, in[5], 7); in md4_transform()
69 ROUND1(c, d, a, b, in[6], 11); in md4_transform()
70 ROUND1(b, c, d, a, in[7], 19); in md4_transform()
71 ROUND1(a, b, c, d, in[8], 3); in md4_transform()
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dcmd.c10 u32 in[MLX5_ST_SZ_DW(alloc_sf_in)] = {}; in mlx5_cmd_alloc_sf() local
12 MLX5_SET(alloc_sf_in, in, opcode, MLX5_CMD_OP_ALLOC_SF); in mlx5_cmd_alloc_sf()
13 MLX5_SET(alloc_sf_in, in, function_id, function_id); in mlx5_cmd_alloc_sf()
15 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_alloc_sf()
21 u32 in[MLX5_ST_SZ_DW(dealloc_sf_in)] = {}; in mlx5_cmd_dealloc_sf() local
23 MLX5_SET(dealloc_sf_in, in, opcode, MLX5_CMD_OP_DEALLOC_SF); in mlx5_cmd_dealloc_sf()
24 MLX5_SET(dealloc_sf_in, in, function_id, function_id); in mlx5_cmd_dealloc_sf()
26 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_dealloc_sf()
32 u32 in[MLX5_ST_SZ_DW(enable_hca_in)] = {}; in mlx5_cmd_sf_enable_hca() local
34 MLX5_SET(enable_hca_in, in, opcode, MLX5_CMD_OP_ENABLE_HCA); in mlx5_cmd_sf_enable_hca()
[all …]
/linux-5.19.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 …]
/linux-5.19.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 …]
/linux-5.19.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>>...109