Searched refs:TCFG1_SHIFT (Results 1 – 2 of 2) sorted by relevance
40 #define TCFG1_SHIFT(chan) (4 * (chan)) macro123 u8 shift = TCFG1_SHIFT(channel); in pwm_samsung_set_divisor()146 reg >>= TCFG1_SHIFT(chan); in pwm_samsung_is_tdiv()
41 #define TCFG1_SHIFT(x) ((x) * 4) macro103 u8 shift = TCFG1_SHIFT(channel); in samsung_timer_set_divisor()