Lines Matching refs:ksz_device
20 #define ptp_data_to_ksz_dev(d) container_of((d), struct ksz_device, ptp_data)
35 static int ksz_ptp_tou_gpio(struct ksz_device *dev) in ksz_ptp_tou_gpio()
57 static int ksz_ptp_tou_reset(struct ksz_device *dev, u8 unit) in ksz_ptp_tou_reset()
94 static int ksz_ptp_tou_target_time_set(struct ksz_device *dev, in ksz_ptp_tou_target_time_set()
114 static int ksz_ptp_tou_start(struct ksz_device *dev, u8 unit) in ksz_ptp_tou_start()
141 static int ksz_ptp_configure_perout(struct ksz_device *dev, in ksz_ptp_configure_perout()
177 static int ksz_ptp_enable_perout(struct ksz_device *dev, in ksz_ptp_enable_perout()
262 static int ksz_ptp_enable_mode(struct ksz_device *dev) in ksz_ptp_enable_mode()
295 struct ksz_device *dev = ds->priv; in ksz_get_ts_info()
324 struct ksz_device *dev = ds->priv; in ksz_hwtstamp_get()
335 static int ksz_set_hwtstamp_config(struct ksz_device *dev, in ksz_set_hwtstamp_config()
409 struct ksz_device *dev = ds->priv; in ksz_hwtstamp_set()
431 static ktime_t ksz_tstamp_reconstruct(struct ksz_device *dev, ktime_t tstamp) in ksz_tstamp_reconstruct()
462 struct ksz_device *dev = ds->priv; in ksz_port_rxtstamp()
502 struct ksz_device *dev = ds->priv; in ksz_port_txtstamp()
551 static void ksz_ptp_txtstamp_skb(struct ksz_device *dev, in ksz_ptp_txtstamp_skb()
574 struct ksz_device *dev = ds->priv; in ksz_port_deferred_xmit()
592 static int _ksz_ptp_gettime(struct ksz_device *dev, struct timespec64 *ts) in _ksz_ptp_gettime()
625 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_gettime()
635 static int ksz_ptp_restart_perout(struct ksz_device *dev) in ksz_ptp_restart_perout()
684 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_settime()
731 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_adjfine()
770 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_adjtime()
832 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_enable()
869 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_do_aux_work()
888 static int ksz_ptp_start_clock(struct ksz_device *dev) in ksz_ptp_start_clock()
905 struct ksz_device *dev = ds->priv; in ksz_ptp_clock_register()
959 struct ksz_device *dev = ds->priv; in ksz_ptp_clock_unregister()
971 struct ksz_device *dev; in ksz_ptp_msg_thread_fn()
999 struct ksz_device *dev; in ksz_ptp_irq_thread_fn()
1052 struct ksz_device *dev = kirq->dev; in ksz_ptp_irq_bus_sync_unlock()
1122 struct ksz_device *dev = ds->priv; in ksz_ptp_irq_setup()
1181 struct ksz_device *dev = ds->priv; in ksz_ptp_irq_free()