Lines Matching full:degree
106 * In almost all cases a 90 degree phase offset will provide in dw_mci_rk3288_set_ios()
127 * Rockchip SoCs), 90 degree offset will add a delay in dw_mci_rk3288_set_ios()
149 u32 degrees[4] = {0, 90, 180, 270}, degree; in dw_mci_v2_execute_tuning() local
156 degree = degrees[i]; in dw_mci_v2_execute_tuning()
165 * one phase from degree list and loop around until we get one. in dw_mci_v2_execute_tuning()
169 degree = degrees[i] + priv->last_degree + 90; in dw_mci_v2_execute_tuning()
170 degree = degree % 360; in dw_mci_v2_execute_tuning()
171 clk_set_phase(priv->sample_clk, degree); in dw_mci_v2_execute_tuning()
178 … dev_info(host->dev, "V2 tuned phase to %d error, try the best phase\n", degree); in dw_mci_v2_execute_tuning()
179 degree = (degree + 180) % 360; in dw_mci_v2_execute_tuning()
180 clk_set_phase(priv->sample_clk, degree); in dw_mci_v2_execute_tuning()
193 dev_info(host->dev, "Successfully tuned phase to %d\n", degree); in dw_mci_v2_execute_tuning()
194 priv->last_degree = degree; in dw_mci_v2_execute_tuning()