Searched refs:rhdr (Results 1 – 7 of 7) sorted by relevance
/drivers/media/usb/gspca/ |
D | kinect.c | 129 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 …]
|
/drivers/scsi/ |
D | libiscsi_tcp.c | 490 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 …]
|
D | libiscsi.c | 821 struct iscsi_scsi_rsp *rhdr = (struct iscsi_scsi_rsp *)hdr; in iscsi_scsi_cmd_rsp() local 825 iscsi_update_cmdsn(session, (struct iscsi_nopin*)rhdr); in iscsi_scsi_cmd_rsp() 826 conn->exp_statsn = be32_to_cpu(rhdr->statsn) + 1; in iscsi_scsi_cmd_rsp() 828 sc->result = (DID_OK << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp() 851 if (rhdr->response != ISCSI_STATUS_CMD_COMPLETED) { in iscsi_scsi_cmd_rsp() 856 if (rhdr->cmd_status == SAM_STAT_CHECK_CONDITION) { in iscsi_scsi_cmd_rsp() 879 if (rhdr->flags & (ISCSI_FLAG_CMD_BIDI_UNDERFLOW | in iscsi_scsi_cmd_rsp() 881 sc->result = (DID_BAD_TARGET << 16) | rhdr->cmd_status; in iscsi_scsi_cmd_rsp() 884 if (rhdr->flags & (ISCSI_FLAG_CMD_UNDERFLOW | in iscsi_scsi_cmd_rsp() 886 int res_count = be32_to_cpu(rhdr->residual_count); in iscsi_scsi_cmd_rsp() [all …]
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | qlink.h | 1022 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
|
/drivers/infiniband/hw/hfi1/ |
D | driver.c | 215 struct ib_header *rhdr = packet->hdr; in rcv_hdrerr() local 233 u8 lnh = ib_get_lnh(rhdr); in rcv_hdrerr() 237 packet->ohdr = &rhdr->u.oth; in rcv_hdrerr() 239 packet->ohdr = &rhdr->u.l.oth; in rcv_hdrerr() 240 packet->grh = &rhdr->u.l.grh; in rcv_hdrerr() 249 u32 dlid = ib_get_dlid(rhdr); in rcv_hdrerr() 331 sc5 = hfi1_9B_get_sc5(rhdr, packet->rhf); in rcv_hdrerr() 349 rlid = ib_get_slid(rhdr); in rcv_hdrerr()
|
/drivers/infiniband/hw/qib/ |
D | qib_driver.c | 293 __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()
|
D | qib_verbs.c | 271 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()
|