/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 111 for (i = 0; i < clock->ptp_info.n_pins; i++) { in mlx5_pps_out() 146 ptp_info); in mlx5_ptp_settime() 161 ptp_info); in mlx5_ptp_gettime() 177 ptp_info); in mlx5_ptp_adjtime() 195 ptp_info); in mlx5_ptp_adjfreq() 221 container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_extts_configure() 234 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure() 270 container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_perout_configure() 288 if (rq->perout.index >= clock->ptp_info.n_pins) in mlx5_perout_configure() 346 container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_pps_configure() [all …]
|
/Linux-v4.19/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.c | 90 static int cavium_ptp_adjfine(struct ptp_clock_info *ptp_info, long scaled_ppm) in cavium_ptp_adjfine() argument 93 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_adjfine() 137 static int cavium_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) in cavium_ptp_adjtime() argument 140 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_adjtime() 158 static int cavium_ptp_gettime(struct ptp_clock_info *ptp_info, in cavium_ptp_gettime() argument 162 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_gettime() 180 static int cavium_ptp_settime(struct ptp_clock_info *ptp_info, in cavium_ptp_settime() argument 184 container_of(ptp_info, struct cavium_ptp, ptp_info); in cavium_ptp_settime() 203 static int cavium_ptp_enable(struct ptp_clock_info *ptp_info, in cavium_ptp_enable() argument 258 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-v4.19/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 1589 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_adjfreq() 1627 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_adjtime() 1646 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_gettime() 1669 struct lio *lio = container_of(ptp, struct lio, ptp_info); in liquidio_ptp_settime() 1707 snprintf(lio->ptp_info.name, 16, "%s", netdev->name); in oct_ptp_open() 1708 lio->ptp_info.owner = THIS_MODULE; in oct_ptp_open() 1709 lio->ptp_info.max_adj = 250000000; in oct_ptp_open() 1710 lio->ptp_info.n_alarm = 0; in oct_ptp_open() 1711 lio->ptp_info.n_ext_ts = 0; in oct_ptp_open() 1712 lio->ptp_info.n_per_out = 0; in oct_ptp_open() [all …]
|
D | octeon_network.h | 167 struct ptp_clock_info ptp_info; member
|
/Linux-v4.19/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 364 bp->tsu_rate = bp->ptp_info->get_tsu_rate(bp); in gem_ptp_init() 365 bp->ptp_clock_info.max_adj = bp->ptp_info->get_ptp_max_adj(); in gem_ptp_init()
|
D | macb_main.c | 2397 if (bp->ptp_info) in macb_open() 2398 bp->ptp_info->ptp_init(dev); in macb_open() 2425 if (bp->ptp_info) in macb_close() 2426 bp->ptp_info->ptp_remove(dev); in macb_close() 2793 if (bp->ptp_info) in macb_get_ts_info() 2794 return bp->ptp_info->get_ts_info(netdev, info); in macb_get_ts_info() 3140 if (!bp->ptp_info) in macb_ioctl() 3145 return bp->ptp_info->set_hwtst(dev, rq, cmd); in macb_ioctl() 3147 return bp->ptp_info->get_hwtst(dev, rq); in macb_ioctl() 3236 bp->ptp_info = &gem_ptp_info; in macb_configure_caps()
|
D | macb.h | 1197 struct macb_ptp_info *ptp_info; /* macb-ptp interface */ member
|
/Linux-v4.19/include/linux/mlx5/ |
D | driver.h | 816 struct ptp_clock_info ptp_info; member
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | tg3.h | 3190 struct ptp_clock_info ptp_info; member
|
D | tg3.c | 6191 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_adjfreq() 6227 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_adjtime() 6239 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_gettime() 6255 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_settime() 6270 struct tg3 *tp = container_of(ptp, struct tg3, ptp_info); in tg3_ptp_enable() 6359 tp->ptp_info = tg3_ptp_caps; in tg3_ptp_init() 17981 tp->ptp_clock = ptp_clock_register(&tp->ptp_info, in tg3_init_one()
|