Lines Matching defs:policy
1033 static int ata_dev_set_dipm(struct ata_device *dev, enum link_pm policy)
1068 switch (policy) {
1119 * @policy: the link power management policy
1123 * policy, and then call driver specific callbacks for
1129 void ata_dev_enable_pm(struct ata_device *dev, enum link_pm policy)
1136 rc = ap->ops->enable_pm(ap, policy);
1139 rc = ata_dev_set_dipm(dev, policy);
1145 ap->pm_policy = policy;
1156 * policy, call driver specific callbacks for disabling Host
1172 void ata_lpm_schedule(struct ata_port *ap, enum link_pm policy)
1174 ap->pm_policy = policy;
4343 * This function encapsulates the policy for speed management