Searched refs:pwm_timer (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/include/media/
H A Dir-rx51.h5 int pwm_timer; member in struct:lirc_rx51_platform_data
/linux-4.1.27/drivers/video/backlight/
H A Dot200_bl.c20 static struct cs5535_mfgpt_timer *pwm_timer; variable in typeref:struct:cs5535_mfgpt_timer
54 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_SETUP, 0); ot200_backlight_update_status()
56 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_COUNTER, 0); ot200_backlight_update_status()
57 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_SETUP, ot200_backlight_update_status()
62 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_CMP1, ot200_backlight_update_status()
95 pwm_timer = cs5535_mfgpt_alloc_timer(7, MFGPT_DOMAIN_ANY); ot200_backlight_probe()
96 if (!pwm_timer) { ot200_backlight_probe()
112 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_CMP1, 0); ot200_backlight_probe()
113 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_CMP2, MAX_COMP2); ot200_backlight_probe()
114 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_SETUP, PWM_SETUP); ot200_backlight_probe()
135 cs5535_mfgpt_free_timer(pwm_timer); ot200_backlight_probe()
142 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_COUNTER, 0); ot200_backlight_remove()
143 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_SETUP, MFGPT_SETUP_CNTEN); ot200_backlight_remove()
144 cs5535_mfgpt_write(pwm_timer, MFGPT_REG_CMP1, ot200_backlight_remove()
147 cs5535_mfgpt_free_timer(pwm_timer); ot200_backlight_remove()
/linux-4.1.27/drivers/media/rc/
H A Dir-rx51.c47 struct omap_dm_timer *pwm_timer; member in struct:lirc_rx51
66 omap_dm_timer_set_pwm(lirc_rx51->pwm_timer, 0, 1, lirc_rx51_on()
72 omap_dm_timer_set_pwm(lirc_rx51->pwm_timer, 0, 1, lirc_rx51_off()
82 omap_dm_timer_set_load(lirc_rx51->pwm_timer, 1, load); init_timing_params()
83 omap_dm_timer_set_match(lirc_rx51->pwm_timer, 1, match); init_timing_params()
84 omap_dm_timer_write_counter(lirc_rx51->pwm_timer, TIMER_MAX_VALUE - 2); init_timing_params()
85 omap_dm_timer_start(lirc_rx51->pwm_timer); init_timing_params()
168 omap_dm_timer_stop(lirc_rx51->pwm_timer); lirc_rx51_interrupt_handler()
179 int retval, pwm_timer = lirc_rx51->pwm_timer_num; lirc_rx51_init_port() local
181 lirc_rx51->pwm_timer = omap_dm_timer_request_specific(pwm_timer); lirc_rx51_init_port()
182 if (lirc_rx51->pwm_timer == NULL) { lirc_rx51_init_port()
184 pwm_timer); lirc_rx51_init_port()
195 omap_dm_timer_set_source(lirc_rx51->pwm_timer, OMAP_TIMER_SRC_SYS_CLK); lirc_rx51_init_port()
199 omap_dm_timer_enable(lirc_rx51->pwm_timer); lirc_rx51_init_port()
210 clk_fclk = omap_dm_timer_get_fclk(lirc_rx51->pwm_timer); lirc_rx51_init_port()
218 omap_dm_timer_free(lirc_rx51->pwm_timer); lirc_rx51_init_port()
228 omap_dm_timer_disable(lirc_rx51->pwm_timer); lirc_rx51_free_port()
230 omap_dm_timer_free(lirc_rx51->pwm_timer); lirc_rx51_free_port()
449 lirc_rx51.pwm_timer_num = lirc_rx51.pdata->pwm_timer; lirc_rx51_probe()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dboard-rx51-peripherals.c1218 .pwm_timer = 9, /* Use GPT 9 for CIR */

Completed in 316 milliseconds