Searched refs:rhdr (Results 1 – 6 of 6) sorted by relevance
/drivers/media/usb/gspca/ |
D | kinect.c | 132 struct cam_hdr *rhdr = (void *)ibuf; in send_cmd() local 159 if (actual_len < sizeof(*rhdr)) { in send_cmd() 163 actual_len -= sizeof(*rhdr); in send_cmd() 165 if (rhdr->magic[0] != 0x52 || rhdr->magic[1] != 0x42) { in send_cmd() 167 rhdr->magic[0], rhdr->magic[1]); in send_cmd() 170 if (rhdr->cmd != chdr->cmd) { in send_cmd() 172 rhdr->cmd, chdr->cmd); in send_cmd() 175 if (rhdr->tag != chdr->tag) { in send_cmd() 177 rhdr->tag, chdr->tag); in send_cmd() 180 if (cpu_to_le16(rhdr->len) != (actual_len/2)) { in send_cmd() [all …]
|
/drivers/scsi/ |
D | libiscsi_tcp.c | 485 struct iscsi_data_rsp *rhdr = (struct iscsi_data_rsp *)tcp_conn->in.hdr; in iscsi_tcp_data_in() local 486 int datasn = be32_to_cpu(rhdr->datasn); in iscsi_tcp_data_in() 493 if (!(rhdr->flags & ISCSI_FLAG_DATA_STATUS)) in iscsi_tcp_data_in() 494 iscsi_update_cmdsn(conn->session, (struct iscsi_nopin*)rhdr); in iscsi_tcp_data_in() 507 tcp_task->data_offset = be32_to_cpu(rhdr->offset); in iscsi_tcp_data_in() 529 struct iscsi_r2t_rsp *rhdr = (struct iscsi_r2t_rsp *)tcp_conn->in.hdr; in iscsi_tcp_r2t_rsp() local 531 int r2tsn = be32_to_cpu(rhdr->r2tsn); in iscsi_tcp_r2t_rsp() 548 iscsi_update_cmdsn(session, (struct iscsi_nopin*)rhdr); in iscsi_tcp_r2t_rsp() 565 r2t->exp_statsn = rhdr->statsn; in iscsi_tcp_r2t_rsp() 566 r2t->data_length = be32_to_cpu(rhdr->data_length); in iscsi_tcp_r2t_rsp() [all …]
|
D | libiscsi.c | 817 struct iscsi_scsi_rsp *rhdr = (struct iscsi_scsi_rsp *)hdr; in iscsi_scsi_cmd_rsp() local 821 iscsi_update_cmdsn(session, (struct iscsi_nopin*)rhdr); in iscsi_scsi_cmd_rsp() 822 conn->exp_statsn = be32_to_cpu(rhdr->statsn) + 1; in iscsi_scsi_cmd_rsp() 824 sc->result = (DID_OK << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp() 826 if (rhdr->response != ISCSI_STATUS_CMD_COMPLETED) { in iscsi_scsi_cmd_rsp() 831 if (rhdr->cmd_status == SAM_STAT_CHECK_CONDITION) { in iscsi_scsi_cmd_rsp() 854 if (rhdr->flags & (ISCSI_FLAG_CMD_BIDI_UNDERFLOW | in iscsi_scsi_cmd_rsp() 856 int res_count = be32_to_cpu(rhdr->bi_residual_count); in iscsi_scsi_cmd_rsp() 859 (rhdr->flags & ISCSI_FLAG_CMD_BIDI_OVERFLOW || in iscsi_scsi_cmd_rsp() 863 sc->result = (DID_BAD_TARGET << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp() [all …]
|
/drivers/infiniband/hw/qib/ |
D | qib_driver.c | 298 __le32 *rhf_addr, struct qib_message_header *rhdr) in qib_rcv_hdrerr() argument 306 struct qib_ib_header *hdr = (struct qib_ib_header *) rhdr; in qib_rcv_hdrerr()
|
D | qib_verbs.c | 608 void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen) in qib_ib_rcv() argument 612 struct qib_ib_header *hdr = rhdr; in qib_ib_rcv()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_verbs.c | 583 void ipath_ib_rcv(struct ipath_ibdev *dev, void *rhdr, void *data, in ipath_ib_rcv() argument 586 struct ipath_ib_header *hdr = rhdr; in ipath_ib_rcv()
|