Home
last modified time | relevance | path

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

123

/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/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/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)
H A Dftahbc020s.h31 #define FTAHBC020S_BSR_SIZE(x) (ffs(x) - 1) /* size of Addr Space */
H A Dftsdmc021.h68 #define FTSDMC021_BANK_SIZE(x) (ffs(x) - 1)
H A Dftsdc010.h107 #define FTSDC010_DCR_BLK_BYTES(x) (ffs(x) - 1) /* 1B - 2048B */
/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/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-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"
H A Dffs.inc5 HOMEPAGE = "https://github.com/open-power/ffs"
/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/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()
H A Dclk_boston.c25 return (val & mask) >> (ffs(mask) - 1); in ext_field()
/openbmc/u-boot/arch/nios2/include/asm/bitops/
H A Dffs.h12 static inline int ffs(int x) in ffs() function
/openbmc/u-boot/arch/m68k/include/asm/
H A Dbitops.h42 #define __ffs(x) (ffs(x) - 1)
/openbmc/u-boot/include/
H A Dbitfield.h68 return mask ? ffs(mask) - 1 : 0; in bitfield_shift()
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dclock_sun9i.h154 #define AHBx_CLK_DIV_RATIO(n) (((ffs(n) - 1) & 0x3) << 0)
161 #define APB0_CLK_DIV_RATIO(n) (((ffs(n) - 1) & 0x3) << 0)
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dabb.c55 sr2_cnt << (ffs(OMAP_ABB_SETUP_SR2_WTCNT_VALUE_MASK) - 1)); in abb_setup_timings()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand_spl.c120 chip->page_shift = ffs(mtd->writesize) - 1; in mxs_flash_onfi_ident()
121 chip->phys_erase_shift = ffs(mtd->erasesize) - 1; in mxs_flash_onfi_ident()
/openbmc/u-boot/arch/sh/include/asm/
H A Dbitops.h126 static inline int ffs (int x) in ffs() function
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_core.c75 idx = ffs(fifosize) - 1; in musb_configure_ep()
/openbmc/u-boot/include/linux/
H A Dbitops.h149 # define ffs generic_ffs macro
/openbmc/u-boot/drivers/net/phy/
H A Dphy.c712 int addr = ffs(phy_mask) - 1; in create_phy_by_mask()
731 int addr = ffs(phy_mask) - 1; in search_for_existing_phy()
765 int addr = ffs(phy_mask) - 1; in get_phy_device_by_mask()
805 devad = ffs(phydev->mmds) - 1; in phy_reset()

123