Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/scsi/
Dncr53c8xx.c1932 static void ncr_getsync (struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p);
5417 static void ncr_getsync(struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p) in ncr_getsync() argument
5428 if (sfac <= 10) per = 250; in ncr_getsync()
5429 else if (sfac == 11) per = 303; in ncr_getsync()
5430 else if (sfac == 12) per = 500; in ncr_getsync()
5431 else per = 40 * sfac; in ncr_getsync()
5474 *scntl3p = ((div+1) << 4) + (sfac < 25 ? 0x80 : 0); in ncr_getsync()