cri 525 drivers/media/i2c/adv7511-v4l2.c static void log_infoframe(struct v4l2_subdev *sd, const struct adv7511_cfg_read_infoframe *cri) cri 534 drivers/media/i2c/adv7511-v4l2.c if (!(adv7511_rd(sd, cri->present_reg) & cri->present_mask)) { cri 535 drivers/media/i2c/adv7511-v4l2.c v4l2_info(sd, "%s infoframe not transmitted\n", cri->desc); cri 539 drivers/media/i2c/adv7511-v4l2.c memcpy(buffer, cri->header, sizeof(cri->header)); cri 544 drivers/media/i2c/adv7511-v4l2.c v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len); cri 548 drivers/media/i2c/adv7511-v4l2.c if (cri->payload_addr >= 0x100) { cri 550 drivers/media/i2c/adv7511-v4l2.c buffer[i + 4] = adv7511_pktmem_rd(sd, cri->payload_addr + i - 0x100); cri 553 drivers/media/i2c/adv7511-v4l2.c buffer[i + 4] = adv7511_rd(sd, cri->payload_addr + i); cri 559 drivers/media/i2c/adv7511-v4l2.c v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc); cri 568 drivers/media/i2c/adv7511-v4l2.c static const struct adv7511_cfg_read_infoframe cri[] = { cri 575 drivers/media/i2c/adv7511-v4l2.c for (i = 0; i < ARRAY_SIZE(cri); i++) cri 576 drivers/media/i2c/adv7511-v4l2.c log_infoframe(sd, &cri[i]); cri 2550 drivers/media/i2c/adv7842.c static void log_infoframe(struct v4l2_subdev *sd, struct adv7842_cfg_read_infoframe *cri) cri 2559 drivers/media/i2c/adv7842.c if (!(io_read(sd, 0x60) & cri->present_mask)) { cri 2560 drivers/media/i2c/adv7842.c v4l2_info(sd, "%s infoframe not received\n", cri->desc); cri 2565 drivers/media/i2c/adv7842.c buffer[i] = infoframe_read(sd, cri->head_addr + i); cri 2570 drivers/media/i2c/adv7842.c v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len); cri 2575 drivers/media/i2c/adv7842.c buffer[i + 3] = infoframe_read(sd, cri->payload_addr + i); cri 2578 drivers/media/i2c/adv7842.c v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc); cri 2588 drivers/media/i2c/adv7842.c struct adv7842_cfg_read_infoframe cri[] = { cri 2600 drivers/media/i2c/adv7842.c for (i = 0; i < ARRAY_SIZE(cri); i++) cri 2601 drivers/media/i2c/adv7842.c log_infoframe(sd, &cri[i]); cri 1463 drivers/scsi/be2iscsi/be_main.c u16 cri) cri 1468 drivers/scsi/be2iscsi/be_main.c plist = &pasync_ctx->async_entry[cri].wq.list; cri 1472 drivers/scsi/be2iscsi/be_main.c INIT_LIST_HEAD(&pasync_ctx->async_entry[cri].wq.list); cri 1473 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.hdr_len = 0; cri 1474 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.bytes_received = 0; cri 1475 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.bytes_needed = 0; cri 1487 drivers/scsi/be2iscsi/be_main.c u16 cid, code, ci, cri; cri 1492 drivers/scsi/be2iscsi/be_main.c cri = BE_GET_ASYNC_CRI_FROM_CID(cid); cri 1570 drivers/scsi/be2iscsi/be_main.c beiscsi_hdl_purge_handles(phba, pasync_ctx, cri); cri 1578 drivers/scsi/be2iscsi/be_main.c pasync_handle->cri = cri; cri 1589 drivers/scsi/be2iscsi/be_main.c u16 cri) cri 1598 drivers/scsi/be2iscsi/be_main.c plist = &pasync_ctx->async_entry[cri].wq.list; cri 1628 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.hdr_len, cri 1629 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.bytes_needed, cri 1630 drivers/scsi/be2iscsi/be_main.c pasync_ctx->async_entry[cri].wq.bytes_received); cri 1635 drivers/scsi/be2iscsi/be_main.c beiscsi_hdl_purge_handles(phba, pasync_ctx, cri); cri 1645 drivers/scsi/be2iscsi/be_main.c u16 cri = pasync_handle->cri; cri 1652 drivers/scsi/be2iscsi/be_main.c wq = &pasync_ctx->async_entry[cri].wq; cri 1671 drivers/scsi/be2iscsi/be_main.c pasync_ctx, cri); cri 1687 drivers/scsi/be2iscsi/be_main.c pasync_ctx, cri); cri 1701 drivers/scsi/be2iscsi/be_main.c beiscsi_hdl_purge_handles(phba, pasync_ctx, cri); cri 2870 drivers/scsi/be2iscsi/be_main.c pasync_header_h->cri = -1; cri 2890 drivers/scsi/be2iscsi/be_main.c pasync_data_h->cri = -1; cri 3791 drivers/scsi/be2iscsi/be_main.c uint16_t cri = 0; cri 3796 drivers/scsi/be2iscsi/be_main.c for (cri = 0; cri < cri 3797 drivers/scsi/be2iscsi/be_main.c phba->params.cxns_per_ctrl; cri++) { cri 3799 drivers/scsi/be2iscsi/be_main.c (phwi_ctrlr, cri)) cri 3801 drivers/scsi/be2iscsi/be_main.c phwi_ctrlr->wrb_context[cri].cid] = cri 229 drivers/scsi/be2iscsi/be_main.h #define BEISCSI_GET_ULP_FROM_CRI(phwi_ctrlr, cri) \ cri 230 drivers/scsi/be2iscsi/be_main.h (phwi_ctrlr->wrb_context[cri].ulp_num) cri 549 drivers/scsi/be2iscsi/be_main.h u16 cri;