Home
last modified time | relevance | path

Searched refs:resp_hdr (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/scsi/bnx2i/
H A Dbnx2i_hwi.c1451 resp_hdr = (struct iscsi_login_rsp *) &bnx2i_conn->gen_pdu.resp_hdr; in bnx2i_process_login_resp()
1457 resp_hdr->hlength = 0; in bnx2i_process_login_resp()
1518 resp_hdr = (struct iscsi_text_rsp *)&bnx2i_conn->gen_pdu.resp_hdr; in bnx2i_process_text_resp()
1522 resp_hdr->hlength = 0; in bnx2i_process_text_resp()
1569 struct iscsi_tm_rsp *resp_hdr; in bnx2i_process_tmf_resp() local
1578 resp_hdr = (struct iscsi_tm_rsp *) &bnx2i_conn->gen_pdu.resp_hdr; in bnx2i_process_tmf_resp()
1617 resp_hdr = (struct iscsi_logout_rsp *) &bnx2i_conn->gen_pdu.resp_hdr; in bnx2i_process_logout_resp()
1621 resp_hdr->hlength = 0; in bnx2i_process_logout_resp()
1745 struct iscsi_async *resp_hdr; in bnx2i_process_async_mesg() local
1760 resp_hdr = (struct iscsi_async *) &bnx2i_conn->gen_pdu.resp_hdr; in bnx2i_process_async_mesg()
[all …]
H A Dbnx2i.h200 struct iscsi_hdr resp_hdr; member
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_sandbox.c284 struct ec_host_response *resp_hdr, void *resp_data) in process_cmd() argument
477 void *resp_data = resp_hdr + 1; in cros_ec_sandbox_packet()
480 len = process_cmd(ec, req_hdr, req_data, resp_hdr, resp_data); in cros_ec_sandbox_packet()
484 resp_hdr->struct_version = 3; in cros_ec_sandbox_packet()
485 resp_hdr->result = EC_RES_SUCCESS; in cros_ec_sandbox_packet()
486 resp_hdr->data_len = len; in cros_ec_sandbox_packet()
487 resp_hdr->reserved = 0; in cros_ec_sandbox_packet()
488 len += sizeof(*resp_hdr); in cros_ec_sandbox_packet()
489 resp_hdr->checksum = 0; in cros_ec_sandbox_packet()
490 resp_hdr->checksum = (uint8_t) in cros_ec_sandbox_packet()
[all …]
/openbmc/linux/net/nfc/nci/
H A Dspi.c179 unsigned char req[2], resp_hdr[2]; in __nci_spi_read() local
196 rx.rx_buf = resp_hdr; in __nci_spi_read()
207 rx_len = ((resp_hdr[0] & NCI_SPI_MSB_PAYLOAD_MASK) << 8) + in __nci_spi_read()
208 resp_hdr[1] + NCI_SPI_CRC_LEN; in __nci_spi_read()
210 rx_len = (resp_hdr[0] << 8) | resp_hdr[1]; in __nci_spi_read()
232 *(u8 *)skb_push(skb, 1) = resp_hdr[1]; in __nci_spi_read()
233 *(u8 *)skb_push(skb, 1) = resp_hdr[0]; in __nci_spi_read()
/openbmc/u-boot/drivers/fpga/
H A Dstratix10.c208 u32 resp_hdr = get_resp_hdr(&resp_rindex, &resp_windex, in send_reconfig_data() local
218 if (!resp_hdr || MBOX_RESP_LEN_GET(resp_hdr)) in send_reconfig_data()
223 resp_err = MBOX_RESP_ERR_GET(resp_hdr); in send_reconfig_data()
229 MBOX_RESP_ID_GET(resp_hdr)); in send_reconfig_data()
/openbmc/linux/samples/mei/
H A Dmei-amt-version.c357 const struct amt_host_if_msg_header *resp_hdr, in amt_verify_response_header() argument
362 } else if (response_size != (resp_hdr->length + in amt_verify_response_header()
365 } else if (resp_hdr->command != command) { in amt_verify_response_header()
367 } else if (resp_hdr->_reserved != 0) { in amt_verify_response_header()
369 } else if (resp_hdr->version.major != AMT_MAJOR_VERSION || in amt_verify_response_header()
370 resp_hdr->version.minor < AMT_MINOR_VERSION) { in amt_verify_response_header()
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_fw.c36 struct iscsi_logout_rsp *resp_hdr; in qedi_process_logout_resp() local
44 resp_hdr = (struct iscsi_logout_rsp *)&qedi_conn->gen_pdu.resp_hdr; in qedi_process_logout_resp()
45 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in qedi_process_logout_resp()
46 resp_hdr->opcode = cqe_logout_response->opcode; in qedi_process_logout_resp()
47 resp_hdr->flags = cqe_logout_response->flags; in qedi_process_logout_resp()
48 resp_hdr->hlength = 0; in qedi_process_logout_resp()
488 struct iscsi_async *resp_hdr; in qedi_process_async_mesg() local
508 resp_hdr = (struct iscsi_async *)&qedi_conn->gen_pdu.resp_hdr; in qedi_process_async_mesg()
509 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in qedi_process_async_mesg()
510 resp_hdr->opcode = cqe_async_msg->opcode; in qedi_process_async_mesg()
[all …]
H A Dqedi_iscsi.h138 struct iscsi_hdr resp_hdr; member
/openbmc/linux/drivers/virt/coco/sev-guest/
H A Dsev-guest.c285 struct snp_guest_msg_hdr *resp_hdr = &resp->hdr; in verify_and_dec_payload() local
288 resp_hdr->msg_seqno, resp_hdr->msg_type, resp_hdr->msg_version, resp_hdr->msg_sz); in verify_and_dec_payload()
294 if (unlikely(resp_hdr->msg_seqno != (req_hdr->msg_seqno + 1))) in verify_and_dec_payload()
298 if (resp_hdr->msg_type != (req_hdr->msg_type + 1) || in verify_and_dec_payload()
299 resp_hdr->msg_version != req_hdr->msg_version) in verify_and_dec_payload()
306 if (unlikely((resp_hdr->msg_sz + crypto->a_len) > sz)) in verify_and_dec_payload()
310 return dec_payload(snp_dev, resp, payload, resp_hdr->msg_sz + crypto->a_len); in verify_and_dec_payload()
/openbmc/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c276 void *resp_hdr; member
587 u8 *resp_hdr; /* virtual addr of start of resp message DMA header */ in pdc_receive_one() local
625 resp_hdr = rx_ctx->resp_hdr; in pdc_receive_one()
644 rx_status = *((u32 *)resp_hdr); in pdc_receive_one()
660 dma_pool_free(pdcs->rx_buf_pool, resp_hdr, resp_hdr_daddr); in pdc_receive_one()
854 rx_ctx->resp_hdr = vaddr; in pdc_rx_list_init()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_cmds.h322 struct be_cmd_resp_hdr resp_hdr; member
752 struct be_cmd_resp_hdr resp_hdr; member
777 struct be_cmd_resp_hdr resp_hdr; member
960 struct be_cmd_resp_hdr resp_hdr; member
1257 struct be_cmd_resp_hdr resp_hdr; member
H A Dbe_cmds.c1507 ret, ioctl->h.resp_hdr.status); in beiscsi_get_port_name()
/openbmc/linux/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc.c300 struct mc_cmd_header *resp_hdr; in vfio_fsl_mc_send_command() local
304 resp_hdr = (struct mc_cmd_header *)&header; in vfio_fsl_mc_send_command()
305 status = (enum mc_cmd_status)resp_hdr->status; in vfio_fsl_mc_send_command()
/openbmc/linux/drivers/media/pci/intel/ivsc/
H A Dmei_ace.c230 union ace_notif_hdr *resp_hdr = &ace->cmd_response.hdr; in mei_ace_send() local
278 if (resp_hdr->response.cmd_id != cmd_hdr->cmd_id) in mei_ace_send()
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_req.h491 struct resp_hdr { struct
524 struct resp_hdr resp;
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c188 struct be_cmd_resp_hdr *resp_hdr) in be_async_cmd_process() argument
193 if (resp_hdr) { in be_async_cmd_process()
194 opcode = resp_hdr->opcode; in be_async_cmd_process()
195 subsystem = resp_hdr->subsystem; in be_async_cmd_process()
231 (void *)resp_hdr; in be_async_cmd_process()
248 struct be_cmd_resp_hdr *resp_hdr; in be_mcc_compl_process() local
259 resp_hdr = be_decode_resp_hdr(compl->tag0, compl->tag1); in be_mcc_compl_process()
260 if (resp_hdr) { in be_mcc_compl_process()
261 opcode = resp_hdr->opcode; in be_mcc_compl_process()
262 subsystem = resp_hdr->subsystem; in be_mcc_compl_process()
[all …]
H A Dbe_cmds.h397 struct be_cmd_resp_hdr resp_hdr; member
1247 struct be_cmd_resp_hdr resp_hdr; member
1585 struct be_cmd_resp_hdr resp_hdr; member
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c768 static int mana_verify_resp_hdr(const struct gdma_resp_hdr *resp_hdr, in mana_verify_resp_hdr() argument
772 if (resp_hdr->response.msg_type != expected_code) in mana_verify_resp_hdr()
775 if (resp_hdr->response.msg_version < GDMA_MESSAGE_V1) in mana_verify_resp_hdr()
778 if (resp_hdr->response.msg_size < min_size) in mana_verify_resp_hdr()
/openbmc/linux/drivers/infiniband/core/
H A Dmad.c1912 struct ib_mad_hdr *resp_hdr = (struct ib_mad_hdr *)response->mad; in generate_unmatched_resp() local
1920 resp_hdr->method = IB_MGMT_METHOD_GET_RESP; in generate_unmatched_resp()
1921 resp_hdr->status = cpu_to_be16(IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD_ATTRIB); in generate_unmatched_resp()
1923 resp_hdr->status |= IB_SMP_DIRECTION; in generate_unmatched_resp()