Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/i2c/
Dadv7511-v4l2.c491 static void log_infoframe(struct v4l2_subdev *sd, const struct adv7511_cfg_read_infoframe *cri) in log_infoframe() argument
500 if (!(adv7511_rd(sd, cri->present_reg) & cri->present_mask)) { in log_infoframe()
501 v4l2_info(sd, "%s infoframe not transmitted\n", cri->desc); in log_infoframe()
505 memcpy(buffer, cri->header, sizeof(cri->header)); in log_infoframe()
510 v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len); in log_infoframe()
514 if (cri->payload_addr >= 0x100) { in log_infoframe()
516 buffer[i + 4] = adv7511_pktmem_rd(sd, cri->payload_addr + i - 0x100); in log_infoframe()
519 buffer[i + 4] = adv7511_rd(sd, cri->payload_addr + i); in log_infoframe()
525 v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc); in log_infoframe()
534 static const struct adv7511_cfg_read_infoframe cri[] = { in adv7511_log_infoframes() local
[all …]
Dadv7842.c2559 static void log_infoframe(struct v4l2_subdev *sd, const struct adv7842_cfg_read_infoframe *cri) in log_infoframe() argument
2568 if (!(io_read(sd, 0x60) & cri->present_mask)) { in log_infoframe()
2569 v4l2_info(sd, "%s infoframe not received\n", cri->desc); in log_infoframe()
2574 buffer[i] = infoframe_read(sd, cri->head_addr + i); in log_infoframe()
2579 v4l2_err(sd, "%s: invalid %s infoframe length %d\n", __func__, cri->desc, len); in log_infoframe()
2584 buffer[i + 3] = infoframe_read(sd, cri->payload_addr + i); in log_infoframe()
2587 v4l2_err(sd, "%s: unpack of %s infoframe failed\n", __func__, cri->desc); in log_infoframe()
2597 static const struct adv7842_cfg_read_infoframe cri[] = { in adv7842_log_infoframes() local
2609 for (i = 0; i < ARRAY_SIZE(cri); i++) in adv7842_log_infoframes()
2610 log_infoframe(sd, &cri[i]); in adv7842_log_infoframes()
/linux-6.6.21/drivers/scsi/be2iscsi/
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 …]
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