rxts 111 drivers/net/phy/dp83640.c struct list_head rxts; rxts 113 drivers/net/phy/dp83640.c struct rxts rx_pool_data[MAX_RXTS]; rxts 263 drivers/net/phy/dp83640.c static void phy2rxts(struct phy_rxts *p, struct rxts *rxts) rxts 270 drivers/net/phy/dp83640.c rxts->ns = p->ns_lo; rxts 271 drivers/net/phy/dp83640.c rxts->ns |= (p->ns_hi & 0x3fff) << 16; rxts 272 drivers/net/phy/dp83640.c rxts->ns += ((u64)sec) * 1000000000ULL; rxts 273 drivers/net/phy/dp83640.c rxts->seqid = p->seqid; rxts 274 drivers/net/phy/dp83640.c rxts->msgtype = (p->msgtype >> 12) & 0xf; rxts 275 drivers/net/phy/dp83640.c rxts->hash = p->msgtype & 0x0fff; rxts 276 drivers/net/phy/dp83640.c rxts->tmo = jiffies + SKB_TIMESTAMP_TIMEOUT; rxts 584 drivers/net/phy/dp83640.c static int expired(struct rxts *rxts) rxts 586 drivers/net/phy/dp83640.c return time_after(jiffies, rxts->tmo); rxts 593 drivers/net/phy/dp83640.c struct rxts *rxts; rxts 595 drivers/net/phy/dp83640.c list_for_each_safe(this, next, &dp83640->rxts) { rxts 596 drivers/net/phy/dp83640.c rxts = list_entry(this, struct rxts, list); rxts 597 drivers/net/phy/dp83640.c if (expired(rxts)) { rxts 598 drivers/net/phy/dp83640.c list_del_init(&rxts->list); rxts 599 drivers/net/phy/dp83640.c list_add(&rxts->list, &dp83640->rxpool); rxts 803 drivers/net/phy/dp83640.c static int match(struct sk_buff *skb, unsigned int type, struct rxts *rxts) rxts 835 drivers/net/phy/dp83640.c if (rxts->msgtype != (*msgtype & 0xf)) rxts 839 drivers/net/phy/dp83640.c if (rxts->seqid != ntohs(*seqid)) rxts 844 drivers/net/phy/dp83640.c if (rxts->hash != hash) rxts 853 drivers/net/phy/dp83640.c struct rxts *rxts; rxts 871 drivers/net/phy/dp83640.c rxts = list_first_entry(&dp83640->rxpool, struct rxts, list); rxts 872 drivers/net/phy/dp83640.c list_del_init(&rxts->list); rxts 873 drivers/net/phy/dp83640.c phy2rxts(phy_rxts, rxts); rxts 880 drivers/net/phy/dp83640.c if (match(skb, skb_info->ptp_type, rxts)) { rxts 884 drivers/net/phy/dp83640.c shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); rxts 885 drivers/net/phy/dp83640.c list_add(&rxts->list, &dp83640->rxpool); rxts 892 drivers/net/phy/dp83640.c list_add_tail(&rxts->list, &dp83640->rxts); rxts 1154 drivers/net/phy/dp83640.c INIT_LIST_HEAD(&dp83640->rxts); rxts 1437 drivers/net/phy/dp83640.c struct rxts *rxts; rxts 1455 drivers/net/phy/dp83640.c list_for_each_safe(this, next, &dp83640->rxts) { rxts 1456 drivers/net/phy/dp83640.c rxts = list_entry(this, struct rxts, list); rxts 1457 drivers/net/phy/dp83640.c if (match(skb, type, rxts)) { rxts 1460 drivers/net/phy/dp83640.c shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); rxts 1461 drivers/net/phy/dp83640.c list_del_init(&rxts->list); rxts 1462 drivers/net/phy/dp83640.c list_add(&rxts->list, &dp83640->rxpool);