/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 25 static int e1000e_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in e1000e_phc_adjfreq() 28 ptp_clock_info); in e1000e_phc_adjfreq() 78 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime() 81 ptp_clock_info); in e1000e_phc_adjtime() 152 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp() 156 ptp_clock_info); in e1000e_phc_getcrosststamp() 173 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, in e1000e_phc_gettimex() 178 ptp_clock_info); in e1000e_phc_gettimex() 203 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime() 207 ptp_clock_info); in e1000e_phc_settime() [all …]
|
/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 199 static int mv88e6xxx_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mv88e6xxx_ptp_adjfine() 227 static int mv88e6xxx_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mv88e6xxx_ptp_adjtime() 238 static int mv88e6xxx_ptp_gettime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_gettime() 253 static int mv88e6xxx_ptp_settime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_settime() 321 static int mv88e6352_ptp_enable(struct ptp_clock_info *ptp, in mv88e6352_ptp_enable() 334 static int mv88e6352_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in mv88e6352_ptp_verify() 442 mv88e6xxx_ptp_gettime(&chip->ptp_clock_info, &ts); in mv88e6xxx_ptp_overflow_check() 467 chip->ptp_clock_info.owner = THIS_MODULE; in mv88e6xxx_ptp_setup() 468 snprintf(chip->ptp_clock_info.name, sizeof(chip->ptp_clock_info.name), in mv88e6xxx_ptp_setup() 471 chip->ptp_clock_info.n_ext_ts = ptp_ops->n_ext_ts; in mv88e6xxx_ptp_setup() [all …]
|
D | ptp.h | 144 long mv88e6xxx_hwtstamp_work(struct ptp_clock_info *ptp); 149 ptp_clock_info) 157 static inline long mv88e6xxx_hwtstamp_work(struct ptp_clock_info *ptp) in mv88e6xxx_hwtstamp_work()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 137 static int xgbe_adjfreq(struct ptp_clock_info *info, s32 delta) in xgbe_adjfreq() 141 ptp_clock_info); in xgbe_adjfreq() 168 static int xgbe_adjtime(struct ptp_clock_info *info, s64 delta) in xgbe_adjtime() 172 ptp_clock_info); in xgbe_adjtime() 182 static int xgbe_gettime(struct ptp_clock_info *info, struct timespec64 *ts) in xgbe_gettime() 186 ptp_clock_info); in xgbe_gettime() 201 static int xgbe_settime(struct ptp_clock_info *info, in xgbe_settime() 206 ptp_clock_info); in xgbe_settime() 221 static int xgbe_enable(struct ptp_clock_info *info, in xgbe_enable() 229 struct ptp_clock_info *info = &pdata->ptp_clock_info; in xgbe_ptp_register()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 121 static int mlx4_en_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in mlx4_en_phc_adjfreq() 128 ptp_clock_info); in mlx4_en_phc_adjfreq() 154 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx4_en_phc_adjtime() 157 ptp_clock_info); in mlx4_en_phc_adjtime() 175 static int mlx4_en_phc_gettime(struct ptp_clock_info *ptp, in mlx4_en_phc_gettime() 179 ptp_clock_info); in mlx4_en_phc_gettime() 200 static int mlx4_en_phc_settime(struct ptp_clock_info *ptp, in mlx4_en_phc_settime() 204 ptp_clock_info); in mlx4_en_phc_settime() 225 static int mlx4_en_phc_enable(struct ptp_clock_info __always_unused *ptp, in mlx4_en_phc_enable() 232 static const struct ptp_clock_info mlx4_en_ptp_clock_info = { [all …]
|
/drivers/ptp/ |
D | ptp_kvm.c | 22 struct ptp_clock_info caps; 85 static int ptp_kvm_getcrosststamp(struct ptp_clock_info *ptp, in ptp_kvm_getcrosststamp() 96 static int ptp_kvm_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_kvm_adjfreq() 101 static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_kvm_adjtime() 106 static int ptp_kvm_settime(struct ptp_clock_info *ptp, in ptp_kvm_settime() 112 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_kvm_gettime() 137 static int ptp_kvm_enable(struct ptp_clock_info *ptp, in ptp_kvm_enable() 143 static const struct ptp_clock_info ptp_kvm_caps = {
|
D | ptp_ixp46x.c | 30 struct ptp_clock_info caps; 123 static int ptp_ixp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_ixp_adjfreq() 147 static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_ixp_adjtime() 165 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime() 182 static int ptp_ixp_settime(struct ptp_clock_info *ptp, in ptp_ixp_settime() 201 static int ptp_ixp_enable(struct ptp_clock_info *ptp, in ptp_ixp_enable() 226 static const struct ptp_clock_info ptp_ixp_caps = {
|
D | ptp_dte.c | 54 struct ptp_clock_info caps; 147 static int ptp_dte_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_dte_adjfreq() 170 static int ptp_dte_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_dte_adjtime() 182 static int ptp_dte_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_dte_gettime() 194 static int ptp_dte_settime(struct ptp_clock_info *ptp, in ptp_dte_settime() 219 static int ptp_dte_enable(struct ptp_clock_info *ptp, in ptp_dte_enable() 225 static const struct ptp_clock_info ptp_dte_caps = {
|
D | ptp_sysfs.c | 41 struct ptp_clock_info *ops = ptp->info; in extts_enable_store() 101 struct ptp_clock_info *ops = ptp->info; in period_store() 129 struct ptp_clock_info *ops = ptp->info; in pps_enable_store() 173 struct ptp_clock_info *info = ptp->info; in ptp_is_attribute_visible() 260 struct ptp_clock_info *info = ptp->info; in ptp_populate_pin_groups()
|
D | ptp_qoriq.c | 195 int ptp_qoriq_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_qoriq_adjfine() 225 int ptp_qoriq_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_qoriq_adjtime() 244 int ptp_qoriq_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_qoriq_gettime() 262 int ptp_qoriq_settime(struct ptp_clock_info *ptp, in ptp_qoriq_settime() 282 int ptp_qoriq_enable(struct ptp_clock_info *ptp, in ptp_qoriq_enable() 331 static const struct ptp_clock_info ptp_qoriq_caps = { 449 const struct ptp_clock_info *caps) in ptp_qoriq_init()
|
D | ptp_pch.c | 111 struct ptp_clock_info caps; 400 static int ptp_pch_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_pch_adjfreq() 424 static int ptp_pch_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_pch_adjtime() 440 static int ptp_pch_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_pch_gettime() 455 static int ptp_pch_settime(struct ptp_clock_info *ptp, in ptp_pch_settime() 472 static int ptp_pch_enable(struct ptp_clock_info *ptp, in ptp_pch_enable() 497 static const struct ptp_clock_info ptp_pch_caps = {
|
/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 41 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in gem_tsu_get_time() 43 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time() 72 static int gem_tsu_set_time(struct ptp_clock_info *ptp, in gem_tsu_set_time() 75 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_set_time() 117 static int gem_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in gem_ptp_adjfine() 119 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjfine() 152 static int gem_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in gem_ptp_adjtime() 154 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjtime() 164 gem_tsu_get_time(&bp->ptp_clock_info, &now); in gem_ptp_adjtime() 167 gem_tsu_set_time(&bp->ptp_clock_info, in gem_ptp_adjtime() [all …]
|
/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 262 static int lan743x_ptpci_adjfine(struct ptp_clock_info *ptpci, long scaled_ppm) in lan743x_ptpci_adjfine() 265 container_of(ptpci, struct lan743x_ptp, ptp_clock_info); in lan743x_ptpci_adjfine() 295 static int lan743x_ptpci_adjfreq(struct ptp_clock_info *ptpci, s32 delta_ppb) in lan743x_ptpci_adjfreq() 298 container_of(ptpci, struct lan743x_ptp, ptp_clock_info); in lan743x_ptpci_adjfreq() 329 static int lan743x_ptpci_adjtime(struct ptp_clock_info *ptpci, s64 delta) in lan743x_ptpci_adjtime() 332 container_of(ptpci, struct lan743x_ptp, ptp_clock_info); in lan743x_ptpci_adjtime() 341 static int lan743x_ptpci_gettime64(struct ptp_clock_info *ptpci, in lan743x_ptpci_gettime64() 345 container_of(ptpci, struct lan743x_ptp, ptp_clock_info); in lan743x_ptpci_gettime64() 358 static int lan743x_ptpci_settime64(struct ptp_clock_info *ptpci, in lan743x_ptpci_settime64() 362 container_of(ptpci, struct lan743x_ptp, ptp_clock_info); in lan743x_ptpci_settime64() [all …]
|
D | lan743x_ptp.h | 53 struct ptp_clock_info ptp_clock_info; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ptp.c | 203 static int cxgb4_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cxgb4_ptp_adjfreq() 206 struct adapter, ptp_clock_info); in cxgb4_ptp_adjfreq() 265 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime() 269 ptp_clock_info); in cxgb4_ptp_adjtime() 309 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime() 312 struct adapter, ptp_clock_info); in cxgb4_ptp_gettime() 347 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, in cxgb4_ptp_settime() 351 struct adapter, ptp_clock_info); in cxgb4_ptp_settime() 403 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, in cxgb4_ptp_enable() 410 static const struct ptp_clock_info cxgb4_ptp_clock_info = { [all …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 21 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, s32 ppb) in stmmac_adjust_freq() 56 static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) in stmmac_adjust_time() 93 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time() 118 static int stmmac_set_time(struct ptp_clock_info *ptp, in stmmac_set_time() 132 static int stmmac_enable(struct ptp_clock_info *ptp, in stmmac_enable() 169 static struct ptp_clock_info stmmac_ptp_clock_ops = {
|
/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 91 static int ravb_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ravb_ptp_adjfreq() 127 static int ravb_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ravb_ptp_adjtime() 148 static int ravb_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ravb_ptp_gettime64() 162 static int ravb_ptp_settime64(struct ptp_clock_info *ptp, in ravb_ptp_settime64() 177 static int ravb_ptp_extts(struct ptp_clock_info *ptp, in ravb_ptp_extts() 211 static int ravb_ptp_perout(struct ptp_clock_info *ptp, in ravb_ptp_perout() 277 static int ravb_ptp_enable(struct ptp_clock_info *ptp, in ravb_ptp_enable() 290 static const struct ptp_clock_info ravb_ptp_info = {
|
/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() 137 static int cavium_ptp_adjtime(struct ptp_clock_info *ptp_info, s64 delta) in cavium_ptp_adjtime() 158 static int cavium_ptp_gettime(struct ptp_clock_info *ptp_info, in cavium_ptp_gettime() 180 static int cavium_ptp_settime(struct ptp_clock_info *ptp_info, in cavium_ptp_settime() 203 static int cavium_ptp_enable(struct ptp_clock_info *ptp_info, in cavium_ptp_enable() 258 clock->ptp_info = (struct ptp_clock_info) { in cavium_ptp_probe()
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 143 static int mlx5_ptp_settime(struct ptp_clock_info *ptp, in mlx5_ptp_settime() 159 static int mlx5_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in mlx5_ptp_gettimex() 179 static int mlx5_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx5_ptp_adjtime() 193 static int mlx5_ptp_adjfreq(struct ptp_clock_info *ptp, s32 delta) in mlx5_ptp_adjfreq() 221 static int mlx5_extts_configure(struct ptp_clock_info *ptp, in mlx5_extts_configure() 283 static int mlx5_perout_configure(struct ptp_clock_info *ptp, in mlx5_perout_configure() 363 static int mlx5_pps_configure(struct ptp_clock_info *ptp, in mlx5_pps_configure() 374 static int mlx5_ptp_enable(struct ptp_clock_info *ptp, in mlx5_ptp_enable() 391 static int mlx5_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in mlx5_ptp_verify() 397 static const struct ptp_clock_info mlx5_ptp_clock_info = {
|
/drivers/hv/ |
D | hv_util.c | 484 static int hv_ptp_enable(struct ptp_clock_info *info, in hv_ptp_enable() 490 static int hv_ptp_settime(struct ptp_clock_info *p, const struct timespec64 *ts) in hv_ptp_settime() 495 static int hv_ptp_adjfreq(struct ptp_clock_info *ptp, s32 delta) in hv_ptp_adjfreq() 499 static int hv_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in hv_ptp_adjtime() 504 static int hv_ptp_gettime(struct ptp_clock_info *info, struct timespec64 *ts) in hv_ptp_gettime() 511 static struct ptp_clock_info ptp_hyperv_info = {
|
/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 239 static int sja1105_ptp_gettime(struct ptp_clock_info *ptp, in sja1105_ptp_gettime() 254 static int sja1105_ptp_settime(struct ptp_clock_info *ptp, in sja1105_ptp_settime() 267 static int sja1105_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in sja1105_ptp_adjfine() 312 static int sja1105_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in sja1105_ptp_adjtime() 350 static const struct ptp_clock_info sja1105_ptp_caps = {
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 194 static int igb_ptp_adjfreq_82576(struct ptp_clock_info *ptp, s32 ppb) in igb_ptp_adjfreq_82576() 223 static int igb_ptp_adjfine_82580(struct ptp_clock_info *ptp, long scaled_ppm) in igb_ptp_adjfine_82580() 249 static int igb_ptp_adjtime_82576(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_82576() 262 static int igb_ptp_adjtime_i210(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_i210() 280 static int igb_ptp_gettimex_82576(struct ptp_clock_info *ptp, in igb_ptp_gettimex_82576() 307 static int igb_ptp_gettimex_82580(struct ptp_clock_info *ptp, in igb_ptp_gettimex_82580() 335 static int igb_ptp_gettimex_i210(struct ptp_clock_info *ptp, in igb_ptp_gettimex_i210() 357 static int igb_ptp_settime_82576(struct ptp_clock_info *ptp, in igb_ptp_settime_82576() 376 static int igb_ptp_settime_i210(struct ptp_clock_info *ptp, in igb_ptp_settime_i210() 510 static int igb_ptp_feature_enable_i210(struct ptp_clock_info *ptp, in igb_ptp_feature_enable_i210() [all …]
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 37 struct ptp_clock_info clock_info; 63 static int qede_ptp_adjfreq(struct ptp_clock_info *info, s32 ppb) in qede_ptp_adjfreq() 83 static int qede_ptp_adjtime(struct ptp_clock_info *info, s64 delta) in qede_ptp_adjtime() 101 static int qede_ptp_gettime(struct ptp_clock_info *info, struct timespec64 *ts) in qede_ptp_gettime() 121 static int qede_ptp_settime(struct ptp_clock_info *info, in qede_ptp_settime() 144 static int qede_ptp_ancillary_feature_enable(struct ptp_clock_info *info, in qede_ptp_ancillary_feature_enable()
|
/drivers/net/ethernet/ti/ |
D | cpts.c | 216 static int cpts_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cpts_ptp_adjfreq() 244 static int cpts_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cpts_ptp_adjtime() 256 static int cpts_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cpts_ptp_gettime() 271 static int cpts_ptp_settime(struct ptp_clock_info *ptp, in cpts_ptp_settime() 287 static int cpts_ptp_enable(struct ptp_clock_info *ptp, in cpts_ptp_enable() 293 static long cpts_overflow_check(struct ptp_clock_info *ptp) in cpts_overflow_check() 315 static const struct ptp_clock_info cpts_info = {
|
/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 288 static int fec_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in fec_ptp_adjfreq() 357 static int fec_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in fec_ptp_adjtime() 378 static int fec_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in fec_ptp_gettime() 402 static int fec_ptp_settime(struct ptp_clock_info *ptp, in fec_ptp_settime() 440 static int fec_ptp_enable(struct ptp_clock_info *ptp, in fec_ptp_enable()
|