Searched refs:ffs (Results 1 - 25 of 462) 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.c54 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 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 301 milliseconds

1234567891011>>