Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mmc/host/
Ddw_mmc-rockchip.c28 int num_phases; member
136 #define TUNING_ITERATION_TO_PHASE(i, num_phases) \ argument
137 (DIV_ROUND_UP((i) * 360, num_phases))
162 ranges = kmalloc_array(priv->num_phases / 2 + 1, in dw_mci_rk3288_execute_tuning()
168 for (i = 0; i < priv->num_phases; ) { in dw_mci_rk3288_execute_tuning()
170 TUNING_ITERATION_TO_PHASE(i, priv->num_phases)); in dw_mci_rk3288_execute_tuning()
184 } else if (i == priv->num_phases - 1) { in dw_mci_rk3288_execute_tuning()
193 i += DIV_ROUND_UP(20 * priv->num_phases, 360); in dw_mci_rk3288_execute_tuning()
196 if (i >= priv->num_phases) in dw_mci_rk3288_execute_tuning()
197 i = priv->num_phases - 1; in dw_mci_rk3288_execute_tuning()
[all …]
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic7xxx_core.c110 static const u_int num_phases = ARRAY_SIZE(ahc_phase_table) - 1; variable
1393 for (i = 0; i < num_phases; i++) { in ahc_handle_seqint()
1649 for (i = 0; i < num_phases; i++) { in ahc_handle_scsiint()
1939 for (i = 0; i < num_phases; i++) { in ahc_handle_scsiint()
2811 last_entry = &ahc_phase_table[num_phases]; in ahc_lookup_phase_entry()
Daic79xx_core.c100 static const u_int num_phases = ARRAY_SIZE(ahd_phase_table) - 1; variable
4354 last_entry = &ahd_phase_table[num_phases]; in ahd_lookup_phase_entry()