Lines Matching defs:cpts
26 #include "cpts.h"
754 struct cpts *cpts;
2008 if (!gbe_intf || !gbe_intf->gbe_dev->cpts)
2018 info->phc_index = gbe_intf->gbe_dev->cpts->phc_index;
2539 cpts_tx_timestamp(gbe_dev->cpts, skb);
2547 return cpts_can_timestamp(gbe_intf->gbe_dev->cpts, skb);
2592 cpts_rx_timestamp(gbe_dev->cpts, p_info->skb);
2602 struct cpts *cpts = gbe_dev->cpts;
2605 if (!cpts)
2648 struct cpts *cpts = gbe_dev->cpts;
2651 if (!cpts)
2701 if (!gbe_dev->cpts)
2707 if (cpts_register(gbe_dev->cpts)) {
2708 dev_err(gbe_dev->dev, "error registering cpts device\n");
2718 if (!gbe_dev->cpts || (gbe_dev->cpts_registered <= 0))
2724 cpts_unregister(gbe_dev->cpts);
3707 cpts_node = of_get_child_by_name(node, "cpts");
3711 gbe_dev->cpts = cpts_create(gbe_dev->dev, gbe_dev->cpts_reg,
3714 if (IS_ENABLED(CONFIG_TI_CPTS) && IS_ERR(gbe_dev->cpts)) {
3715 ret = PTR_ERR(gbe_dev->cpts);
3805 cpts_release(gbe_dev->cpts);