Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/
Devdev.c670 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
676 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_to_user()
687 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
698 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
707 len = BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t); in bits_from_user()
724 len = BITS_TO_LONGS(maxbit) * sizeof(long); in bits_from_user()
737 static int bits_to_user(unsigned long *bits, unsigned int maxbit, in bits_to_user() argument
741 BITS_TO_LONGS_COMPAT(maxbit) * sizeof(compat_long_t) : in bits_to_user()
742 BITS_TO_LONGS(maxbit) * sizeof(long); in bits_to_user()
750 static int bits_from_user(unsigned long *bits, unsigned int maxbit, in bits_from_user() argument
[all …]
/Linux-v4.19/drivers/net/phy/
Dphy-core.c147 size_t maxbit, bool exact) in phy_lookup_setting() argument
153 if (p->bit < maxbit && test_bit(p->bit, mask)) { in phy_lookup_setting()
178 unsigned long *mask, size_t maxbit) in phy_speeds() argument
184 if (settings[i].bit < maxbit && in phy_speeds()
/Linux-v4.19/include/linux/
Dphy.h691 size_t maxbit, bool exact);
693 unsigned long *mask, size_t maxbit);
/Linux-v4.19/arch/arm/lib/
Dfindbit.S193 cmp r1, r0 @ Clamp to maxbit
/Linux-v4.19/fs/
Dfile.c465 unsigned int maxbit = maxfd / BITS_PER_LONG; in find_next_fd() local
468 bitbit = find_next_zero_bit(fdt->full_fds_bits, maxbit, bitbit) * BITS_PER_LONG; in find_next_fd()