Home
last modified time | relevance | path

Searched refs:cri (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/media/i2c/
H A Dadv7511-v4l2.c486 static void log_infoframe(struct v4l2_subdev *sd, const struct adv7511_cfg_read_infoframe *cri) in log_infoframe() argument
495 if (!(adv7511_rd(sd, cri->present_reg) & cri->present_mask)) { in log_infoframe()
496 v4l2_info(sd, "%s infoframe not transmitted\n", cri->desc); in log_infoframe()
500 memcpy(buffer, cri->header, sizeof(cri->header)); in log_infoframe()
505 v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len); in log_infoframe()
509 if (cri->payload_addr >= 0x100) { in log_infoframe()
511 buffer[i + 4] = adv7511_pktmem_rd(sd, cri->payload_addr + i - 0x100); in log_infoframe()
514 buffer[i + 4] = adv7511_rd(sd, cri->payload_addr + i); in log_infoframe()
520 v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc); in log_infoframe()
529 static const struct adv7511_cfg_read_infoframe cri[] = { in adv7511_log_infoframes() local
[all …]
H A Dadv7842.c2568 static void log_infoframe(struct v4l2_subdev *sd, const struct adv7842_cfg_read_infoframe *cri) in log_infoframe() argument
2577 if (!(io_read(sd, 0x60) & cri->present_mask)) { in log_infoframe()
2578 v4l2_info(sd, "%s infoframe not received\n", cri->desc); in log_infoframe()
2583 buffer[i] = infoframe_read(sd, cri->head_addr + i); in log_infoframe()
2588 v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len); in log_infoframe()
2593 buffer[i + 3] = infoframe_read(sd, cri->payload_addr + i); in log_infoframe()
2596 v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc); in log_infoframe()
2606 static const struct adv7842_cfg_read_infoframe cri[] = { in adv7842_log_infoframes() local
2618 for (i = 0; i < ARRAY_SIZE(cri); i++) in adv7842_log_infoframes()
2619 log_infoframe(sd, &cri[i]); in adv7842_log_infoframes()
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.c1480 u16 cri) in beiscsi_hdl_purge_handles() argument
1485 plist = &pasync_ctx->async_entry[cri].wq.list; in beiscsi_hdl_purge_handles()
1489 INIT_LIST_HEAD(&pasync_ctx->async_entry[cri].wq.list); in beiscsi_hdl_purge_handles()
1490 pasync_ctx->async_entry[cri].wq.hdr_len = 0; in beiscsi_hdl_purge_handles()
1491 pasync_ctx->async_entry[cri].wq.bytes_received = 0; in beiscsi_hdl_purge_handles()
1492 pasync_ctx->async_entry[cri].wq.bytes_needed = 0; in beiscsi_hdl_purge_handles()
1504 u16 cid, code, ci, cri; in beiscsi_hdl_get_handle() local
1509 cri = BE_GET_ASYNC_CRI_FROM_CID(cid); in beiscsi_hdl_get_handle()
1587 beiscsi_hdl_purge_handles(phba, pasync_ctx, cri); in beiscsi_hdl_get_handle()
1595 pasync_handle->cri = cri; in beiscsi_hdl_get_handle()
[all …]
H A Dbe_main.h228 #define BEISCSI_GET_ULP_FROM_CRI(phwi_ctrlr, cri) \ argument
229 (phwi_ctrlr->wrb_context[cri].ulp_num)
548 u16 cri; member