/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/ ! |
D | bnxt_ptp.c | 58 static int bnxt_ptp_settime(struct ptp_clock_info *ptp_info, in bnxt_ptp_settime() argument 61 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_settime() 62 ptp_info); in bnxt_ptp_settime() 138 static int bnxt_ptp_gettimex(struct ptp_clock_info *ptp_info, in bnxt_ptp_gettimex() argument 142 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_gettimex() 143 ptp_info); in bnxt_ptp_gettimex() 193 static int bnxt_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) in bnxt_ptp_adjtime() argument 195 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_adjtime() 196 ptp_info); in bnxt_ptp_adjtime() 207 static int bnxt_ptp_adjfreq(struct ptp_clock_info *ptp_info, s32 ppb) in bnxt_ptp_adjfreq() argument [all …]
|
D | bnxt_ptp.h | 79 struct ptp_clock_info ptp_info; member
|
/linux-5.19.10/drivers/net/ethernet/cavium/common/ ! |
D | cavium_ptp.c | 93 static int cavium_ptp_adjfine(struct ptp_clock_info *ptp_info, long scaled_ppm) in cavium_ptp_adjfine() argument 96 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_adjfine() 140 static int cavium_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) in cavium_ptp_adjtime() argument 143 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_adjtime() 161 static int cavium_ptp_gettime(struct ptp_clock_info *ptp_info, in cavium_ptp_gettime() argument 165 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_gettime() 183 static int cavium_ptp_settime(struct ptp_clock_info *ptp_info, in cavium_ptp_settime() argument 187 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_settime() 206 static int cavium_ptp_enable(struct ptp_clock_info *ptp_info, in cavium_ptp_enable() argument 261 clock->ptp_info = (struct ptp_clock_info) { in cavium_ptp_probe() [all …]
|
D | cavium_ptp.h | 23 struct ptp_clock_info ptp_info; member
|
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/ ! |
D | otx2_ptp.c | 13 static int otx2_ptp_adjfine(struct ptp_clock_info *ptp_info, long scaled_ppm) in otx2_ptp_adjfine() argument 15 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjfine() 16 ptp_info); in otx2_ptp_adjfine() 104 static int otx2_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) in otx2_ptp_adjtime() argument 106 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjtime() 107 ptp_info); in otx2_ptp_adjtime() 117 static int otx2_ptp_gettime(struct ptp_clock_info *ptp_info, in otx2_ptp_gettime() argument 120 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_gettime() 121 ptp_info); in otx2_ptp_gettime() 134 static int otx2_ptp_settime(struct ptp_clock_info *ptp_info, in otx2_ptp_settime() argument [all …]
|
D | otx2_common.h | 275 struct ptp_clock_info ptp_info; member
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ ! |
D | clock.c | 163 for (i = 0; i < clock->ptp_info.n_pins; i++) { in mlx5_pps_out() 220 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_settime() 254 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_gettimex() 301 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_adjtime() 335 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_adjfreq() 373 container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_extts_configure() 399 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure() 472 container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_perout_configure() 493 if (rq->perout.index >= clock->ptp_info.n_pins) in mlx5_perout_configure() 551 container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_pps_configure() [all …]
|
/linux-5.19.10/drivers/net/ethernet/mscc/ ! |
D | ocelot_ptp.c | 15 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_gettime64() 50 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_settime64() 87 ptp_info); in ocelot_ptp_adjtime() 134 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_adjfine() 196 struct ocelot *ocelot = container_of(ptp, struct ocelot, ptp_info); in ocelot_ptp_enable() 319 ocelot->ptp_info = *info; in ocelot_init_timestamp() 329 ocelot->ptp_info.pin_config = &ocelot->ptp_pins[0]; in ocelot_init_timestamp() 331 ptp_clock = ptp_clock_register(&ocelot->ptp_info, ocelot->dev); in ocelot_init_timestamp()
|
/linux-5.19.10/drivers/net/ethernet/aquantia/atlantic/ ! |
D | aq_ptp.c | 58 struct ptp_clock_info ptp_info; member 280 struct aq_ptp_s *aq_ptp = container_of(ptp, struct aq_ptp_s, ptp_info); in aq_ptp_adjfine() 299 struct aq_ptp_s *aq_ptp = container_of(ptp, struct aq_ptp_s, ptp_info); in aq_ptp_adjtime() 319 struct aq_ptp_s *aq_ptp = container_of(ptp, struct aq_ptp_s, ptp_info); in aq_ptp_gettime() 343 struct aq_ptp_s *aq_ptp = container_of(ptp, struct aq_ptp_s, ptp_info); in aq_ptp_settime() 392 struct aq_ptp_s *aq_ptp = container_of(ptp, struct aq_ptp_s, ptp_info); in aq_ptp_perout_pin_configure() 429 struct aq_ptp_s *aq_ptp = container_of(ptp, struct aq_ptp_s, ptp_info); in aq_ptp_pps_pin_configure() 463 struct aq_ptp_s *aq_ptp = container_of(ptp, struct aq_ptp_s, ptp_info); in aq_ptp_extts_pin_configure() 1157 aq_ptp_settime(&aq_ptp->ptp_info, &ts); in aq_ptp_clock_init() 1206 aq_ptp->ptp_info = aq_ptp_clock; in aq_ptp_init() [all …]
|
/linux-5.19.10/drivers/net/ethernet/pensando/ionic/ ! |
D | ionic_phc.c | 319 struct ionic_phc *phc = container_of(info, struct ionic_phc, ptp_info); in ionic_phc_adjfine() 356 struct ionic_phc *phc = container_of(info, struct ionic_phc, ptp_info); in ionic_phc_adjtime() 382 struct ionic_phc *phc = container_of(info, struct ionic_phc, ptp_info); in ionic_phc_settime64() 412 struct ionic_phc *phc = container_of(info, struct ionic_phc, ptp_info); in ionic_phc_gettimex64() 436 struct ionic_phc *phc = container_of(info, struct ionic_phc, ptp_info); in ionic_phc_aux_work() 497 lif->phc->ptp = ptp_clock_register(&lif->phc->ptp_info, lif->ionic->dev); in ionic_lif_register_phc() 628 phc->ptp_info = ionic_ptp_info; in ionic_lif_alloc_phc() 633 phc->ptp_info.max_adj = NORMAL_PPB; in ionic_lif_alloc_phc()
|
D | ionic_lif.h | 237 struct ptp_clock_info ptp_info; member
|
/linux-5.19.10/drivers/net/ethernet/ti/ ! |
D | am65-cpts.c | 159 struct ptp_clock_info ptp_info; member 386 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjfreq() 428 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjtime() 444 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_gettimex() 471 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_settime() 599 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_enable() 713 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ts_work() 982 cpts->ptp_info = am65_ptp_info; in am65_cpts_create() 985 cpts->ptp_info.n_ext_ts = cpts->ext_ts_inputs; in am65_cpts_create() 987 cpts->ptp_info.n_per_out = cpts->genf_num; in am65_cpts_create() [all …]
|
/linux-5.19.10/drivers/ptp/ ! |
D | ptp_ocp.c | 309 struct ptp_clock_info ptp_info; member 823 ptp_ocp_gettimex(struct ptp_clock_info *ptp_info, struct timespec64 *ts, in ptp_ocp_gettimex() argument 826 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); in ptp_ocp_gettimex() 860 ptp_ocp_settime(struct ptp_clock_info *ptp_info, const struct timespec64 *ts) in ptp_ocp_settime() argument 862 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); in ptp_ocp_settime() 908 ptp_ocp_adjtime(struct ptp_clock_info *ptp_info, s64 delta_ns) in ptp_ocp_adjtime() argument 910 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); in ptp_ocp_adjtime() 930 ptp_ocp_null_adjfine(struct ptp_clock_info *ptp_info, long scaled_ppm) in ptp_ocp_null_adjfine() argument 939 ptp_ocp_null_adjphase(struct ptp_clock_info *ptp_info, s32 phase_ns) in ptp_ocp_null_adjphase() argument 945 ptp_ocp_enable(struct ptp_clock_info *ptp_info, struct ptp_clock_request *rq, in ptp_ocp_enable() argument [all …]
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ ! |
D | spectrum_ptp.c | 68 struct ptp_clock_info ptp_info; member 154 container_of(ptp, struct mlxsw_sp_ptp_clock, ptp_info); in mlxsw_sp1_ptp_adjfine() 183 container_of(ptp, struct mlxsw_sp_ptp_clock, ptp_info); in mlxsw_sp1_ptp_adjtime() 199 container_of(ptp, struct mlxsw_sp_ptp_clock, ptp_info); in mlxsw_sp1_ptp_gettimex() 216 container_of(ptp, struct mlxsw_sp_ptp_clock, ptp_info); in mlxsw_sp1_ptp_settime() 289 clock->ptp_info = mlxsw_sp1_ptp_clock_info; in mlxsw_sp1_ptp_clock_init() 290 clock->ptp = ptp_clock_register(&clock->ptp_info, dev); in mlxsw_sp1_ptp_clock_init()
|
/linux-5.19.10/drivers/net/ethernet/cavium/liquidio/ ! |
D | lio_main.c | 1526 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_adjfreq() 1564 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_adjtime() 1583 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_gettime() 1606 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_settime() 1644 snprintf(lio->ptp_info.name, 16, "%s", netdev->name); in oct_ptp_open() 1645 lio->ptp_info.owner = THIS_MODULE; in oct_ptp_open() 1646 lio->ptp_info.max_adj = 250000000; in oct_ptp_open() 1647 lio->ptp_info.n_alarm = 0; in oct_ptp_open() 1648 lio->ptp_info.n_ext_ts = 0; in oct_ptp_open() 1649 lio->ptp_info.n_per_out = 0; in oct_ptp_open() [all …]
|
D | octeon_network.h | 165 struct ptp_clock_info ptp_info; member
|
/linux-5.19.10/drivers/net/ethernet/cadence/ ! |
D | macb_ptp.c | 372 bp->tsu_rate = bp->ptp_info->get_tsu_rate(bp); in gem_ptp_init() 373 bp->ptp_clock_info.max_adj = bp->ptp_info->get_ptp_max_adj(); in gem_ptp_init()
|
D | macb_main.c | 2884 if (bp->ptp_info) in macb_open() 2885 bp->ptp_info->ptp_init(dev); in macb_open() 2930 if (bp->ptp_info) in macb_close() 2931 bp->ptp_info->ptp_remove(dev); in macb_close() 3330 if (bp->ptp_info) in macb_get_ts_info() 3331 return bp->ptp_info->get_ts_info(netdev, info); in macb_get_ts_info() 3681 if (bp->ptp_info) { in macb_ioctl() 3684 return bp->ptp_info->set_hwtst(dev, rq, cmd); in macb_ioctl() 3686 return bp->ptp_info->get_hwtst(dev, rq); in macb_ioctl() 3826 bp->ptp_info = &gem_ptp_info; in macb_configure_caps() [all …]
|
D | macb.h | 1298 struct macb_ptp_info *ptp_info; /* macb-ptp interface */ member
|
/linux-5.19.10/include/soc/mscc/ ! |
D | ocelot.h | 861 struct ptp_clock_info ptp_info; member
|
/linux-5.19.10/include/linux/mlx5/ ! |
D | driver.h | 711 struct ptp_clock_info ptp_info; member
|
/linux-5.19.10/drivers/net/dsa/ocelot/ ! |
D | felix.c | 1521 ocelot_ptp_gettime64(&ocelot->ptp_info, &ts); in felix_rxtstamp()
|
D | felix_vsc9959.c | 1716 ocelot_ptp_gettime64(&ocelot->ptp_info, &ts); in vsc9959_new_base_time()
|
/linux-5.19.10/drivers/net/ethernet/broadcom/ ! |
D | tg3.h | 3190 struct ptp_clock_info ptp_info; member
|
D | tg3.c | 6184 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_adjfreq() 6220 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_adjtime() 6233 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_gettimex() 6249 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_settime() 6264 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_enable() 6357 tp->ptp_info = tg3_ptp_caps; in tg3_ptp_init() 17875 tp->ptp_clock = ptp_clock_register(&tp->ptp_info, in tg3_init_one()
|