Home
last modified time | relevance | path

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

/drivers/gpu/host1x/
A Dcontext.c29 cdl->devs = NULL; in host1x_memory_context_list_init()
30 cdl->len = 0; 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()
101 kfree(cdl->devs); in host1x_memory_context_list_init()
102 cdl->devs = NULL; in host1x_memory_context_list_init()
103 cdl->len = 0; in host1x_memory_context_list_init()
115 kfree(cdl->devs); in host1x_memory_context_list_free()
116 cdl->len = 0; in host1x_memory_context_list_free()
[all …]
A 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
/drivers/platform/surface/
A 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()
/drivers/ata/
A Dlibata-core.c694 tf->auxiliary |= cdl; in ata_set_tf_cdl()
696 tf->feature |= cdl; in ata_set_tf_cdl()
768 ata_set_tf_cdl(qc, cdl); in ata_build_rw_tf()
774 ata_set_tf_cdl(qc, cdl); in ata_build_rw_tf()
2521 kfree(dev->cdl); in ata_dev_cleanup_cdl_resources()
2522 dev->cdl = NULL; in ata_dev_cleanup_cdl_resources()
2527 struct ata_cdl *cdl = dev->cdl; in ata_dev_init_cdl_resources() local
2530 if (!cdl) { in ata_dev_init_cdl_resources()
2531 cdl = kzalloc(sizeof(*cdl), GFP_KERNEL); in ata_dev_init_cdl_resources()
2532 if (!cdl) in ata_dev_init_cdl_resources()
[all …]
A Dlibata-scsi.c2383 u8 *b, *cdl, *desc; in ata_msense_control_spgt2() local
2387 if (!(dev->flags & ATA_DFLAG_CDL) || !dev->cdl) in ata_msense_control_spgt2()
2390 cdl = dev->cdl->desc_log_buf; in ata_msense_control_spgt2()
2405 buf[7] = (cdl[0] & 0x03) << 4; in ata_msense_control_spgt2()
2406 desc = cdl + 64; in ata_msense_control_spgt2()
2409 desc = cdl + 288; in ata_msense_control_spgt2()
2414 policy = get_unaligned_le32(&cdl[0]); in ata_msense_control_spgt2()
A Dlibata-sata.c1542 u8 *buf = dev->cdl->ncq_sense_log_buf; in ata_eh_get_ncq_success_sense()

Completed in 33 milliseconds