Searched refs:resp_hdr_len (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/cdx/controller/ |
H A D | mcdi.c | 624 size_t resp_hdr_len, resp_data_len; in cdx_mcdi_complete_cmd() local 637 resp_hdr_len = 4; in cdx_mcdi_complete_cmd() 641 resp_hdr_len = 8; in cdx_mcdi_complete_cmd() 647 if ((resp_hdr_len + resp_data_len) > len) { in cdx_mcdi_complete_cmd() 649 len, (resp_hdr_len + resp_data_len)); in cdx_mcdi_complete_cmd() 654 outbuf, resp_hdr_len, false); in cdx_mcdi_complete_cmd() 656 outbuf + (resp_hdr_len / 4), resp_data_len, false); in cdx_mcdi_complete_cmd() 665 rc = CDX_DWORD_FIELD(outbuf[resp_hdr_len / 4], CDX_DWORD); in cdx_mcdi_complete_cmd() 670 int offset = (resp_hdr_len + MC_CMD_ERR_ARG_OFST) / 4; in cdx_mcdi_complete_cmd() 697 cmd->outbuf = outbuf + DIV_ROUND_UP(resp_hdr_len, 4); in cdx_mcdi_complete_cmd()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi.c | 281 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 …]
|
H A D | mcdi.h | 78 size_t resp_hdr_len; member
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi.c | 277 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 …]
|
H A D | mcdi.h | 78 size_t resp_hdr_len; member
|