Lines Matching refs:sm501_devdata

63 struct sm501_devdata {  struct
134 static void sm501_dump_clk(struct sm501_devdata *sm) in sm501_dump_clk()
191 static void sm501_dump_regs(struct sm501_devdata *sm) in sm501_dump_regs()
211 static void sm501_dump_gate(struct sm501_devdata *sm) in sm501_dump_gate()
222 static inline void sm501_dump_gate(struct sm501_devdata *sm) { } in sm501_dump_gate()
223 static inline void sm501_dump_regs(struct sm501_devdata *sm) { } in sm501_dump_regs()
224 static inline void sm501_dump_clk(struct sm501_devdata *sm) { } in sm501_dump_clk()
232 static void sm501_sync_regs(struct sm501_devdata *sm) in sm501_sync_regs()
237 static inline void sm501_mdelay(struct sm501_devdata *sm, unsigned int delay) in sm501_mdelay()
257 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_misc_control()
291 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_modify_reg()
318 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_unit_power()
521 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_set_clock()
652 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_find_clock()
709 sm501_create_subdev(struct sm501_devdata *sm, char *name, in sm501_create_subdev()
741 static int sm501_register_device(struct sm501_devdata *sm, in sm501_register_device()
770 static void sm501_create_subio(struct sm501_devdata *sm, in sm501_create_subio()
786 static void sm501_create_mem(struct sm501_devdata *sm, in sm501_create_mem()
804 static void sm501_create_irq(struct sm501_devdata *sm, in sm501_create_irq()
812 static int sm501_register_usbhost(struct sm501_devdata *sm, in sm501_register_usbhost()
828 static void sm501_setup_uart_data(struct sm501_devdata *sm, in sm501_setup_uart_data()
841 static int sm501_register_uart(struct sm501_devdata *sm, int devices) in sm501_register_uart()
871 static int sm501_register_display(struct sm501_devdata *sm, in sm501_register_display()
895 static inline struct sm501_devdata *sm501_gpio_to_dev(struct sm501_gpio *gpio) in sm501_gpio_to_dev()
897 return container_of(gpio, struct sm501_devdata, gpio); in sm501_gpio_to_dev()
1025 static int __devinit sm501_gpio_register_chip(struct sm501_devdata *sm, in sm501_gpio_register_chip()
1053 static int __devinit sm501_register_gpio(struct sm501_devdata *sm) in sm501_register_gpio()
1113 static void sm501_gpio_remove(struct sm501_devdata *sm) in sm501_gpio_remove()
1134 static inline int sm501_gpio_pin2nr(struct sm501_devdata *sm, unsigned int pin) in sm501_gpio_pin2nr()
1142 static inline int sm501_gpio_isregistered(struct sm501_devdata *sm) in sm501_gpio_isregistered()
1147 static inline int sm501_register_gpio(struct sm501_devdata *sm) in sm501_register_gpio()
1152 static inline void sm501_gpio_remove(struct sm501_devdata *sm) in sm501_gpio_remove()
1156 static inline int sm501_gpio_pin2nr(struct sm501_devdata *sm, unsigned int pin) in sm501_gpio_pin2nr()
1161 static inline int sm501_gpio_isregistered(struct sm501_devdata *sm) in sm501_gpio_isregistered()
1167 static int sm501_register_gpio_i2c_instance(struct sm501_devdata *sm, in sm501_register_gpio_i2c_instance()
1204 static int sm501_register_gpio_i2c(struct sm501_devdata *sm, in sm501_register_gpio_i2c()
1228 struct sm501_devdata *sm = dev_get_drvdata(dev) ; in sm501_dbg_regs()
1253 static inline void sm501_init_reg(struct sm501_devdata *sm, in sm501_init_reg()
1270 static void sm501_init_regs(struct sm501_devdata *sm, in sm501_init_regs()
1301 static int sm501_check_clocks(struct sm501_devdata *sm) in sm501_check_clocks()
1324 static int __devinit sm501_init_dev(struct sm501_devdata *sm) in sm501_init_dev()
1402 struct sm501_devdata *sm; in sm501_plat_probe()
1405 sm = kzalloc(sizeof(struct sm501_devdata), GFP_KERNEL); in sm501_plat_probe()
1467 static void sm501_set_power(struct sm501_devdata *sm, int on) in sm501_set_power()
1491 struct sm501_devdata *sm = platform_get_drvdata(pdev); in sm501_plat_suspend()
1508 struct sm501_devdata *sm = platform_get_drvdata(pdev); in sm501_plat_resume()
1592 struct sm501_devdata *sm; in sm501_pci_probe()
1595 sm = kzalloc(sizeof(struct sm501_devdata), GFP_KERNEL); in sm501_pci_probe()
1677 static void sm501_remove_sub(struct sm501_devdata *sm, in sm501_remove_sub()
1684 static void sm501_dev_remove(struct sm501_devdata *sm) in sm501_dev_remove()
1698 struct sm501_devdata *sm = pci_get_drvdata(dev); in sm501_pci_remove()
1712 struct sm501_devdata *sm = platform_get_drvdata(dev); in sm501_plat_remove()