Home
last modified time | relevance | path

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

12

/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
239 *phc_index = ptp_clock_index(ixp_clock.ptp_clock); in ixp46x_ptp_find()
H A Dixp4xx_eth.c195 int phc_index; member
409 ret = ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in ixp4xx_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()
1514 port->phc_index = -1; in ixp4xx_eth_probe()
/linux/drivers/ptp/
H A Dptp_clock.c587 int phc_index; in ptp_clock_index_by_of_node() local
595 phc_index = ptp_clock_index(ptp); in ptp_clock_index_by_of_node()
598 return phc_index; in ptp_clock_index_by_of_node()
613 int phc_index; in ptp_clock_index_by_dev() local
621 phc_index = ptp_clock_index(ptp); in ptp_clock_index_by_dev()
624 return phc_index; in ptp_clock_index_by_dev()
H A Dptp_qoriq.c591 ptp_qoriq->phc_index = ptp_clock_index(ptp_qoriq->clock); in ptp_qoriq_init()
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c361 info->phc_index = -1; in dpaa_get_ts_info()
380 info->phc_index = ptp->phc_index; in dpaa_get_ts_info()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c1136 int phc_index; in enetc_get_phc_index_by_pdev() local
1157 phc_index = ptp_clock_index_by_dev(&timer_pdev->dev); in enetc_get_phc_index_by_pdev()
1160 return phc_index; in enetc_get_phc_index_by_pdev()
1167 int phc_index; in enetc_get_phc_index() local
1176 phc_index = ptp_clock_index_by_of_node(timer_np); in enetc_get_phc_index()
1179 return phc_index; in enetc_get_phc_index()
1211 info->phc_index = enetc_get_phc_index(si); in enetc_get_ts_info()
1212 if (info->phc_index < 0) in enetc_get_ts_info()
/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()
785 cpts->phc_index = -1; in cpts_create()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ptp.c200 dpaa2_phc_index = ptp_qoriq->phc_index; in dpaa2_ptp_probe()
/linux/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/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c358 info->phc_index = ptp_clock_index(ptp->clock); in qede_ptp_get_ts_info()
/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1489 info->phc_index = ptp->phc_index; in gfar_get_ts_info()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1283 info->phc_index = ptp_clock_index(mlxsw_sp->clock->ptp); in mlxsw_sp1_ptp_get_ts_info()
1673 info->phc_index = ptp_clock_index(mlxsw_sp->clock->ptp); in mlxsw_sp2_ptp_get_ts_info()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c553 info->phc_index = ptp_clock_index(phc->clock); in lan966x_get_ts_info()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c976 info->phc_index = ptp_clock_index(priv->ptp->clock); in gve_get_ts_info()
/linux/net/sched/
H A Dsch_taprio.c1633 .phc_index = -1, in taprio_parse_clockid()
1645 if (err || info.phc_index < 0) { in taprio_parse_clockid()
/linux/drivers/net/phy/
H A Dmicrochip_rds_ptp.c624 info->phc_index = ptp_clock_index(clock->ptp_clock); in mchp_rds_ptp_ts_info()
H A Ddp83640.c1387 info->phc_index = ptp_clock_index(dp83640->clock->ptp_clock); in dp83640_ts_info()
H A Dmicrel.c3142 info->phc_index = ptp_clock_index(shared->ptp_clock); in lan8814_ts_info()
5019 info->phc_index = ptp_priv->ptp_clock ? in lan8841_ts_info()
5021 if (info->phc_index == -1) in lan8841_ts_info()
/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c318 ts->phc_index = ptp_clock_index(ptp_data->clock); in ksz_get_ts_info()
/linux/drivers/net/ethernet/renesas/
H A Drtsn.c1195 info->phc_index = rcar_gen4_ptp_clock_index(priv->ptp_priv); in rtsn_get_ts_info()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c989 info->phc_index = otx2_ptp_clock_index(pfvf); in otx2_get_ts_info()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c1731 info->phc_index = ptp_clock_index(vport->adapter->ptp->clock); in idpf_get_ts_info()
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c1797 ts_info->phc_index = in efx_siena_ptp_get_ts_info()

12