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()
298 struct ksz_device *dev = ds->priv; in ksz_get_ts_info()
327 struct ksz_device *dev = ds->priv; in ksz_hwtstamp_get()
338 static int ksz_set_hwtstamp_config(struct ksz_device *dev, in ksz_set_hwtstamp_config()
412 struct ksz_device *dev = ds->priv; in ksz_hwtstamp_set()
434 static ktime_t ksz_tstamp_reconstruct(struct ksz_device *dev, ktime_t tstamp) in ksz_tstamp_reconstruct()
465 struct ksz_device *dev = ds->priv; in ksz_port_rxtstamp()
505 struct ksz_device *dev = ds->priv; in ksz_port_txtstamp()
554 static void ksz_ptp_txtstamp_skb(struct ksz_device *dev, in ksz_ptp_txtstamp_skb()
577 struct ksz_device *dev = ds->priv; in ksz_port_deferred_xmit()
595 static int _ksz_ptp_gettime(struct ksz_device *dev, struct timespec64 *ts) in _ksz_ptp_gettime()
628 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_gettime()
638 static int ksz_ptp_restart_perout(struct ksz_device *dev) in ksz_ptp_restart_perout()
687 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_settime()
734 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_adjfine()
773 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_adjtime()
835 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_enable()
872 struct ksz_device *dev = ptp_data_to_ksz_dev(ptp_data); in ksz_ptp_do_aux_work()
891 static int ksz_ptp_start_clock(struct ksz_device *dev) in ksz_ptp_start_clock()
908 struct ksz_device *dev = ds->priv; in ksz_ptp_clock_register()
962 struct ksz_device *dev = ds->priv; in ksz_ptp_clock_unregister()
974 struct ksz_device *dev; in ksz_ptp_msg_thread_fn()
1002 struct ksz_device *dev; in ksz_ptp_irq_thread_fn()
1055 struct ksz_device *dev = kirq->dev; in ksz_ptp_irq_bus_sync_unlock()
1125 struct ksz_device *dev = ds->priv; in ksz_ptp_irq_setup()
1184 struct ksz_device *dev = ds->priv; in ksz_ptp_irq_free()