if (phy->wait_phyup_cnt < HISI_SAS_WAIT_PHYUP_RETRIES) {
                        phy->wait_phyup_cnt++;
                        phy->timer.expires = jiffies +
-                                            HISI_SAS_WAIT_PHYUP_TIMEOUT * HZ;
+                                            HISI_SAS_WAIT_PHYUP_TIMEOUT;
                        add_timer(&phy->timer);
                } else {
                        dev_warn(dev, "phy%d failed to come up %d times, giving up\n",
                complete(&task->slow_task->completion);
 }
 
-#define TASK_TIMEOUT 20
-#define TASK_RETRY 3
-#define INTERNAL_ABORT_TIMEOUT 6
+#define TASK_TIMEOUT                   (20 * HZ)
+#define TASK_RETRY                     3
+#define INTERNAL_ABORT_TIMEOUT         (6 * HZ)
 static int hisi_sas_exec_internal_tmf_task(struct domain_device *device,
                                           void *parameter, u32 para_len,
                                           struct hisi_sas_tmf_task *tmf)
                task->task_done = hisi_sas_task_done;
 
                task->slow_task->timer.function = hisi_sas_tmf_timedout;
-               task->slow_task->timer.expires = jiffies + TASK_TIMEOUT * HZ;
+               task->slow_task->timer.expires = jiffies + TASK_TIMEOUT;
                add_timer(&task->slow_task->timer);
 
                res = hisi_sas_task_exec(task, GFP_KERNEL, 1, tmf);
        return rc;
 }
 
+#define I_T_NEXUS_RESET_PHYUP_TIMEOUT  (2 * HZ)
+
 static int hisi_sas_debug_I_T_nexus_reset(struct domain_device *device)
 {
        struct sas_phy *local_phy = sas_get_local_phy(device);
                        sas_ha->sas_phy[local_phy->number];
                struct hisi_sas_phy *phy =
                        container_of(sas_phy, struct hisi_sas_phy, sas_phy);
-               int ret = wait_for_completion_timeout(&phyreset, 2 * HZ);
+               int ret = wait_for_completion_timeout(&phyreset,
+                                               I_T_NEXUS_RESET_PHYUP_TIMEOUT);
                unsigned long flags;
 
                spin_lock_irqsave(&phy->lock, flags);
        task->task_proto = device->tproto;
        task->task_done = hisi_sas_task_done;
        task->slow_task->timer.function = hisi_sas_tmf_timedout;
-       task->slow_task->timer.expires = jiffies + INTERNAL_ABORT_TIMEOUT * HZ;
+       task->slow_task->timer.expires = jiffies + INTERNAL_ABORT_TIMEOUT;
        add_timer(&task->slow_task->timer);
 
        res = hisi_sas_internal_abort_task_exec(hisi_hba, sas_dev->device_id,