Lines Matching refs:sm501_devdata
62 struct sm501_devdata { struct
133 static void sm501_dump_clk(struct sm501_devdata *sm) in sm501_dump_clk()
190 static void sm501_dump_regs(struct sm501_devdata *sm) in sm501_dump_regs()
210 static void sm501_dump_gate(struct sm501_devdata *sm) in sm501_dump_gate()
221 static inline void sm501_dump_gate(struct sm501_devdata *sm) { } in sm501_dump_gate()
222 static inline void sm501_dump_regs(struct sm501_devdata *sm) { } in sm501_dump_regs()
223 static inline void sm501_dump_clk(struct sm501_devdata *sm) { } in sm501_dump_clk()
231 static void sm501_sync_regs(struct sm501_devdata *sm) in sm501_sync_regs()
236 static inline void sm501_mdelay(struct sm501_devdata *sm, unsigned int delay) in sm501_mdelay()
256 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_misc_control()
290 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_modify_reg()
317 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_unit_power()
512 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_set_clock()
643 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_find_clock()
700 sm501_create_subdev(struct sm501_devdata *sm, char *name, in sm501_create_subdev()
733 static int sm501_register_device(struct sm501_devdata *sm, in sm501_register_device()
762 static void sm501_create_subio(struct sm501_devdata *sm, in sm501_create_subio()
778 static void sm501_create_mem(struct sm501_devdata *sm, in sm501_create_mem()
796 static void sm501_create_irq(struct sm501_devdata *sm, in sm501_create_irq()
804 static int sm501_register_usbhost(struct sm501_devdata *sm, in sm501_register_usbhost()
820 static void sm501_setup_uart_data(struct sm501_devdata *sm, in sm501_setup_uart_data()
833 static int sm501_register_uart(struct sm501_devdata *sm, int devices) in sm501_register_uart()
863 static int sm501_register_display(struct sm501_devdata *sm, in sm501_register_display()
882 static inline struct sm501_devdata *sm501_gpio_to_dev(struct sm501_gpio *gpio) in sm501_gpio_to_dev()
884 return container_of(gpio, struct sm501_devdata, gpio); in sm501_gpio_to_dev()
1012 static int sm501_gpio_register_chip(struct sm501_devdata *sm, in sm501_gpio_register_chip()
1040 static int sm501_register_gpio(struct sm501_devdata *sm) in sm501_register_gpio()
1094 static void sm501_gpio_remove(struct sm501_devdata *sm) in sm501_gpio_remove()
1109 static inline int sm501_gpio_isregistered(struct sm501_devdata *sm) in sm501_gpio_isregistered()
1114 static inline int sm501_register_gpio(struct sm501_devdata *sm) in sm501_register_gpio()
1119 static inline void sm501_gpio_remove(struct sm501_devdata *sm) in sm501_gpio_remove()
1123 static inline int sm501_gpio_isregistered(struct sm501_devdata *sm) in sm501_gpio_isregistered()
1129 static int sm501_register_gpio_i2c_instance(struct sm501_devdata *sm, in sm501_register_gpio_i2c_instance()
1177 static int sm501_register_gpio_i2c(struct sm501_devdata *sm, in sm501_register_gpio_i2c()
1201 struct sm501_devdata *sm = dev_get_drvdata(dev) ; in dbg_regs_show()
1226 static inline void sm501_init_reg(struct sm501_devdata *sm, in sm501_init_reg()
1243 static void sm501_init_regs(struct sm501_devdata *sm, in sm501_init_regs()
1274 static int sm501_check_clocks(struct sm501_devdata *sm) in sm501_check_clocks()
1297 static int sm501_init_dev(struct sm501_devdata *sm) in sm501_init_dev()
1375 struct sm501_devdata *sm; in sm501_plat_probe()
1437 static void sm501_set_power(struct sm501_devdata *sm, int on) in sm501_set_power()
1461 struct sm501_devdata *sm = platform_get_drvdata(pdev); in sm501_plat_suspend()
1478 struct sm501_devdata *sm = platform_get_drvdata(pdev); in sm501_plat_resume()
1558 struct sm501_devdata *sm; in sm501_pci_probe()
1639 static void sm501_remove_sub(struct sm501_devdata *sm, in sm501_remove_sub()
1646 static void sm501_dev_remove(struct sm501_devdata *sm) in sm501_dev_remove()
1660 struct sm501_devdata *sm = pci_get_drvdata(dev); in sm501_pci_remove()
1672 struct sm501_devdata *sm = platform_get_drvdata(dev); in sm501_plat_remove()