Lines Matching refs:cdl
658 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()
2475 struct ata_cdl *cdl = dev->cdl; in ata_dev_init_cdl_resources() local
2478 if (!cdl) { in ata_dev_init_cdl_resources()
2479 cdl = kzalloc(sizeof(*cdl), GFP_KERNEL); in ata_dev_init_cdl_resources()
2480 if (!cdl) in ata_dev_init_cdl_resources()
2482 dev->cdl = cdl; in ata_dev_init_cdl_resources()
2485 err_mask = ata_read_log_page(dev, ATA_LOG_CDL, 0, cdl->desc_log_buf, in ata_dev_init_cdl_resources()