Lines Matching refs:smc501_writel
267 smc501_writel(to, sm->regs + SM501_MISC_CONTROL); in sm501_misc_control()
300 smc501_writel(data, sm->regs + reg); in sm501_modify_reg()
358 smc501_writel(gate, sm->regs + SM501_POWER_MODE_0_GATE); in sm501_unit_power()
359 smc501_writel(clock, sm->regs + SM501_POWER_MODE_0_CLOCK); in sm501_unit_power()
364 smc501_writel(gate, sm->regs + SM501_POWER_MODE_1_GATE); in sm501_unit_power()
365 smc501_writel(clock, sm->regs + SM501_POWER_MODE_1_CLOCK); in sm501_unit_power()
374 smc501_writel(mode, sm->regs + SM501_POWER_MODE_CONTROL); in sm501_unit_power()
597 smc501_writel(gate, sm->regs + SM501_POWER_MODE_0_GATE); in sm501_set_clock()
598 smc501_writel(clock, sm->regs + SM501_POWER_MODE_0_CLOCK); in sm501_set_clock()
603 smc501_writel(gate, sm->regs + SM501_POWER_MODE_1_GATE); in sm501_set_clock()
604 smc501_writel(clock, sm->regs + SM501_POWER_MODE_1_CLOCK); in sm501_set_clock()
613 smc501_writel(mode, sm->regs + SM501_POWER_MODE_CONTROL); in sm501_set_clock()
616 smc501_writel(pll_reg, in sm501_set_clock()
912 smc501_writel(ctrl, smchip->control); in sm501_gpio_ensure_gpio()
936 smc501_writel(val, regs); in sm501_gpio_set()
959 smc501_writel(ddr & ~bit, regs + SM501_GPIO_DDR_LOW); in sm501_gpio_input()
990 smc501_writel(val, regs); in sm501_gpio_output()
993 smc501_writel(ddr | bit, regs + SM501_GPIO_DDR_LOW); in sm501_gpio_output()
996 smc501_writel(val, regs + SM501_GPIO_DATA_LOW); in sm501_gpio_output()
1235 smc501_writel(tmp, sm->regs + reg); in sm501_init_reg()
1319 smc501_writel(0, sm->regs + SM501_IRQ_MASK); in sm501_init_dev()
1492 smc501_writel(sm->pm_misc, sm->regs + SM501_MISC_CONTROL); in sm501_plat_resume()