Searched refs:phc_index (Results 1 - 25 of 76) sorted by relevance

1234

/linux-master/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) argument
71 *phc_index = -1;
H A Dptp_ixp46x.c233 int ixp46x_ptp_find(struct ixp46x_ts_regs *__iomem *regs, int *phc_index) argument
236 *phc_index = ptp_clock_index(ixp_clock.ptp_clock);
H A Dixp4xx_eth.c195 int phc_index; member in struct:port
408 ret = ixp46x_ptp_find(&port->timesync_regs, &port->phc_index);
1022 if (port->phc_index < 0)
1023 ixp46x_ptp_find(&port->timesync_regs, &port->phc_index);
1025 info->phc_index = port->phc_index;
1027 if (info->phc_index < 0) {
1522 port->phc_index = -1;
/linux-master/net/ethtool/
H A Dtsinfo.c80 if (ts_info->phc_index >= 0)
119 if (ts_info->phc_index >= 0 &&
120 nla_put_u32(skb, ETHTOOL_A_TSINFO_PHC_INDEX, ts_info->phc_index))
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_ptp.c95 enetc_phc_index = ptp_qoriq->phc_index;
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c332 info->phc_index = -1;
345 info->phc_index = ptp_clock_index(ptp->clock);
347 info->phc_index = -1;
/linux-master/drivers/net/ethernet/ti/
H A Dcpts.h111 int phc_index; member in struct:cpts
H A Dcpts.c574 cpts->phc_index = ptp_clock_index(cpts->clock);
592 cpts->phc_index = -1;
785 cpts->phc_index = -1;
H A Dcpsw_ethtool.c731 info->phc_index = cpsw->cpts->phc_index;
747 info->phc_index = -1;
H A Dam65-cpts.c161 int phc_index; member in struct:am65_cpts
969 return cpts->phc_index;
1162 cpts->phc_index = ptp_clock_index(cpts->ptp_clock);
/linux-master/include/linux/fsl/
H A Dptp_qoriq.h154 int phc_index; member in struct:ptp_qoriq
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c125 info->phc_index = icss_iep_get_ptp_clock_idx(emac->iep);
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c405 info->phc_index = -1;
422 info->phc_index = ptp->phc_index;
/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c320 info->phc_index = ptp_clock_index(adapter->ptp_clock);
322 info->phc_index = -1;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.h18 info->phc_index = -1;
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ptp.c200 dpaa2_phc_index = ptp_qoriq->phc_index;
/linux-master/drivers/net/netdevsim/
H A Dethtool.c148 info->phc_index = mock_phc_index(ns->phc);
/linux-master/drivers/net/ethernet/sfc/
H A Dethtool.c236 ts_info->phc_index = -1;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool.c236 ts_info->phc_index = -1;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c399 info->phc_index = ptp_clock_index(hdev->ptp->clock);
401 info->phc_index = -1;
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c23 info->phc_index = hellcreek->ptp_clock ?
/linux-master/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1458 info->phc_index = -1;
1476 info->phc_index = ptp->phc_index;
/linux-master/drivers/net/can/dev/
H A Ddev.c388 info->phc_index = -1;
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c560 info->phc_index = phc->clock ? ptp_clock_index(phc->clock) : -1;
561 if (info->phc_index == -1) {
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_ptp.c585 info->phc_index = ocelot->ptp_clock ?
587 if (info->phc_index == -1) {

Completed in 214 milliseconds

1234