Home
last modified time | relevance | path

Searched refs:ents (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/ubi/
Dcdev.c694 if (req->ents[i].vol_id < 0 || in rename_volumes()
695 req->ents[i].vol_id >= ubi->vtbl_slots) in rename_volumes()
697 if (req->ents[i].name_len < 0) in rename_volumes()
699 if (req->ents[i].name_len > UBI_VOL_NAME_MAX) in rename_volumes()
701 req->ents[i].name[req->ents[i].name_len] = '\0'; in rename_volumes()
702 n = strlen(req->ents[i].name); in rename_volumes()
703 if (n != req->ents[i].name_len) in rename_volumes()
710 if (req->ents[i].vol_id == req->ents[n].vol_id) { in rename_volumes()
712 req->ents[i].vol_id); in rename_volumes()
715 if (!strcmp(req->ents[i].name, req->ents[n].name)) { in rename_volumes()
[all …]
/drivers/media/platform/vimc/
Dvimc-core.c61 const struct vimc_ent_config *ents; member
131 .ents = ent_config,
248 vimc->pipe_cfg->ents[i].drv); in vimc_add_subdevs()
250 strscpy(pdata.entity_name, vimc->pipe_cfg->ents[i].name, in vimc_add_subdevs()
254 vimc->pipe_cfg->ents[i].drv, in vimc_add_subdevs()
/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c516 struct virtio_gpu_mem_entry *ents, in virtio_gpu_cmd_resource_attach_backing() argument
530 vbuf->data_buf = ents; in virtio_gpu_cmd_resource_attach_backing()
531 vbuf->data_size = sizeof(*ents) * nents; in virtio_gpu_cmd_resource_attach_backing()
966 struct virtio_gpu_mem_entry *ents; in virtio_gpu_object_attach() local
991 ents = kmalloc_array(nents, sizeof(struct virtio_gpu_mem_entry), in virtio_gpu_object_attach()
993 if (!ents) { in virtio_gpu_object_attach()
999 ents[si].addr = cpu_to_le64(use_dma_api in virtio_gpu_object_attach()
1002 ents[si].length = cpu_to_le32(sg->length); in virtio_gpu_object_attach()
1003 ents[si].padding = 0; in virtio_gpu_object_attach()
1007 ents, nents, in virtio_gpu_object_attach()
/drivers/crypto/caam/
Dcaampkc.c204 int lzeros, ents; in caam_rsa_count_leading_zeros() local
209 ents = sg_nents_for_len(sgl, nbytes); in caam_rsa_count_leading_zeros()
210 if (ents < 0) in caam_rsa_count_leading_zeros()
211 return ents; in caam_rsa_count_leading_zeros()
213 sg_miter_start(&miter, sgl, ents, SG_MITER_FROM_SG | flags); in caam_rsa_count_leading_zeros()
/drivers/media/platform/omap3isp/
Dispvideo.c960 struct media_entity *ents[] = { in isp_video_check_external_subdevs() local
979 for (i = 0; i < ARRAY_SIZE(ents); i++) { in isp_video_check_external_subdevs()
981 if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) in isp_video_check_external_subdevs()
985 source_pad = media_entity_remote_pad(&ents[i]->pads[0]); in isp_video_check_external_subdevs()
990 sink = ents[i]; in isp_video_check_external_subdevs()
/drivers/gpu/drm/qxl/
Dqxl_dev.h824 uint32_t ents[0]; member