Home
last modified time | relevance | path

Searched refs:div_10M (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c462 static const u32 div_10M[] = {2*_5M, 3*_5M, 4*_5M, 6*_5M, 8*_5M, 12*_5M, 16*_5M}; variable
507 if (kpc > (div_10M[div] << 2)) {
527 if (kpc >= (div_10M[div] << 2)) break;
536 fak = (kpc - 1) / (div_10M[div] << 1) + 1 - 2;
539 fak = (kpc - 1) / div_10M[div] + 1 - 4;
711 if (10ul * SYM_CONF_MIN_ASYNC * np->clock_khz > div_10M[i]) {
729 period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz;
749 period = div64_ul(11 * div_10M[np->clock_divn - 1], 4 * np->clock_khz);
/linux-6.1.9/drivers/scsi/
Dncr53c8xx.c3657 static u_long div_10M[] = variable
3762 if (10ul * SCSI_NCR_MIN_ASYNC * np->clock_khz > div_10M[i]) { in ncr_prepare_setting()
3774 period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz; in ncr_prepare_setting()
3791 period = (11 * div_10M[np->clock_divn - 1]) / (4 * np->clock_khz); in ncr_prepare_setting()
5298 if (kpc >= (div_10M[div] << 2)) break; in ncr_getsync()
5304 fak = (kpc - 1) / div_10M[div] + 1; in ncr_getsync()
5377 tp->period = (((sxfer>>5)+4)*div_10M[idiv-1])/np->clock_khz; in ncr_setsync()