/Linux-v5.15/drivers/net/ethernet/xscale/ |
D | ixp46x_ts.h | 66 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()
|
D | ptp_ixp46x.c | 245 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()
|
D | ixp4xx_eth.c | 172 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()
|
/Linux-v5.15/net/ethtool/ |
D | tsinfo.c | 80 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()
|
D | common.c | 554 info->phc_index = -1; in __ethtool_get_ts_info() 565 num = ptp_get_vclocks_index(info.phc_index, vclock_index); in ethtool_get_phc_vclocks()
|
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 334 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()
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 489 info->phc_index = -1; in dpaa_get_ts_info() 502 info->phc_index = ptp->phc_index; in dpaa_get_ts_info()
|
/Linux-v5.15/drivers/net/ethernet/freescale/enetc/ |
D | enetc_ptp.c | 102 enetc_phc_index = ptp_qoriq->phc_index; in enetc_ptp_probe()
|
D | enetc_ethtool.c | 666 info->phc_index = *phc_idx; in enetc_get_ts_info() 669 info->phc_index = -1; in enetc_get_ts_info()
|
/Linux-v5.15/drivers/net/ethernet/ti/ |
D | cpts.h | 111 int phc_index; member
|
D | cpsw_ethtool.c | 729 info->phc_index = cpsw->cpts->phc_index; in cpsw_get_ts_info() 745 info->phc_index = -1; in cpsw_get_ts_info()
|
D | cpts.c | 584 cpts->phc_index = ptp_clock_index(cpts->clock); in cpts_register() 602 cpts->phc_index = -1; in cpts_unregister() 788 cpts->phc_index = -1; in cpts_create()
|
D | am65-cpts.c | 161 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()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.h | 18 info->phc_index = -1; in mlxsw_sp_ptp_get_ts_info_noptp()
|
/Linux-v5.15/include/linux/fsl/ |
D | ptp_qoriq.h | 153 int phc_index; member
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ptp.c | 203 dpaa2_phc_index = ptp_qoriq->phc_index; in dpaa2_ptp_probe()
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | ethtool.c | 230 ts_info->phc_index = -1; in efx_ethtool_get_ts_info()
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_ptp.c | 411 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()
|
/Linux-v5.15/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 680 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()
|
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 588 ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); in xgbe_get_ts_info() 590 ts_info->phc_index = -1; in xgbe_get_ts_info()
|
/Linux-v5.15/drivers/net/dsa/hirschmann/ |
D | hellcreek_hwtstamp.c | 23 info->phc_index = hellcreek->ptp_clock ? in hellcreek_get_ts_info()
|
/Linux-v5.15/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1452 info->phc_index = -1; in gfar_get_ts_info() 1468 info->phc_index = ptp->phc_index; in gfar_get_ts_info()
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 82 info->phc_index = ptp_clock_index(chip->ptp_clock); in mv88e6xxx_get_ts_info()
|
/Linux-v5.15/drivers/ptp/ |
D | ptp_qoriq.c | 534 ptp_qoriq->phc_index = ptp_clock_index(ptp_qoriq->clock); in ptp_qoriq_init()
|
/Linux-v5.15/include/uapi/linux/ |
D | ethtool.h | 1339 __s32 phc_index; member
|