Lines Matching refs:mpc52xx_gpt_priv
87 struct mpc52xx_gpt_priv { struct
139 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_unmask()
149 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_mask()
159 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_ack()
166 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_set_type()
194 struct mpc52xx_gpt_priv *gpt = irq_desc_get_handler_data(desc); in mpc52xx_gpt_irq_cascade()
205 struct mpc52xx_gpt_priv *gpt = h->host_data; in mpc52xx_gpt_irq_map()
219 struct mpc52xx_gpt_priv *gpt = h->host_data; in mpc52xx_gpt_irq_xlate()
240 mpc52xx_gpt_irq_setup(struct mpc52xx_gpt_priv *gpt, struct device_node *node) in mpc52xx_gpt_irq_setup()
278 struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc); in mpc52xx_gpt_gpio_get()
286 struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc); in mpc52xx_gpt_gpio_set()
300 struct mpc52xx_gpt_priv *gpt = gpiochip_get_data(gc); in mpc52xx_gpt_gpio_dir_in()
319 static void mpc52xx_gpt_gpio_setup(struct mpc52xx_gpt_priv *gpt) in mpc52xx_gpt_gpio_setup()
352 static void mpc52xx_gpt_gpio_setup(struct mpc52xx_gpt_priv *gpt) { } in mpc52xx_gpt_gpio_setup()
363 struct mpc52xx_gpt_priv *mpc52xx_gpt_from_irq(int irq) in mpc52xx_gpt_from_irq()
365 struct mpc52xx_gpt_priv *gpt; in mpc52xx_gpt_from_irq()
371 gpt = container_of(pos, struct mpc52xx_gpt_priv, list); in mpc52xx_gpt_from_irq()
383 static int mpc52xx_gpt_do_start(struct mpc52xx_gpt_priv *gpt, u64 period, in mpc52xx_gpt_do_start()
453 int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period, in mpc52xx_gpt_start_timer()
466 int mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt) in mpc52xx_gpt_stop_timer()
489 u64 mpc52xx_gpt_timer_period(struct mpc52xx_gpt_priv *gpt) in mpc52xx_gpt_timer_period()
520 static struct mpc52xx_gpt_priv *mpc52xx_gpt_wdt;
523 static inline void mpc52xx_gpt_wdt_ping(struct mpc52xx_gpt_priv *gpt_wdt) in mpc52xx_gpt_wdt_ping()
536 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_write()
549 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_ioctl()
631 struct mpc52xx_gpt_priv *gpt_wdt = file->private_data; in mpc52xx_wdt_release()
673 static int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt, in mpc52xx_gpt_wdt_setup()
700 static inline int mpc52xx_gpt_wdt_setup(struct mpc52xx_gpt_priv *gpt, in mpc52xx_gpt_wdt_setup()
713 struct mpc52xx_gpt_priv *gpt; in mpc52xx_gpt_probe()