Searched refs:int_bits (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/clk/bcm/ |
D | clk-bcm2835.c | 495 u32 int_bits; member 956 maxdiv = (BIT(data->int_bits) - 1) << CM_DIV_FRAC_BITS; in bcm2835_clock_choose_div() 961 maxdiv = GENMASK(data->int_bits + CM_DIV_FRAC_BITS - 1, in bcm2835_clock_choose_div() 979 if (data->int_bits == 0 && data->frac_bits == 0) in bcm2835_clock_rate_from_divisor() 987 div &= (1 << (data->int_bits + data->frac_bits)) - 1; in bcm2835_clock_rate_from_divisor() 1029 if (data->int_bits == 0 && data->frac_bits == 0) in bcm2835_clock_get_rate() 1186 maxdiv = BIT(data->int_bits) - 1; in bcm2835_clock_choose_div_and_prate() 1946 .int_bits = 4, 1958 .int_bits = 6, 1969 .int_bits = 5, [all …]
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-xgs-iproc.c | 171 unsigned long int_bits = 0; in iproc_gpio_irq_handler() local 187 int_bits = level | event; in iproc_gpio_irq_handler() 189 for_each_set_bit(bit, &int_bits, gc->ngpio) in iproc_gpio_irq_handler() 193 return int_bits ? IRQ_HANDLED : IRQ_NONE; in iproc_gpio_irq_handler()
|
/linux-6.6.21/drivers/pinctrl/bcm/ |
D | pinctrl-nsp-gpio.c | 129 unsigned long int_bits = 0; in nsp_gpio_irq_handler() local 143 int_bits = level | event; in nsp_gpio_irq_handler() 145 for_each_set_bit(bit, &int_bits, gc->ngpio) in nsp_gpio_irq_handler() 149 return int_bits ? IRQ_HANDLED : IRQ_NONE; in nsp_gpio_irq_handler()
|
/linux-6.6.21/drivers/pmdomain/qcom/ |
D | cpr.c | 294 static void cpr_irq_set(struct cpr_drv *drv, u32 int_bits) in cpr_irq_set() argument 296 cpr_write(drv, REG_RBIF_IRQ_EN(0), int_bits); in cpr_irq_set()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_color.c | 571 static u16 ctm_to_twos_complement(u64 coeff, int int_bits, int frac_bits) in ctm_to_twos_complement() argument 584 c = clamp(c, -(s64)BIT(int_bits + frac_bits - 1), in ctm_to_twos_complement() 585 (s64)(BIT(int_bits + frac_bits - 1) - 1)); in ctm_to_twos_complement() 587 return c & (BIT(int_bits + frac_bits) - 1); in ctm_to_twos_complement()
|