Home
last modified time | relevance | path

Searched refs:high_width (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-mtk-disp.c74 u32 clk_div, period, high_width, value; in mtk_disp_pwm_apply() local
134 high_width = mul_u64_u64_div_u64(state->duty_cycle, rate, div); in mtk_disp_pwm_apply()
135 value = period | (high_width << PWM_HIGH_WIDTH_SHIFT); in mtk_disp_pwm_apply()
178 u64 rate, period, high_width; in mtk_disp_pwm_get_state() local
217 high_width = FIELD_GET(PWM_HIGH_WIDTH_MASK, con1); in mtk_disp_pwm_get_state()
218 state->duty_cycle = DIV64_U64_ROUND_UP(high_width * (clk_div + 1) * NSEC_PER_SEC, in mtk_disp_pwm_get_state()
/openbmc/linux/drivers/clk/bcm/
H A Dclk-iproc-asiu.c89 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()
H A Dclk-iproc.h197 unsigned int high_width; member
H A Dclk-cygnus.c25 .high_width = hw, .low_shift = ls, .low_width = lw }
/openbmc/linux/tools/firewire/
H A Dnosy-dump.c718 int high_width, low_width; in decode_link_packet() local
722 high_width = ((offset + 31) & ~31) - offset; in decode_link_packet()
723 low_width = f->width - high_width; in decode_link_packet()
725 bits = get_bits(packet, offset, high_width); in decode_link_packet()
727 get_bits(packet, offset + high_width, low_width); in decode_link_packet()
/openbmc/linux/arch/x86/kernel/cpu/mtrr/
H A Dgeneric.c635 int high_width; in print_mtrr_state() local
657 high_width = (boot_cpu_data.x86_phys_bits - (32 - PAGE_SHIFT) + 3) / 4; in print_mtrr_state()
663 high_width, in print_mtrr_state()
666 high_width, in print_mtrr_state()