Lines Matching refs:ps_base
279 void __iomem *ps_base; member
296 val = readl(ams->ps_base + offset); in ams_ps_update_reg()
298 writel(regval, ams->ps_base + offset); in ams_ps_update_reg()
333 if (ams->ps_base) { in ams_disable_all_alarms()
392 if (ams->ps_base) in ams_update_alarm()
424 if (ams->ps_base) { in ams_enable_channel_sequence()
431 writel(regval, ams->ps_base + AMS_REG_SEQ_CH0); in ams_enable_channel_sequence()
434 writel(regval, ams->ps_base + AMS_REG_SEQ_CH2); in ams_enable_channel_sequence()
471 if (ams->ps_base) { in ams_init_device()
472 writel(AMS_PS_RESET_VALUE, ams->ps_base + AMS_VP_VN); in ams_init_device()
699 *val = readl(ams->ps_base + chan->address); in ams_read_raw()
933 *val = readl(ams->ps_base + offset); in ams_read_event_value()
969 writel(val, ams->ps_base + offset); in ams_write_event_value()
1208 iounmap(ams->ps_base); in ams_iounmap_ps()
1228 ams->ps_base = fwnode_iomap(fwnode, 0); in ams_init_module()
1229 if (!ams->ps_base) in ams_init_module()
1320 ams->ps_base + falling_off); in ams_parse_firmware()
1322 ams->ps_base + rising_off); in ams_parse_firmware()