Home
last modified time | relevance | path

Searched refs:period (Results 1 – 25 of 41) sorted by relevance

12

/rk3399_rockchip-uboot/drivers/video/exynos/
H A Dexynos_pwm_bl.c28 pwm_config(pwm->pwm_id, 0, pwm->period); in exynos_pwm_backlight_update_status()
32 brightness * pwm->period / max, pwm->period); in exynos_pwm_backlight_update_status()
/rk3399_rockchip-uboot/drivers/sound/
H A Dsound.c15 const int period = freq ? sample / freq : 0; in sound_create_square_wave() local
16 const int half = period / 2; in sound_create_square_wave()
31 for (i = 0; size && i < period - half; i++) { in sound_create_square_wave()
/rk3399_rockchip-uboot/board/freescale/m5253evbe/
H A Dm5253evbe.c94 long period; in ide_set_reset() local
110 #define CALC_TIMING(t) (t + period - 1) / period in ide_set_reset()
111 period = 1000000000 / (CONFIG_SYS_CLK / 2); /* period in ns */ in ide_set_reset()
/rk3399_rockchip-uboot/drivers/pwm/
H A Drk_pwm.c133 unsigned long period, duty; in rk_pwm_set_config_v4() local
135 period = lldiv((uint64_t)(priv->freq / 1000) * period_ns, in rk_pwm_set_config_v4()
140 writel(period, priv->base + PERIOD); in rk_pwm_set_config_v4()
151 debug("%s: period=%lu, duty=%lu\n", __func__, period, duty); in rk_pwm_set_config_v4()
161 unsigned long period, duty; in rk_pwm_set_config_v1() local
183 period = lldiv((uint64_t)(priv->freq / 1000) * period_ns, in rk_pwm_set_config_v1()
188 writel(period, priv->base + regs->period); in rk_pwm_set_config_v1()
205 debug("%s: period=%lu, duty=%lu\n", __func__, period, duty); in rk_pwm_set_config_v1()
347 .period = 0x08,
368 .period = 0x04,
[all …]
H A DKconfig9 frequency/period can be controlled along with the proportion of that
17 supports a programmable period and duty cycle. A 32-bit counter is
26 programmable period and duty cycle. A 32-bit counter is used.
43 four channels with a programmable period and duty cycle. Only a
/rk3399_rockchip-uboot/board/freescale/m5253demo/
H A Dm5253demo.c101 long period; in ide_set_reset() local
117 #define CALC_TIMING(t) (t + period - 1) / period in ide_set_reset()
118 period = 1000000000 / (CONFIG_SYS_CLK / 2); /* period in ns */ in ide_set_reset()
/rk3399_rockchip-uboot/drivers/misc/
H A Dstatus_led.c25 int period; member
99 if (++ld->cnt >= ld->period) { in status_led_tick()
101 ld->cnt -= ld->period; in status_led_tick()
/rk3399_rockchip-uboot/board/freescale/m54455evb/
H A Dm54455evb.c119 long period; in ide_set_reset() local
134 #define CALC_TIMING(t) (t + period - 1) / period in ide_set_reset()
135 period = 1000000000 / gd->bus_clk; /* period in ns */ in ide_set_reset()
/rk3399_rockchip-uboot/drivers/power/
H A Dcharge_animation.c49 int period; /* ms */ member
76 { .name = "battery_0.bmp", .soc = 5, .period = 600 },
77 { .name = "battery_1.bmp", .soc = 20, .period = 600 },
78 { .name = "battery_2.bmp", .soc = 40, .period = 600 },
79 { .name = "battery_3.bmp", .soc = 60, .period = 600 },
80 { .name = "battery_4.bmp", .soc = 80, .period = 600 },
81 { .name = "battery_5.bmp", .soc = 100, .period = 600 },
82 { .name = "battery_fail.bmp", .soc = -1, .period = 1000 },
383 uint64_t period = 24000000ULL * seconds; in autowakeup_timer_init() local
389 writel((uint32_t)period, TIMER_BASE + TIMER_LOAD_COUNT0); in autowakeup_timer_init()
[all …]
/rk3399_rockchip-uboot/test/rockchip/
H A Dtest-misc.c29 int period; in timer_irq_handler() local
32 period = get_timer(seconds); in timer_irq_handler()
33 printf(" Hello, this is timer isr: irq=%d, period=%dms\n", irq, period); in timer_irq_handler()
/rk3399_rockchip-uboot/arch/arm/mach-exynos/include/mach/
H A Dpwm_backlight.h14 int period; member
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-rockchip/
H A Dpwm.h13 unsigned long period; member
/rk3399_rockchip-uboot/board/freescale/common/
H A Dqixis.c262 static char *period[9] = {"2s", "4s", "8s", "16s", "32s", in qixis_reset_cmd() local
270 for (i = 0; i < ARRAY_SIZE(period); i++) { in qixis_reset_cmd()
271 if (strcmp(argv[2], period[i]) == 0) { in qixis_reset_cmd()
/rk3399_rockchip-uboot/drivers/video/drm/
H A Dinno_mipi_phy.c307 unsigned long period) in mipi_dphy_timing_get_default() argument
311 timing->clkpost = 70 + 52 * period; in mipi_dphy_timing_get_default()
312 timing->clkpre = 8 * period; in mipi_dphy_timing_get_default()
321 timing->hsprepare = 65 + 4 * period; in mipi_dphy_timing_get_default()
322 timing->hszero = 145 + 6 * period; in mipi_dphy_timing_get_default()
323 timing->hssettle = 85 + 6 * period; in mipi_dphy_timing_get_default()
325 timing->hstrail = max(8 * period, 60 + 4 * period); in mipi_dphy_timing_get_default()
H A Dinno_video_combo_phy.c358 unsigned long period) in mipi_dphy_timing_get_default() argument
362 timing->clkpost = 70000 + 52 * period; in mipi_dphy_timing_get_default()
363 timing->clkpre = 8 * period; in mipi_dphy_timing_get_default()
372 timing->hsprepare = 65000 + 4 * period; in mipi_dphy_timing_get_default()
373 timing->hszero = 145000 + 6 * period; in mipi_dphy_timing_get_default()
374 timing->hssettle = 85000 + 6 * period; in mipi_dphy_timing_get_default()
376 timing->hstrail = max(8 * period, 60000 + 4 * period); in mipi_dphy_timing_get_default()
/rk3399_rockchip-uboot/board/gateworks/gw_ventana/
H A DKconfig22 gsc sleep - sleeps for a period of seconds
/rk3399_rockchip-uboot/drivers/led/
H A DKconfig36 period, without needing timers or extra code to handle the timing.
131 The LED blink period calculated from LED_STATUS_FREQ:
166 The LED blink period calculated from LED_STATUS_FREQ1:
201 The LED blink period calculated from LED_STATUS_FREQ2:
236 The LED blink period calculated from LED_STATUS_FREQ3:
271 The LED blink period calculated from LED_STATUS_FREQ4:
306 The LED blink period calculated from LED_STATUS_FREQ5:
/rk3399_rockchip-uboot/doc/device-tree-bindings/pwm/
H A Dtegra20-pwm.txt10 cell is the period in nanoseconds.
H A Dpwm.txt44 period in nanoseconds.
/rk3399_rockchip-uboot/include/
H A Drockchip_ir.h57 ulong period; member
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dpxa25x_udc.h110 ulong period; member
/rk3399_rockchip-uboot/drivers/input/
H A Drockchip_ir.c232 ev.duration = cycle * priv->period; in rockchip_ir_irq()
318 priv->period = 1000000000 / priv->freq; in rockchip_ir_probe()
/rk3399_rockchip-uboot/fs/fat/
H A Dfat_write.c57 char *period; in set_name() local
70 period = strchr(s_name, '.'); in set_name()
71 if (period == NULL) { in set_name()
75 period_location = period - s_name; in set_name()
/rk3399_rockchip-uboot/doc/device-tree-bindings/clock/
H A Drockchip,rk3288-dmc.txt25 …rockchip,auto-self-refresh-cnt: Self Refresh idle period. Memories are placed into Self-Refresh mo…
26 …rockchip,auto-power-down-cnt: Power-down idle period. Memories are placed into power-down mode if …
/rk3399_rockchip-uboot/doc/
H A DREADME.arm-caches52 in the short period after the cache was flushed but before the

12