Home
last modified time | relevance | path

Searched refs:outlen (Results 1 – 25 of 93) sorted by relevance

1234

/drivers/net/ethernet/sfc/
Dmcdi_functions.c21 size_t outlen; in efx_mcdi_free_vis() local
23 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_free_vis()
29 efx_mcdi_display_error(efx, MC_CMD_FREE_VIS, 0, outbuf, outlen, in efx_mcdi_free_vis()
40 size_t outlen; in efx_mcdi_alloc_vis() local
46 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_alloc_vis()
50 if (outlen < MC_CMD_ALLOC_VIS_OUT_LEN) in efx_mcdi_alloc_vis()
79 size_t inlen, outlen; in efx_mcdi_ev_init() local
124 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_ev_init()
126 if (outlen >= MC_CMD_INIT_EVQ_V2_OUT_LEN) in efx_mcdi_ev_init()
145 size_t outlen; in efx_mcdi_ev_fini() local
[all …]
Dmcdi.c41 size_t outlen; member
546 min(async->outlen, data_len)); in efx_mcdi_complete_async()
557 min(async->outlen, data_len)); in efx_mcdi_complete_async()
653 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_finish() argument
714 min(outlen, data_len)); in _efx_mcdi_rpc_finish()
804 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc() argument
820 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc()
844 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc()
862 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_evb_retry() argument
869 outbuf, outlen, outlen_actual, true, &raw_rc); in _efx_mcdi_rpc_evb_retry()
[all …]
Dmcdi_port.c26 size_t outlen; in efx_mcdi_mdio_read() local
35 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mdio_read()
52 size_t outlen; in efx_mcdi_mdio_write() local
62 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mdio_write()
Def10_sriov.c77 size_t outlen; in efx_ef10_vport_alloc() local
93 outbuf, sizeof(outbuf), &outlen); in efx_ef10_vport_alloc()
96 if (outlen < MC_CMD_VPORT_ALLOC_OUT_LEN) in efx_ef10_vport_alloc()
475 size_t outlen; in efx_ef10_vport_del_vf_mac() local
482 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_ef10_vport_del_vf_mac()
696 size_t outlen; in efx_ef10_sriov_set_privilege_mask() local
708 pm_outbuf, sizeof(pm_outbuf), &outlen); in efx_ef10_sriov_set_privilege_mask()
712 if (outlen != MC_CMD_PRIVILEGE_MASK_OUT_LEN) in efx_ef10_sriov_set_privilege_mask()
730 pm_outbuf, sizeof(pm_outbuf), &outlen); in efx_ef10_sriov_set_privilege_mask()
734 if (outlen != MC_CMD_PRIVILEGE_MASK_OUT_LEN) in efx_ef10_sriov_set_privilege_mask()
[all …]
Dmcdi_port_common.c18 size_t outlen; in efx_mcdi_get_phy_cfg() local
25 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg()
29 if (outlen < MC_CMD_GET_PHY_CFG_OUT_LEN) { in efx_mcdi_get_phy_cfg()
91 size_t outlen; in efx_mcdi_loopback_modes() local
95 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_loopback_modes()
99 if (outlen < (MC_CMD_GET_LOOPBACK_MODES_OUT_SUGGESTED_OFST + in efx_mcdi_loopback_modes()
621 size_t outlen; in efx_mcdi_phy_get_fecparam() local
626 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_phy_get_fecparam()
629 if (outlen < MC_CMD_GET_LINK_OUT_V2_LEN) in efx_mcdi_phy_get_fecparam()
714 size_t outlen; in efx_mcdi_phy_test_alive() local
[all …]
Dmcdi.h146 size_t inlen, efx_dword_t *outbuf, size_t outlen,
150 efx_dword_t *outbuf, size_t outlen,
156 efx_dword_t *outbuf, size_t outlen,
160 size_t outlen, size_t *outlen_actual);
167 const efx_dword_t *inbuf, size_t inlen, size_t outlen,
172 size_t outlen,
178 size_t outlen, int rc);
Def10.c92 size_t outlen; in efx_ef10_get_vf_index() local
96 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index()
99 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index()
111 size_t outlen; in efx_ef10_init_datapath_caps() local
117 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps()
120 if (outlen < MC_CMD_GET_CAPABILITIES_OUT_LEN) { in efx_ef10_init_datapath_caps()
129 if (outlen >= MC_CMD_GET_CAPABILITIES_V2_OUT_LEN) { in efx_ef10_init_datapath_caps()
153 if (outlen >= MC_CMD_GET_CAPABILITIES_V3_OUT_LEN) { in efx_ef10_init_datapath_caps()
167 if (outlen >= MC_CMD_GET_CAPABILITIES_V4_OUT_LEN) { in efx_ef10_init_datapath_caps()
188 size_t outlen; in efx_ef10_read_licensed_features() local
[all …]
Dmcdi_mon.c310 size_t outlen; in efx_mcdi_mon_probe() local
322 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_mon_probe()
325 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) in efx_mcdi_mon_probe()
386 &outlen); in efx_mcdi_mon_probe()
389 if (outlen < MC_CMD_SENSOR_INFO_OUT_LENMIN) { in efx_mcdi_mon_probe()
399 if (outlen < in efx_mcdi_mon_probe()
Dmcdi_filters.c249 size_t outlen; in efx_mcdi_filter_push() local
254 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_filter_push()
257 outbuf, outlen, rc); in efx_mcdi_filter_push()
1256 size_t outlen; in efx_mcdi_filter_table_probe_matches() local
1266 &outlen); in efx_mcdi_filter_table_probe_matches()
1271 outlen, GET_PARSER_DISP_INFO_OUT_SUPPORTED_MATCHES); in efx_mcdi_filter_table_probe_matches()
1882 size_t outlen; in efx_mcdi_get_rss_context_flags() local
1891 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_rss_context_flags()
1893 if (outlen < MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN) in efx_mcdi_get_rss_context_flags()
1935 size_t outlen; in efx_mcdi_filter_alloc_rss_context() local
[all …]
/drivers/media/pci/ngene/
Dngene-i2c.c32 u8 *out, u8 outlen, u8 *in, u8 inlen, int flag) in ngene_command_i2c_read() argument
37 com.cmd.hdr.Length = outlen + 3; in ngene_command_i2c_read()
39 memcpy(com.cmd.I2CRead.Data, out, outlen); in ngene_command_i2c_read()
40 com.cmd.I2CRead.Data[outlen] = inlen; in ngene_command_i2c_read()
41 com.cmd.I2CRead.Data[outlen + 1] = 0; in ngene_command_i2c_read()
42 com.in_len = outlen + 3; in ngene_command_i2c_read()
59 u8 *out, u8 outlen) in ngene_command_i2c_write() argument
65 com.cmd.hdr.Length = outlen + 1; in ngene_command_i2c_write()
67 memcpy(com.cmd.I2CRead.Data, out, outlen); in ngene_command_i2c_write()
68 com.in_len = outlen + 1; in ngene_command_i2c_write()
/drivers/crypto/nx/
Dnx-common-pseries.c303 unsigned char *out, unsigned int *outlen, in nx842_pseries_compress() argument
325 if (check_constraints(outbuf, outlen, false)) in nx842_pseries_compress()
360 ((outbuf + *outlen - 1) & NX842_HW_PAGE_MASK)) { in nx842_pseries_compress()
363 op.outlen = *outlen; in nx842_pseries_compress()
366 nx842_build_scatterlist(outbuf, *outlen, &slout); in nx842_pseries_compress()
368 op.outlen = -nx842_get_scatterlist_size(&slout); in nx842_pseries_compress()
373 (unsigned long)op.out, (long)op.outlen); in nx842_pseries_compress()
391 *outlen = be32_to_cpu(csbcpb->csb.processed_byte_count); in nx842_pseries_compress()
392 dev_dbg(dev, "%s: processed_bytes=%d\n", __func__, *outlen); in nx842_pseries_compress()
433 unsigned char *out, unsigned int *outlen, in nx842_pseries_decompress() argument
[all …]
Dnx-aes-xcbc.c94 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty()
122 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty()
210 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_update()
263 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_xcbc_update()
342 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_final()
344 if (!nx_ctx->op.outlen) { in nx_xcbc_final()
Dnx-sha256.c100 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha256_update()
153 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_sha256_update()
232 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha256_final()
233 if (!nx_ctx->op.outlen) { in nx_sha256_final()
Dnx-sha512.c100 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha512_update()
157 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_sha512_update()
237 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_sha512_final()
239 if (!nx_ctx->op.outlen) { in nx_sha512_final()
/drivers/media/usb/dvb-usb/
Dvp7045.c25 int vp7045_usb_op(struct dvb_usb_device *d, u8 cmd, u8 *out, int outlen, u8 *in, int inlen, int mse… in vp7045_usb_op() argument
32 if (outlen > 19) in vp7045_usb_op()
33 outlen = 19; in vp7045_usb_op()
42 if (out != NULL && outlen > 0) in vp7045_usb_op()
43 memcpy(&buf[1], out, outlen); in vp7045_usb_op()
46 debug_dump(buf, outlen+1, deb_xfer); in vp7045_usb_op()
/drivers/infiniband/hw/mlx5/
Dqpc.c215 u32 *in, int inlen, u32 *out, int outlen) in mlx5_core_create_dct() argument
223 err = mlx5_cmd_exec(dev->mdev, in, inlen, out, outlen); in mlx5_core_create_dct()
319 int outlen; member
322 static int mbox_alloc(struct mbox_info *mbox, int inlen, int outlen) in mbox_alloc() argument
325 mbox->outlen = outlen; in mbox_alloc()
327 mbox->out = kzalloc(mbox->outlen, GFP_KERNEL); in mbox_alloc()
474 mbox.outlen); in mlx5_core_qp_modify()
506 u32 *out, int outlen) in mlx5_core_qp_query() argument
512 return mlx5_cmd_exec(dev->mdev, in, sizeof(in), out, outlen); in mlx5_core_qp_query()
516 u32 *out, int outlen) in mlx5_core_dct_query() argument
[all …]
Dqp.h15 u32 *in, int inlen, u32 *out, int outlen);
23 u32 *out, int outlen);
25 u32 *out, int outlen);
Dsrq_cmd.c337 int outlen; in create_rmp_cmd() local
349 outlen = MLX5_ST_SZ_BYTES(create_rmp_out); in create_rmp_cmd()
351 create_out = kvzalloc(outlen, GFP_KERNEL); in create_rmp_cmd()
374 err = mlx5_cmd_exec(dev->mdev, create_in, inlen, create_out, outlen); in create_rmp_cmd()
404 int outlen; in arm_rmp_cmd() local
409 outlen = MLX5_ST_SZ_BYTES(modify_rmp_out); in arm_rmp_cmd()
412 out = kvzalloc(outlen, GFP_KERNEL); in arm_rmp_cmd()
444 int outlen; in query_rmp_cmd() local
448 outlen = MLX5_ST_SZ_BYTES(query_rmp_out); in query_rmp_cmd()
451 rmp_out = kvzalloc(outlen, GFP_KERNEL); in query_rmp_cmd()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c205 int outlen = MLX5_ST_SZ_BYTES(query_qp_out); in qp_read_field() local
213 out = kzalloc(outlen, GFP_KERNEL); in qp_read_field()
285 int outlen = MLX5_ST_SZ_BYTES(query_eq_out); in eq_read_field() local
292 out = kzalloc(outlen, GFP_KERNEL); in eq_read_field()
325 int outlen = MLX5_ST_SZ_BYTES(query_cq_out); in cq_read_field() local
331 out = kvzalloc(outlen, GFP_KERNEL); in cq_read_field()
Dmr.c78 u32 *out, int outlen) in mlx5_core_query_mkey() argument
82 memset(out, 0, outlen); in mlx5_core_query_mkey()
85 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); in mlx5_core_query_mkey()
Dvport.c213 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_mtu() local
217 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_mtu()
423 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_system_image_guid() local
425 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_system_image_guid()
443 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_node_guid() local
445 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_node_guid()
497 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_qkey_viol_cntr() local
499 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_qkey_viol_cntr()
768 int outlen = MLX5_ST_SZ_BYTES(query_nic_vport_context_out); in mlx5_query_nic_vport_promisc() local
771 out = kzalloc(outlen, GFP_KERNEL); in mlx5_query_nic_vport_promisc()
[all …]
Dcq.c90 u32 *in, int inlen, u32 *out, int outlen) in mlx5_core_create_cq() argument
102 memset(out, 0, outlen); in mlx5_core_create_cq()
104 err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in mlx5_core_create_cq()
/drivers/platform/olpc/
Dolpc-ec.c24 size_t inlen, outlen; member
98 desc->outbuf, desc->outlen, ec_cb_arg); in olpc_ec_worker()
126 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() argument
151 desc.outlen = outlen; in olpc_ec_cmd()
/drivers/crypto/ux500/cryp/
Dcryp_core.c86 u32 outlen; member
204 dev_dbg(ctx->device->dev, "[%s] (len: %d) %s, ", __func__, ctx->outlen, in cryp_interrupt_handler()
210 if (ctx->outlen / ctx->blocksize > 0) { in cryp_interrupt_handler()
215 ctx->outlen -= count; in cryp_interrupt_handler()
217 if (ctx->outlen == 0) { in cryp_interrupt_handler()
754 u32 outlen = datalen; in hw_crypt_noxts() local
758 ctx->outlen = ctx->datalen; in hw_crypt_noxts()
780 while (ctx->outlen > 0) in hw_crypt_noxts()
807 ctx->outlen = outlen; in hw_crypt_noxts()
838 ctx->outlen = areq->cryptlen; in ablk_dma_crypt()
[all …]
/drivers/infiniband/sw/rdmavt/
Dcq.c189 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_create_cq()
207 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_create_cq()
356 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
370 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()
441 if (udata && udata->outlen >= sizeof(__u64)) { in rvt_resize_cq()

1234