/linux-master/arch/openrisc/include/asm/bitops/ |
H A D | ffs.h | 13 static inline int ffs(int x) function 25 #include <asm-generic/bitops/ffs.h>
|
/linux-master/include/asm-generic/bitops/ |
H A D | builtin-ffs.h | 6 * ffs - find first bit set 10 * the libc and compiler builtin ffs routines, therefore 11 * differs in spirit from ffz (man ffs). 13 #define ffs(x) __builtin_ffs(x) macro
|
H A D | ffs.h | 10 * the libc and compiler builtin ffs routines, therefore 11 * differs in spirit from ffz (man ffs). 43 #define ffs(x) generic_ffs(x) macro
|
/linux-master/drivers/usb/gadget/function/ |
H A D | f_fs.c | 54 static void ffs_data_get(struct ffs_data *ffs); 55 static void ffs_data_put(struct ffs_data *ffs); 61 static void ffs_data_opened(struct ffs_data *ffs); 62 static void ffs_data_closed(struct ffs_data *ffs); 64 /* Called with ffs->mutex held; take over ownership of data. */ 66 __ffs_data_got_descs(struct ffs_data *ffs, char *data, size_t len); 68 __ffs_data_got_strings(struct ffs_data *ffs, char *data, size_t len); 78 struct ffs_data *ffs; member in struct:ffs_function 95 ffs_setup_state_clear_cancelled(struct ffs_data *ffs) argument 98 cmpxchg(&ffs 137 struct ffs_data *ffs; member in struct:ffs_dmabuf_priv 157 struct ffs_data *ffs; member in struct:ffs_epfile 258 struct ffs_data *ffs; member in struct:ffs_io_data 265 struct ffs_data *ffs; member in struct:ffs_desc_helper 302 struct ffs_data *ffs = req->context; local 349 __ffs_ep0_stall(struct ffs_data *ffs) argument 365 struct ffs_data *ffs = file->private_data; local 539 struct ffs_data *ffs = file->private_data; local 640 struct ffs_data *ffs = inode->i_private; local 653 struct ffs_data *ffs = file->private_data; local 662 struct ffs_data *ffs = file->private_data; local 680 struct ffs_data *ffs = file->private_data; local 877 struct ffs_data *ffs = io_data->ffs; local 1340 struct ffs_data *ffs = epfile->ffs; local 1538 struct ffs_data *ffs = epfile->ffs; local 1877 struct ffs_data *ffs = sb->s_fs_info; local 1913 struct ffs_data *ffs = data->ffs_data; local 2012 struct ffs_data *ffs; local 2123 ffs_data_get(struct ffs_data *ffs) argument 2128 ffs_data_opened(struct ffs_data *ffs) argument 2138 ffs_data_put(struct ffs_data *ffs) argument 2153 ffs_data_closed(struct ffs_data *ffs) argument 2188 struct ffs_data *ffs = kzalloc(sizeof *ffs, GFP_KERNEL); local 2213 ffs_data_clear(struct ffs_data *ffs) argument 2247 ffs_data_reset(struct ffs_data *ffs) argument 2277 functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev) argument 2311 functionfs_unbind(struct ffs_data *ffs) argument 2326 ffs_epfiles_create(struct ffs_data *ffs) argument 2403 struct ffs_data *ffs; local 2818 struct ffs_data *ffs = priv; local 2888 __ffs_data_got_descs(struct ffs_data *ffs, char *const _data, size_t len) argument 3018 __ffs_data_got_strings(struct ffs_data *ffs, char *const _data, size_t len) argument 3153 __ffs_event_add(struct ffs_data *ffs, enum usb_functionfs_event_type type) argument 3220 ffs_event_add(struct ffs_data *ffs, enum usb_functionfs_event_type type) argument 3231 ffs_ep_addr2idx(struct ffs_data *ffs, u8 endpoint_address) argument 3525 struct ffs_data *ffs = func->ffs; local 3705 struct ffs_data *ffs = container_of(work, local 3714 struct ffs_data *ffs = func->ffs; local 3758 struct ffs_data *ffs = func->ffs; local 4017 struct ffs_data *ffs = func->ffs; local 4201 ffs_ready(struct ffs_data *ffs) argument 4232 ffs_closed(struct ffs_data *ffs) argument [all...] |
H A D | u_fs.h | 48 int (*ffs_ready_callback)(struct ffs_data *ffs); 49 void (*ffs_closed_callback)(struct ffs_data *ffs);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_bit.h | 44 return ffs(v) - 1; 54 n = ffs(w); 58 n = ffs(w);
|
H A D | xfs_bit.c | 105 return result + ffs(tmp) - 1;
|
/linux-master/include/linux/ |
H A D | count_zeros.h | 48 return ffs(x);
|
/linux-master/tools/usb/ |
H A D | Makefile | 19 ALL_TARGETS := testusb ffs-test 33 FFS_TEST_IN := $(OUTPUT)ffs-test-in.o 35 $(Q)$(MAKE) $(build)=ffs-test 36 $(OUTPUT)ffs-test: $(FFS_TEST_IN)
|
/linux-master/arch/arc/include/asm/ |
H A D | bitops.h | 94 * ffs = Find First Set in word (LSB to MSB) 97 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro 100 * __ffs: Similar to ffs, but zero based (0-31) 107 return ffs(word) - 1; 141 * ffs = Find First Set in word (LSB to MSB) 144 static inline __attribute__ ((const)) int ffs(unsigned int x) function 149 " ffs.f %0, %1 \n" /* 0:31; 31(Z) if src 0 */ 160 * __ffs: Similar to ffs, but zero based (0-31) 167 " ffs.f %0, %1 \n" /* 0:31; 31(Z) if src 0 */
|
/linux-master/arch/mips/loongson2ef/common/ |
H A D | mem.c | 27 if (bit != ffs(memsize + highmemsize))
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_force_wake.h | 28 return fw->domains[ffs(domain) - 1].ref;
|
/linux-master/arch/x86/boot/ |
H A D | a20.c | 23 int ffs = MAX_8042_FF; local 31 if (!--ffs)
|
/linux-master/arch/sparc/lib/ |
H A D | ffs.S | 10 ENTRY(ffs) 68 ENDPROC(ffs) 71 EXPORT_SYMBOL(ffs) 74 .word ffs
|
/linux-master/include/asm-generic/ |
H A D | bitops.h | 29 #include <asm-generic/bitops/ffs.h>
|
/linux-master/arch/arm64/include/asm/ |
H A D | bitops.h | 15 #include <asm-generic/bitops/builtin-ffs.h>
|
/linux-master/arch/openrisc/include/asm/ |
H A D | bitops.h | 39 #include <asm/bitops/ffs.h>
|
/linux-master/arch/csky/include/asm/ |
H A D | bitops.h | 10 * asm-generic/bitops/ffs.h 12 static inline int ffs(int x) function
|
/linux-master/arch/loongarch/include/asm/ |
H A D | bitops.h | 16 #include <asm-generic/bitops/builtin-ffs.h>
|
/linux-master/drivers/regulator/ |
H A D | rt4803.c | 54 modeval <<= ffs(RT4803_MODE_MASK) - 1; 69 modeval >>= ffs(RT4803_MODE_MASK) - 1; 119 vsel <<= ffs(RT4803_VSEL_MASK) - 1;
|
/linux-master/arch/mips/include/asm/ |
H A D | fpu_emulator.h | 184 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E))));
|
/linux-master/drivers/irqchip/ |
H A D | irq-digicolor.c | 44 hwirq = ffs(status) - 1; 48 hwirq = ffs(status) - 1 + 32;
|
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-i2s.h | 19 #define SKL_SHIFT(x) (ffs(x) - 1)
|
/linux-master/arch/mips/loongson2ef/lemote-2f/ |
H A D | irq.c | 42 irq = ffs(isr) - 1;
|
/linux-master/arch/sh/include/asm/ |
H A D | bitops.h | 61 #include <asm-generic/bitops/ffs.h>
|