Home
last modified time | relevance | path

Searched refs:phc_index (Results 1 – 25 of 82) sorted by relevance

1234

/openbmc/linux/drivers/net/ethernet/xscale/
H A Dixp46x_ts.h66 int ixp46x_ptp_find(struct ixp46x_ts_regs *__iomem *regs, int *phc_index);
68 static inline int ixp46x_ptp_find(struct ixp46x_ts_regs *__iomem *regs, int *phc_index) in ixp46x_ptp_find() argument
71 *phc_index = -1; in ixp46x_ptp_find()
H A Dptp_ixp46x.c233 int ixp46x_ptp_find(struct ixp46x_ts_regs *__iomem *regs, int *phc_index) in ixp46x_ptp_find() argument
236 *phc_index = ptp_clock_index(ixp_clock.ptp_clock); in ixp46x_ptp_find()
H A Dixp4xx_eth.c187 int phc_index; member
400 ret = ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in hwtstamp_set()
1014 if (port->phc_index < 0) in ixp4xx_get_ts_info()
1015 ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in ixp4xx_get_ts_info()
1017 info->phc_index = port->phc_index; in ixp4xx_get_ts_info()
1019 if (info->phc_index < 0) { in ixp4xx_get_ts_info()
1463 port->phc_index = -1; in ixp4xx_eth_probe()
/openbmc/linux/net/ethtool/
H A Dtsinfo.c80 if (ts_info->phc_index >= 0) in tsinfo_reply_size()
119 if (ts_info->phc_index >= 0 && in tsinfo_fill_reply()
120 nla_put_u32(skb, ETHTOOL_A_TSINFO_PHC_INDEX, ts_info->phc_index)) in tsinfo_fill_reply()
H A Dcommon.c647 info->phc_index = -1; in __ethtool_get_ts_info()
658 num = ptp_get_vclocks_index(info.phc_index, vclock_index); in ethtool_get_phc_vclocks()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c405 info->phc_index = -1; in dpaa_get_ts_info()
422 info->phc_index = ptp->phc_index; in dpaa_get_ts_info()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c332 info->phc_index = -1; in qede_ptp_get_ts_info()
345 info->phc_index = ptp_clock_index(ptp->clock); in qede_ptp_get_ts_info()
347 info->phc_index = -1; in qede_ptp_get_ts_info()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpts.h111 int phc_index; member
H A Dcpts.c574 cpts->phc_index = ptp_clock_index(cpts->clock); in cpts_register()
592 cpts->phc_index = -1; in cpts_unregister()
778 cpts->phc_index = -1; in cpts_create()
H A Dcpsw_ethtool.c731 info->phc_index = cpsw->cpts->phc_index; in cpsw_get_ts_info()
747 info->phc_index = -1; in cpsw_get_ts_info()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ptp.c95 enetc_phc_index = ptp_qoriq->phc_index; in enetc_ptp_probe()
/openbmc/linux/include/linux/fsl/
H A Dptp_qoriq.h154 int phc_index; member
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c320 info->phc_index = ptp_clock_index(adapter->ptp_clock); in tsnep_ethtool_get_ts_info()
322 info->phc_index = -1; in tsnep_ethtool_get_ts_info()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.h18 info->phc_index = -1; in mlxsw_sp_ptp_get_ts_info_noptp()
/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c125 info->phc_index = icss_iep_get_ptp_clock_idx(emac->iep); in emac_get_ts_info()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ptp.c200 dpaa2_phc_index = ptp_qoriq->phc_index; in dpaa2_ptp_probe()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool.c236 ts_info->phc_index = -1; in efx_ethtool_get_ts_info()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool.c236 ts_info->phc_index = -1; in efx_ethtool_get_ts_info()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c399 info->phc_index = ptp_clock_index(hdev->ptp->clock); in hclge_ptp_get_ts_info()
401 info->phc_index = -1; in hclge_ptp_get_ts_info()
/openbmc/linux/drivers/net/netdevsim/
H A Dethtool.c148 info->phc_index = mock_phc_index(ns->phc); in nsim_get_ts_info()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c591 ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); in xgbe_get_ts_info()
593 ts_info->phc_index = -1; in xgbe_get_ts_info()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c560 info->phc_index = phc->clock ? ptp_clock_index(phc->clock) : -1; in lan966x_get_ts_info()
561 if (info->phc_index == -1) { in lan966x_get_ts_info()
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c612 info->phc_index = ocelot->ptp_clock ? in ocelot_get_ts_info()
614 if (info->phc_index == -1) { in ocelot_get_ts_info()
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c23 info->phc_index = hellcreek->ptp_clock ? in hellcreek_get_ts_info()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1458 info->phc_index = -1; in gfar_get_ts_info()
1476 info->phc_index = ptp->phc_index; in gfar_get_ts_info()

1234