Home
last modified time | relevance | path

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

12345678910>>...246

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dcmd.c11 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in mlx5r_cmd_query_special_mkeys() local
23 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5r_cmd_query_special_mkeys()
25 err = mlx5_cmd_exec_inout(dev->mdev, query_special_contexts, in, out); in mlx5r_cmd_query_special_mkeys()
48 u32 in[MLX5_ST_SZ_DW(query_cong_params_in)] = {}; in mlx5_cmd_query_cong_params() local
50 MLX5_SET(query_cong_params_in, in, opcode, in mlx5_cmd_query_cong_params()
52 MLX5_SET(query_cong_params_in, in, cong_protocol, cong_point); in mlx5_cmd_query_cong_params()
54 return mlx5_cmd_exec_inout(dev, query_cong_params, in, out); in mlx5_cmd_query_cong_params()
59 u32 in[MLX5_ST_SZ_DW(destroy_tir_in)] = {}; in mlx5_cmd_destroy_tir() local
61 MLX5_SET(destroy_tir_in, in, opcode, MLX5_CMD_OP_DESTROY_TIR); in mlx5_cmd_destroy_tir()
62 MLX5_SET(destroy_tir_in, in, tirn, tirn); in mlx5_cmd_destroy_tir()
[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-6.12.1/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.c78 u32 *in, in mlx5_cmd_stub_create_flow_group() argument
170 u32 in[MLX5_ST_SZ_DW(set_flow_table_root_in)] = {}; in mlx5_cmd_set_slave_root_fdb() local
174 MLX5_SET(set_flow_table_root_in, in, opcode, in mlx5_cmd_set_slave_root_fdb()
176 MLX5_SET(set_flow_table_root_in, in, table_type, in mlx5_cmd_set_slave_root_fdb()
179 MLX5_SET(set_flow_table_root_in, in, in mlx5_cmd_set_slave_root_fdb()
181 MLX5_SET(set_flow_table_root_in, in, in mlx5_cmd_set_slave_root_fdb()
184 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
190 MLX5_SET(set_flow_table_root_in, in, table_id, in mlx5_cmd_set_slave_root_fdb()
194 return mlx5_cmd_exec(slave, in, sizeof(in), out, sizeof(out)); in mlx5_cmd_set_slave_root_fdb()
215 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-6.12.1/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-6.12.1/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-6.12.1/drivers/media/platform/qcom/venus/
Dhfi_cmds.c429 struct hfi_framerate *in = pdata, *frate = prop_data; in pkt_session_set_property_1x() local
431 frate->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
432 frate->framerate = in->framerate; in pkt_session_set_property_1x()
437 struct hfi_uncompressed_format_select *in = pdata; in pkt_session_set_property_1x() local
440 hfi->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
441 hfi->format = in->format; in pkt_session_set_property_1x()
446 struct hfi_framesize *in = pdata, *fsize = prop_data; in pkt_session_set_property_1x() local
448 fsize->buffer_type = in->buffer_type; in pkt_session_set_property_1x()
449 fsize->height = in->height; in pkt_session_set_property_1x()
450 fsize->width = in->width; in pkt_session_set_property_1x()
[all …]
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/displays/
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-analog-tv.c18 struct omap_dss_device *in; member
48 struct omap_dss_device *in = ddata->in; in tvc_connect() local
55 return in->ops.atv->connect(in, dssdev); in tvc_connect()
61 struct omap_dss_device *in = ddata->in; in tvc_disconnect() local
68 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
74 struct omap_dss_device *in = ddata->in; in tvc_enable() local
85 in->ops.atv->set_timings(in, &ddata->timings); in tvc_enable()
88 in->ops.atv->set_type(in, OMAP_DSS_VENC_TYPE_COMPOSITE); in tvc_enable()
90 in->ops.atv->invert_vid_out_polarity(in, in tvc_enable()
94 r = in->ops.atv->enable(in); in tvc_enable()
[all …]
Dconnector-hdmi.c39 struct omap_dss_device *in; member
53 struct omap_dss_device *in = ddata->in; in hdmic_connect() local
60 return in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
66 struct omap_dss_device *in = ddata->in; in hdmic_disconnect() local
73 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
79 struct omap_dss_device *in = ddata->in; in hdmic_enable() local
90 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
92 r = in->ops.hdmi->enable(in); in hdmic_enable()
104 struct omap_dss_device *in = ddata->in; in hdmic_disable() local
111 in->ops.hdmi->disable(in); in hdmic_disable()
[all …]
Dpanel-dpi.c20 struct omap_dss_device *in; member
34 struct omap_dss_device *in = ddata->in; in panel_dpi_connect() local
39 return in->ops.dpi->connect(in, dssdev); in panel_dpi_connect()
45 struct omap_dss_device *in = ddata->in; in panel_dpi_disconnect() local
50 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect()
56 struct omap_dss_device *in = ddata->in; in panel_dpi_enable() local
66 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable()
67 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable()
69 r = in->ops.dpi->enable(in); in panel_dpi_enable()
83 struct omap_dss_device *in = ddata->in; in panel_dpi_disable() 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 …]
Dencoder-opa362.c24 struct omap_dss_device *in; member
37 struct omap_dss_device *in = ddata->in; in opa362_connect() local
45 r = in->ops.atv->connect(in, dssdev); in opa362_connect()
59 struct omap_dss_device *in = ddata->in; in opa362_disconnect() local
74 in->ops.atv->disconnect(in, &ddata->dssdev); in opa362_disconnect()
80 struct omap_dss_device *in = ddata->in; in opa362_enable() local
91 in->ops.atv->set_timings(in, &ddata->timings); in opa362_enable()
93 r = in->ops.atv->enable(in); in opa362_enable()
108 struct omap_dss_device *in = ddata->in; in opa362_disable() local
118 in->ops.atv->disable(in); in opa362_disable()
[all …]
/linux-6.12.1/drivers/platform/x86/amd/pmf/
Dspc.c33 void amd_pmf_dump_ta_inputs(struct amd_pmf_dev *dev, struct ta_pmf_enact_table *in) in amd_pmf_dump_ta_inputs() argument
36 dev_dbg(dev->dev, "Slider State: %s\n", ta_slider_as_str(in->ev_info.power_slider)); in amd_pmf_dump_ta_inputs()
37 dev_dbg(dev->dev, "Power Source: %s\n", amd_pmf_source_as_str(in->ev_info.power_source)); in amd_pmf_dump_ta_inputs()
38 dev_dbg(dev->dev, "Battery Percentage: %u\n", in->ev_info.bat_percentage); in amd_pmf_dump_ta_inputs()
39 dev_dbg(dev->dev, "Designed Battery Capacity: %u\n", in->ev_info.bat_design); in amd_pmf_dump_ta_inputs()
40 dev_dbg(dev->dev, "Fully Charged Capacity: %u\n", in->ev_info.full_charge_capacity); in amd_pmf_dump_ta_inputs()
41 dev_dbg(dev->dev, "Drain Rate: %d\n", in->ev_info.drain_rate); in amd_pmf_dump_ta_inputs()
42 dev_dbg(dev->dev, "Socket Power: %u\n", in->ev_info.socket_power); in amd_pmf_dump_ta_inputs()
43 dev_dbg(dev->dev, "Skin Temperature: %u\n", in->ev_info.skin_temperature); in amd_pmf_dump_ta_inputs()
44 dev_dbg(dev->dev, "Avg C0 Residency: %u\n", in->ev_info.avg_c0residency); in amd_pmf_dump_ta_inputs()
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.c56 u32 in[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_set_eth_ptys() local
66 memset(in, 0, sizeof(in)); in mlx5_port_set_eth_ptys()
68 MLX5_SET(ptys_reg, in, local_port, 1); in mlx5_port_set_eth_ptys()
69 MLX5_SET(ptys_reg, in, an_disable_admin, an_disable); in mlx5_port_set_eth_ptys()
70 MLX5_SET(ptys_reg, in, proto_mask, MLX5_PTYS_EN); in mlx5_port_set_eth_ptys()
72 MLX5_SET(ptys_reg, in, ext_eth_proto_admin, proto_admin); in mlx5_port_set_eth_ptys()
74 MLX5_SET(ptys_reg, in, eth_proto_admin, proto_admin); in mlx5_port_set_eth_ptys()
76 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_port_set_eth_ptys()
108 void *in; in mlx5e_port_query_pbmc() local
111 in = kzalloc(sz, GFP_KERNEL); in mlx5e_port_query_pbmc()
[all …]
/linux-6.12.1/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-6.12.1/fs/smb/common/
Dcifs_md4.c55 static void md4_transform(u32 *hash, u32 const *in) in md4_transform() argument
64 ROUND1(a, b, c, d, in[0], 3); in md4_transform()
65 ROUND1(d, a, b, c, in[1], 7); in md4_transform()
66 ROUND1(c, d, a, b, in[2], 11); in md4_transform()
67 ROUND1(b, c, d, a, in[3], 19); in md4_transform()
68 ROUND1(a, b, c, d, in[4], 3); in md4_transform()
69 ROUND1(d, a, b, c, in[5], 7); in md4_transform()
70 ROUND1(c, d, a, b, in[6], 11); in md4_transform()
71 ROUND1(b, c, d, a, in[7], 19); in md4_transform()
72 ROUND1(a, b, c, d, in[8], 3); in md4_transform()
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/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()
38 u32 in[MLX5_ST_SZ_DW(query_hca_cap_in)] = {}; in mlx5dr_cmd_query_gvmi() local
48 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in mlx5dr_cmd_query_gvmi()
49 MLX5_SET(query_hca_cap_in, in, other_function, other_vport); in mlx5dr_cmd_query_gvmi()
50 MLX5_SET(query_hca_cap_in, in, function_id, mlx5_vport_to_func_id(mdev, vport_number, ec_vf_func)); in mlx5dr_cmd_query_gvmi()
51 MLX5_SET(query_hca_cap_in, in, ec_vf_function, ec_vf_func); in mlx5dr_cmd_query_gvmi()
[all …]

12345678910>>...246