Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/input/
Devdev.c635 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
641 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_to_user()
652 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
663 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
672 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_from_user()
689 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
702 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
706 BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t) : in bits_to_user()
707 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
715 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
[all …]
/Linux-v6.1/drivers/clk/bcm/
Dclk-bcm63xx-gate.c489 u8 maxbit = 0; in clk_bcm63xx_probe() local
497 maxbit = max_t(u8, maxbit, entry->bit); in clk_bcm63xx_probe()
498 maxbit++; in clk_bcm63xx_probe()
500 hw = devm_kzalloc(&pdev->dev, struct_size(hw, data.hws, maxbit), in clk_bcm63xx_probe()
509 hw->data.num = maxbit; in clk_bcm63xx_probe()
510 for (i = 0; i < maxbit; i++) in clk_bcm63xx_probe()
/Linux-v6.1/arch/arm/lib/
Dfindbit.S190 cmp r1, r0 @ Clamp to maxbit
/Linux-v6.1/fs/
Dfile.c485 unsigned int maxbit = maxfd / BITS_PER_LONG; in find_next_fd() local
488 bitbit = find_next_zero_bit(fdt->full_fds_bits, maxbit, bitbit) * BITS_PER_LONG; in find_next_fd()