Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/at91/
Dclk-pll.c147 unsigned long maxdiv, mindiv, tmpdiv; in clk_pll_get_best_div_mul() local
168 tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max); in clk_pll_get_best_div_mul()
169 if (tmpdiv > PLL_DIV_MAX) in clk_pll_get_best_div_mul()
172 if (tmpdiv > mindiv) in clk_pll_get_best_div_mul()
173 mindiv = tmpdiv; in clk_pll_get_best_div_mul()
189 for (tmpdiv = mindiv; tmpdiv <= maxdiv; tmpdiv++) { in clk_pll_get_best_div_mul()
198 tmpmul = DIV_ROUND_CLOSEST(rate, parent_rate / tmpdiv); in clk_pll_get_best_div_mul()
199 tmprate = (parent_rate / tmpdiv) * tmpmul; in clk_pll_get_best_div_mul()
212 bestdiv = tmpdiv; in clk_pll_get_best_div_mul()
/Linux-v4.19/drivers/scsi/smartpqi/
Dsmartpqi_init.c2108 u64 tmpdiv; in pqi_raid_bypass_submit_scsi_cmd() local
2171 tmpdiv = first_block; in pqi_raid_bypass_submit_scsi_cmd()
2172 do_div(tmpdiv, blocks_per_row); in pqi_raid_bypass_submit_scsi_cmd()
2173 first_row = tmpdiv; in pqi_raid_bypass_submit_scsi_cmd()
2174 tmpdiv = last_block; in pqi_raid_bypass_submit_scsi_cmd()
2175 do_div(tmpdiv, blocks_per_row); in pqi_raid_bypass_submit_scsi_cmd()
2176 last_row = tmpdiv; in pqi_raid_bypass_submit_scsi_cmd()
2179 tmpdiv = first_row_offset; in pqi_raid_bypass_submit_scsi_cmd()
2180 do_div(tmpdiv, strip_size); in pqi_raid_bypass_submit_scsi_cmd()
2181 first_column = tmpdiv; in pqi_raid_bypass_submit_scsi_cmd()
[all …]
/Linux-v4.19/drivers/scsi/
Dhpsa.c5084 u64 tmpdiv; in hpsa_scsi_ioaccel_raid_map() local
5166 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map()
5167 (void) do_div(tmpdiv, blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5168 first_row = tmpdiv; in hpsa_scsi_ioaccel_raid_map()
5169 tmpdiv = last_block; in hpsa_scsi_ioaccel_raid_map()
5170 (void) do_div(tmpdiv, blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5171 last_row = tmpdiv; in hpsa_scsi_ioaccel_raid_map()
5174 tmpdiv = first_row_offset; in hpsa_scsi_ioaccel_raid_map()
5175 (void) do_div(tmpdiv, strip_size); in hpsa_scsi_ioaccel_raid_map()
5176 first_column = tmpdiv; in hpsa_scsi_ioaccel_raid_map()
[all …]