Lines Matching refs:cdl
703 static inline void ata_set_tf_cdl(struct ata_queued_cmd *qc, int cdl) in ata_set_tf_cdl() argument
708 tf->auxiliary |= cdl; in ata_set_tf_cdl()
710 tf->feature |= cdl; in ata_set_tf_cdl()
741 unsigned int tf_flags, int cdl, int class) in ata_build_rw_tf() argument
781 if ((dev->flags & ATA_DFLAG_CDL_ENABLED) && cdl) in ata_build_rw_tf()
782 ata_set_tf_cdl(qc, cdl); in ata_build_rw_tf()
787 if ((dev->flags & ATA_DFLAG_CDL_ENABLED) && cdl) in ata_build_rw_tf()
788 ata_set_tf_cdl(qc, cdl); in ata_build_rw_tf()
2550 kfree(dev->cdl); in ata_dev_cleanup_cdl_resources()
2551 dev->cdl = NULL; in ata_dev_cleanup_cdl_resources()
2556 struct ata_cdl *cdl = dev->cdl; in ata_dev_init_cdl_resources() local
2559 if (!cdl) { in ata_dev_init_cdl_resources()
2560 cdl = kzalloc_obj(*cdl); in ata_dev_init_cdl_resources()
2561 if (!cdl) in ata_dev_init_cdl_resources()
2563 dev->cdl = cdl; in ata_dev_init_cdl_resources()
2566 err_mask = ata_read_log_page(dev, ATA_LOG_CDL, 0, cdl->desc_log_buf, in ata_dev_init_cdl_resources()