Searched refs:shwt (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/ide/
H A Dtx4938ide.c31 unsigned int shwt; tx4938ide_tune_ebusc() local
43 shwt = DIV_ROUND_UP(t->setup, cycle); tx4938ide_tune_ebusc()
46 while ((shwt * 4 + wt + (wt ? 2 : 3)) * cycle < t->cycle) tx4938ide_tune_ebusc()
47 shwt++; tx4938ide_tune_ebusc()
48 if (shwt > 7) { tx4938ide_tune_ebusc()
49 pr_warning("tx4938ide: SHWT violation (%d)\n", shwt); tx4938ide_tune_ebusc()
50 shwt = 7; tx4938ide_tune_ebusc()
53 ebus_ch, cycle, wt, shwt); tx4938ide_tune_ebusc()
55 __raw_writeq((cr & ~0x3f007ull) | (wt << 12) | shwt, tx4938ide_tune_ebusc()

Completed in 32 milliseconds