Searched refs:tpu_priv (Results 1 – 1 of 1) sorted by relevance
34 struct tpu_priv { struct44 static inline unsigned long read_tcnt32(struct tpu_priv *p) in read_tcnt32() argument53 static int tpu_get_counter(struct tpu_priv *p, unsigned long long *val) in tpu_get_counter()74 static inline struct tpu_priv *cs_to_priv(struct clocksource *cs) in cs_to_priv()76 return container_of(cs, struct tpu_priv, cs); in cs_to_priv()81 struct tpu_priv *p = cs_to_priv(cs); in tpu_clocksource_read()95 struct tpu_priv *p = cs_to_priv(cs); in tpu_clocksource_enable()110 struct tpu_priv *p = cs_to_priv(cs); in tpu_clocksource_disable()122 static int __init tpu_setup(struct tpu_priv *p, struct platform_device *pdev) in tpu_setup()159 struct tpu_priv *p = platform_get_drvdata(pdev); in tpu_probe()