/kernel/linux/linux-6.6/drivers/clk/bcm/ |
H A D | clk-bcm63268-timer.c | 154 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()
|
H A D | clk-bcm63xx-gate.c | 488 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()
|
/kernel/linux/linux-5.10/drivers/input/ |
H A 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 736 bits_to_user(unsigned long *bits, unsigned int maxbit, unsigned int maxlen, void __user *p, int compat) bits_to_user() argument 747 bits_from_user(unsigned long *bits, unsigned int maxbit, unsigned int maxlen, const void __user *p, int compat) bits_from_user() argument 886 evdev_handle_get_val(struct evdev_client *client, struct input_dev *dev, unsigned int type, unsigned long *bits, unsigned int maxbit, unsigned int maxlen, void __user *p, int compat) evdev_handle_get_val() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/ |
H A 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 736 bits_to_user(unsigned long *bits, unsigned int maxbit, unsigned int maxlen, void __user *p, int compat) bits_to_user() argument 747 bits_from_user(unsigned long *bits, unsigned int maxbit, unsigned int maxlen, const void __user *p, int compat) bits_from_user() argument 886 evdev_handle_get_val(struct evdev_client *client, struct input_dev *dev, unsigned int type, unsigned long *bits, unsigned int maxbit, unsigned int maxlen, void __user *p, int compat) evdev_handle_get_val() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/bcm/ |
H A 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()
|
/kernel/linux/linux-6.6/arch/arm/lib/ |
H A D | findbit.S | 136 cmp r1, r0 @ Clamp to maxbit
|
/kernel/linux/linux-5.10/fs/ |
H A D | file.c | 510 unsigned int maxbit = maxfd / BITS_PER_LONG; in find_next_fd() local 513 bitbit = find_next_zero_bit(fdt->full_fds_bits, maxbit, bitbit) * BITS_PER_LONG; in find_next_fd()
|
/kernel/linux/linux-6.6/fs/ |
H A 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()
|