Searched refs:ffs (Results 1 - 25 of 466) sorted by relevance

1234567891011>>

/linux-master/arch/openrisc/include/asm/bitops/
H A Dffs.h13 static inline int ffs(int x) function
25 #include <asm-generic/bitops/ffs.h>
/linux-master/include/asm-generic/bitops/
H A Dbuiltin-ffs.h6 * 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 Dffs.h10 * 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 Df_fs.c55 static void ffs_data_get(struct ffs_data *ffs);
56 static void ffs_data_put(struct ffs_data *ffs);
62 static void ffs_data_opened(struct ffs_data *ffs);
63 static void ffs_data_closed(struct ffs_data *ffs);
65 /* Called with ffs->mutex held; take over ownership of data. */
67 __ffs_data_got_descs(struct ffs_data *ffs, char *data, size_t len);
69 __ffs_data_got_strings(struct ffs_data *ffs, char *data, size_t len);
79 struct ffs_data *ffs; member in struct:ffs_function
97 ffs_setup_state_clear_cancelled(struct ffs_data *ffs) argument
100 cmpxchg(&ffs
140 struct ffs_data *ffs; member in struct:ffs_dmabuf_priv
160 struct ffs_data *ffs; member in struct:ffs_epfile
261 struct ffs_data *ffs; member in struct:ffs_io_data
268 struct ffs_data *ffs; member in struct:ffs_desc_helper
305 struct ffs_data *ffs = req->context; local
352 __ffs_ep0_stall(struct ffs_data *ffs) argument
368 struct ffs_data *ffs = file->private_data; local
542 struct ffs_data *ffs = file->private_data; local
643 struct ffs_data *ffs = inode->i_private; local
656 struct ffs_data *ffs = file->private_data; local
665 struct ffs_data *ffs = file->private_data; local
683 struct ffs_data *ffs = file->private_data; local
886 struct ffs_data *ffs = io_data->ffs; local
1348 struct ffs_data *ffs = epfile->ffs; local
1546 struct ffs_data *ffs = epfile->ffs; local
1885 struct ffs_data *ffs = sb->s_fs_info; local
1921 struct ffs_data *ffs = data->ffs_data; local
2020 struct ffs_data *ffs; local
2131 ffs_data_get(struct ffs_data *ffs) argument
2136 ffs_data_opened(struct ffs_data *ffs) argument
2146 ffs_data_put(struct ffs_data *ffs) argument
2161 ffs_data_closed(struct ffs_data *ffs) argument
2196 struct ffs_data *ffs = kzalloc(sizeof *ffs, GFP_KERNEL); local
2221 ffs_data_clear(struct ffs_data *ffs) argument
2255 ffs_data_reset(struct ffs_data *ffs) argument
2285 functionfs_bind(struct ffs_data *ffs, struct usb_composite_dev *cdev) argument
2319 functionfs_unbind(struct ffs_data *ffs) argument
2334 ffs_epfiles_create(struct ffs_data *ffs) argument
2411 struct ffs_data *ffs; local
2826 struct ffs_data *ffs = priv; local
2896 __ffs_data_got_descs(struct ffs_data *ffs, char *const _data, size_t len) argument
3026 __ffs_data_got_strings(struct ffs_data *ffs, char *const _data, size_t len) argument
3161 __ffs_event_add(struct ffs_data *ffs, enum usb_functionfs_event_type type) argument
3228 ffs_event_add(struct ffs_data *ffs, enum usb_functionfs_event_type type) argument
3239 ffs_ep_addr2idx(struct ffs_data *ffs, u8 endpoint_address) argument
3533 struct ffs_data *ffs = func->ffs; local
3713 struct ffs_data *ffs = container_of(work, local
3731 struct ffs_data *ffs = func->ffs; local
3780 struct ffs_data *ffs = func->ffs; local
4039 struct ffs_data *ffs = func->ffs; local
4224 ffs_ready(struct ffs_data *ffs) argument
4255 ffs_closed(struct ffs_data *ffs) argument
[all...]
H A Du_fs.h48 int (*ffs_ready_callback)(struct ffs_data *ffs);
49 void (*ffs_closed_callback)(struct ffs_data *ffs);
/linux-master/fs/xfs/libxfs/
H A Dxfs_bit.h44 return ffs(v) - 1;
54 n = ffs(w);
58 n = ffs(w);
H A Dxfs_bit.c105 return result + ffs(tmp) - 1;
/linux-master/include/linux/
H A Dcount_zeros.h48 return ffs(x);
/linux-master/tools/usb/
H A DMakefile19 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 Dbitops.h94 * 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 Dmem.c27 if (bit != ffs(memsize + highmemsize))
/linux-master/drivers/gpu/drm/xe/
H A Dxe_force_wake.h28 return fw->domains[ffs(domain) - 1].ref;
/linux-master/arch/x86/boot/
H A Da20.c23 int ffs = MAX_8042_FF; local
31 if (!--ffs)
/linux-master/arch/sparc/lib/
H A Dffs.S10 ENTRY(ffs)
68 ENDPROC(ffs)
71 EXPORT_SYMBOL(ffs)
74 .word ffs
/linux-master/include/asm-generic/
H A Dbitops.h29 #include <asm-generic/bitops/ffs.h>
/linux-master/arch/arm64/include/asm/
H A Dbitops.h15 #include <asm-generic/bitops/builtin-ffs.h>
/linux-master/arch/openrisc/include/asm/
H A Dbitops.h39 #include <asm/bitops/ffs.h>
/linux-master/arch/csky/include/asm/
H A Dbitops.h10 * asm-generic/bitops/ffs.h
12 static inline int ffs(int x) function
/linux-master/arch/loongarch/include/asm/
H A Dbitops.h16 #include <asm-generic/bitops/builtin-ffs.h>
/linux-master/drivers/regulator/
H A Drt4803.c54 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 Dfpu_emulator.h184 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E))));
/linux-master/drivers/irqchip/
H A Dirq-digicolor.c44 hwirq = ffs(status) - 1;
48 hwirq = ffs(status) - 1 + 32;
/linux-master/sound/soc/intel/skylake/
H A Dskl-i2s.h19 #define SKL_SHIFT(x) (ffs(x) - 1)
/linux-master/arch/mips/loongson2ef/lemote-2f/
H A Dirq.c42 irq = ffs(isr) - 1;
/linux-master/arch/sh/include/asm/
H A Dbitops.h61 #include <asm-generic/bitops/ffs.h>

Completed in 877 milliseconds

1234567891011>>