Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c469 sym_getsync(struct sym_hcb *np, u_char dt, u_char sfac, u_char *divp, u_char *fakp) argument
481 if (dt && sfac <= 9) per = 125;
482 else if (sfac <= 10) per = 250;
483 else if (sfac == 11) per = 303;
484 else if (sfac == 12) per = 500;
485 else per = 40 * sfac;
/linux-6.1.9/drivers/scsi/
Dncr53c8xx.c1929 static void ncr_getsync (struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p);
5276 static void ncr_getsync(struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p) in ncr_getsync() argument
5287 if (sfac <= 10) per = 250; in ncr_getsync()
5288 else if (sfac == 11) per = 303; in ncr_getsync()
5289 else if (sfac == 12) per = 500; in ncr_getsync()
5290 else per = 40 * sfac; in ncr_getsync()
5312 *scntl3p = ((div+1) << 4) + (sfac < 25 ? 0x80 : 0); in ncr_getsync()