Lines Matching refs:mpc52xx_gpt_priv
88 struct mpc52xx_gpt_priv { struct
140 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_unmask()
150 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_mask()
160 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_ack()
167 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_set_type()
195 struct mpc52xx_gpt_priv *gpt = irq_desc_get_handler_data(desc); in mpc52xx_gpt_irq_cascade()
206 struct mpc52xx_gpt_priv *gpt = h->host_data; in mpc52xx_gpt_irq_map()
220 struct mpc52xx_gpt_priv *gpt = h->host_data; in mpc52xx_gpt_irq_xlate()
241 mpc52xx_gpt_irq_setup(struct mpc52xx_gpt_priv *gpt, struct device_node *node) in mpc52xx_gpt_irq_setup()
279 struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc); in mpc52xx_gpt_gpio_get()
287 struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc); in mpc52xx_gpt_gpio_set()
301 struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc); in mpc52xx_gpt_gpio_dir_in()
320 static void mpc52xx_gpt_gpio_setup(struct mpc52xx_gpt_priv *gpt) in mpc52xx_gpt_gpio_setup()
353 static void mpc52xx_gpt_gpio_setup(struct mpc52xx_gpt_priv *gpt) { } in mpc52xx_gpt_gpio_setup()
364 struct mpc52xx_gpt_priv *mpc52xx_gpt_from_irq(int irq) in mpc52xx_gpt_from_irq()
366 struct mpc52xx_gpt_priv *gpt; in mpc52xx_gpt_from_irq()
372 gpt = container_of(pos, struct mpc52xx_gpt_priv, list); in mpc52xx_gpt_from_irq()
384 static int mpc52xx_gpt_do_start(struct mpc52xx_gpt_priv *gpt, u64 period, in mpc52xx_gpt_do_start()
454 int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period, in mpc52xx_gpt_start_timer()
467 int mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt) in mpc52xx_gpt_stop_timer()
490 u64 mpc52xx_gpt_timer_period(struct mpc52xx_gpt_priv *gpt) in mpc52xx_gpt_timer_period()
521 static struct mpc52xx_gpt_priv *mpc52xx_gpt_wdt;
524 static inline void mpc52xx_gpt_wdt_ping(struct mpc52xx_gpt_priv *gpt_wdt) in mpc52xx_gpt_wdt_ping()
537 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_write()
550 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl()
632 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_release()
675 static int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt, in mpc52xx_gpt_wdt_setup()
702 static inline int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt, in mpc52xx_gpt_wdt_setup()
715 struct mpc52xx_gpt_priv *gpt; in mpc52xx_gpt_probe()