Searched refs:maxbit (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/input/ |
D | evdev.c | 635 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-6.1.9/drivers/clk/bcm/ |
D | clk-bcm63xx-gate.c | 489 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-6.1.9/arch/arm/lib/ |
D | findbit.S | 190 cmp r1, r0 @ Clamp to maxbit
|
/linux-6.1.9/fs/ |
D | file.c | 485 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()
|