Home
last modified time | relevance | path

Searched refs:readl_relaxed (Results 1 – 25 of 694) sorted by relevance

12345678910>>...28

/OK3568_Linux_fs/kernel/drivers/crypto/ux500/cryp/
H A Dcryp.c38 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 …]
/OK3568_Linux_fs/kernel/arch/arm/mach-rockchip/
H A Drkpm_gicv2.c18 gic_irqs = readl_relaxed(dist_base + GIC_DIST_CTR) & 0x1f; in rkpm_gicv2_dist_save()
25 readl_relaxed(dist_base + GIC_DIST_TARGET + i); in rkpm_gicv2_dist_save()
29 readl_relaxed(dist_base + GIC_DIST_PRI + i); in rkpm_gicv2_dist_save()
33 readl_relaxed(dist_base + GIC_DIST_CONFIG + in rkpm_gicv2_dist_save()
38 readl_relaxed(dist_base + GIC_DIST_IGROUP + in rkpm_gicv2_dist_save()
43 readl_relaxed(dist_base + GIC_DIST_ACTIVE_SET + in rkpm_gicv2_dist_save()
48 readl_relaxed(dist_base + GIC_DIST_ENABLE_SET + in rkpm_gicv2_dist_save()
51 ctx->saved_gicd_ctrl = readl_relaxed(dist_base + GIC_DIST_CTRL); in rkpm_gicv2_dist_save()
60 gic_irqs = readl_relaxed(dist_base + GIC_DIST_CTR) & 0x1f; in rkpm_gicv2_dist_restore()
111 readl_relaxed(dist_base + GIC_DIST_ENABLE_SET); in rkpm_gicv2_cpu_save()
[all …]
H A Drv1106_pm.c283 if (readl_relaxed(cru_base + RV1106_CRU_PLL_CON(pll_id, 1)) & CRU_PLLCON1_PWRDOWN) in pm_pll_wait_lock()
287 if (readl_relaxed(cru_base + RV1106_CRU_PLL_CON(pll_id, 1)) & in pm_pll_wait_lock()
320 while (!(readl_relaxed(uartdbg_base + 0x14) & 0x40)) in uart_wrtie_byte()
337 rkpm_printhex(readl_relaxed(gpio_base[id] + RV1106_GPIO_INT_EN_L)); \
339 rkpm_printhex(readl_relaxed(gpio_base[id] + RV1106_GPIO_INT_EN_H)); \
341 rkpm_printhex(readl_relaxed(gpio_base[id] + RV1106_GPIO_INT_MASK_L)); \
343 rkpm_printhex(readl_relaxed(gpio_base[id] + RV1106_GPIO_INT_MASK_H)); \
345 rkpm_printhex(readl_relaxed(gpio_base[id] + RV1106_GPIO_INT_STATUS)); \
347 rkpm_printhex(readl_relaxed(gpio_base[id] + RV1106_GPIO_INT_RAWSTATUS));\
419 readl_relaxed(cru_base + RV1106_CRU_GATE_CON(i)); in clock_suspend()
[all …]
H A Drkpm_uart.c47 while ((readl_relaxed(base + UARTUSR) & UARTUSR_BUSY) && in rkpm_uart_debug_save()
55 ctx->uart_lcr = readl_relaxed(base + UARTLCR); in rkpm_uart_debug_save()
56 ctx->uart_ier = readl_relaxed(base + UARTIER); in rkpm_uart_debug_save()
57 ctx->uart_mcr = readl_relaxed(base + UARTMCR); in rkpm_uart_debug_save()
59 ctx->uart_dll = readl_relaxed(base + UARTDLL); in rkpm_uart_debug_save()
60 ctx->uart_dlh = readl_relaxed(base + UARTDLLM); in rkpm_uart_debug_save()
70 while ((readl_relaxed(base + UARTUSR) & UARTUSR_BUSY) && in rkpm_uart_debug_restore()
77 uart_lcr = readl_relaxed(base + UARTLCR); in rkpm_uart_debug_restore()
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A Dphy-tegra-usb.c209 val = readl_relaxed(base + TEGRA_USB_HOSTPC1_DEVLC); in set_pts()
214 val = readl_relaxed(base + TEGRA_USB_PORTSC1); in set_pts()
228 val = readl_relaxed(base + TEGRA_USB_HOSTPC1_DEVLC); in set_phcd()
235 val = readl_relaxed(base + TEGRA_USB_PORTSC1) & ~PORT_RWC_BITS; in set_phcd()
322 val = readl_relaxed(base + UTMIP_BIAS_CFG0); in utmip_pad_power_on()
363 val = readl_relaxed(base + UTMIP_BIAS_CFG0); in utmip_pad_power_off()
397 val = readl_relaxed(base + USB_SUSP_CTRL); in utmi_phy_clk_disable()
403 val = readl_relaxed(base + USB_SUSP_CTRL); in utmi_phy_clk_disable()
430 val = readl_relaxed(base + USB_SUSP_CTRL); in utmi_phy_clk_enable()
436 val = readl_relaxed(base + USB_SUSP_CTRL); in utmi_phy_clk_enable()
[all …]
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Ds5pv210-cpufreq.c296 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 …]
/OK3568_Linux_fs/kernel/drivers/clk/berlin/
H A Dberlin2-avpll.c118 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 …]
H A Dberlin2-div.c74 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()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-xgs-iproc.c74 event_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); in iproc_gpio_irq_unmask()
75 int_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); in iproc_gpio_irq_unmask()
100 event_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); in iproc_gpio_irq_mask()
101 int_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); in iproc_gpio_irq_mask()
128 event_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
133 event_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EDGE); in iproc_gpio_irq_set_type()
138 int_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL); in iproc_gpio_irq_set_type()
143 int_pol = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL); in iproc_gpio_irq_set_type()
173 int_status = readl_relaxed(chip->intr + IPROC_CCA_INT_STS); in iproc_gpio_irq_handler()
179 readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_EVENT_MASK); in iproc_gpio_irq_handler()
[all …]
H A Dgpio-omap.c96 u32 val = readl_relaxed(reg); in omap_gpio_rmw()
294 readl_relaxed(bank->base + bank->regs->leveldetect0); in omap_set_gpio_trigger()
296 readl_relaxed(bank->base + bank->regs->leveldetect1); in omap_set_gpio_trigger()
298 readl_relaxed(bank->base + bank->regs->risingdetect); in omap_set_gpio_trigger()
300 readl_relaxed(bank->base + bank->regs->fallingdetect); in omap_set_gpio_trigger()
329 writel_relaxed(readl_relaxed(reg) ^ BIT(gpio), reg); in omap_toggle_gpio_edge_triggering()
344 l = readl_relaxed(reg); in omap_set_gpio_triggering()
362 l = readl_relaxed(reg); in omap_set_gpio_triggering()
379 writel_relaxed(readl_relaxed(reg) | (BIT(offset)), reg); in omap_enable_gpio_module()
386 ctrl = readl_relaxed(reg); in omap_enable_gpio_module()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/samsung/
H A Dclk-pll.c71 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 …]
/OK3568_Linux_fs/kernel/arch/arm/mach-zx/
H A Dzx296702-pm-domain.c44 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()
/OK3568_Linux_fs/kernel/drivers/soc/zte/
H A Dzx2967_pm_domains.c29 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c57 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
59 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
64 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
68 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
72 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
76 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
80 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
84 value = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
89 base_add_h = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
91 base_add_l = readl_relaxed(ring->tqp->io_base + in hns3_dbg_queue_info()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-mv78xx0/
H A Dirq.c34 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()
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Domap_wdt.c76 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 …]
/OK3568_Linux_fs/kernel/drivers/clk/imx/
H A Dclk-frac-pll.c57 if (readl_relaxed(pll->base) & (PLL_PD_MASK | PLL_BYPASS_MASK)) in clk_wait_ack()
70 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_prepare()
82 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_unprepare()
92 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_is_prepared()
104 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_recalc_rate()
106 val = readl_relaxed(pll->base + PLL_CFG1); in clk_pll_recalc_rate()
172 val = readl_relaxed(pll->base + PLL_CFG1); in clk_pll_set_rate()
177 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_set_rate()
182 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_set_rate()
189 val = readl_relaxed(pll->base + PLL_CFG0); in clk_pll_set_rate()
H A Dclk-pllv3.c62 u32 val = readl_relaxed(pll->base) & pll->power_bit; in clk_pllv3_wait_lock()
77 val = readl_relaxed(pll->base); in clk_pllv3_prepare()
92 val = readl_relaxed(pll->base); in clk_pllv3_unprepare()
104 if (readl_relaxed(pll->base) & BM_PLL_LOCK) in clk_pllv3_is_prepared()
114 u32 div = (readl_relaxed(pll->base) >> pll->div_shift) & pll->div_mask; in clk_pllv3_recalc_rate()
141 val = readl_relaxed(pll->base); in clk_pllv3_set_rate()
162 u32 div = readl_relaxed(pll->base) & pll->div_mask; in clk_pllv3_sys_recalc_rate()
196 val = readl_relaxed(pll->base); in clk_pllv3_sys_set_rate()
217 u32 mfn = readl_relaxed(pll->base + pll->num_offset); in clk_pllv3_av_recalc_rate()
218 u32 mfd = readl_relaxed(pll->base + pll->denom_offset); in clk_pllv3_av_recalc_rate()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/common/
H A Dsa1111.c219 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()
326 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_type_irq()
343 we = readl_relaxed(mapbase + SA1111_WAKEEN0); in sa1111_wake_irq()
514 val = readl_relaxed(reg); in sa1111_gpio_modify()
526 return !!(readl_relaxed(reg + SA1111_GPIO_PXDDR) & mask); in sa1111_gpio_get_direction()
[all …]
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-sa11x0.c38 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()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu/
H A Darm-smmu-nvidia.c44 return readl_relaxed(reg); in nvidia_smmu_read_reg()
97 val |= readl_relaxed(reg); in nvidia_smmu_tlb_sync()
123 val = readl_relaxed(reg); in nvidia_smmu_reset()
137 gfsr = readl_relaxed(gr0_base + ARM_SMMU_GR0_sGFSR); in nvidia_smmu_global_fault_inst()
141 gfsynr0 = readl_relaxed(gr0_base + ARM_SMMU_GR0_sGFSYNR0); in nvidia_smmu_global_fault_inst()
142 gfsynr1 = readl_relaxed(gr0_base + ARM_SMMU_GR0_sGFSYNR1); in nvidia_smmu_global_fault_inst()
143 gfsynr2 = readl_relaxed(gr0_base + ARM_SMMU_GR0_sGFSYNR2); in nvidia_smmu_global_fault_inst()
181 fsr = readl_relaxed(cb_base + ARM_SMMU_CB_FSR); in nvidia_smmu_context_fault_bank()
185 fsynr = readl_relaxed(cb_base + ARM_SMMU_CB_FSYNR0); in nvidia_smmu_context_fault_bank()
187 cbfrsynra = readl_relaxed(gr1_base + ARM_SMMU_GR1_CBFRSYNRA(idx)); in nvidia_smmu_context_fault_bank()
/OK3568_Linux_fs/kernel/drivers/clk/ti/
H A Dfapll.c88 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 …]
/OK3568_Linux_fs/kernel/drivers/clocksource/
H A Dtimer-prima2.c62 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()
/OK3568_Linux_fs/kernel/arch/arm/mach-hisi/
H A Dhotplug.c105 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()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-msm.c311 return readl_relaxed(msm_host->core_mem + offset); in sdhci_msm_mci_variant_readl_relaxed()
317 return readl_relaxed(host->ioaddr + offset); in sdhci_msm_v5_variant_readl_relaxed()
386 ck_out_en = !!(readl_relaxed(host->ioaddr + in msm_dll_poll_ck_out_en()
397 ck_out_en = !!(readl_relaxed(host->ioaddr + in msm_dll_poll_ck_out_en()
422 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
436 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
441 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
450 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_config_cm_dll_phase()
600 config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); in msm_cm_dll_set_freq()
628 config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); in msm_init_cm_dll()
[all …]

12345678910>>...28