Lines Matching refs:sa1111

99 struct sa1111 {  struct
119 static struct sa1111 *g_sa1111; argument
194 static int sa1111_map_irq(struct sa1111 *sachip, irq_hw_number_t hwirq) in sa1111_map_irq()
215 struct sa1111 *sachip = irq_desc_get_handler_data(desc); in sa1111_irq_handler()
263 struct sa1111 *sachip = irq_data_get_irq_chip_data(d); in sa1111_mask_irq()
274 struct sa1111 *sachip = irq_data_get_irq_chip_data(d); in sa1111_unmask_irq()
292 struct sa1111 *sachip = irq_data_get_irq_chip_data(d); in sa1111_retrigger_irq()
313 struct sa1111 *sachip = irq_data_get_irq_chip_data(d); in sa1111_type_irq()
336 struct sa1111 *sachip = irq_data_get_irq_chip_data(d); in sa1111_wake_irq()
363 struct sa1111 *sachip = d->host_data; in sa1111_irqdomain_map()
381 static int sa1111_setup_irq(struct sa1111 *sachip, unsigned irq_base) in sa1111_setup_irq()
450 static void sa1111_remove_irq(struct sa1111 *sachip) in sa1111_remove_irq()
478 static struct sa1111 *gc_to_sa1111(struct gpio_chip *gc) in gc_to_sa1111()
480 return container_of(gc, struct sa1111, gc); in gc_to_sa1111()
483 static void __iomem *sa1111_gpio_map_reg(struct sa1111 *sachip, unsigned offset) in sa1111_gpio_map_reg()
519 struct sa1111 *sachip = gc_to_sa1111(gc); in sa1111_gpio_get_direction()
528 struct sa1111 *sachip = gc_to_sa1111(gc); in sa1111_gpio_direction_input()
544 struct sa1111 *sachip = gc_to_sa1111(gc); in sa1111_gpio_direction_output()
561 struct sa1111 *sachip = gc_to_sa1111(gc); in sa1111_gpio_get()
570 struct sa1111 *sachip = gc_to_sa1111(gc); in sa1111_gpio_set()
584 struct sa1111 *sachip = gc_to_sa1111(gc); in sa1111_gpio_set_multiple()
604 struct sa1111 *sachip = gc_to_sa1111(gc); in sa1111_gpio_to_irq()
609 static int sa1111_setup_gpios(struct sa1111 *sachip) in sa1111_setup_gpios()
641 static void sa1111_wake(struct sa1111 *sachip) in sa1111_wake()
701 sa1111_configure_smc(struct sa1111 *sachip, int sdram, unsigned int drac, in sa1111_configure_smc()
731 sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent, in sa1111_init_one_child()
806 struct sa1111 *sachip; in __sa1111_probe()
814 sachip = devm_kzalloc(me, sizeof(struct sa1111), GFP_KERNEL); in __sa1111_probe()
940 static void __sa1111_remove(struct sa1111 *sachip) in __sa1111_remove()
977 struct sa1111 *sachip = dev_get_drvdata(dev); in sa1111_suspend_noirq()
1042 struct sa1111 *sachip = dev_get_drvdata(dev); in sa1111_resume_noirq()
1130 struct sa1111 *sachip = platform_get_drvdata(pdev); in sa1111_remove()
1171 static inline struct sa1111 *sa1111_chip_driver(struct sa1111_dev *sadev) in sa1111_chip_driver()
1173 return (struct sa1111 *)dev_get_drvdata(sadev->dev.parent); in sa1111_chip_driver()
1181 static unsigned int __sa1111_pll_clock(struct sa1111 *sachip) in __sa1111_pll_clock()
1205 struct sa1111 *sachip = sa1111_chip_driver(sadev); in sa1111_pll_clock()
1221 struct sa1111 *sachip = sa1111_chip_driver(sadev); in sa1111_select_audio_mode()
1246 struct sa1111 *sachip = sa1111_chip_driver(sadev); in sa1111_set_audio_rate()
1270 struct sa1111 *sachip = sa1111_chip_driver(sadev); in sa1111_get_audio_rate()
1292 struct sa1111 *sachip = sa1111_chip_driver(sadev); in sa1111_enable_device()
1316 struct sa1111 *sachip = sa1111_chip_driver(sadev); in sa1111_disable_device()
1332 struct sa1111 *sachip = sa1111_chip_driver(sadev); in sa1111_get_irq()