Searched refs:high_width (Results 1 – 4 of 4) sorted by relevance
| /drivers/pwm/ |
| A D | pwm-mtk-disp.c | 73 u32 clk_div, period, high_width, value; in mtk_disp_pwm_apply() local 133 high_width = mul_u64_u64_div_u64(state->duty_cycle, rate, div); in mtk_disp_pwm_apply() 134 value = period | (high_width << PWM_HIGH_WIDTH_SHIFT); in mtk_disp_pwm_apply() 177 u64 rate, period, high_width; in mtk_disp_pwm_get_state() local 216 high_width = FIELD_GET(PWM_HIGH_WIDTH_MASK, con1); in mtk_disp_pwm_get_state() 217 state->duty_cycle = DIV64_U64_ROUND_UP(high_width * (clk_div + 1) * NSEC_PER_SEC, in mtk_disp_pwm_get_state()
|
| /drivers/clk/bcm/ |
| A D | clk-iproc-asiu.c | 89 div_h = (val >> clk->div.high_shift) & bit_mask(clk->div.high_width); in iproc_asiu_clk_recalc_rate() 149 val &= ~(bit_mask(clk->div.high_width) in iproc_asiu_clk_set_rate() 153 val &= ~(bit_mask(clk->div.high_width) in iproc_asiu_clk_set_rate()
|
| A D | clk-iproc.h | 197 unsigned int high_width; member
|
| A D | clk-cygnus.c | 25 .high_width = hw, .low_shift = ls, .low_width = lw }
|
Completed in 13 milliseconds