Home
last modified time | relevance | path

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

12345678910>>...21

/openbmc/linux/drivers/usb/gadget/function/
H A Df_fs.c852 struct ffs_data *ffs = io_data->ffs; in ffs_epfile_async_io_complete() local
1121 io_data->ffs = epfile->ffs; in ffs_epfile_io()
1825 ffs->ep0req->context = ffs; in functionfs_bind()
1869 epfile->ffs = ffs; in ffs_epfiles_create()
1940 ffs = func->ffs; in ffs_func_eps_enable()
2492 helper.ffs = ffs; in __ffs_data_got_descs()
2739 ffs->ev.count = out - ffs->ev.types; in __ffs_event_add()
3055 struct ffs_data *ffs = func->ffs; in _ffs_func_bind() local
3244 struct ffs_data *ffs = func->ffs; in ffs_func_set_alt() local
3288 struct ffs_data *ffs = func->ffs; in ffs_func_setup() local
[all …]
H A Du_fs.h48 int (*ffs_ready_callback)(struct ffs_data *ffs);
49 void (*ffs_closed_callback)(struct ffs_data *ffs);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs/
H A Dandroid-gadget-setup23 mkdir functions/ffs.usb0
32 ln -s functions/ffs.usb0 configs/c.1
34 mkdir -p /dev/usb-ffs/adb
35 mount -t functionfs usb0 /dev/usb-ffs/adb
H A Dandroid-gadget-cleanup13 umount /dev/usb-ffs/adb
15 rm configs/c.1/ffs.usb0
20 rmdir functions/ffs.usb0
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs/
H A Dandroid-gadget-setup23 mkdir functions/ffs.usb0
32 ln -s functions/ffs.usb0 configs/c.1
34 mkdir -p /dev/usb-ffs/adb
35 mount -t functionfs usb0 /dev/usb-ffs/adb
H A Dandroid-gadget-cleanup13 umount /dev/usb-ffs/adb
15 rm configs/c.1/ffs.usb0
20 rmdir functions/ffs.usb0
/openbmc/linux/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)
H A DBuild2 ffs-test-y += ffs-test.o
/openbmc/u-boot/include/faraday/
H A Dftpci100.h25 #define FTPCI100_BASE_IO_SIZE(x) (ffs(x) - 1) /* 1M - 2048M */
46 #define FTPCI100_BASE_ADR_SIZE(x) ((ffs(x) - 1) << 16) /* 1M - 2048M */
60 #define FTPCI100_MEM_SIZE(x) (ffs(x) << 24)
/openbmc/linux/arch/sparc/lib/
H A Dffs.S10 ENTRY(ffs)
68 ENDPROC(ffs)
71 EXPORT_SYMBOL(ffs)
74 .word ffs
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_bit.h44 return ffs(v) - 1; in xfs_lowbit32()
54 n = ffs(w); in xfs_lowbit64()
58 n = ffs(w); in xfs_lowbit64()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools-conf/
H A Dandroid-gadget-setup14 mkdir -p /dev/usb-ffs/adb
15 mount -t functionfs adb /dev/usb-ffs/adb
18 echo ffs > /sys/class/android_usb/android0/functions
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf/
H A Dandroid-gadget-setup14 mkdir -p /dev/usb-ffs/adb
15 mount -t functionfs adb /dev/usb-ffs/adb
18 echo ffs > /sys/class/android_usb/android0/functions
/openbmc/linux/arch/arc/include/asm/
H A Dbitops.h97 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) macro
107 return ffs(word) - 1; in __ffs()
144 static inline __attribute__ ((const)) int ffs(unsigned int x) in ffs() function
/openbmc/openbmc/meta-openpower/recipes-bsp/ffs/
H A Dffs_git.bb1 require ffs.inc
6 SRC_URI = "git://github.com/open-power/ffs.git;branch=master;protocol=https"
/openbmc/linux/Documentation/usb/
H A Dfunctionfs.rst46 $ 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 ) &
/openbmc/u-boot/arch/arm/mach-omap2/omap5/
H A Dabb.c48 vset >>= ffs(fuse_vset_mask) - 1; in abb_setup_ldovbb()
49 vset <<= ffs(OMAP5_ABB_LDOVBBMPU_VSET_OUT_MASK) - 1; in abb_setup_ldovbb()
/openbmc/linux/arch/x86/boot/
H A Da20.c23 int ffs = MAX_8042_FF; in empty_8042() local
31 if (!--ffs) in empty_8042()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c114 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
215 init_hca->log_mc_entry_sz = ffs(MTHCA_MGM_ENTRY_SIZE) - 1; in mthca_make_profile()
229 init_hca->mtt_seg_sz = ffs(dev->limits.mtt_seg_size) - 7; in mthca_make_profile()
243 init_hca->log_uarc_sz = ffs(request->uarc_size) - 13; in mthca_make_profile()
244 init_hca->log_uar_sz = ffs(request->num_uar) - 1; in mthca_make_profile()
/openbmc/linux/drivers/regulator/
H A Dhelpers.c112 rval >>= ffs(rdev->desc->vsel_range_mask) - 1; in regulator_range_selector_to_index()
152 val >>= ffs(rdev->desc->vsel_mask) - 1; in regulator_get_voltage_sel_pickable_regmap()
222 sel <<= ffs(rdev->desc->vsel_mask) - 1; in regulator_set_voltage_sel_pickable_regmap()
226 range <<= ffs(rdev->desc->vsel_range_mask) - 1; in regulator_set_voltage_sel_pickable_regmap()
265 val >>= ffs(rdev->desc->vsel_mask) - 1; in regulator_get_voltage_sel_regmap()
285 sel <<= ffs(rdev->desc->vsel_mask) - 1; in regulator_set_voltage_sel_regmap()
853 sel <<= ffs(rdev->desc->csel_mask) - 1; in regulator_set_current_limit_regmap()
879 val >>= ffs(rdev->desc->csel_mask) - 1; in regulator_get_current_limit_regmap()
998 sel <<= ffs(rdev->desc->ramp_mask) - 1; in regulator_set_ramp_delay_regmap()
H A Drt4803.c54 modeval <<= ffs(RT4803_MODE_MASK) - 1; in rt4803_set_mode()
69 modeval >>= ffs(RT4803_MODE_MASK) - 1; in rt4803_get_mode()
119 vsel <<= ffs(RT4803_VSEL_MASK) - 1; in rt4803_set_suspend_voltage()
/openbmc/linux/drivers/irqchip/
H A Dirq-digicolor.c44 hwirq = ffs(status) - 1; in digicolor_handle_irq()
48 hwirq = ffs(status) - 1 + 32; in digicolor_handle_irq()
H A Dirq-bcm2835.c215 return MAKE_HWIRQ(bank, ffs(stat) - 1); in armctrl_translate_bank()
220 return MAKE_HWIRQ(bank, shortcuts[ffs(stat >> SHORTCUT_SHIFT) - 1]); in armctrl_translate_shortcut()
230 return MAKE_HWIRQ(0, ffs(stat & BANK0_HWIRQ_MASK) - 1); in get_next_armctrl_hwirq()
/openbmc/u-boot/drivers/clk/
H A Dmpc83xx_clk.h346 uint shift = mask ? ffs(mask) - 1 : 0; in spmr_field()
361 uint shift = mask ? ffs(mask) - 1 : 0; in sccr_field()
376 uint shift = mask ? ffs(mask) - 1 : 0; in lcrr_field()
/openbmc/linux/arch/mips/include/asm/
H A Dfpu_emulator.h184 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E)))); in mask_fcr31_x()

12345678910>>...21