Lines Matching refs:inlen

39 	size_t inlen;  member
148 const efx_dword_t *inbuf, size_t inlen) in efx_mcdi_send_request() argument
176 MCDI_HEADER_DATALEN, inlen, in efx_mcdi_send_request()
183 BUG_ON(inlen > MCDI_CTL_SDU_LEN_MAX_V2); in efx_mcdi_send_request()
194 MC_CMD_V2_EXTN_IN_ACTUAL_LEN, inlen); in efx_mcdi_send_request()
206 WARN_ON_ONCE(inlen % 4); in efx_mcdi_send_request()
216 for (i = 0; i < inlen / 4 && bytes < PAGE_SIZE; i++) in efx_mcdi_send_request()
225 efx->type->mcdi_request(efx, hdr, hdr_len, inbuf, inlen); in efx_mcdi_send_request()
478 async->inlen); in efx_mcdi_release()
548 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async()
614 efx_mcdi_check_supported(struct efx_nic *efx, unsigned int cmd, size_t inlen) in efx_mcdi_check_supported() argument
621 if (inlen > MCDI_CTL_SDU_LEN_MAX_V2 || in efx_mcdi_check_supported()
623 inlen > MCDI_CTL_SDU_LEN_MAX_V1)) in efx_mcdi_check_supported()
649 size_t inlen, in _efx_mcdi_rpc_finish() argument
666 cmd, (int)inlen, mcdi->mode); in _efx_mcdi_rpc_finish()
733 efx_mcdi_display_error(efx, cmd, inlen, errbuf, err_len, in _efx_mcdi_rpc_finish()
800 const efx_dword_t *inbuf, size_t inlen, in _efx_mcdi_rpc() argument
807 if (inbuf && inlen && (inbuf == outbuf)) { in _efx_mcdi_rpc()
813 rc = efx_mcdi_rpc_start(efx, cmd, inbuf, inlen); in _efx_mcdi_rpc()
817 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc()
838 efx_mcdi_send_request(efx, cmd, inbuf, inlen); in _efx_mcdi_rpc()
840 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, in _efx_mcdi_rpc()
858 const efx_dword_t *inbuf, size_t inlen, in _efx_mcdi_rpc_evb_retry() argument
865 rc = _efx_mcdi_rpc(efx, cmd, inbuf, inlen, in _efx_mcdi_rpc_evb_retry()
883 rc = _efx_mcdi_rpc(efx, cmd, inbuf, inlen, in _efx_mcdi_rpc_evb_retry()
894 efx_mcdi_display_error(efx, cmd, inlen, in _efx_mcdi_rpc_evb_retry()
925 const efx_dword_t *inbuf, size_t inlen, in efx_mcdi_rpc() argument
929 return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_mcdi_rpc()
942 const efx_dword_t *inbuf, size_t inlen, in efx_mcdi_rpc_quiet() argument
946 return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_mcdi_rpc_quiet()
951 const efx_dword_t *inbuf, size_t inlen) in efx_mcdi_rpc_start() argument
956 rc = efx_mcdi_check_supported(efx, cmd, inlen); in efx_mcdi_rpc_start()
967 efx_mcdi_send_request(efx, cmd, inbuf, inlen); in efx_mcdi_rpc_start()
972 const efx_dword_t *inbuf, size_t inlen, in _efx_mcdi_rpc_async() argument
981 rc = efx_mcdi_check_supported(efx, cmd, inlen); in _efx_mcdi_rpc_async()
988 async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), in _efx_mcdi_rpc_async()
994 async->inlen = inlen; in _efx_mcdi_rpc_async()
999 memcpy(async + 1, inbuf, inlen); in _efx_mcdi_rpc_async()
1011 efx_mcdi_send_request(efx, cmd, inbuf, inlen); in _efx_mcdi_rpc_async()
1047 const efx_dword_t *inbuf, size_t inlen, size_t outlen, in efx_mcdi_rpc_async() argument
1050 return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, in efx_mcdi_rpc_async()
1055 const efx_dword_t *inbuf, size_t inlen, in efx_mcdi_rpc_async_quiet() argument
1059 return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, in efx_mcdi_rpc_async_quiet()
1063 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inlen, in efx_mcdi_rpc_finish() argument
1067 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in efx_mcdi_rpc_finish()
1071 int efx_mcdi_rpc_finish_quiet(struct efx_nic *efx, unsigned cmd, size_t inlen, in efx_mcdi_rpc_finish_quiet() argument
1075 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in efx_mcdi_rpc_finish_quiet()
1080 size_t inlen, efx_dword_t *outbuf, in efx_mcdi_display_error() argument
1091 cmd, inlen, rc, code, err_arg); in efx_mcdi_display_error()