Home
last modified time | relevance | path

Searched refs:maxbit (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/clk/bcm/
Dclk-bcm63268-timer.c154 u8 maxbit = 0; in bcm63268_tclk_probe() local
158 maxbit = max(maxbit, entry->bit); in bcm63268_tclk_probe()
159 maxbit++; in bcm63268_tclk_probe()
161 hw = devm_kzalloc(&pdev->dev, struct_size(hw, data.hws, maxbit), in bcm63268_tclk_probe()
170 hw->data.num = maxbit; in bcm63268_tclk_probe()
171 for (i = 0; i < maxbit; i++) in bcm63268_tclk_probe()
Dclk-bcm63xx-gate.c488 u8 maxbit = 0; in clk_bcm63xx_probe() local
496 maxbit = max_t(u8, maxbit, entry->bit); in clk_bcm63xx_probe()
497 maxbit++; in clk_bcm63xx_probe()
499 hw = devm_kzalloc(&pdev->dev, struct_size(hw, data.hws, maxbit), in clk_bcm63xx_probe()
508 hw->data.num = maxbit; in clk_bcm63xx_probe()
509 for (i = 0; i < maxbit; i++) in clk_bcm63xx_probe()
/linux-6.12.1/drivers/input/
Devdev.c633 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
639 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_to_user()
650 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
661 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
670 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_from_user()
687 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
700 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
704 BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t) : in bits_to_user()
705 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
713 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
[all …]
/linux-6.12.1/arch/arm/lib/
Dfindbit.S136 cmp r1, r0 @ Clamp to maxbit
/linux-6.12.1/fs/
Dfile.c471 unsigned int maxbit = maxfd / BITS_PER_LONG; in find_next_fd() local
474 bitbit = find_next_zero_bit(fdt->full_fds_bits, maxbit, bitbit) * BITS_PER_LONG; in find_next_fd()