Home
last modified time | relevance | path

Searched refs:ffs (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/Linux-v4.19/drivers/usb/gadget/function/
Df_fs.c42 static void ffs_data_get(struct ffs_data *ffs);
43 static void ffs_data_put(struct ffs_data *ffs);
49 static void ffs_data_opened(struct ffs_data *ffs);
50 static void ffs_data_closed(struct ffs_data *ffs);
54 __ffs_data_got_descs(struct ffs_data *ffs, char *data, size_t len);
56 __ffs_data_got_strings(struct ffs_data *ffs, char *data, size_t len);
66 struct ffs_data *ffs; member
83 ffs_setup_state_clear_cancelled(struct ffs_data *ffs) in ffs_setup_state_clear_cancelled() argument
86 cmpxchg(&ffs->setup_state, FFS_SETUP_CANCELLED, FFS_NO_SETUP); in ffs_setup_state_clear_cancelled()
128 struct ffs_data *ffs; member
[all …]
Du_fs.h50 int (*ffs_ready_callback)(struct ffs_data *ffs);
51 void (*ffs_closed_callback)(struct ffs_data *ffs);
/Linux-v4.19/arch/sparc/lib/
Dffs.S10 ENTRY(ffs)
68 ENDPROC(ffs)
71 EXPORT_SYMBOL(ffs)
74 .word ffs
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_bit.h44 return ffs(v) - 1; in xfs_lowbit32()
54 n = ffs(w); in xfs_lowbit64()
58 n = ffs(w); in xfs_lowbit64()
/Linux-v4.19/Documentation/usb/
Dfunctionfs.txt44 $ mkdir /dev/ffs-mtp && mount -t functionfs mtp /dev/ffs-mtp
45 $ ( cd /dev/ffs-mtp && mtp-daemon ) &
46 $ mkdir /dev/ffs-hid && mount -t functionfs hid /dev/ffs-hid
47 $ ( cd /dev/ffs-hid && hid-daemon ) &
/Linux-v4.19/tools/usb/
DMakefile9 all: testusb ffs-test
14 $(RM) testusb ffs-test
D.gitignore1 ffs-test
/Linux-v4.19/arch/unicore32/include/asm/
Dbitops.h36 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro
37 #define __ffs(x) (ffs(x) - 1)
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c137 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity()
152 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity()
173 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity()
191 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity()
231 if (!nvif_rd32(device, NV50_PDISP_SOR_PWM_CTL(ffs(nv_encoder->dcb->or) - 1))) in nv50_backlight_init()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_profile.c116 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
217 init_hca->log_mc_entry_sz = ffs(MTHCA_MGM_ENTRY_SIZE) - 1; in mthca_make_profile()
231 init_hca->mtt_seg_sz = ffs(dev->limits.mtt_seg_size) - 7; in mthca_make_profile()
245 init_hca->log_uarc_sz = ffs(request->uarc_size) - 13; in mthca_make_profile()
246 init_hca->log_uar_sz = ffs(request->num_uar) - 1; in mthca_make_profile()
/Linux-v4.19/arch/x86/boot/
Da20.c25 int ffs = MAX_8042_FF; in empty_8042() local
33 if (!--ffs) in empty_8042()
/Linux-v4.19/arch/arc/include/asm/
Dbitops.h338 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro
348 return ffs(word) - 1; in __ffs()
385 static inline __attribute__ ((const)) int ffs(unsigned long x) in ffs() function
/Linux-v4.19/drivers/irqchip/
Dirq-bcm2835.c209 return MAKE_HWIRQ(bank, ffs(stat) - 1); in armctrl_translate_bank()
214 return MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]); in armctrl_translate_shortcut()
224 return MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1); in get_next_armctrl_hwirq()
Dirq-digicolor.c44 hwirq = ffs(status) - 1; in digicolor_handle_irq()
48 hwirq = ffs(status) - 1 + 32; in digicolor_handle_irq()
Dirq-bcm2836.c144 u32 ipi = ffs(mbox_val) - 1; in bcm2836_arm_irqchip_handle_irq()
150 u32 hwirq = ffs(stat) - 1; in bcm2836_arm_irqchip_handle_irq()
Dirq-versatile-fpga.c80 unsigned int irq = ffs(status) - 1; in fpga_irq_handle()
99 irq = ffs(status) - 1; in handle_one_fpga()
/Linux-v4.19/arch/mips/include/asm/
Dfpu_emulator.h210 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E)))); in mask_fcr31_x()
/Linux-v4.19/include/asm-generic/bitops/
Dbuiltin-ffs.h13 static __always_inline int ffs(int x) in ffs() function
Dffs.h13 static inline int ffs(int x) in ffs() function
/Linux-v4.19/arch/openrisc/include/asm/bitops/
Dffs.h17 static inline int ffs(int x) in ffs() function
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c347 '@' + ffs(dcb->or)); in nv17_dac_detect()
423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_dac_commit()
432 uint32_t *dac_users = &nv04_display(dev)->dac_users[ffs(dcb->or) - 1]; in nv04_dac_update_dacclk()
457 (nv04_display(dev)->dac_users[ffs(dcb->or) - 1] & ~(1 << dcb->index)); in nv04_dac_in_use()
542 nv_encoder->or = ffs(entry->or) - 1; in nv04_dac_create()
/Linux-v4.19/arch/c6x/include/asm/
Dbitops.h76 static inline int ffs(int x) in ffs() function
/Linux-v4.19/include/linux/
Dcount_zeros.h52 return ffs(x); in count_trailing_zeros()
/Linux-v4.19/drivers/usb/gadget/legacy/
Dg_ffs.c141 static int functionfs_ready_callback(struct ffs_data *ffs);
142 static void functionfs_closed_callback(struct ffs_data *ffs);
276 static int functionfs_ready_callback(struct ffs_data *ffs) in functionfs_ready_callback() argument
300 static void functionfs_closed_callback(struct ffs_data *ffs) in functionfs_closed_callback() argument
/Linux-v4.19/drivers/macintosh/
Dvia-macii.c212 next_device = ffs(autopoll_devs & ~device_mask) - 1; in macii_queue_poll()
214 next_device = ffs(autopoll_devs) - 1; in macii_queue_poll()
299 ADB_READREG(ffs(autopoll_devs) - 1, 0)); in macii_autopoll()

12345678910>>...14