tmpdiv 131 drivers/clk/at91/clk-pll.c unsigned long maxdiv, mindiv, tmpdiv; tmpdiv 152 drivers/clk/at91/clk-pll.c tmpdiv = DIV_ROUND_UP(parent_rate, characteristics->input.max); tmpdiv 153 drivers/clk/at91/clk-pll.c if (tmpdiv > PLL_DIV_MAX) tmpdiv 156 drivers/clk/at91/clk-pll.c if (tmpdiv > mindiv) tmpdiv 157 drivers/clk/at91/clk-pll.c mindiv = tmpdiv; tmpdiv 173 drivers/clk/at91/clk-pll.c for (tmpdiv = mindiv; tmpdiv <= maxdiv; tmpdiv++) { tmpdiv 182 drivers/clk/at91/clk-pll.c tmpmul = DIV_ROUND_CLOSEST(rate, parent_rate / tmpdiv); tmpdiv 183 drivers/clk/at91/clk-pll.c tmprate = (parent_rate / tmpdiv) * tmpmul; tmpdiv 196 drivers/clk/at91/clk-pll.c bestdiv = tmpdiv; tmpdiv 179 drivers/clk/at91/clk-sam9x60-pll.c unsigned long maxdiv, mindiv, tmpdiv; tmpdiv 201 drivers/clk/at91/clk-sam9x60-pll.c for (tmpdiv = mindiv; tmpdiv <= maxdiv; tmpdiv++) { tmpdiv 211 drivers/clk/at91/clk-sam9x60-pll.c tmpmul = mult_frac(rate, tmpdiv, parent_rate); tmpdiv 212 drivers/clk/at91/clk-sam9x60-pll.c tmprate = mult_frac(parent_rate, tmpmul, tmpdiv); tmpdiv 216 drivers/clk/at91/clk-sam9x60-pll.c tmpfrac = DIV_ROUND_CLOSEST_ULL((u64)remainder * tmpdiv * (1 << 22), tmpdiv 220 drivers/clk/at91/clk-sam9x60-pll.c tmpdiv * (1 << 22)); tmpdiv 235 drivers/clk/at91/clk-sam9x60-pll.c bestdiv = tmpdiv; tmpdiv 5103 drivers/scsi/hpsa.c u64 tmpdiv; tmpdiv 5192 drivers/scsi/hpsa.c tmpdiv = first_block; tmpdiv 5193 drivers/scsi/hpsa.c (void) do_div(tmpdiv, blocks_per_row); tmpdiv 5194 drivers/scsi/hpsa.c first_row = tmpdiv; tmpdiv 5195 drivers/scsi/hpsa.c tmpdiv = last_block; tmpdiv 5196 drivers/scsi/hpsa.c (void) do_div(tmpdiv, blocks_per_row); tmpdiv 5197 drivers/scsi/hpsa.c last_row = tmpdiv; tmpdiv 5200 drivers/scsi/hpsa.c tmpdiv = first_row_offset; tmpdiv 5201 drivers/scsi/hpsa.c (void) do_div(tmpdiv, strip_size); tmpdiv 5202 drivers/scsi/hpsa.c first_column = tmpdiv; tmpdiv 5203 drivers/scsi/hpsa.c tmpdiv = last_row_offset; tmpdiv 5204 drivers/scsi/hpsa.c (void) do_div(tmpdiv, strip_size); tmpdiv 5205 drivers/scsi/hpsa.c last_column = tmpdiv; tmpdiv 5272 drivers/scsi/hpsa.c tmpdiv = first_block; tmpdiv 5273 drivers/scsi/hpsa.c first_group = do_div(tmpdiv, stripesize); tmpdiv 5274 drivers/scsi/hpsa.c tmpdiv = first_group; tmpdiv 5275 drivers/scsi/hpsa.c (void) do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 5276 drivers/scsi/hpsa.c first_group = tmpdiv; tmpdiv 5277 drivers/scsi/hpsa.c tmpdiv = last_block; tmpdiv 5278 drivers/scsi/hpsa.c last_group = do_div(tmpdiv, stripesize); tmpdiv 5279 drivers/scsi/hpsa.c tmpdiv = last_group; tmpdiv 5280 drivers/scsi/hpsa.c (void) do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 5281 drivers/scsi/hpsa.c last_group = tmpdiv; tmpdiv 5291 drivers/scsi/hpsa.c tmpdiv = first_block; tmpdiv 5292 drivers/scsi/hpsa.c (void) do_div(tmpdiv, stripesize); tmpdiv 5293 drivers/scsi/hpsa.c first_row = r5or6_first_row = r0_first_row = tmpdiv; tmpdiv 5294 drivers/scsi/hpsa.c tmpdiv = last_block; tmpdiv 5295 drivers/scsi/hpsa.c (void) do_div(tmpdiv, stripesize); tmpdiv 5296 drivers/scsi/hpsa.c r5or6_last_row = r0_last_row = tmpdiv; tmpdiv 5308 drivers/scsi/hpsa.c tmpdiv = first_block; tmpdiv 5309 drivers/scsi/hpsa.c first_row_offset = do_div(tmpdiv, stripesize); tmpdiv 5310 drivers/scsi/hpsa.c tmpdiv = first_row_offset; tmpdiv 5311 drivers/scsi/hpsa.c first_row_offset = (u32) do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 5313 drivers/scsi/hpsa.c tmpdiv = last_block; tmpdiv 5314 drivers/scsi/hpsa.c r5or6_last_row_offset = do_div(tmpdiv, stripesize); tmpdiv 5315 drivers/scsi/hpsa.c tmpdiv = r5or6_last_row_offset; tmpdiv 5316 drivers/scsi/hpsa.c r5or6_last_row_offset = do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 5317 drivers/scsi/hpsa.c tmpdiv = r5or6_first_row_offset; tmpdiv 5318 drivers/scsi/hpsa.c (void) do_div(tmpdiv, map->strip_size); tmpdiv 5319 drivers/scsi/hpsa.c first_column = r5or6_first_column = tmpdiv; tmpdiv 5320 drivers/scsi/hpsa.c tmpdiv = r5or6_last_row_offset; tmpdiv 5321 drivers/scsi/hpsa.c (void) do_div(tmpdiv, map->strip_size); tmpdiv 5322 drivers/scsi/hpsa.c r5or6_last_column = tmpdiv; tmpdiv 2308 drivers/scsi/smartpqi/smartpqi_init.c u64 tmpdiv; tmpdiv 2371 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = first_block; tmpdiv 2372 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, blocks_per_row); tmpdiv 2373 drivers/scsi/smartpqi/smartpqi_init.c first_row = tmpdiv; tmpdiv 2374 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = last_block; tmpdiv 2375 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, blocks_per_row); tmpdiv 2376 drivers/scsi/smartpqi/smartpqi_init.c last_row = tmpdiv; tmpdiv 2379 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = first_row_offset; tmpdiv 2380 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); tmpdiv 2381 drivers/scsi/smartpqi/smartpqi_init.c first_column = tmpdiv; tmpdiv 2382 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = last_row_offset; tmpdiv 2383 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); tmpdiv 2384 drivers/scsi/smartpqi/smartpqi_init.c last_column = tmpdiv; tmpdiv 2467 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = first_block; tmpdiv 2468 drivers/scsi/smartpqi/smartpqi_init.c first_group = do_div(tmpdiv, stripesize); tmpdiv 2469 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = first_group; tmpdiv 2470 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 2471 drivers/scsi/smartpqi/smartpqi_init.c first_group = tmpdiv; tmpdiv 2472 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = last_block; tmpdiv 2473 drivers/scsi/smartpqi/smartpqi_init.c last_group = do_div(tmpdiv, stripesize); tmpdiv 2474 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = last_group; tmpdiv 2475 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 2476 drivers/scsi/smartpqi/smartpqi_init.c last_group = tmpdiv; tmpdiv 2486 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = first_block; tmpdiv 2487 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, stripesize); tmpdiv 2488 drivers/scsi/smartpqi/smartpqi_init.c first_row = r5or6_first_row = r0_first_row = tmpdiv; tmpdiv 2489 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = last_block; tmpdiv 2490 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, stripesize); tmpdiv 2491 drivers/scsi/smartpqi/smartpqi_init.c r5or6_last_row = r0_last_row = tmpdiv; tmpdiv 2502 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = first_block; tmpdiv 2503 drivers/scsi/smartpqi/smartpqi_init.c first_row_offset = do_div(tmpdiv, stripesize); tmpdiv 2504 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = first_row_offset; tmpdiv 2505 drivers/scsi/smartpqi/smartpqi_init.c first_row_offset = (u32)do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 2507 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = last_block; tmpdiv 2508 drivers/scsi/smartpqi/smartpqi_init.c r5or6_last_row_offset = do_div(tmpdiv, stripesize); tmpdiv 2509 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = r5or6_last_row_offset; tmpdiv 2510 drivers/scsi/smartpqi/smartpqi_init.c r5or6_last_row_offset = do_div(tmpdiv, r5or6_blocks_per_row); tmpdiv 2511 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = r5or6_first_row_offset; tmpdiv 2512 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); tmpdiv 2513 drivers/scsi/smartpqi/smartpqi_init.c first_column = r5or6_first_column = tmpdiv; tmpdiv 2514 drivers/scsi/smartpqi/smartpqi_init.c tmpdiv = r5or6_last_row_offset; tmpdiv 2515 drivers/scsi/smartpqi/smartpqi_init.c do_div(tmpdiv, strip_size); tmpdiv 2516 drivers/scsi/smartpqi/smartpqi_init.c r5or6_last_column = tmpdiv;