Home
last modified time | relevance | path

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

/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c473 u32 fak; /* Sync factor in sxfer */ local
512 fak = 0; /* No extra clocks */
517 *fakp = fak;
536 fak = (kpc - 1) / (div_10M[div] << 1) + 1 - 2;
539 fak = (kpc - 1) / div_10M[div] + 1 - 4;
546 if (fak > 2) {
547 fak = 2;
555 *fakp = fak;
1932 u_char per, u_char wide, u_char div, u_char fak) argument
1962 sval = (sval & ~0xe0) | (fak << 5);
[all …]
/drivers/scsi/
Dncr53c8xx.c5421 u_long fak; /* Sync factor in sxfer */ in ncr_getsync() local
5445 fak = (kpc - 1) / div_10M[div] + 1; in ncr_getsync()
5449 per = (fak * div_10M[div]) / clk; in ncr_getsync()
5456 if (div >= 1 && fak < 8) { in ncr_getsync()
5461 fak = fak2; in ncr_getsync()
5468 if (fak < 4) fak = 4; /* Should never happen, too bad ... */ in ncr_getsync()
5473 *fakp = fak - 4; in ncr_getsync()
6686 u_char chg, ofs, per, fak, wide; in ncr_int_sir() local
6899 fak = 7; in ncr_int_sir()
6902 ncr_getsync(np, per, &fak, &scntl3); in ncr_int_sir()
[all …]