| /kernel/linux/linux-4.19/arch/arm/mach-s3c24xx/ |
| D | cpufreq-utils.c | 23 * s3c2410_cpufreq_setrefresh - set SDRAM refresh value 26 * Set the SDRAM refresh value appropriately for the configured 32 unsigned long refresh; in s3c2410_cpufreq_setrefresh() local 35 /* Reduce both the refresh time (in ns) and the frequency (in MHz) in s3c2410_cpufreq_setrefresh() 38 * This should work for HCLK up to 133MHz and refresh period up in s3c2410_cpufreq_setrefresh() 42 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10); in s3c2410_cpufreq_setrefresh() 43 refresh = DIV_ROUND_UP(refresh, (1000 * 1000)); /* apply scale */ in s3c2410_cpufreq_setrefresh() 44 refresh = (1 << 11) + 1 - refresh; in s3c2410_cpufreq_setrefresh() 46 s3c_freq_dbg("%s: refresh value %lu\n", __func__, refresh); in s3c2410_cpufreq_setrefresh() 50 refval |= refresh; in s3c2410_cpufreq_setrefresh()
|
| D | iotiming-s3c2412.c | 260 u32 refresh; in s3c2412_cpufreq_setrefresh() local 264 /* Reduce both the refresh time (in ns) and the frequency (in MHz) in s3c2412_cpufreq_setrefresh() 267 * This should work for HCLK up to 133MHz and refresh period up in s3c2412_cpufreq_setrefresh() 271 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10); in s3c2412_cpufreq_setrefresh() 272 refresh = DIV_ROUND_UP(refresh, (1000 * 1000)); /* apply scale */ in s3c2412_cpufreq_setrefresh() 273 refresh &= ((1 << 16) - 1); in s3c2412_cpufreq_setrefresh() 275 s3c_freq_dbg("%s: refresh value %u\n", __func__, (unsigned int)refresh); in s3c2412_cpufreq_setrefresh() 277 __raw_writel(refresh, S3C2412_REFRESH); in s3c2412_cpufreq_setrefresh()
|
| /kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
| D | cpufreq-utils-s3c24xx.c | 23 * s3c2410_cpufreq_setrefresh - set SDRAM refresh value 26 * Set the SDRAM refresh value appropriately for the configured 32 unsigned long refresh; in s3c2410_cpufreq_setrefresh() local 35 /* Reduce both the refresh time (in ns) and the frequency (in MHz) in s3c2410_cpufreq_setrefresh() 38 * This should work for HCLK up to 133MHz and refresh period up in s3c2410_cpufreq_setrefresh() 42 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10); in s3c2410_cpufreq_setrefresh() 43 refresh = DIV_ROUND_UP(refresh, (1000 * 1000)); /* apply scale */ in s3c2410_cpufreq_setrefresh() 44 refresh = (1 << 11) + 1 - refresh; in s3c2410_cpufreq_setrefresh() 46 s3c_freq_dbg("%s: refresh value %lu\n", __func__, refresh); in s3c2410_cpufreq_setrefresh() 50 refval |= refresh; in s3c2410_cpufreq_setrefresh()
|
| D | iotiming-s3c2412.c | 260 u32 refresh; in s3c2412_cpufreq_setrefresh() local 264 /* Reduce both the refresh time (in ns) and the frequency (in MHz) in s3c2412_cpufreq_setrefresh() 267 * This should work for HCLK up to 133MHz and refresh period up in s3c2412_cpufreq_setrefresh() 271 refresh = (cfg->freq.hclk / 100) * (board->refresh / 10); in s3c2412_cpufreq_setrefresh() 272 refresh = DIV_ROUND_UP(refresh, (1000 * 1000)); /* apply scale */ in s3c2412_cpufreq_setrefresh() 273 refresh &= ((1 << 16) - 1); in s3c2412_cpufreq_setrefresh() 275 s3c_freq_dbg("%s: refresh value %u\n", __func__, (unsigned int)refresh); in s3c2412_cpufreq_setrefresh() 277 __raw_writel(refresh, S3C2412_REFRESH); in s3c2412_cpufreq_setrefresh()
|
| /kernel/linux/linux-5.10/arch/arm/mach-lpc32xx/ |
| D | suspend.S | 65 @ Setup self-refresh with support for manual exit of 66 @ self-refresh mode 72 @ Wait for self-refresh acknowledge, clocks to the DRAM device 73 @ will automatically stop on start of self-refresh 78 bne 3b @ Branch until self-refresh mode starts 115 @ Re-enter run mode with self-refresh flag cleared, but no DRAM 116 @ update yet. DRAM is still in self-refresh 124 @ Clear self-refresh mode 131 @ Wait for EMC to clear self-refresh mode 135 bne 5b @ Branch until self-refresh has exited
|
| D | pm.c | 40 * DRAM refresh 41 * DRAM clocking and refresh are slightly different for systems with DDR 46 * and exit DRAM self-refresh modes must not be executed in DRAM. A small 53 * Places DRAMs in self-refresh mode 128 * Setup SDRAM self-refresh clock to automatically disable o in lpc32xx_pm_init() 129 * start of self-refresh. This only needs to be done once. in lpc32xx_pm_init()
|
| /kernel/linux/linux-4.19/arch/arm/mach-lpc32xx/ |
| D | suspend.S | 66 @ Setup self-refresh with support for manual exit of 67 @ self-refresh mode 73 @ Wait for self-refresh acknowledge, clocks to the DRAM device 74 @ will automatically stop on start of self-refresh 79 bne 3b @ Branch until self-refresh mode starts 116 @ Re-enter run mode with self-refresh flag cleared, but no DRAM 117 @ update yet. DRAM is still in self-refresh 125 @ Clear self-refresh mode 132 @ Wait for EMC to clear self-refresh mode 136 bne 5b @ Branch until self-refresh has exited
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | sa1110-cpufreq.c | 40 u_short refresh; /* refresh time for array (us) */ member 57 .refresh = 64000, 66 .refresh = 64000, 75 .refresh = 64000, 83 .refresh = 64000, 92 .refresh = 64000, 101 .refresh = 64000, 110 .refresh = 64000, 196 * Set the SDRAM refresh rate. 205 * Update the refresh period. We do this such that we always refresh [all …]
|
| /kernel/linux/linux-4.19/drivers/cpufreq/ |
| D | sa1110-cpufreq.c | 43 u_short refresh; /* refresh time for array (us) */ member 60 .refresh = 64000, 69 .refresh = 64000, 78 .refresh = 64000, 86 .refresh = 64000, 95 .refresh = 64000, 104 .refresh = 64000, 113 .refresh = 64000, 199 * Set the SDRAM refresh rate. 208 * Update the refresh period. We do this such that we always refresh [all …]
|
| D | s3c2412-cpufreq.c | 148 unsigned long refresh; in s3c2412_cpufreq_setrefresh() local 150 s3c_freq_dbg("%s: refresh %u ns, hclk %lu\n", __func__, in s3c2412_cpufreq_setrefresh() 151 board->refresh, cfg->freq.hclk); in s3c2412_cpufreq_setrefresh() 153 /* Reduce both the refresh time (in ns) and the frequency (in MHz) in s3c2412_cpufreq_setrefresh() 155 * should work for HCLK up to 133MHz and refresh period up to 30usec. in s3c2412_cpufreq_setrefresh() 158 refresh = (board->refresh / 10); in s3c2412_cpufreq_setrefresh() 159 refresh *= (cfg->freq.hclk / 100); in s3c2412_cpufreq_setrefresh() 160 refresh /= (1 * 1000 * 1000); /* 10^6 */ in s3c2412_cpufreq_setrefresh() 162 s3c_freq_dbg("%s: setting refresh 0x%08lx\n", __func__, refresh); in s3c2412_cpufreq_setrefresh() 163 __raw_writel(refresh, S3C2412_REFRESH); in s3c2412_cpufreq_setrefresh()
|
| /kernel/linux/linux-4.19/drivers/video/fbdev/core/ |
| D | fbcvt.c | 38 u32 refresh; member 228 cvt->xres, cvt->yres, cvt->refresh); in fb_cvt_print_name() 273 mode->refresh = cvt->f_refresh; in fb_cvt_convert_to_mode() 292 * @mode: pointer to fb_videomode; xres, yres, refresh and vmode must be 299 * @mode is filled with computed values. If interlaced, the refresh field 322 cvt.refresh = mode->refresh; in fb_find_mode_cvt() 323 cvt.f_refresh = cvt.refresh; in fb_find_mode_cvt() 326 if (!cvt.xres || !cvt.yres || !cvt.refresh) { in fb_find_mode_cvt() 331 if (!(cvt.refresh == 50 || cvt.refresh == 60 || cvt.refresh == 70 || in fb_find_mode_cvt() 332 cvt.refresh == 85)) { in fb_find_mode_cvt() [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
| D | fbcvt.c | 38 u32 refresh; member 228 cvt->xres, cvt->yres, cvt->refresh); in fb_cvt_print_name() 273 mode->refresh = cvt->f_refresh; in fb_cvt_convert_to_mode() 292 * @mode: pointer to fb_videomode; xres, yres, refresh and vmode must be 299 * @mode is filled with computed values. If interlaced, the refresh field 322 cvt.refresh = mode->refresh; in fb_find_mode_cvt() 323 cvt.f_refresh = cvt.refresh; in fb_find_mode_cvt() 326 if (!cvt.xres || !cvt.yres || !cvt.refresh) { in fb_find_mode_cvt() 331 if (!(cvt.refresh == 50 || cvt.refresh == 60 || cvt.refresh == 70 || in fb_find_mode_cvt() 332 cvt.refresh == 85)) { in fb_find_mode_cvt() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_self_refresh_helper.c | 27 * framework to implement panel self refresh (SR) support. Drivers are 32 * (meaning it knows how to initiate self refresh on the panel). 140 * update the average entry/exit self refresh times on self refresh transitions. 142 * entering self refresh mode after activity. 179 * incompatible with self refresh exit and changes them. This is a bit 181 * another. However in order to keep self refresh entirely hidden from 184 * At the end, we queue up the self refresh entry work so we can enter PSR after 227 * drm_self_refresh_helper_init - Initializes self refresh helpers for a crtc 228 * @crtc: the crtc which supports self refresh supported displays 265 * drm_self_refresh_helper_cleanup - Cleans up self refresh helpers for a crtc
|
| /kernel/linux/linux-4.19/arch/arm/mach-pxa/ |
| D | sleep.S | 54 @ prepare SDRAM refresh settings 58 @ enable SDRAM self-refresh mode 95 @ prepare SDRAM refresh settings 99 @ enable SDRAM self-refresh mode 107 @ as possible to eliminate messing about with the refresh clock 159 @ external accesses after SDRAM is put in self-refresh mode 160 @ (see Errata 38 ...hangs when entering self-refresh mode) 165 @ put SDRAM into self-refresh
|
| /kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
| D | sleep.S | 54 @ prepare SDRAM refresh settings 58 @ enable SDRAM self-refresh mode 95 @ prepare SDRAM refresh settings 99 @ enable SDRAM self-refresh mode 107 @ as possible to eliminate messing about with the refresh clock 159 @ external accesses after SDRAM is put in self-refresh mode 160 @ (see Errata 38 ...hangs when entering self-refresh mode) 165 @ put SDRAM into self-refresh
|
| /kernel/linux/linux-5.10/arch/arm/mach-socfpga/ |
| D | self-refresh.S | 44 * return value: lower 16 bits: loop count going into self refresh 45 * upper 16 bits: loop count exiting self refresh 53 /* Enable self refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 1 */ 89 /* Disable self-refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 0 */ 109 * Shift loop count for exiting self refresh into upper 16 bits. 110 * Leave loop count for requesting self refresh in lower 16 bits.
|
| /kernel/linux/linux-4.19/Documentation/fb/ |
| D | modedb.txt | 23 <xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd] 24 <name>[-<bpp>][@<refresh>] 26 with <xres>, <yres>, <bpp> and <refresh> decimal numbers and <name> a string. 30 <bpp> and <refresh>, if specified) the timings will be calculated using 61 and coordinated set of standard formats, display refresh rates, and 72 pixelclock, the horizontal sync frequency, or the vertical refresh rate. 107 - acceptable refresh rates are 50, 60, 70 or 85 Hz only 108 - if reduced blanking, the refresh rate must be at 60Hz 131 video=<driver>:<xres>x<yres>[-<bpp>][@refresh]
|
| /kernel/linux/linux-5.10/include/soc/at91/ |
| D | at91sam9_sdramc.h | 26 #define AT91_SDRAMC_TR 0x04 /* SDRAM Controller Refresh Timer Register */ 27 #define AT91_SDRAMC_COUNT (0xfff << 0) /* Refresh Timer Counter */ 54 #define AT91_SDRAMC_TXSR (0xf << 28) /* Exit Self Refresh to Active Delay */ 62 #define AT91_SDRAMC_PASR (7 << 4) /* Partial Array Self Refresh */ 63 #define AT91_SDRAMC_TCSR (3 << 8) /* Temperature Compensated Self Refresh */ 74 #define AT91_SDRAMC_RES (1 << 0) /* Refresh Error Status */
|
| /kernel/linux/linux-4.19/arch/arm/mach-socfpga/ |
| D | self-refresh.S | 55 * return value: lower 16 bits: loop count going into self refresh 56 * upper 16 bits: loop count exiting self refresh 64 /* Enable self refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 1 */ 100 /* Disable self-refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 0 */ 120 * Shift loop count for exiting self refresh into upper 16 bits. 121 * Leave loop count for requesting self refresh in lower 16 bits.
|
| /kernel/linux/linux-4.19/arch/arm/mach-at91/ |
| D | pm_suspend.S | 119 /* Active the self-refresh mode */ 143 /* Exit the self-refresh mode */ 327 * @r0: 1 - active self-refresh mode 328 * 0 - exit self-refresh mode 346 * For exiting the self-refresh mode, do nothing, 347 * automatically exit the self-refresh mode. 352 /* Active SDRAM self-refresh mode */ 367 /* LPDDR1 --> force DDR2 mode during self-refresh */ 377 /* Active DDRC self-refresh mode */ 398 /* Active DDRC self-refresh mode */ [all …]
|
| /kernel/linux/linux-5.10/arch/sh/boards/mach-kfr2r09/ |
| D | sdram.S | 3 * KFR2R09 sdram self/auto-refresh setup code 15 /* code to enter and leave self-refresh. must be self-contained. 21 /* DBSC: put memory in self-refresh mode */ 37 /* DBSC: put memory in auto-refresh mode */ 55 /* DBSC: re-initialize and put in auto-refresh */
|
| /kernel/linux/linux-4.19/arch/sh/boards/mach-kfr2r09/ |
| D | sdram.S | 2 * KFR2R09 sdram self/auto-refresh setup code 18 /* code to enter and leave self-refresh. must be self-contained. 24 /* DBSC: put memory in self-refresh mode */ 40 /* DBSC: put memory in auto-refresh mode */ 58 /* DBSC: re-initialize and put in auto-refresh */
|
| /kernel/linux/linux-4.19/include/soc/at91/ |
| D | at91sam9_sdramc.h | 30 #define AT91_SDRAMC_TR 0x04 /* SDRAM Controller Refresh Timer Register */ 31 #define AT91_SDRAMC_COUNT (0xfff << 0) /* Refresh Timer Counter */ 58 #define AT91_SDRAMC_TXSR (0xf << 28) /* Exit Self Refresh to Active Delay */ 66 #define AT91_SDRAMC_PASR (7 << 4) /* Partial Array Self Refresh */ 67 #define AT91_SDRAMC_TCSR (3 << 8) /* Temperature Compensated Self Refresh */ 78 #define AT91_SDRAMC_RES (1 << 0) /* Refresh Error Status */
|
| /kernel/linux/linux-5.10/drivers/cpuidle/ |
| D | cpuidle-zynq.c | 9 * The cpu idle uses wait-for-interrupt and RAM self refresh in order 12 * #2 wait-for-interrupt and RAM self refresh 28 /* Add code for DDR self refresh start */ in zynq_enter_idle() 44 .desc = "WFI and RAM Self Refresh",
|
| /kernel/linux/linux-5.10/Documentation/fb/ |
| D | modedb.rst | 23 <xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd] 24 <name>[-<bpp>][@<refresh>] 26 with <xres>, <yres>, <bpp> and <refresh> decimal numbers and <name> a string. 30 <bpp> and <refresh>, if specified) the timings will be calculated using 81 and coordinated set of standard formats, display refresh rates, and 92 pixelclock, the horizontal sync frequency, or the vertical refresh rate. 127 - acceptable refresh rates are 50, 60, 70 or 85 Hz only 128 - if reduced blanking, the refresh rate must be at 60Hz 152 video=<driver>:<xres>x<yres>[-<bpp>][@refresh]
|