Searched refs:ptp_clock_info (Results 1 - 25 of 118) sorted by relevance

12345

/linux-master/include/soc/mscc/
H A Docelot_ptp.h48 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 Dptp_clock_kernel.h57 * 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 Dptp.c27 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 Dtsnep_ptp.c76 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 Dptp_vmw.c45 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 Dptp_kvm_common.c22 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 Dptp_mock.c37 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 Dptp_fc3.h21 struct ptp_clock_info caps;
H A Dptp_vclock.c43 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 Dxgbe-ptp.c137 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 Dptp.c150 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 Dptp.c204 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 Dptp.h144 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 Den_clock.c128 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 Dhellcreek_ptp.c84 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 Dhellcreek_hwtstamp.h53 long hellcreek_hwtstamp_work(struct ptp_clock_info *ptp);
/linux-master/include/linux/fsl/
H A Dptp_qoriq.h146 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 Dmacb_ptp.c41 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 Dlan743x_ptp.h78 struct ptp_clock_info ptp_clock_info; member in struct:lan743x_ptp
/linux-master/drivers/net/ethernet/renesas/
H A Drcar_gen4_ptp.c29 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 Dravb_ptp.c91 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 Dcxgb4_ptp.c206 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 Dptp_ixp46x.c28 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 Dcavium_ptp.h23 struct ptp_clock_info ptp_info;
/linux-master/drivers/net/phy/
H A Dnxp-c45-tja11xx.h18 struct ptp_clock_info caps;

Completed in 219 milliseconds

12345