/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ptp.c | 49 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_settime() local 63 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read() local 77 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_get_current_time() local 118 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_gettimex() local 138 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_adjtime() local 149 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_adjfreq() local 170 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_pps_event() local 198 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_cfg_pin() local 249 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_reapply_pps() local 271 static int bnxt_get_target_cycles(struct bnxt_ptp_cfg *ptp, u64 target_ns, in bnxt_get_target_cycles() [all …]
|
/Linux-v5.15/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 69 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_enqueue_ts() local 86 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_complete() local 147 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_reserve_event_ch() local 166 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_release_event_ch() local 188 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_led_mux_enable() local 205 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_led_mux_save() local 323 struct lan743x_ptp *ptp = in lan743x_ptpci_adjfine() local 356 struct lan743x_ptp *ptp = in lan743x_ptpci_adjfreq() local 390 struct lan743x_ptp *ptp = in lan743x_ptpci_adjtime() local 403 struct lan743x_ptp *ptp = in lan743x_ptpci_gettime64() local [all …]
|
/Linux-v5.15/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 40 struct qede_ptp *ptp = container_of(info, struct qede_ptp, clock_info); in qede_ptp_adjfreq() local 61 struct qede_ptp *ptp; in qede_ptp_adjtime() local 79 struct qede_ptp *ptp; in qede_ptp_gettime() local 100 struct qede_ptp *ptp; in qede_ptp_settime() local 124 struct qede_ptp *ptp; in qede_ptp_ancillary_feature_enable() local 138 struct qede_ptp *ptp; in qede_ptp_task() local 184 struct qede_ptp *ptp; in qede_ptp_read_cc() local 203 struct qede_ptp *ptp = edev->ptp; in qede_ptp_cfg_filters() local 293 struct qede_ptp *ptp; in qede_ptp_hw_ts() local 328 struct qede_ptp *ptp = edev->ptp; in qede_ptp_get_ts_info() local [all …]
|
/Linux-v5.15/drivers/ptp/ |
D | ptp_clock.c | 78 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_settime() local 90 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_gettime() local 102 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_adjtime() local 170 struct ptp_clock *ptp = container_of(dev, struct ptp_clock, dev); in ptp_clock_release() local 183 struct ptp_clock *ptp = container_of(work, struct ptp_clock, in ptp_aux_kworker() local 199 struct ptp_clock *ptp; in ptp_clock_register() local 320 int ptp_clock_unregister(struct ptp_clock *ptp) in ptp_clock_unregister() 345 void ptp_clock_event(struct ptp_clock *ptp, struct ptp_clock_event *event) in ptp_clock_event() 372 int ptp_clock_index(struct ptp_clock *ptp) in ptp_clock_index() 378 int ptp_find_pin(struct ptp_clock *ptp, in ptp_find_pin() [all …]
|
D | ptp_sysfs.c | 16 struct ptp_clock *ptp = dev_get_drvdata(dev); in clock_name_show() local 41 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_enable_store() local 66 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_fifo_show() local 101 struct ptp_clock *ptp = dev_get_drvdata(dev); in period_store() local 129 struct ptp_clock *ptp = dev_get_drvdata(dev); in pps_enable_store() local 154 struct ptp_clock *ptp = dev_get_drvdata(dev); in unregister_vclock() local 176 struct ptp_clock *ptp = dev_get_drvdata(dev); in n_vclocks_show() local 193 struct ptp_clock *ptp = dev_get_drvdata(dev); in n_vclocks_store() local 252 struct ptp_clock *ptp = dev_get_drvdata(dev); in max_vclocks_show() local 264 struct ptp_clock *ptp = dev_get_drvdata(dev); in max_vclocks_store() local [all …]
|
D | ptp_vclock.c | 16 static int ptp_vclock_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_vclock_adjfine() 33 static int ptp_vclock_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_vclock_adjtime() 45 static int ptp_vclock_gettime(struct ptp_clock_info *ptp, in ptp_vclock_gettime() 60 static int ptp_vclock_settime(struct ptp_clock_info *ptp, in ptp_vclock_settime() 74 static long ptp_vclock_refresh(struct ptp_clock_info *ptp) in ptp_vclock_refresh() 99 struct ptp_clock *ptp = vclock->pclock; in ptp_vclock_read() local 156 struct ptp_clock *ptp; in ptp_get_vclocks_index() local 193 struct ptp_clock *ptp; in ptp_convert_timestamp() local
|
D | ptp_kvm_common.c | 58 static int ptp_kvm_getcrosststamp(struct ptp_clock_info *ptp, in ptp_kvm_getcrosststamp() 69 static int ptp_kvm_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_kvm_adjfreq() 74 static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_kvm_adjtime() 79 static int ptp_kvm_settime(struct ptp_clock_info *ptp, in ptp_kvm_settime() 85 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_kvm_gettime() 105 static int ptp_kvm_enable(struct ptp_clock_info *ptp, in ptp_kvm_enable()
|
D | ptp_chardev.c | 48 int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin, in ptp_set_pinfunc() 111 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_ioctl() local 434 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_poll() local 446 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_read() local
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.h | 15 struct ptp { struct 21 struct ptp *ptp_get(void); argument
|
D | ptp.c | 80 struct ptp *ptp = first_ptp_block; in ptp_get() local 92 void ptp_put(struct ptp *ptp) in ptp_put() 100 static int ptp_adjfine(struct ptp *ptp, long scaled_ppm) in ptp_adjfine() 140 static int ptp_get_clock(struct ptp *ptp, u64 *clk) in ptp_get_clock() 152 struct ptp *ptp; in ptp_probe() local 211 struct ptp *ptp = pci_get_drvdata(pdev); in ptp_remove() local
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ptp.c | 13 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjfine() local 32 struct otx2_ptp *ptp = container_of(cc, struct otx2_ptp, cycle_counter); in ptp_cc_read() local 60 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjtime() local 74 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_gettime() local 91 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_settime() local 182 struct otx2_ptp *ptp = pfvf->ptp; in otx2_ptp_destroy() local
|
/Linux-v5.15/drivers/net/ethernet/mscc/ |
D | ocelot_ptp.c | 13 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ocelot_ptp_gettime64() 47 int ocelot_ptp_settime64(struct ptp_clock_info *ptp, in ocelot_ptp_settime64() 79 int ocelot_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ocelot_ptp_adjtime() 124 int ocelot_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ocelot_ptp_adjfine() 170 int ocelot_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in ocelot_ptp_verify() 185 int ocelot_ptp_enable(struct ptp_clock_info *ptp, in ocelot_ptp_enable()
|
/Linux-v5.15/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() 78 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime() 152 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp() 173 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, in e1000e_phc_gettimex() 203 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime() 230 static int e1000e_phc_enable(struct ptp_clock_info __always_unused *ptp, in e1000e_phc_enable()
|
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 22 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, s32 ppb) in stmmac_adjust_freq() 57 static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) in stmmac_adjust_time() 133 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time() 158 static int stmmac_set_time(struct ptp_clock_info *ptp, in stmmac_set_time() 172 static int stmmac_enable(struct ptp_clock_info *ptp, in stmmac_enable() 262 static int stmmac_getcrosststamp(struct ptp_clock_info *ptp, in stmmac_getcrosststamp()
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | ptp.c | 559 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction() 612 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time() local 633 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes() local 861 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_send_times() local 932 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_times() local 1027 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_synchronize() local 1154 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_drop_time_expired_events() local 1180 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_match_rx() local 1228 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_events() local 1262 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_remove_multicast_filters() local [all …]
|
/Linux-v5.15/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() 212 static int ravb_ptp_perout(struct ptp_clock_info *ptp, in ravb_ptp_perout() 279 static int ravb_ptp_enable(struct ptp_clock_info *ptp, in ravb_ptp_enable()
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_ptp.c | 10 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_get_cycle() local 25 static int hclge_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in hclge_ptp_adjfreq() 71 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_set_tx_info() local 140 static int hclge_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in hclge_ptp_gettimex() 160 static int hclge_ptp_settime(struct ptp_clock_info *ptp, in hclge_ptp_settime() 180 static int hclge_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in hclge_ptp_adjtime() 436 struct hclge_ptp *ptp; in hclge_ptp_create_clock() local 542 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_uninit() local
|
/Linux-v5.15/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() 154 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx4_en_phc_adjtime() 175 static int mlx4_en_phc_gettime(struct ptp_clock_info *ptp, in mlx4_en_phc_gettime() 200 static int mlx4_en_phc_settime(struct ptp_clock_info *ptp, in mlx4_en_phc_settime() 225 static int mlx4_en_phc_enable(struct ptp_clock_info __always_unused *ptp, in mlx4_en_phc_enable()
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ptp.c | 204 static int cxgb4_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cxgb4_ptp_adjfreq() 269 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime() 313 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime() 336 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, in cxgb4_ptp_settime() 392 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, in cxgb4_ptp_enable()
|
/Linux-v5.15/include/linux/ |
D | ptp_clock_kernel.h | 314 static inline int ptp_clock_unregister(struct ptp_clock *ptp) in ptp_clock_unregister() 316 static inline void ptp_clock_event(struct ptp_clock *ptp, in ptp_clock_event() 319 static inline int ptp_clock_index(struct ptp_clock *ptp) in ptp_clock_index() 321 static inline int ptp_find_pin(struct ptp_clock *ptp, in ptp_find_pin() 324 static inline int ptp_schedule_worker(struct ptp_clock *ptp, in ptp_schedule_worker() 327 static inline void ptp_cancel_worker_sync(struct ptp_clock *ptp) in ptp_cancel_worker_sync()
|
/Linux-v5.15/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 124 static int ptp_ixp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_ixp_adjfreq() 148 static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_ixp_adjtime() 166 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime() 183 static int ptp_ixp_settime(struct ptp_clock_info *ptp, in ptp_ixp_settime() 202 static int ptp_ixp_enable(struct ptp_clock_info *ptp, in ptp_ixp_enable()
|
/Linux-v5.15/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_tai.c | 85 static struct mvpp2_tai *ptp_to_tai(struct ptp_clock_info *ptp) in ptp_to_tai() 164 static int mvpp22_tai_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mvpp22_tai_adjfine() 205 static int mvpp22_tai_adjtime(struct ptp_clock_info *ptp, s64 delta) in mvpp22_tai_adjtime() 235 static int mvpp22_tai_gettimex64(struct ptp_clock_info *ptp, in mvpp22_tai_gettimex64() 276 static int mvpp22_tai_settime64(struct ptp_clock_info *ptp, in mvpp22_tai_settime64() 302 static long mvpp22_tai_aux_work(struct ptp_clock_info *ptp) in mvpp22_tai_aux_work()
|
/Linux-v5.15/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()
|
/Linux-v5.15/drivers/net/dsa/hirschmann/ |
D | hellcreek_ptp.c | 83 static int hellcreek_ptp_gettime(struct ptp_clock_info *ptp, in hellcreek_ptp_gettime() 98 static int hellcreek_ptp_settime(struct ptp_clock_info *ptp, in hellcreek_ptp_settime() 126 static int hellcreek_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in hellcreek_ptp_adjfine() 173 static int hellcreek_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in hellcreek_ptp_adjtime() 221 static int hellcreek_ptp_enable(struct ptp_clock_info *ptp, in hellcreek_ptp_enable()
|