Home
last modified time | relevance | path

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

123

/linux-6.15/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.c195 int phc_index; member
408 ret = ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in hwtstamp_set()
1022 if (port->phc_index < 0) in ixp4xx_get_ts_info()
1023 ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in ixp4xx_get_ts_info()
1025 info->phc_index = port->phc_index; in ixp4xx_get_ts_info()
1027 if (info->phc_index < 0) { in ixp4xx_get_ts_info()
1520 port->phc_index = -1; in ixp4xx_eth_probe()
/linux-6.15/net/ethtool/
H A Dtsinfo.c158 if (ts_info->phc_index >= 0) { in tsinfo_reply_size()
239 if (ts_info->phc_index >= 0) { in tsinfo_fill_reply()
243 ts_info->phc_index); in tsinfo_fill_reply()
252 ts_info->phc_index) || in tsinfo_fill_reply()
295 reply_data->ts_info.phc_index = -1; in ethnl_tsinfo_prepare_dump()
H A Dtsconfig.c67 ts_info.phc_index = -1; in tsconfig_prepare_data()
72 if (ts_info.phc_index == -1) in tsconfig_prepare_data()
75 data->hwprov_desc.index = ts_info.phc_index; in tsconfig_prepare_data()
H A Dcommon.c840 info->phc_index = -1; in ethtool_init_tsinfo()
860 if (info->phc_index == hwprov_desc->index && in ethtool_net_get_ts_info_by_phc()
892 if (info->phc_index == hwprov_desc->index) in ethtool_phy_get_ts_info_by_phc()
905 if (info->phc_index == hwprov_desc->index) in ethtool_phy_get_ts_info_by_phc()
994 num = ptp_get_vclocks_index(info.phc_index, vclock_index); in ethtool_get_phc_vclocks()
/linux-6.15/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c391 info->phc_index = -1; in dpaa_get_ts_info()
408 info->phc_index = ptp->phc_index; in dpaa_get_ts_info()
/linux-6.15/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()
785 cpts->phc_index = -1; in cpts_create()
H A Dcpsw_ethtool.c717 info->phc_index = cpsw->cpts->phc_index; in cpsw_get_ts_info()
H A Dam65-cpts.c161 int phc_index; member
1016 return cpts->phc_index; in am65_cpts_phc_index()
1209 cpts->phc_index = ptp_clock_index(cpts->ptp_clock); in am65_cpts_create()
/linux-6.15/drivers/net/ethernet/freescale/enetc/
H A Denetc_ptp.c95 enetc_phc_index = ptp_qoriq->phc_index; in enetc_ptp_probe()
/linux-6.15/include/linux/fsl/
H A Dptp_qoriq.h154 int phc_index; member
/linux-6.15/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ptp.c200 dpaa2_phc_index = ptp_qoriq->phc_index; in dpaa2_ptp_probe()
/linux-6.15/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ethtool.c515 info->phc_index = ptp_clock_index(wx->ptp_clock); in wx_get_ts_info()
517 info->phc_index = -1; in wx_get_ts_info()
/linux-6.15/drivers/net/netdevsim/
H A Dethtool.c159 info->phc_index = mock_phc_index(ns->phc); in nsim_get_ts_info()
/linux-6.15/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c131 info->phc_index = icss_iep_get_ptp_clock_idx(emac->iep); in emac_get_ts_info()
/linux-6.15/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c23 info->phc_index = hellcreek->ptp_clock ? in hellcreek_get_ts_info()
/linux-6.15/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c318 info->phc_index = ptp_clock_index(adapter->ptp_clock); in tsnep_ethtool_get_ts_info()
/linux-6.15/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c340 info->phc_index = ptp_clock_index(ptp->clock); in qede_ptp_get_ts_info()
/linux-6.15/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c82 info->phc_index = ptp_clock_index(chip->ptp_clock); in mv88e6xxx_get_ts_info()
/linux-6.15/drivers/ptp/
H A Dptp_qoriq.c570 ptp_qoriq->phc_index = ptp_clock_index(ptp_qoriq->clock); in ptp_qoriq_init()
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c401 info->phc_index = ptp_clock_index(hdev->ptp->clock); in hclge_ptp_get_ts_info()
/linux-6.15/include/linux/
H A Dethtool.h766 int phc_index; member
/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ethtool.c1187 info->phc_index = ptp_clock_index(priv->ptp_clock); in stmmac_get_ts_info()
1189 info->phc_index = 0; in stmmac_get_ts_info()

123