Home
last modified time | relevance | path

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

123

/drivers/net/ethernet/xscale/
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()
Dptp_ixp46x.c245 int ixp46x_ptp_find(struct ixp46x_ts_regs *__iomem *regs, int *phc_index) in ixp46x_ptp_find() argument
248 *phc_index = ptp_clock_index(ixp_clock.ptp_clock); in ixp46x_ptp_find()
Dixp4xx_eth.c172 int phc_index; member
388 ret = ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in hwtstamp_set()
1002 if (port->phc_index < 0) in ixp4xx_get_ts_info()
1003 ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in ixp4xx_get_ts_info()
1005 info->phc_index = port->phc_index; in ixp4xx_get_ts_info()
1007 if (info->phc_index < 0) { in ixp4xx_get_ts_info()
1492 port->phc_index = -1; in ixp4xx_eth_probe()
/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c334 info->phc_index = -1; in qede_ptp_get_ts_info()
347 info->phc_index = ptp_clock_index(ptp->clock); in qede_ptp_get_ts_info()
349 info->phc_index = -1; in qede_ptp_get_ts_info()
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c489 info->phc_index = -1; in dpaa_get_ts_info()
506 info->phc_index = ptp->phc_index; in dpaa_get_ts_info()
/drivers/net/ethernet/ti/
Dcpts.h111 int phc_index; member
Dcpsw_ethtool.c727 info->phc_index = cpsw->cpts->phc_index; in cpsw_get_ts_info()
743 info->phc_index = -1; in cpsw_get_ts_info()
Dcpts.c586 cpts->phc_index = ptp_clock_index(cpts->clock); in cpts_register()
604 cpts->phc_index = -1; in cpts_unregister()
790 cpts->phc_index = -1; in cpts_create()
Dam65-cpts.c161 int phc_index; member
829 return cpts->phc_index; in am65_cpts_phc_index()
1007 cpts->phc_index = ptp_clock_index(cpts->ptp_clock); in am65_cpts_create()
Dam65-cpsw-ethtool.c715 info->phc_index = am65_cpts_phc_index(common->cpts); in am65_cpsw_get_ethtool_ts_info()
/drivers/net/ethernet/freescale/enetc/
Denetc_ptp.c102 enetc_phc_index = ptp_qoriq->phc_index; in enetc_ptp_probe()
Denetc_ethtool.c666 info->phc_index = *phc_idx; in enetc_get_ts_info()
669 info->phc_index = -1; in enetc_get_ts_info()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.h18 info->phc_index = -1; in mlxsw_sp_ptp_get_ts_info_noptp()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ptp.c203 dpaa2_phc_index = ptp_qoriq->phc_index; in dpaa2_ptp_probe()
Ddpaa2-ethtool.c774 info->phc_index = dpaa2_phc_index; in dpaa2_eth_get_ts_info()
/drivers/net/ethernet/sfc/
Dethtool.c230 ts_info->phc_index = -1; in efx_ethtool_get_ts_info()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.c411 info->phc_index = ptp_clock_index(hdev->ptp->clock); in hclge_ptp_get_ts_info()
413 info->phc_index = -1; in hclge_ptp_get_ts_info()
/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c680 ts_info->phc_index = ptp_clock_index(adapter->ptp.ptp_clock); in lan743x_ethtool_get_ts_info()
682 ts_info->phc_index = -1; in lan743x_ethtool_get_ts_info()
/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c593 ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); in xgbe_get_ts_info()
595 ts_info->phc_index = -1; in xgbe_get_ts_info()
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1452 info->phc_index = -1; in gfar_get_ts_info()
1469 info->phc_index = ptp->phc_index; in gfar_get_ts_info()
/drivers/net/dsa/hirschmann/
Dhellcreek_hwtstamp.c23 info->phc_index = hellcreek->ptp_clock ? in hellcreek_get_ts_info()
/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c82 info->phc_index = ptp_clock_index(chip->ptp_clock); in mv88e6xxx_get_ts_info()
/drivers/ptp/
Dptp_qoriq.c534 ptp_qoriq->phc_index = ptp_clock_index(ptp_qoriq->clock); in ptp_qoriq_init()
Dptp_ines.c575 info->phc_index = -1; in ines_ts_info()
/drivers/net/ethernet/aquantia/atlantic/
Daq_ethtool.c668 info->phc_index = ptp_clock_index(aq_ptp_get_ptp_clock(aq_nic->aq_ptp)); in aq_ethtool_get_ts_info()

123