Home
last modified time | relevance | path

Searched refs:num_phases (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/mmc/host/
Ddw_mmc-rockchip.c24 int num_phases; member
132 #define TUNING_ITERATION_TO_PHASE(i, num_phases) \ argument
133 (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 …]
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_core.c103 static const u_int num_phases = ARRAY_SIZE(ahc_phase_table) - 1; variable
1386 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()
Daic79xx_core.c92 static const u_int num_phases = ARRAY_SIZE(ahd_phase_table) - 1; variable
4348 last_entry = &ahd_phase_table[num_phases]; in ahd_lookup_phase_entry()