Home
last modified time | relevance | path

Searched refs:rhdr (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dkinect.c129 struct cam_hdr *rhdr = (void *)ibuf; in send_cmd() local
157 if (actual_len < (int)sizeof(*rhdr)) { in send_cmd()
162 actual_len -= sizeof(*rhdr); in send_cmd()
164 if (rhdr->magic[0] != 0x52 || rhdr->magic[1] != 0x42) { in send_cmd()
166 rhdr->magic[0], rhdr->magic[1]); in send_cmd()
169 if (rhdr->cmd != chdr->cmd) { in send_cmd()
171 rhdr->cmd, chdr->cmd); in send_cmd()
174 if (rhdr->tag != chdr->tag) { in send_cmd()
176 rhdr->tag, chdr->tag); in send_cmd()
179 if (le16_to_cpu(rhdr->len) != (actual_len/2)) { in send_cmd()
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/
Dprobe.c87 msg.rhdr.hdr.size = sizeof(msg); in sof_ipc_probe_info()
88 msg.rhdr.hdr.cmd = SOF_IPC_GLB_PROBE | cmd; in sof_ipc_probe_info()
90 ret = sof_ipc_tx_message(sdev->ipc, msg.rhdr.hdr.cmd, &msg, in sof_ipc_probe_info()
91 msg.rhdr.hdr.size, reply, SOF_IPC_MSG_MAX_SIZE); in sof_ipc_probe_info()
92 if (ret < 0 || reply->rhdr.error < 0) in sof_ipc_probe_info()
Dipc.c620 partdata->rhdr.hdr.size = sparams->hdr_bytes + send_bytes; in sof_set_get_large_ctrl_data()
629 partdata->rhdr.hdr.cmd, in sof_set_get_large_ctrl_data()
631 partdata->rhdr.hdr.size, in sof_set_get_large_ctrl_data()
633 partdata->rhdr.hdr.size); in sof_set_get_large_ctrl_data()
684 cdata->rhdr.hdr.cmd = SOF_IPC_GLB_COMP_MSG | ipc_cmd; in snd_sof_ipc_set_get_comp_data()
717 cdata->rhdr.hdr.size = sparams.msg_bytes + sparams.hdr_bytes; in snd_sof_ipc_set_get_comp_data()
722 if (cdata->rhdr.hdr.size <= SOF_IPC_MSG_MAX_SIZE) { in snd_sof_ipc_set_get_comp_data()
723 err = sof_ipc_tx_message(sdev->ipc, cdata->rhdr.hdr.cmd, cdata, in snd_sof_ipc_set_get_comp_data()
724 cdata->rhdr.hdr.size, cdata, in snd_sof_ipc_set_get_comp_data()
725 cdata->rhdr.hdr.size); in snd_sof_ipc_set_get_comp_data()
[all …]
Dprobe.h43 struct sof_ipc_reply rhdr; member
Dtopology.c2512 if (ret < 0 || reply.rhdr.error < 0) { in sof_widget_ready()
2517 ? tw->sname : "none", reply.rhdr.error); in sof_widget_ready()
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi_tcp.c490 struct iscsi_data_rsp *rhdr = (struct iscsi_data_rsp *)tcp_conn->in.hdr; in iscsi_tcp_data_in() local
491 int datasn = be32_to_cpu(rhdr->datasn); in iscsi_tcp_data_in()
498 if (!(rhdr->flags & ISCSI_FLAG_DATA_STATUS)) in iscsi_tcp_data_in()
499 iscsi_update_cmdsn(conn->session, (struct iscsi_nopin*)rhdr); in iscsi_tcp_data_in()
512 tcp_task->data_offset = be32_to_cpu(rhdr->offset); in iscsi_tcp_data_in()
534 struct iscsi_r2t_rsp *rhdr; in iscsi_tcp_r2t_rsp() local
564 rhdr = (struct iscsi_r2t_rsp *)tcp_conn->in.hdr; in iscsi_tcp_r2t_rsp()
566 iscsi_update_cmdsn(session, (struct iscsi_nopin *)rhdr); in iscsi_tcp_r2t_rsp()
578 r2tsn = be32_to_cpu(rhdr->r2tsn); in iscsi_tcp_r2t_rsp()
594 data_length = be32_to_cpu(rhdr->data_length); in iscsi_tcp_r2t_rsp()
[all …]
Dlibiscsi.c805 struct iscsi_scsi_rsp *rhdr = (struct iscsi_scsi_rsp *)hdr; in iscsi_scsi_cmd_rsp() local
809 iscsi_update_cmdsn(session, (struct iscsi_nopin*)rhdr); in iscsi_scsi_cmd_rsp()
810 conn->exp_statsn = be32_to_cpu(rhdr->statsn) + 1; in iscsi_scsi_cmd_rsp()
812 sc->result = (DID_OK << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp()
838 if (rhdr->response != ISCSI_STATUS_CMD_COMPLETED) { in iscsi_scsi_cmd_rsp()
843 if (rhdr->cmd_status == SAM_STAT_CHECK_CONDITION) { in iscsi_scsi_cmd_rsp()
866 if (rhdr->flags & (ISCSI_FLAG_CMD_BIDI_UNDERFLOW | in iscsi_scsi_cmd_rsp()
868 sc->result = (DID_BAD_TARGET << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp()
871 if (rhdr->flags & (ISCSI_FLAG_CMD_UNDERFLOW | in iscsi_scsi_cmd_rsp()
873 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_scsi_cmd_rsp()
[all …]
/kernel/linux/linux-5.10/include/sound/sof/
Dcontrol.h99 struct sof_ipc_reply rhdr; member
140 struct sof_ipc_reply rhdr; member
Dstream.h104 struct sof_ipc_reply rhdr; member
134 struct sof_ipc_reply rhdr; member
Dtrace.h40 struct sof_ipc_reply rhdr; member
Dtopology.h252 struct sof_ipc_reply rhdr; member
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dqlink.h1022 struct qlink_resp rhdr; member
1061 struct qlink_resp rhdr; member
1125 struct qlink_resp rhdr; member
1146 struct qlink_resp rhdr; member
1167 struct qlink_resp rhdr; member
1182 struct qlink_resp rhdr; member
1197 struct qlink_resp rhdr; member
1208 struct qlink_resp rhdr; member
1221 struct qlink_resp rhdr; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Ddriver.c257 struct ib_header *rhdr = packet->hdr; in rcv_hdrerr() local
275 u8 lnh = ib_get_lnh(rhdr); in rcv_hdrerr()
279 packet->ohdr = &rhdr->u.oth; in rcv_hdrerr()
281 packet->ohdr = &rhdr->u.l.oth; in rcv_hdrerr()
282 packet->grh = &rhdr->u.l.grh; in rcv_hdrerr()
291 u32 dlid = ib_get_dlid(rhdr); in rcv_hdrerr()
373 sc5 = hfi1_9B_get_sc5(rhdr, packet->rhf); in rcv_hdrerr()
391 rlid = ib_get_slid(rhdr); in rcv_hdrerr()
/kernel/linux/linux-5.10/fs/nfs/
Dread.c47 static void nfs_readhdr_free(struct nfs_pgio_header *rhdr) in nfs_readhdr_free() argument
49 kmem_cache_free(nfs_rdata_cachep, rhdr); in nfs_readhdr_free()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_driver.c293 __le32 *rhf_addr, struct qib_message_header *rhdr) in qib_rcv_hdrerr() argument
301 struct ib_header *hdr = (struct ib_header *)rhdr; in qib_rcv_hdrerr()
Dqib_verbs.c271 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument
275 struct ib_header *hdr = rhdr; in qib_ib_rcv()