/Linux-v5.4/drivers/usb/gadget/function/ |
D | f_fs.c | 47 static void ffs_data_get(struct ffs_data *ffs); 48 static void ffs_data_put(struct ffs_data *ffs); 54 static void ffs_data_opened(struct ffs_data *ffs); 55 static void ffs_data_closed(struct ffs_data *ffs); 59 __ffs_data_got_descs(struct ffs_data *ffs, char *data, size_t len); 61 __ffs_data_got_strings(struct ffs_data *ffs, char *data, size_t len); 71 struct ffs_data *ffs; member 88 ffs_setup_state_clear_cancelled(struct ffs_data *ffs) in ffs_setup_state_clear_cancelled() argument 91 cmpxchg(&ffs->setup_state, FFS_SETUP_CANCELLED, FFS_NO_SETUP); in ffs_setup_state_clear_cancelled() 133 struct ffs_data *ffs; member [all …]
|
D | u_fs.h | 50 int (*ffs_ready_callback)(struct ffs_data *ffs); 51 void (*ffs_closed_callback)(struct ffs_data *ffs);
|
/Linux-v5.4/arch/sparc/lib/ |
D | ffs.S | 10 ENTRY(ffs) 68 ENDPROC(ffs) 71 EXPORT_SYMBOL(ffs) 74 .word ffs
|
/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_bit.h | 44 return ffs(v) - 1; in xfs_lowbit32() 54 n = ffs(w); in xfs_lowbit64() 58 n = ffs(w); in xfs_lowbit64()
|
/Linux-v5.4/Documentation/usb/ |
D | functionfs.rst | 46 $ mkdir /dev/ffs-mtp && mount -t functionfs mtp /dev/ffs-mtp 47 $ ( cd /dev/ffs-mtp && mtp-daemon ) & 48 $ mkdir /dev/ffs-hid && mount -t functionfs hid /dev/ffs-hid 49 $ ( cd /dev/ffs-hid && hid-daemon ) &
|
/Linux-v5.4/tools/usb/ |
D | Makefile | 9 all: testusb ffs-test 14 $(RM) testusb ffs-test
|
D | .gitignore | 1 ffs-test
|
/Linux-v5.4/arch/unicore32/include/asm/ |
D | bitops.h | 33 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro 34 #define __ffs(x) (ffs(x) - 1)
|
/Linux-v5.4/drivers/gpu/drm/nouveau/ |
D | nouveau_backlight.c | 121 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity() 136 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity() 157 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity() 175 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity() 205 if (!nvif_rd32(device, NV50_PDISP_SOR_PWM_CTL(ffs(nv_encoder->dcb->or) - 1))) in nv50_backlight_init()
|
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_profile.c | 116 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-v5.4/arch/x86/boot/ |
D | a20.c | 23 int ffs = MAX_8042_FF; in empty_8042() local 31 if (!--ffs) in empty_8042()
|
/Linux-v5.4/arch/arc/include/asm/ |
D | bitops.h | 335 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro 345 return ffs(word) - 1; in __ffs() 382 static inline __attribute__ ((const)) int ffs(unsigned long x) in ffs() function
|
/Linux-v5.4/drivers/irqchip/ |
D | irq-bcm2835.c | 200 return MAKE_HWIRQ(bank, ffs(stat) - 1); in armctrl_translate_bank() 205 return MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]); in armctrl_translate_shortcut() 215 return MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1); in get_next_armctrl_hwirq()
|
D | irq-digicolor.c | 44 hwirq = ffs(status) - 1; in digicolor_handle_irq() 48 hwirq = ffs(status) - 1 + 32; in digicolor_handle_irq()
|
D | irq-bcm2836.c | 135 u32 ipi = ffs(mbox_val) - 1; in bcm2836_arm_irqchip_handle_irq() 141 u32 hwirq = ffs(stat) - 1; in bcm2836_arm_irqchip_handle_irq()
|
/Linux-v5.4/arch/mips/include/asm/ |
D | fpu_emulator.h | 188 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E)))); in mask_fcr31_x()
|
/Linux-v5.4/drivers/regulator/ |
D | helpers.c | 147 val >>= ffs(rdev->desc->vsel_mask) - 1; in regulator_get_voltage_sel_pickable_regmap() 190 sel <<= ffs(rdev->desc->vsel_mask) - 1; in regulator_set_voltage_sel_pickable_regmap() 241 val >>= ffs(rdev->desc->vsel_mask) - 1; in regulator_get_voltage_sel_regmap() 261 sel <<= ffs(rdev->desc->vsel_mask) - 1; in regulator_set_voltage_sel_regmap() 825 sel <<= ffs(rdev->desc->csel_mask) - 1; in regulator_set_current_limit_regmap() 851 val >>= ffs(rdev->desc->csel_mask) - 1; in regulator_get_current_limit_regmap()
|
/Linux-v5.4/include/asm-generic/bitops/ |
D | builtin-ffs.h | 13 static __always_inline int ffs(int x) in ffs() function
|
D | ffs.h | 13 static inline int ffs(int x) in ffs() function
|
/Linux-v5.4/arch/openrisc/include/asm/bitops/ |
D | ffs.h | 13 static inline int ffs(int x) in ffs() function
|
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | dac.c | 346 '@' + ffs(dcb->or)); in nv17_dac_detect() 422 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_dac_commit() 431 uint32_t *dac_users = &nv04_display(dev)->dac_users[ffs(dcb->or) - 1]; in nv04_dac_update_dacclk() 456 (nv04_display(dev)->dac_users[ffs(dcb->or) - 1] & ~(1 << dcb->index)); in nv04_dac_in_use() 541 nv_encoder->or = ffs(entry->or) - 1; in nv04_dac_create()
|
/Linux-v5.4/arch/c6x/include/asm/ |
D | bitops.h | 73 static inline int ffs(int x) in ffs() function
|
/Linux-v5.4/drivers/usb/gadget/legacy/ |
D | g_ffs.c | 141 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-v5.4/include/linux/ |
D | count_zeros.h | 48 return ffs(x); in count_trailing_zeros()
|
/Linux-v5.4/drivers/macintosh/ |
D | via-macii.c | 199 next_device = ffs(autopoll_devs & ~device_mask) - 1; in macii_queue_poll() 201 next_device = ffs(autopoll_devs) - 1; in macii_queue_poll() 286 ADB_READREG(ffs(autopoll_devs) - 1, 0)); in macii_autopoll()
|