Searched refs:timer_channel (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/clocksource/ |
| D | ingenic-timer.c | 31 unsigned int timer_channel, cs_channel; member 64 regmap_write(tcu->map, TCU_REG_TECR, BIT(tcu->timer_channel)); in ingenic_tcu_cevt_set_state_shutdown() 77 regmap_write(tcu->map, TCU_REG_TDFRc(tcu->timer_channel), next); in ingenic_tcu_cevt_set_next() 78 regmap_write(tcu->map, TCU_REG_TCNTc(tcu->timer_channel), 0); in ingenic_tcu_cevt_set_next() 79 regmap_write(tcu->map, TCU_REG_TESR, BIT(tcu->timer_channel)); in ingenic_tcu_cevt_set_next() 89 regmap_write(tcu->map, TCU_REG_TECR, BIT(tcu->timer_channel)); in ingenic_tcu_cevt_cb() 111 unsigned int timer_virq, channel = tcu->timer_channel; in ingenic_tcu_timer_init() 271 tcu->timer_channel = find_first_zero_bit(&tcu->pwm_channels_mask, in ingenic_tcu_init() 275 tcu->timer_channel + 1); in ingenic_tcu_init()
|