Home
last modified time | relevance | path

Searched refs:cdl (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/gpu/host1x/
Dcontext.c23 struct host1x_memory_context_list *cdl = &host1x->context_list; in host1x_memory_context_list_init() local
29 cdl->devs = NULL; in host1x_memory_context_list_init()
30 cdl->len = 0; in host1x_memory_context_list_init()
31 mutex_init(&cdl->lock); in host1x_memory_context_list_init()
37 cdl->len = err / 4; in host1x_memory_context_list_init()
38 cdl->devs = kcalloc(cdl->len, sizeof(*cdl->devs), GFP_KERNEL); in host1x_memory_context_list_init()
39 if (!cdl->devs) in host1x_memory_context_list_init()
42 for (i = 0; i < cdl->len; i++) { in host1x_memory_context_list_init()
43 ctx = &cdl->devs[i]; in host1x_memory_context_list_init()
99 device_unregister(&cdl->devs[i].dev); in host1x_memory_context_list_init()
[all …]
Dcontext.h26 void host1x_memory_context_list_free(struct host1x_memory_context_list *cdl);
33 static inline void host1x_memory_context_list_free(struct host1x_memory_context_list *cdl) in host1x_memory_context_list_free() argument
/linux-6.12.1/drivers/platform/surface/
Dsurface_acpi_notify.c423 u16 cdl; /* Payload length. */ member
497 if (get_unaligned(&rqsx->cdl) != b->len - sizeof(struct gsb_data_rqsx)) { in san_validate_rqsx()
499 type, b->len, get_unaligned(&rqsx->cdl)); in san_validate_rqsx()
503 if (get_unaligned(&rqsx->cdl) > SAN_GSB_MAX_RQSX_PAYLOAD) { in san_validate_rqsx()
505 type, get_unaligned(&rqsx->cdl)); in san_validate_rqsx()
580 rqst.length = get_unaligned(&gsb_rqst->cdl); in san_rqst()
620 evt.length = get_unaligned(&gsb_rqsg->cdl); in san_rqsg()
/linux-6.12.1/drivers/ata/
Dlibata-core.c658 static inline void ata_set_tf_cdl(struct ata_queued_cmd *qc, int cdl) in ata_set_tf_cdl() argument
663 tf->auxiliary |= cdl; in ata_set_tf_cdl()
665 tf->feature |= cdl; in ata_set_tf_cdl()
696 unsigned int tf_flags, int cdl, int class) in ata_build_rw_tf() argument
736 if ((dev->flags & ATA_DFLAG_CDL_ENABLED) && cdl) in ata_build_rw_tf()
737 ata_set_tf_cdl(qc, cdl); in ata_build_rw_tf()
742 if ((dev->flags & ATA_DFLAG_CDL_ENABLED) && cdl) in ata_build_rw_tf()
743 ata_set_tf_cdl(qc, cdl); in ata_build_rw_tf()
2469 kfree(dev->cdl); in ata_dev_cleanup_cdl_resources()
2470 dev->cdl = NULL; in ata_dev_cleanup_cdl_resources()
[all …]
Dlibata-scsi.c2259 u8 *b, *cdl, *desc; in ata_msense_control_spgt2() local
2263 if (!(dev->flags & ATA_DFLAG_CDL) || !dev->cdl) in ata_msense_control_spgt2()
2266 cdl = dev->cdl->desc_log_buf; in ata_msense_control_spgt2()
2281 buf[7] = (cdl[0] & 0x03) << 4; in ata_msense_control_spgt2()
2282 desc = cdl + 64; in ata_msense_control_spgt2()
2285 desc = cdl + 288; in ata_msense_control_spgt2()
2290 policy = get_unaligned_le32(&cdl[0]); in ata_msense_control_spgt2()
Dlibata-sata.c1508 u8 *buf = dev->cdl->ncq_sense_log_buf; in ata_eh_get_ncq_success_sense()
/linux-6.12.1/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h259 __BITFIELD_FIELD(uint32_t cdl:1,
/linux-6.12.1/include/linux/
Dlibata.h781 struct ata_cdl *cdl; member