| /linux/drivers/net/ethernet/xscale/ |
| H A 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()
|
| H A D | ptp_ixp46x.c | 233 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 D | ixp4xx_eth.c | 195 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/net/ethtool/ |
| H A D | tsinfo.c | 166 if (ts_info->phc_index >= 0) { in tsinfo_reply_size() 253 if (ts_info->phc_index >= 0) { in tsinfo_fill_reply() 257 ts_info->phc_index); in tsinfo_fill_reply() 266 ts_info->phc_index) || in tsinfo_fill_reply() 319 reply_data->ts_info.phc_index = -1; in ethnl_tsinfo_prepare_dump() 373 if (reply_data->ts_info.phc_index >= 0) { in ethnl_tsinfo_dump_one_phydev() 419 if (reply_data->ts_info.phc_index >= 0) in ethnl_tsinfo_dump_one_netdev()
|
| H A D | tsconfig.c | 68 ts_info.phc_index = -1; in tsconfig_prepare_data() 73 if (ts_info.phc_index == -1) { in tsconfig_prepare_data() 78 data->hwprov_desc.index = ts_info.phc_index; in tsconfig_prepare_data()
|
| /linux/drivers/ptp/ |
| H A D | ptp_clock.c | 587 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 D | ptp_qoriq.c | 591 ptp_qoriq->phc_index = ptp_clock_index(ptp_qoriq->clock); in ptp_qoriq_init()
|
| /linux/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_ethtool.c | 361 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 D | enetc_ethtool.c | 1136 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 D | cpts.h | 111 int phc_index; member
|
| H A D | cpts.c | 574 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 D | dpaa2-ptp.c | 200 dpaa2_phc_index = ptp_qoriq->phc_index; in dpaa2_ptp_probe()
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_ethtool.c | 131 info->phc_index = icss_iep_get_ptp_clock_idx(emac->iep); in emac_get_ts_info()
|
| /linux/net/bluetooth/ |
| H A D | af_bluetooth.c | 643 info.phc_index = ts_info.phc_index; in bt_ethtool_get_ts_info()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_ptp.c | 358 info->phc_index = ptp_clock_index(ptp->clock); in qede_ptp_get_ts_info()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | gianfar_ethtool.c | 1489 info->phc_index = ptp->phc_index; in gfar_get_ts_info()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 1283 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 D | lan966x_ethtool.c | 553 info->phc_index = ptp_clock_index(phc->clock); in lan966x_get_ts_info()
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 976 info->phc_index = ptp_clock_index(priv->ptp->clock); in gve_get_ts_info()
|
| /linux/net/core/ |
| H A D | sock.c | 855 static int sock_timestamping_bind_phc(struct sock *sk, int phc_index) in sock_timestamping_bind_phc() argument 875 if (*(vclock_index + i) == phc_index) { in sock_timestamping_bind_phc() 887 WRITE_ONCE(sk->sk_bind_phc, phc_index); in sock_timestamping_bind_phc()
|
| /linux/net/sched/ |
| H A D | sch_taprio.c | 1633 .phc_index = -1, in taprio_parse_clockid() 1645 if (err || info.phc_index < 0) { in taprio_parse_clockid()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_ethtool.c | 1775 info->phc_index = mlx5_clock_get_ptp_index(mdev); in mlx5e_ethtool_set_pauseparam() 1778 info->phc_index == -1)
|
| /linux/drivers/net/phy/ |
| H A D | microchip_rds_ptp.c | 624 info->phc_index = ptp_clock_index(clock->ptp_clock); in mchp_rds_ptp_ts_info()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.c | 318 ts->phc_index = ptp_clock_index(ptp_data->clock); in ksz_get_ts_info()
|
| /linux/drivers/net/ethernet/renesas/ |
| H A D | rtsn.c | 1195 info->phc_index = rcar_gen4_ptp_clock_index(priv->ptp_priv); in rtsn_get_ts_info()
|