/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 236 *phc_index = ptp_clock_index(ixp_clock.ptp_clock); in ixp46x_ptp_find()
|
H A D | ixp4xx_eth.c | 195 int phc_index; member 412 ret = ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in ixp4xx_hwtstamp_set() 1017 if (port->phc_index < 0) in ixp4xx_get_ts_info() 1018 ixp46x_ptp_find(&port->timesync_regs, &port->phc_index); in ixp4xx_get_ts_info() 1020 info->phc_index = port->phc_index; in ixp4xx_get_ts_info() 1022 if (info->phc_index < 0) { in ixp4xx_get_ts_info() 1517 port->phc_index = -1; in ixp4xx_eth_probe()
|
/linux/net/ethtool/ |
H A D | tsinfo.c | 158 if (ts_info->phc_index >= 0) { in tsinfo_reply_size() 245 if (ts_info->phc_index >= 0) { in tsinfo_fill_reply() 249 ts_info->phc_index); in tsinfo_fill_reply() 258 ts_info->phc_index) || in tsinfo_fill_reply() 311 reply_data->ts_info.phc_index = -1; in ethnl_tsinfo_prepare_dump() 365 if (reply_data->ts_info.phc_index >= 0) { in ethnl_tsinfo_dump_one_phydev() 413 if (reply_data->ts_info.phc_index >= 0) in ethnl_tsinfo_dump_one_netdev()
|
H A D | tsconfig.c | 67 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()
|
/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/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()
|
H A D | am65-cpts.c | 161 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/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ptp.c | 95 enetc_phc_index = ptp_qoriq->phc_index; in enetc_ptp_probe()
|
/linux/include/linux/fsl/ |
H A D | ptp_qoriq.h | 154 int phc_index; member
|
/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/wangxun/libwx/ |
H A D | wx_ethtool.c | 509 info->phc_index = ptp_clock_index(wx->ptp_clock); in wx_get_ts_info() 511 info->phc_index = -1; in wx_get_ts_info()
|
/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.c | 23 info->phc_index = hellcreek->ptp_clock ? in hellcreek_get_ts_info()
|
/linux/net/bluetooth/ |
H A D | af_bluetooth.c | 593 info.phc_index = ts_info.phc_index; in bt_ethtool_get_ts_info()
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_ethtool.c | 318 info->phc_index = ptp_clock_index(adapter->ptp_clock); in tsnep_ethtool_get_ts_info()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 340 info->phc_index = ptp_clock_index(ptp->clock); in qede_ptp_get_ts_info()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 82 info->phc_index = ptp_clock_index(chip->ptp_clock); in mv88e6xxx_get_ts_info()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 1144 info->phc_index = ptp_clock_index(priv->ptp_clock); in stmmac_get_ts_info() 1146 info->phc_index = 0; in stmmac_get_ts_info()
|
/linux/drivers/ptp/ |
H A D | ptp_qoriq.c | 570 ptp_qoriq->phc_index = ptp_clock_index(ptp_qoriq->clock); in ptp_qoriq_init()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.c | 401 info->phc_index = ptp_clock_index(hdev->ptp->clock); in hclge_ptp_get_ts_info()
|
/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1485 info->phc_index = ptp->phc_index; in gfar_get_ts_info()
|
/linux/include/linux/ |
H A D | ethtool.h | 845 * @phc_index: device index of the associated PHC, or -1 if there is none 855 int phc_index; member
|
/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/mscc/ |
H A D | ocelot_ptp.c | 591 info->phc_index = ptp_clock_index(ocelot->ptp_clock); in ocelot_get_ts_info()
|