/Linux-v5.4/drivers/crypto/ux500/cryp/ |
D | cryp.c | 38 peripheralid2 = readl_relaxed(&device_data->base->periphId2); in cryp_check() 45 readl_relaxed(&device_data->base->periphId0)) in cryp_check() 47 readl_relaxed(&device_data->base->periphId1)) in cryp_check() 49 readl_relaxed(&device_data->base->periphId3)) in cryp_check() 51 readl_relaxed(&device_data->base->pcellId0)) in cryp_check() 53 readl_relaxed(&device_data->base->pcellId1)) in cryp_check() 55 readl_relaxed(&device_data->base->pcellId2)) in cryp_check() 57 readl_relaxed(&device_data->base->pcellId3))) { in cryp_check() 99 while (readl_relaxed(&device_data->base->sr) != in cryp_flush_inoutfifo() 309 ctx->din = readl_relaxed(&src_reg->din); in cryp_save_device_context() [all …]
|
/Linux-v5.4/drivers/cpufreq/ |
D | s5pv210-cpufreq.c | 296 reg = readl_relaxed(S5P_CLK_DIV2); in s5pv210_target() 304 reg = readl_relaxed(S5P_CLKDIV_STAT0); in s5pv210_target() 311 reg = readl_relaxed(S5P_CLK_SRC2); in s5pv210_target() 318 reg = readl_relaxed(S5P_CLKMUX_STAT1); in s5pv210_target() 330 reg = readl_relaxed(S5P_CLK_SRC0); in s5pv210_target() 336 reg = readl_relaxed(S5P_CLKMUX_STAT0); in s5pv210_target() 342 reg = readl_relaxed(S5P_CLK_DIV0); in s5pv210_target() 361 reg = readl_relaxed(S5P_CLKDIV_STAT0); in s5pv210_target() 365 reg = readl_relaxed(S5P_ARM_MCS_CON); in s5pv210_target() 389 reg = readl_relaxed(S5P_APLL_CON); in s5pv210_target() [all …]
|
/Linux-v5.4/drivers/clk/berlin/ |
D | berlin2-avpll.c | 118 reg = readl_relaxed(vco->base + VCO_CTRL0); in berlin2_avpll_vco_is_enabled() 130 reg = readl_relaxed(vco->base + VCO_CTRL0); in berlin2_avpll_vco_enable() 145 reg = readl_relaxed(vco->base + VCO_CTRL0); in berlin2_avpll_vco_disable() 163 reg = readl_relaxed(vco->base + VCO_CTRL1); in berlin2_avpll_vco_recalc_rate() 220 reg = readl_relaxed(ch->base + VCO_CTRL10); in berlin2_avpll_channel_is_enabled() 231 reg = readl_relaxed(ch->base + VCO_CTRL10); in berlin2_avpll_channel_enable() 243 reg = readl_relaxed(ch->base + VCO_CTRL10); in berlin2_avpll_channel_disable() 258 reg = readl_relaxed(ch->base + VCO_CTRL30); in berlin2_avpll_channel_recalc_rate() 267 reg = readl_relaxed(ch->base + VCO_SYNC1n(ch->index)); in berlin2_avpll_channel_recalc_rate() 273 reg = readl_relaxed(ch->base + VCO_SYNC2n(ch->index)); in berlin2_avpll_channel_recalc_rate() [all …]
|
D | berlin2-div.c | 74 reg = readl_relaxed(div->base + map->gate_offs); in berlin2_div_is_enabled() 92 reg = readl_relaxed(div->base + map->gate_offs); in berlin2_div_enable() 111 reg = readl_relaxed(div->base + map->gate_offs); in berlin2_div_disable() 129 reg = readl_relaxed(div->base + map->pll_switch_offs); in berlin2_div_set_parent() 138 reg = readl_relaxed(div->base + map->pll_select_offs); in berlin2_div_set_parent() 161 reg = readl_relaxed(div->base + map->pll_switch_offs); in berlin2_div_get_parent() 164 reg = readl_relaxed(div->base + map->pll_select_offs); in berlin2_div_get_parent() 186 divsw = readl_relaxed(div->base + map->div_switch_offs) & in berlin2_div_recalc_rate() 188 div3sw = readl_relaxed(div->base + map->div3_switch_offs) & in berlin2_div_recalc_rate() 200 reg = readl_relaxed(div->base + map->div_select_offs); in berlin2_div_recalc_rate()
|
/Linux-v5.4/arch/arm/mach-mv78xx0/ |
D | irq.c | 34 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_LOW_OFF); in mv78xx0_legacy_handle_irq() 35 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_LOW_OFF); in mv78xx0_legacy_handle_irq() 41 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_HIGH_OFF); in mv78xx0_legacy_handle_irq() 42 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_HIGH_OFF); in mv78xx0_legacy_handle_irq() 48 stat = readl_relaxed(mv78xx0_irq_base + IRQ_CAUSE_ERR_OFF); in mv78xx0_legacy_handle_irq() 49 stat &= readl_relaxed(mv78xx0_irq_base + IRQ_MASK_ERR_OFF); in mv78xx0_legacy_handle_irq()
|
/Linux-v5.4/drivers/soc/zte/ |
D | zx2967_pm_domains.c | 29 val = readl_relaxed(pcubase + PCU_DM_PWREN(zpd)); in zx2967_power_on() 38 val = readl_relaxed(pcubase + PCU_DM_ACK_SYNC(zpd)) in zx2967_power_on() 47 val = readl_relaxed(pcubase + PCU_DM_RSTEN(zpd)); in zx2967_power_on() 52 val = readl_relaxed(pcubase + PCU_DM_ISOEN(zpd)); in zx2967_power_on() 57 val = readl_relaxed(pcubase + PCU_DM_CLKEN(zpd)); in zx2967_power_on() 73 val = readl_relaxed(pcubase + PCU_DM_CLKEN(zpd)); in zx2967_power_off() 78 val = readl_relaxed(pcubase + PCU_DM_ISOEN(zpd)); in zx2967_power_off() 83 val = readl_relaxed(pcubase + PCU_DM_RSTEN(zpd)); in zx2967_power_off() 88 val = readl_relaxed(pcubase + PCU_DM_PWREN(zpd)); in zx2967_power_off() 97 val = readl_relaxed(pcubase + PCU_DM_ACK_SYNC(zpd)) in zx2967_power_off()
|
/Linux-v5.4/arch/arm/mach-zx/ |
D | zx296702-pm-domain.c | 44 tmp = readl_relaxed(pcubase + PCU_DM_CLKEN); in normal_power_off() 49 tmp = readl_relaxed(pcubase + PCU_DM_ISOEN); in normal_power_off() 54 tmp = readl_relaxed(pcubase + PCU_DM_RSTEN); in normal_power_off() 59 tmp = readl_relaxed(pcubase + PCU_DM_PWRDN); in normal_power_off() 63 tmp = readl_relaxed(pcubase + PCU_DM_ACK_SYNC) & BIT(zpd->bit); in normal_power_off() 80 tmp = readl_relaxed(pcubase + PCU_DM_PWRDN); in normal_power_on() 84 tmp = readl_relaxed(pcubase + PCU_DM_ACK_SYNC) & BIT(zpd->bit); in normal_power_on() 92 tmp = readl_relaxed(pcubase + PCU_DM_RSTEN); in normal_power_on() 97 tmp = readl_relaxed(pcubase + PCU_DM_ISOEN); in normal_power_on() 102 tmp = readl_relaxed(pcubase + PCU_DM_CLKEN); in normal_power_on()
|
/Linux-v5.4/drivers/clk/samsung/ |
D | clk-pll.c | 71 tmp = readl_relaxed(pll->con_reg); in samsung_pll3xxx_enable() 78 tmp = readl_relaxed(pll->con_reg); in samsung_pll3xxx_enable() 89 tmp = readl_relaxed(pll->con_reg); in samsung_pll3xxx_disable() 112 pll_con = readl_relaxed(pll->con_reg); in samsung_pll2126_recalc_rate() 145 pll_con = readl_relaxed(pll->con_reg); in samsung_pll3000_recalc_rate() 182 pll_con = readl_relaxed(pll->con_reg); in samsung_pll35xx_recalc_rate() 219 tmp = readl_relaxed(pll->con_reg); in samsung_pll35xx_set_rate() 247 tmp = readl_relaxed(pll->con_reg); in samsung_pll35xx_set_rate() 290 pll_con0 = readl_relaxed(pll->con_reg); in samsung_pll36xx_recalc_rate() 291 pll_con1 = readl_relaxed(pll->con_reg + 4); in samsung_pll36xx_recalc_rate() [all …]
|
/Linux-v5.4/drivers/clk/imx/ |
D | clk-pllv3.c | 57 u32 val = readl_relaxed(pll->base) & pll->power_bit; in clk_pllv3_wait_lock() 65 if (readl_relaxed(pll->base) & BM_PLL_LOCK) in clk_pllv3_wait_lock() 72 return readl_relaxed(pll->base) & BM_PLL_LOCK ? 0 : -ETIMEDOUT; in clk_pllv3_wait_lock() 80 val = readl_relaxed(pll->base); in clk_pllv3_prepare() 95 val = readl_relaxed(pll->base); in clk_pllv3_unprepare() 107 if (readl_relaxed(pll->base) & BM_PLL_LOCK) in clk_pllv3_is_prepared() 117 u32 div = (readl_relaxed(pll->base) >> pll->div_shift) & pll->div_mask; in clk_pllv3_recalc_rate() 144 val = readl_relaxed(pll->base); in clk_pllv3_set_rate() 165 u32 div = readl_relaxed(pll->base) & pll->div_mask; in clk_pllv3_sys_recalc_rate() 199 val = readl_relaxed(pll->base); in clk_pllv3_sys_set_rate() [all …]
|
D | clk-frac-pll.c | 56 if (readl_relaxed(pll->base) & (PLL_PD_MASK | PLL_BYPASS_MASK)) in clk_wait_ack() 69 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_prepare() 81 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_unprepare() 91 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_is_prepared() 103 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_recalc_rate() 105 val = readl_relaxed(pll->base + PLL_CFG1); in clk_pll_recalc_rate() 171 val = readl_relaxed(pll->base + PLL_CFG1); in clk_pll_set_rate() 176 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_set_rate() 181 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_set_rate() 188 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_set_rate()
|
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_debugfs.c | 58 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 60 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 65 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 69 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 73 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 77 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 81 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 85 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 90 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() 92 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info() [all …]
|
/Linux-v5.4/drivers/irqchip/ |
D | irq-sa11x0.c | 38 reg = readl_relaxed(iobase + ICMR); in sa1100_mask_irq() 47 reg = readl_relaxed(iobase + ICMR); in sa1100_unmask_irq() 93 st->icmr = readl_relaxed(iobase + ICMR); in sa1100irq_suspend() 94 st->iclr = readl_relaxed(iobase + ICLR); in sa1100irq_suspend() 95 st->iccr = readl_relaxed(iobase + ICCR); in sa1100irq_suspend() 136 icip = readl_relaxed(iobase + ICIP); in sa1100_handle_irq() 137 icmr = readl_relaxed(iobase + ICMR); in sa1100_handle_irq()
|
/Linux-v5.4/drivers/watchdog/ |
D | omap_wdt.c | 76 while ((readl_relaxed(base + OMAP_WATCHDOG_WPS)) & 0x08) in omap_wdt_reload() 83 while ((readl_relaxed(base + OMAP_WATCHDOG_WPS)) & 0x08) in omap_wdt_reload() 94 while ((readl_relaxed(base + OMAP_WATCHDOG_WPS)) & 0x10) in omap_wdt_enable() 98 while ((readl_relaxed(base + OMAP_WATCHDOG_WPS)) & 0x10) in omap_wdt_enable() 108 while (readl_relaxed(base + OMAP_WATCHDOG_WPS) & 0x10) in omap_wdt_disable() 112 while (readl_relaxed(base + OMAP_WATCHDOG_WPS) & 0x10) in omap_wdt_disable() 123 while (readl_relaxed(base + OMAP_WATCHDOG_WPS) & 0x04) in omap_wdt_set_timer() 127 while (readl_relaxed(base + OMAP_WATCHDOG_WPS) & 0x04) in omap_wdt_set_timer() 150 while (readl_relaxed(base + OMAP_WATCHDOG_WPS) & 0x01) in omap_wdt_start() 154 while (readl_relaxed(base + OMAP_WATCHDOG_WPS) & 0x01) in omap_wdt_start() [all …]
|
/Linux-v5.4/arch/arm/mach-hisi/ |
D | hotplug.c | 105 val = readl_relaxed(ctrl_base + SCPERCTRL0); in set_cpu_hi3620() 115 val = readl_relaxed(ctrl_base + SCPERCTRL0); in set_cpu_hi3620() 201 val = readl_relaxed(ctrl_base + HIX5HD2_PERI_PMC0); in hix5hd2_set_cpu() 206 val = readl_relaxed(ctrl_base + HIX5HD2_PERI_CRG20); in hix5hd2_set_cpu() 211 val = readl_relaxed(ctrl_base + HIX5HD2_PERI_PMC0); in hix5hd2_set_cpu() 217 val = readl_relaxed(ctrl_base + HIX5HD2_PERI_CRG20); in hix5hd2_set_cpu() 238 temp = readl_relaxed(ctrl_base + HIP01_PERI9); in hip01_set_cpu() 245 temp = readl_relaxed(ctrl_base + HIP01_PERI9); in hip01_set_cpu()
|
/Linux-v5.4/drivers/clocksource/ |
D | timer-prima2.c | 62 WARN_ON(!(readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_STATUS) & in sirfsoc_timer_interrupt() 81 cycles = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_HI); in sirfsoc_timer_read() 83 readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO); in sirfsoc_timer_read() 95 now = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO); in sirfsoc_timer_set_next_event() 100 now = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO); in sirfsoc_timer_set_next_event() 107 u32 val = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_INT_EN); in sirfsoc_timer_shutdown() 116 u32 val = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_INT_EN); in sirfsoc_timer_set_oneshot() 131 readl_relaxed(sirfsoc_timer_base + in sirfsoc_clocksource_suspend()
|
/Linux-v5.4/drivers/clk/ti/ |
D | fapll.c | 88 u32 v = readl_relaxed(fd->base); in ti_fapll_clock_is_bypass() 98 u32 v = readl_relaxed(fd->base); in ti_fapll_set_bypass() 109 u32 v = readl_relaxed(fd->base); in ti_fapll_clear_bypass() 123 while ((v = readl_relaxed(fd->base))) { in ti_fapll_wait_lock() 141 u32 v = readl_relaxed(fd->base); in ti_fapll_enable() 153 u32 v = readl_relaxed(fd->base); in ti_fapll_disable() 162 u32 v = readl_relaxed(fd->base); in ti_fapll_is_enabled() 180 v = readl_relaxed(fd->base); in ti_fapll_recalc_rate() 260 v = readl_relaxed(fd->base); in ti_fapll_set_rate() 285 u32 v = readl_relaxed(synth->fd->base + FAPLL_PWD_OFFSET); in ti_fapll_synth_enable() [all …]
|
/Linux-v5.4/arch/arm/common/ |
D | sa1111.c | 219 stat0 = readl_relaxed(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler() 220 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler() 267 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_mask_irq() 278 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_unmask_irq() 297 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq() 301 if (readl_relaxed(mapbase + SA1111_INTSTATCLR0) & mask) in sa1111_retrigger_irq() 323 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_type_irq() 340 we = readl_relaxed(mapbase + SA1111_WAKEEN0); in sa1111_wake_irq() 511 val = readl_relaxed(reg); in sa1111_gpio_modify() 523 return !!(readl_relaxed(reg + SA1111_GPIO_PXDDR) & mask); in sa1111_gpio_get_direction() [all …]
|
/Linux-v5.4/drivers/rtc/ |
D | rtc-rtd119x.c | 60 val = readl_relaxed(data->base + RTD_RTCCR); in rtd119x_rtc_reset() 73 val = readl_relaxed(data->base + RTD_RTCEN); in rtd119x_rtc_set_enabled() 92 tm->tm_sec = (readl_relaxed(data->base + RTD_RTCSEC) & RTD_RTCSEC_RTCSEC_MASK) >> 1; in rtd119x_rtc_read_time() 93 tm->tm_min = readl_relaxed(data->base + RTD_RTCMIN) & RTD_RTCMIN_RTCMIN_MASK; in rtd119x_rtc_read_time() 94 tm->tm_hour = readl_relaxed(data->base + RTD_RTCHR) & RTD_RTCHR_RTCHR_MASK; in rtd119x_rtc_read_time() 95 day = readl_relaxed(data->base + RTD_RTCDATE1) & RTD_RTCDATE1_RTCDATE1_MASK; in rtd119x_rtc_read_time() 96 day |= (readl_relaxed(data->base + RTD_RTCDATE2) & RTD_RTCDATE2_RTCDATE2_MASK) << 8; in rtd119x_rtc_read_time() 97 sec = (readl_relaxed(data->base + RTD_RTCSEC) & RTD_RTCSEC_RTCSEC_MASK) >> 1; in rtd119x_rtc_read_time() 196 val = readl_relaxed(data->base + RTD_RTCACR); in rtd119x_rtc_probe()
|
D | rtc-sa1100.c | 55 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_interrupt() 100 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_alarm_irq_enable() 114 rtc_time_to_tm(readl_relaxed(info->rcnr), tm); in sa1100_rtc_read_time() 135 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_read_alarm() 151 writel_relaxed(readl_relaxed(info->rtsr) & in sa1100_rtc_set_alarm() 155 writel_relaxed(readl_relaxed(info->rtsr) | RTSR_ALE, info->rtsr); in sa1100_rtc_set_alarm() 157 writel_relaxed(readl_relaxed(info->rtsr) & ~RTSR_ALE, info->rtsr); in sa1100_rtc_set_alarm() 168 seq_printf(seq, "trim/divider\t\t: 0x%08x\n", readl_relaxed(info->rttr)); in sa1100_rtc_proc() 169 seq_printf(seq, "RTSR\t\t\t: 0x%08x\n", readl_relaxed(info->rtsr)); in sa1100_rtc_proc() 206 if (readl_relaxed(info->rttr) == 0) { in sa1100_rtc_init()
|
/Linux-v5.4/drivers/phy/qualcomm/ |
D | phy-qcom-ipq806x-sata.c | 59 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM3); in qcom_ipq806x_sata_phy_init() 63 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM0) & in qcom_ipq806x_sata_phy_init() 70 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM1) & in qcom_ipq806x_sata_phy_init() 79 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM2) & in qcom_ipq806x_sata_phy_init() 85 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM4); in qcom_ipq806x_sata_phy_init() 90 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM4); in qcom_ipq806x_sata_phy_init() 101 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM4); in qcom_ipq806x_sata_phy_init() 114 reg = readl_relaxed(phy->mmio + SATA_PHY_P0_PARAM4); in qcom_ipq806x_sata_phy_exit()
|
/Linux-v5.4/drivers/mmc/host/ |
D | sdhci-msm.c | 276 return readl_relaxed(msm_host->core_mem + offset); in sdhci_msm_mci_variant_readl_relaxed() 282 return readl_relaxed(host->ioaddr + offset); in sdhci_msm_v5_variant_readl_relaxed() 351 ck_out_en = !!(readl_relaxed(host->ioaddr + in msm_dll_poll_ck_out_en() 362 ck_out_en = !!(readl_relaxed(host->ioaddr + in msm_dll_poll_ck_out_en() 387 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase() 401 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase() 406 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase() 415 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase() 565 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq() 593 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll() [all …]
|
/Linux-v5.4/drivers/thermal/ |
D | dove_thermal.c | 48 reg = readl_relaxed(priv->control); in dove_init_sensor() 64 reg = readl_relaxed(priv->control); in dove_init_sensor() 69 reg = readl_relaxed(priv->sensor); in dove_init_sensor() 75 reg = readl_relaxed(priv->sensor); in dove_init_sensor() 93 reg = readl_relaxed(priv->control + PMU_TEMP_DIOD_CTRL1_REG); in dove_get_temp() 105 reg = readl_relaxed(priv->sensor); in dove_get_temp()
|
/Linux-v5.4/arch/arm/mach-dove/ |
D | irq.c | 50 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_LOW_OFF); in dove_legacy_handle_irq() 51 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_LOW_OFF); in dove_legacy_handle_irq() 57 stat = readl_relaxed(dove_irq_base + IRQ_CAUSE_HIGH_OFF); in dove_legacy_handle_irq() 58 stat &= readl_relaxed(dove_irq_base + IRQ_MASK_HIGH_OFF); in dove_legacy_handle_irq()
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-zynq.c | 227 data = readl_relaxed(gpio->base_addr + in zynq_gpio_get_value() 230 data = readl_relaxed(gpio->base_addr + in zynq_gpio_get_value() 235 data = readl_relaxed(gpio->base_addr + in zynq_gpio_get_value() 238 data = readl_relaxed(gpio->base_addr + in zynq_gpio_get_value() 243 data = readl_relaxed(gpio->base_addr + in zynq_gpio_get_value() 313 reg = readl_relaxed(gpio->base_addr + ZYNQ_GPIO_DIRM_OFFSET(bank_num)); in zynq_gpio_dir_in() 342 reg = readl_relaxed(gpio->base_addr + ZYNQ_GPIO_DIRM_OFFSET(bank_num)); in zynq_gpio_dir_out() 347 reg = readl_relaxed(gpio->base_addr + ZYNQ_GPIO_OUTEN_OFFSET(bank_num)); in zynq_gpio_dir_out() 373 reg = readl_relaxed(gpio->base_addr + ZYNQ_GPIO_DIRM_OFFSET(bank_num)); in zynq_gpio_get_direction() 487 int_type = readl_relaxed(gpio->base_addr + in zynq_gpio_set_irq_type() [all …]
|
/Linux-v5.4/drivers/soc/dove/ |
D | pmu.c | 55 val = readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset() 70 val &= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert() 84 val |= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_deassert() 157 val &= readl_relaxed(pmu_base + PMU_ISO); in pmu_domain_power_off() 164 val &= readl_relaxed(pmc_base + PMC_SW_RST); in pmu_domain_power_off() 169 val = readl_relaxed(pmu_base + PMU_PWR) | pmu_dom->pwr_mask; in pmu_domain_power_off() 189 val = ~pmu_dom->pwr_mask & readl_relaxed(pmu_base + PMU_PWR); in pmu_domain_power_on() 195 val |= readl_relaxed(pmc_base + PMC_SW_RST); in pmu_domain_power_on() 202 val |= readl_relaxed(pmu_base + PMU_ISO); in pmu_domain_power_on() 214 unsigned int val = readl_relaxed(domain->pmu->pmu_base + PMU_PWR); in __pmu_domain_register() [all …]
|