Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/bcm/
Dclk-bcm63xx-gate.c149 u8 maxbit = 0; in clk_bcm63xx_probe() local
157 maxbit = max_t(u8, maxbit, entry->bit); in clk_bcm63xx_probe()
159 hw = devm_kzalloc(&pdev->dev, struct_size(hw, data.hws, maxbit), in clk_bcm63xx_probe()
168 hw->data.num = maxbit; in clk_bcm63xx_probe()
169 for (i = 0; i < maxbit; i++) in clk_bcm63xx_probe()
/Linux-v5.4/drivers/input/
Devdev.c647 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
653 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_to_user()
664 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
675 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
684 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_from_user()
701 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
714 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
718 BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t) : in bits_to_user()
719 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
727 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
[all …]
/Linux-v5.4/arch/arm/lib/
Dfindbit.S190 cmp r1, r0 @ Clamp to maxbit
/Linux-v5.4/fs/
Dfile.c466 unsigned int maxbit = maxfd / BITS_PER_LONG; in find_next_fd() local
469 bitbit = find_next_zero_bit(fdt->full_fds_bits, maxbit, bitbit) * BITS_PER_LONG; in find_next_fd()