Home
last modified time | relevance | path

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

/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 …]
/drivers/hwmon/pmbus/
Dmp2975.c359 mp2975_set_phase_rail2(struct pmbus_driver_info *info, int num_phases) in mp2975_set_phase_rail2() argument
364 for (i = 1; i <= num_phases; i++) in mp2975_set_phase_rail2()
/drivers/regulator/
Dda9121-regulator.c91 int num_phases; member
/drivers/scsi/aic7xxx/
Daic7xxx_core.c103 static const u_int num_phases = ARRAY_SIZE(ahc_phase_table) - 1; variable
1385 for (i = 0; i < num_phases; i++) { in ahc_handle_seqint()
1641 for (i = 0; i < num_phases; i++) { in ahc_handle_scsiint()
1916 for (i = 0; i < num_phases; i++) { in ahc_handle_scsiint()
2786 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
4318 last_entry = &ahd_phase_table[num_phases]; in ahd_lookup_phase_entry()