Searched refs:resp_data_len (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/drivers/fsi/ |
D | fsi-occ.c | 261 size_t cmd_len, parsed_len, resp_data_len; in occ_getsram() local 306 resp_data_len = be32_to_cpu(resp[parsed_len - 1]); in occ_getsram() 307 if (resp_data_len != data_len) { in occ_getsram() 309 data_len, resp_data_len); in occ_getsram() 322 size_t cmd_len, parsed_len, resp_data_len; in occ_putsram() local 384 resp_data_len = be32_to_cpu(buf[0]); in occ_putsram() 385 if (resp_data_len != data_len) { in occ_putsram() 388 data_len, resp_data_len); in occ_putsram() 399 size_t cmd_len, parsed_len, resp_data_len; in occ_trigger_attn() local 445 resp_data_len = be32_to_cpu(buf[0]); in occ_trigger_attn() [all …]
|
/linux-6.12.1/drivers/cdx/controller/ |
D | mcdi.c | 620 size_t resp_hdr_len, resp_data_len; in cdx_mcdi_complete_cmd() local 634 resp_data_len = CDX_DWORD_FIELD(outbuf[0], MCDI_HEADER_DATALEN); in cdx_mcdi_complete_cmd() 636 resp_data_len = 0; in cdx_mcdi_complete_cmd() 639 resp_data_len = 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() 646 resp_data_len = 0; in cdx_mcdi_complete_cmd() 652 outbuf + (resp_hdr_len / 4), resp_data_len, false); in cdx_mcdi_complete_cmd() 654 if (error && resp_data_len == 0) { in cdx_mcdi_complete_cmd() 658 if (WARN_ON_ONCE(error && resp_data_len < 4)) in cdx_mcdi_complete_cmd() [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | mcdi.c | 282 mcdi->resp_data_len = EFX_DWORD_FIELD(hdr, MCDI_HEADER_DATALEN); in efx_mcdi_read_response_header() 286 mcdi->resp_data_len = in efx_mcdi_read_response_header() 301 data_len = DIV_ROUND_UP(mcdi->resp_data_len, 4); in efx_mcdi_read_response_header() 324 if (error && mcdi->resp_data_len == 0) { in efx_mcdi_read_response_header() 369 mcdi->resp_data_len = 0; in efx_mcdi_poll() 528 data_len = mcdi->resp_data_len; in efx_mcdi_complete_async() 589 mcdi->resp_data_len = datalen; in efx_mcdi_ev_cpl() 708 data_len = mcdi->resp_data_len; in _efx_mcdi_rpc_finish() 1234 mcdi->resp_data_len = 0; in efx_mcdi_ev_death() 1283 mcdi->resp_data_len = 0; in efx_mcdi_ev_bist()
|
D | mcdi.h | 79 size_t resp_data_len; member
|
/linux-6.12.1/drivers/net/ethernet/sfc/ |
D | mcdi.c | 278 mcdi->resp_data_len = EFX_DWORD_FIELD(hdr, MCDI_HEADER_DATALEN); in efx_mcdi_read_response_header() 282 mcdi->resp_data_len = in efx_mcdi_read_response_header() 297 data_len = DIV_ROUND_UP(mcdi->resp_data_len, 4); in efx_mcdi_read_response_header() 320 if (error && mcdi->resp_data_len == 0) { in efx_mcdi_read_response_header() 365 mcdi->resp_data_len = 0; in efx_mcdi_poll() 524 data_len = mcdi->resp_data_len; in efx_mcdi_complete_async() 585 mcdi->resp_data_len = datalen; in efx_mcdi_ev_cpl() 704 data_len = mcdi->resp_data_len; in _efx_mcdi_rpc_finish() 1228 mcdi->resp_data_len = 0; in efx_mcdi_ev_death() 1277 mcdi->resp_data_len = 0; in efx_mcdi_ev_bist()
|
D | mcdi.h | 79 size_t resp_data_len; member
|
/linux-6.12.1/include/scsi/ |
D | srp.h | 268 __be32 resp_data_len; member
|
/linux-6.12.1/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 1516 int resp_data_len; in srpt_build_tskmgmt_rsp() local 1519 resp_data_len = 4; in srpt_build_tskmgmt_rsp() 1520 resp_len = sizeof(*srp_rsp) + resp_data_len; in srpt_build_tskmgmt_rsp() 1532 srp_rsp->resp_data_len = cpu_to_be32(resp_data_len); in srpt_build_tskmgmt_rsp()
|
/linux-6.12.1/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 1945 if (be32_to_cpu(rsp->resp_data_len) >= 4) in srp_process_rsp() 1975 be32_to_cpu(rsp->resp_data_len), in srp_process_rsp()
|
/linux-6.12.1/drivers/scsi/ibmvscsi_tgt/ |
D | ibmvscsi_tgt.c | 3127 rsp->resp_data_len = cpu_to_be32(4); in srp_build_response()
|