Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/at91/
Dclk-pll.c132 unsigned long maxdiv, mindiv, tmpdiv; in clk_pll_get_best_div_mul() local
153 tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max); in clk_pll_get_best_div_mul()
154 if (tmpdiv > PLL_DIV_MAX) in clk_pll_get_best_div_mul()
157 if (tmpdiv > mindiv) in clk_pll_get_best_div_mul()
158 mindiv = tmpdiv; in clk_pll_get_best_div_mul()
174 for (tmpdiv = mindiv; tmpdiv <= maxdiv; tmpdiv++) { in clk_pll_get_best_div_mul()
183 tmpmul = DIV_ROUND_CLOSEST(rate, parent_rate / tmpdiv); in clk_pll_get_best_div_mul()
184 tmprate = (parent_rate / tmpdiv) * tmpmul; in clk_pll_get_best_div_mul()
197 bestdiv = tmpdiv; in clk_pll_get_best_div_mul()
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_init.c2713 u64 tmpdiv; in pci_get_aio_common_raid_map_values() local
2734 tmpdiv = rmd->first_block; in pci_get_aio_common_raid_map_values()
2735 do_div(tmpdiv, rmd->blocks_per_row); in pci_get_aio_common_raid_map_values()
2736 rmd->first_row = tmpdiv; in pci_get_aio_common_raid_map_values()
2737 tmpdiv = rmd->last_block; in pci_get_aio_common_raid_map_values()
2738 do_div(tmpdiv, rmd->blocks_per_row); in pci_get_aio_common_raid_map_values()
2739 rmd->last_row = tmpdiv; in pci_get_aio_common_raid_map_values()
2742 tmpdiv = rmd->first_row_offset; in pci_get_aio_common_raid_map_values()
2743 do_div(tmpdiv, rmd->strip_size); in pci_get_aio_common_raid_map_values()
2744 rmd->first_column = tmpdiv; in pci_get_aio_common_raid_map_values()
[all …]
/linux-6.1.9/drivers/scsi/
Dhpsa.c5133 u64 tmpdiv; in hpsa_scsi_ioaccel_raid_map() local
5222 tmpdiv = first_block; in hpsa_scsi_ioaccel_raid_map()
5223 (void) do_div(tmpdiv, blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5224 first_row = tmpdiv; in hpsa_scsi_ioaccel_raid_map()
5225 tmpdiv = last_block; in hpsa_scsi_ioaccel_raid_map()
5226 (void) do_div(tmpdiv, blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5227 last_row = tmpdiv; in hpsa_scsi_ioaccel_raid_map()
5230 tmpdiv = first_row_offset; in hpsa_scsi_ioaccel_raid_map()
5231 (void) do_div(tmpdiv, strip_size); in hpsa_scsi_ioaccel_raid_map()
5232 first_column = tmpdiv; in hpsa_scsi_ioaccel_raid_map()
[all …]