Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/ide/
Dtx4938ide.c31 unsigned int shwt; in tx4938ide_tune_ebusc() local
43 shwt = DIV_ROUND_UP(t->setup, cycle); in tx4938ide_tune_ebusc()
46 while ((shwt * 4 + wt + (wt ? 2 : 3)) * cycle < t->cycle) in tx4938ide_tune_ebusc()
47 shwt++; in tx4938ide_tune_ebusc()
48 if (shwt > 7) { in tx4938ide_tune_ebusc()
49 pr_warning("tx4938ide: SHWT violation (%d)\n", shwt); in tx4938ide_tune_ebusc()
50 shwt = 7; in tx4938ide_tune_ebusc()
53 ebus_ch, cycle, wt, shwt); in tx4938ide_tune_ebusc()
55 __raw_writeq((cr & ~0x3f007ull) | (wt << 12) | shwt, in tx4938ide_tune_ebusc()
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c296 struct skb_shared_hwtstamps *shwt; in mv88e6xxx_get_rxts() local
337 shwt = skb_hwtstamps(skb); in mv88e6xxx_get_rxts()
338 memset(shwt, 0, sizeof(*shwt)); in mv88e6xxx_get_rxts()
339 shwt->hwtstamp = ns_to_ktime(ns); in mv88e6xxx_get_rxts()