Lines Matching refs:cpts
757 struct cpts *cpts; member
2011 if (!gbe_intf || !gbe_intf->gbe_dev->cpts) in keystone_get_ts_info()
2021 info->phc_index = gbe_intf->gbe_dev->cpts->phc_index; in keystone_get_ts_info()
2543 cpts_tx_timestamp(gbe_dev->cpts, skb); in gbe_txtstamp()
2551 return cpts_can_timestamp(gbe_intf->gbe_dev->cpts, skb); in gbe_need_txtstamp()
2596 cpts_rx_timestamp(gbe_dev->cpts, p_info->skb); in gbe_rxtstamp()
2606 struct cpts *cpts = gbe_dev->cpts; in gbe_hwtstamp_get() local
2609 if (!cpts) in gbe_hwtstamp_get()
2652 struct cpts *cpts = gbe_dev->cpts; in gbe_hwtstamp_set() local
2655 if (!cpts) in gbe_hwtstamp_set()
2709 if (!gbe_dev->cpts) in gbe_register_cpts()
2715 if (cpts_register(gbe_dev->cpts)) { in gbe_register_cpts()
2726 if (!gbe_dev->cpts || (gbe_dev->cpts_registered <= 0)) in gbe_unregister_cpts()
2732 cpts_unregister(gbe_dev->cpts); in gbe_unregister_cpts()
3720 gbe_dev->cpts = cpts_create(gbe_dev->dev, gbe_dev->cpts_reg, cpts_node); in gbe_probe()
3722 if (IS_ENABLED(CONFIG_TI_CPTS) && IS_ERR(gbe_dev->cpts)) { in gbe_probe()
3723 ret = PTR_ERR(gbe_dev->cpts); in gbe_probe()
3813 cpts_release(gbe_dev->cpts); in gbe_remove()