• Home
  • Raw
  • Download

Lines Matching refs:l

260 	u32 l;  in __omap_dm_timer_stop()  local
262 l = dmtimer_read(timer, OMAP_TIMER_CTRL_REG); in __omap_dm_timer_stop()
263 if (l & OMAP_TIMER_CTRL_ST) { in __omap_dm_timer_stop()
264 l &= ~0x1; in __omap_dm_timer_stop()
265 dmtimer_write(timer, OMAP_TIMER_CTRL_REG, l); in __omap_dm_timer_stop()
369 u32 l, timeout = 100000; in omap_dm_timer_reset() local
377 l = dmtimer_read(timer, OMAP_TIMER_V1_SYS_STAT_OFFSET); in omap_dm_timer_reset()
378 } while (!l && timeout--); in omap_dm_timer_reset()
386 l = dmtimer_read(timer, OMAP_TIMER_OCP_CFG_OFFSET); in omap_dm_timer_reset()
387 l |= 0x2 << 0x3; in omap_dm_timer_reset()
388 dmtimer_write(timer, OMAP_TIMER_OCP_CFG_OFFSET, l); in omap_dm_timer_reset()
707 u32 l; in omap_dm_timer_modify_idlect_mask() local
709 l = dmtimer_read(timer, OMAP_TIMER_CTRL_REG); in omap_dm_timer_modify_idlect_mask()
710 if (l & OMAP_TIMER_CTRL_ST) { in omap_dm_timer_modify_idlect_mask()
748 u32 l; in omap_dm_timer_start() local
760 l = dmtimer_read(timer, OMAP_TIMER_CTRL_REG); in omap_dm_timer_start()
761 if (!(l & OMAP_TIMER_CTRL_ST)) { in omap_dm_timer_start()
762 l |= OMAP_TIMER_CTRL_ST; in omap_dm_timer_start()
763 dmtimer_write(timer, OMAP_TIMER_CTRL_REG, l); in omap_dm_timer_start()
816 u32 l; in omap_dm_timer_set_match() local
827 l = dmtimer_read(timer, OMAP_TIMER_CTRL_REG); in omap_dm_timer_set_match()
829 l |= OMAP_TIMER_CTRL_CE; in omap_dm_timer_set_match()
831 l &= ~OMAP_TIMER_CTRL_CE; in omap_dm_timer_set_match()
833 dmtimer_write(timer, OMAP_TIMER_CTRL_REG, l); in omap_dm_timer_set_match()
846 u32 l; in omap_dm_timer_set_pwm() local
857 l = dmtimer_read(timer, OMAP_TIMER_CTRL_REG); in omap_dm_timer_set_pwm()
858 l &= ~(OMAP_TIMER_CTRL_GPOCFG | OMAP_TIMER_CTRL_SCPWM | in omap_dm_timer_set_pwm()
861 l |= OMAP_TIMER_CTRL_SCPWM; in omap_dm_timer_set_pwm()
863 l |= OMAP_TIMER_CTRL_PT; in omap_dm_timer_set_pwm()
864 l |= trigger << 10; in omap_dm_timer_set_pwm()
866 l |= OMAP_TIMER_CTRL_AR; in omap_dm_timer_set_pwm()
867 dmtimer_write(timer, OMAP_TIMER_CTRL_REG, l); in omap_dm_timer_set_pwm()
879 u32 l; in omap_dm_timer_get_pwm_status() local
890 l = dmtimer_read(timer, OMAP_TIMER_CTRL_REG); in omap_dm_timer_get_pwm_status()
894 return l; in omap_dm_timer_get_pwm_status()
903 u32 l; in omap_dm_timer_set_prescaler() local
914 l = dmtimer_read(timer, OMAP_TIMER_CTRL_REG); in omap_dm_timer_set_prescaler()
915 l &= ~(OMAP_TIMER_CTRL_PRE | (0x07 << 2)); in omap_dm_timer_set_prescaler()
917 l |= OMAP_TIMER_CTRL_PRE; in omap_dm_timer_set_prescaler()
918 l |= prescaler << 2; in omap_dm_timer_set_prescaler()
920 dmtimer_write(timer, OMAP_TIMER_CTRL_REG, l); in omap_dm_timer_set_prescaler()
961 u32 l = mask; in omap_dm_timer_set_int_disable() local
974 l = dmtimer_read(timer, timer->irq_ena) & ~mask; in omap_dm_timer_set_int_disable()
976 dmtimer_write(timer, timer->irq_dis, l); in omap_dm_timer_set_int_disable()
977 l = dmtimer_read(timer, OMAP_TIMER_WAKEUP_EN_REG) & ~mask; in omap_dm_timer_set_int_disable()
978 dmtimer_write(timer, OMAP_TIMER_WAKEUP_EN_REG, l); in omap_dm_timer_set_int_disable()
988 unsigned int l; in omap_dm_timer_read_status() local
996 l = dmtimer_read(timer, timer->irq_stat); in omap_dm_timer_read_status()
998 return l; in omap_dm_timer_read_status()