Searched refs:num_phases (Results 1 – 3 of 3) sorted by relevance
24 int num_phases; member132 #define TUNING_ITERATION_TO_PHASE(i, num_phases) \ argument133 (DIV_ROUND_UP((i) * 360, num_phases))158 ranges = kmalloc_array(priv->num_phases / 2 + 1, in dw_mci_rk3288_execute_tuning()164 for (i = 0; i < priv->num_phases; ) { in dw_mci_rk3288_execute_tuning()166 TUNING_ITERATION_TO_PHASE(i, priv->num_phases)); in dw_mci_rk3288_execute_tuning()180 } else if (i == priv->num_phases - 1) { in dw_mci_rk3288_execute_tuning()189 i += DIV_ROUND_UP(20 * priv->num_phases, 360); in dw_mci_rk3288_execute_tuning()192 if (i >= priv->num_phases) in dw_mci_rk3288_execute_tuning()193 i = priv->num_phases - 1; in dw_mci_rk3288_execute_tuning()[all …]
103 static const u_int num_phases = ARRAY_SIZE(ahc_phase_table) - 1; variable1386 for (i = 0; i < num_phases; i++) { in ahc_handle_seqint()1642 for (i = 0; i < num_phases; i++) { in ahc_handle_scsiint()1932 for (i = 0; i < num_phases; i++) { in ahc_handle_scsiint()2804 last_entry = &ahc_phase_table[num_phases]; in ahc_lookup_phase_entry()
92 static const u_int num_phases = ARRAY_SIZE(ahd_phase_table) - 1; variable4348 last_entry = &ahd_phase_table[num_phases]; in ahd_lookup_phase_entry()