/linux-master/include/soc/mscc/ |
H A D | ocelot_ptp.h | 48 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts); 49 int ocelot_ptp_settime64(struct ptp_clock_info *ptp, 51 int ocelot_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta); 52 int ocelot_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm); 53 int ocelot_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, 55 int ocelot_ptp_enable(struct ptp_clock_info *ptp, 58 const struct ptp_clock_info *info);
|
/linux-master/include/linux/ |
H A D | ptp_clock_kernel.h | 57 * struct ptp_clock_info - describes a PTP hardware clock 160 * Drivers should embed their ptp_clock_info within a private 166 struct ptp_clock_info { struct 176 int (*adjfine)(struct ptp_clock_info *ptp, long scaled_ppm); 177 int (*adjphase)(struct ptp_clock_info *ptp, s32 phase); 178 s32 (*getmaxphase)(struct ptp_clock_info *ptp); 179 int (*adjtime)(struct ptp_clock_info *ptp, s64 delta); 180 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts); 181 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts, 183 int (*getcrosststamp)(struct ptp_clock_info *pt [all...] |
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | ptp.c | 27 static int e1000e_phc_adjfine(struct ptp_clock_info *ptp, long delta) 30 ptp_clock_info); 66 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) 69 ptp_clock_info); 140 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, 144 ptp_clock_info); 161 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, 166 ptp_clock_info); 191 static int e1000e_phc_settime(struct ptp_clock_info *ptp, 195 ptp_clock_info); [all...] |
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_ptp.c | 76 static int tsnep_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 79 ptp_clock_info); 104 static int tsnep_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 107 ptp_clock_info); 129 static int tsnep_ptp_gettimex64(struct ptp_clock_info *ptp, 134 ptp_clock_info); 156 static int tsnep_ptp_settime64(struct ptp_clock_info *ptp, 160 ptp_clock_info); 178 static int tsnep_ptp_getcyclesx64(struct ptp_clock_info *ptp, 183 ptp_clock_info); [all...] |
/linux-master/drivers/ptp/ |
H A D | ptp_vmw.c | 45 static int ptp_vmw_adjtime(struct ptp_clock_info *info, s64 delta) 50 static int ptp_vmw_adjfine(struct ptp_clock_info *info, long delta) 55 static int ptp_vmw_gettime(struct ptp_clock_info *info, struct timespec64 *ts) 65 static int ptp_vmw_settime(struct ptp_clock_info *info, 71 static int ptp_vmw_enable(struct ptp_clock_info *info, 77 static struct ptp_clock_info ptp_vmw_clock_info = {
|
H A D | ptp_kvm_common.c | 22 struct ptp_clock_info caps; 58 static int ptp_kvm_getcrosststamp(struct ptp_clock_info *ptp, 69 static int ptp_kvm_adjfine(struct ptp_clock_info *ptp, long delta) 74 static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) 79 static int ptp_kvm_settime(struct ptp_clock_info *ptp, 85 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) 105 static int ptp_kvm_enable(struct ptp_clock_info *ptp, 111 static const struct ptp_clock_info ptp_kvm_caps = {
|
H A D | ptp_mock.c | 37 struct ptp_clock_info info; 49 static int mock_phc_adjfine(struct ptp_clock_info *info, long scaled_ppm) 65 static int mock_phc_adjtime(struct ptp_clock_info *info, s64 delta) 76 static int mock_phc_settime64(struct ptp_clock_info *info, 89 static int mock_phc_gettime64(struct ptp_clock_info *info, struct timespec64 *ts) 103 static long mock_phc_refresh(struct ptp_clock_info *info) 129 phc->info = (struct ptp_clock_info) {
|
H A D | ptp_fc3.h | 21 struct ptp_clock_info caps;
|
H A D | ptp_vclock.c | 43 static int ptp_vclock_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 60 static int ptp_vclock_adjtime(struct ptp_clock_info *ptp, s64 delta) 72 static int ptp_vclock_gettime(struct ptp_clock_info *ptp, 87 static int ptp_vclock_gettimex(struct ptp_clock_info *ptp, 111 static int ptp_vclock_settime(struct ptp_clock_info *ptp, 125 static int ptp_vclock_getcrosststamp(struct ptp_clock_info *ptp, 147 static long ptp_vclock_refresh(struct ptp_clock_info *ptp) 157 static const struct ptp_clock_info ptp_vclock_info = {
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 137 static int xgbe_adjfine(struct ptp_clock_info *info, long scaled_ppm) 141 ptp_clock_info); 156 static int xgbe_adjtime(struct ptp_clock_info *info, s64 delta) 160 ptp_clock_info); 170 static int xgbe_gettime(struct ptp_clock_info *info, struct timespec64 *ts) 174 ptp_clock_info); 189 static int xgbe_settime(struct ptp_clock_info *info, 194 ptp_clock_info); 209 static int xgbe_enable(struct ptp_clock_info *info, 217 struct ptp_clock_info *inf [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ptp.c | 150 iwl_mvm_phc_get_crosstimestamp(struct ptp_clock_info *ptp, 154 ptp_data.ptp_clock_info); 206 static int iwl_mvm_ptp_gettime(struct ptp_clock_info *ptp, 210 ptp_data.ptp_clock_info); 223 static int iwl_mvm_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 226 ptp_data.ptp_clock_info); 228 ptp_clock_info); 238 static int iwl_mvm_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 241 ptp_data.ptp_clock_info); 277 mvm->ptp_data.ptp_clock_info [all...] |
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 204 static int mv88e6xxx_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 232 static int mv88e6xxx_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 243 static int mv88e6xxx_ptp_gettime(struct ptp_clock_info *ptp, 258 static int mv88e6xxx_ptp_settime(struct ptp_clock_info *ptp, 326 static int mv88e6352_ptp_enable(struct ptp_clock_info *ptp, 339 static int mv88e6352_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, 475 mv88e6xxx_ptp_gettime(&chip->ptp_clock_info, &ts); 500 chip->ptp_clock_info.owner = THIS_MODULE; 501 snprintf(chip->ptp_clock_info.name, sizeof(chip->ptp_clock_info [all...] |
H A D | ptp.h | 144 long mv88e6xxx_hwtstamp_work(struct ptp_clock_info *ptp); 149 ptp_clock_info) 158 static inline long mv88e6xxx_hwtstamp_work(struct ptp_clock_info *ptp)
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_clock.c | 128 static int mlx4_en_phc_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 133 ptp_clock_info); 152 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) 155 ptp_clock_info); 173 static int mlx4_en_phc_gettime(struct ptp_clock_info *ptp, 177 ptp_clock_info); 198 static int mlx4_en_phc_settime(struct ptp_clock_info *ptp, 202 ptp_clock_info); 223 static int mlx4_en_phc_enable(struct ptp_clock_info __always_unused *ptp, 230 static const struct ptp_clock_info mlx4_en_ptp_clock_inf [all...] |
/linux-master/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_ptp.c | 84 static int hellcreek_ptp_gettime(struct ptp_clock_info *ptp, 99 static int hellcreek_ptp_settime(struct ptp_clock_info *ptp, 127 static int hellcreek_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 174 static int hellcreek_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 222 static int hellcreek_ptp_enable(struct ptp_clock_info *ptp, 395 hellcreek->ptp_clock_info.owner = THIS_MODULE; 396 snprintf(hellcreek->ptp_clock_info.name, 397 sizeof(hellcreek->ptp_clock_info.name), 404 hellcreek->ptp_clock_info.max_adj = 62500000; 405 hellcreek->ptp_clock_info [all...] |
H A D | hellcreek_hwtstamp.h | 53 long hellcreek_hwtstamp_work(struct ptp_clock_info *ptp);
|
/linux-master/include/linux/fsl/ |
H A D | ptp_qoriq.h | 146 struct ptp_clock_info caps; 188 const struct ptp_clock_info *caps); 190 int ptp_qoriq_adjfine(struct ptp_clock_info *ptp, long scaled_ppm); 191 int ptp_qoriq_adjtime(struct ptp_clock_info *ptp, s64 delta); 192 int ptp_qoriq_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts); 193 int ptp_qoriq_settime(struct ptp_clock_info *ptp, 195 int ptp_qoriq_enable(struct ptp_clock_info *ptp,
|
/linux-master/drivers/net/ethernet/cadence/ |
H A D | macb_ptp.c | 41 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts, 44 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); 77 static int gem_tsu_set_time(struct ptp_clock_info *ptp, 80 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); 122 static int gem_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 124 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); 157 static int gem_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 159 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); 169 gem_tsu_get_time(&bp->ptp_clock_info, &now, NULL); 172 gem_tsu_set_time(&bp->ptp_clock_info, [all...] |
/linux-master/drivers/net/ethernet/microchip/ |
H A D | lan743x_ptp.h | 78 struct ptp_clock_info ptp_clock_info; member in struct:lan743x_ptp
|
/linux-master/drivers/net/ethernet/renesas/ |
H A D | rcar_gen4_ptp.c | 29 static int rcar_gen4_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 47 static void _rcar_gen4_ptp_gettime(struct ptp_clock_info *ptp, 57 static int rcar_gen4_ptp_gettime(struct ptp_clock_info *ptp, 71 static void _rcar_gen4_ptp_settime(struct ptp_clock_info *ptp, 86 static int rcar_gen4_ptp_settime(struct ptp_clock_info *ptp, 99 static int rcar_gen4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 116 static int rcar_gen4_ptp_enable(struct ptp_clock_info *ptp, 122 static struct ptp_clock_info rcar_gen4_ptp_info = {
|
H A D | ravb_ptp.c | 91 static int ravb_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 120 static int ravb_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 141 static int ravb_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) 155 static int ravb_ptp_settime64(struct ptp_clock_info *ptp, 170 static int ravb_ptp_extts(struct ptp_clock_info *ptp, 205 static int ravb_ptp_perout(struct ptp_clock_info *ptp, 272 static int ravb_ptp_enable(struct ptp_clock_info *ptp, 285 static const struct ptp_clock_info ravb_ptp_info = {
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ptp.c | 206 static int cxgb4_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 209 struct adapter, ptp_clock_info); 272 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) 276 ptp_clock_info); 316 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) 319 ptp_clock_info); 339 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, 343 struct adapter, ptp_clock_info); 395 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, 402 static const struct ptp_clock_info cxgb4_ptp_clock_inf [all...] |
/linux-master/drivers/net/ethernet/xscale/ |
H A D | ptp_ixp46x.c | 28 struct ptp_clock_info caps; 123 static int ptp_ixp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) 136 static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) 154 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) 171 static int ptp_ixp_settime(struct ptp_clock_info *ptp, 190 static int ptp_ixp_enable(struct ptp_clock_info *ptp, 215 static const struct ptp_clock_info ptp_ixp_caps = {
|
/linux-master/drivers/net/ethernet/cavium/common/ |
H A D | cavium_ptp.h | 23 struct ptp_clock_info ptp_info;
|
/linux-master/drivers/net/phy/ |
H A D | nxp-c45-tja11xx.h | 18 struct ptp_clock_info caps;
|