Home
last modified time | relevance | path

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

/bsp/allwinner/libraries/sunxi-hal/hal/source/regulator/
A Daxp.c78 val <<= ffs(info->vol_mask) - 1; in axp_regulator_set_voltage()
95 val >>= ffs(info->vol_mask) - 1; in axp_regulator_get_voltage()
A Dffs.h12 static inline int ffs(int x) in ffs() function
/bsp/allwinner/libraries/sunxi-hal/hal/source/phy/
A Dhal_phy.c638 int addr = ffs(phy_mask) - 1; in create_phy_by_mask()
653 int addr = ffs(phy_mask) - 1; in search_for_existing_phy()
683 return phy_device_create(bus, ffs(phy_mask) - 1, 0xffffffff, interface); in get_phy_device_by_mask()
712 devad = ffs(phydev->mmds) - 1; in phy_reset()
/bsp/cvitek/drivers/libraries/eth/
A Dcvi_eth_phy.c108 static inline int32_t ffs(int32_t x) in ffs() function
154 int32_t addr = ffs(phy_mask) - 1; in eth_get_phy_by_mask()
201 int32_t addr = ffs(phy_mask) - 1; in eth_connect_phy()
/bsp/loongson/ls2kdev/drivers/ata/
A Data_interface.h79 static inline int ffs(int word) in ffs() function
A Ddwc_ahsata.c441 #define AHCI_GET_CMD_SLOT(c) ((c) ? ffs(c) : 0)
519 cfis->sector_count = ffs(uc_priv->udma_mask + 1) + 0x3e; in ahci_set_feature()
/bsp/dm365/drivers/
A Dmmcsd.c717 const rt_uint32_t shift = ffs(rw_threshold) - 1; in mmc_dm365_send_dma_request()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/
A Dehci-sched.c338 return ffs(smask) - 1; in tt_start_uframe()

Completed in 28 milliseconds