Home
last modified time | relevance | path

Searched refs:resp_hdr_len (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/cdx/controller/
Dmcdi.c620 size_t resp_hdr_len, resp_data_len; in cdx_mcdi_complete_cmd() local
633 resp_hdr_len = 4; in cdx_mcdi_complete_cmd()
637 resp_hdr_len = 8; in cdx_mcdi_complete_cmd()
643 if ((resp_hdr_len + resp_data_len) > len) { in cdx_mcdi_complete_cmd()
645 len, (resp_hdr_len + resp_data_len)); in cdx_mcdi_complete_cmd()
650 outbuf, resp_hdr_len, false); in cdx_mcdi_complete_cmd()
652 outbuf + (resp_hdr_len / 4), resp_data_len, false); in cdx_mcdi_complete_cmd()
661 rc = CDX_DWORD_FIELD(outbuf[resp_hdr_len / 4], CDX_DWORD); in cdx_mcdi_complete_cmd()
666 int offset = (resp_hdr_len + MC_CMD_ERR_ARG_OFST) / 4; in cdx_mcdi_complete_cmd()
693 cmd->outbuf = outbuf + DIV_ROUND_UP(resp_hdr_len, 4); in cdx_mcdi_complete_cmd()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dmcdi.c281 mcdi->resp_hdr_len = 4; in efx_mcdi_read_response_header()
285 mcdi->resp_hdr_len = 8; in efx_mcdi_read_response_header()
296 WARN_ON_ONCE(mcdi->resp_hdr_len % 4); in efx_mcdi_read_response_header()
297 hdr_len = mcdi->resp_hdr_len / 4; in efx_mcdi_read_response_header()
314 mcdi->resp_hdr_len + (i * 4), 4); in efx_mcdi_read_response_header()
333 efx->type->mcdi_read_response(efx, &hdr, mcdi->resp_hdr_len, 4); in efx_mcdi_read_response_header()
368 mcdi->resp_hdr_len = 0; in efx_mcdi_poll()
527 hdr_len = mcdi->resp_hdr_len; in efx_mcdi_complete_async()
588 mcdi->resp_hdr_len = 4; in efx_mcdi_ev_cpl()
707 hdr_len = mcdi->resp_hdr_len; in _efx_mcdi_rpc_finish()
[all …]
Dmcdi.h78 size_t resp_hdr_len; member
/linux-6.12.1/drivers/net/ethernet/sfc/
Dmcdi.c277 mcdi->resp_hdr_len = 4; in efx_mcdi_read_response_header()
281 mcdi->resp_hdr_len = 8; in efx_mcdi_read_response_header()
292 WARN_ON_ONCE(mcdi->resp_hdr_len % 4); in efx_mcdi_read_response_header()
293 hdr_len = mcdi->resp_hdr_len / 4; in efx_mcdi_read_response_header()
310 mcdi->resp_hdr_len + (i * 4), 4); in efx_mcdi_read_response_header()
329 efx->type->mcdi_read_response(efx, &hdr, mcdi->resp_hdr_len, 4); in efx_mcdi_read_response_header()
364 mcdi->resp_hdr_len = 0; in efx_mcdi_poll()
523 hdr_len = mcdi->resp_hdr_len; in efx_mcdi_complete_async()
584 mcdi->resp_hdr_len = 4; in efx_mcdi_ev_cpl()
703 hdr_len = mcdi->resp_hdr_len; in _efx_mcdi_rpc_finish()
[all …]
Dmcdi.h78 size_t resp_hdr_len; member