Lines Matching refs:cdl
689 static inline void ata_set_tf_cdl(struct ata_queued_cmd *qc, int cdl) in ata_set_tf_cdl() argument
694 tf->auxiliary |= cdl; in ata_set_tf_cdl()
696 tf->feature |= cdl; in ata_set_tf_cdl()
727 unsigned int tf_flags, int cdl, int class) in ata_build_rw_tf() argument
767 if ((dev->flags & ATA_DFLAG_CDL_ENABLED) && cdl) in ata_build_rw_tf()
768 ata_set_tf_cdl(qc, cdl); in ata_build_rw_tf()
773 if ((dev->flags & ATA_DFLAG_CDL_ENABLED) && 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()
2534 dev->cdl = cdl; in ata_dev_init_cdl_resources()
2537 err_mask = ata_read_log_page(dev, ATA_LOG_CDL, 0, cdl->desc_log_buf, in ata_dev_init_cdl_resources()