Searched refs:ffs (Results 1 – 8 of 8) sorted by relevance
78 val <<= ffs(info->vol_mask) - 1; in axp_regulator_set_voltage()95 val >>= ffs(info->vol_mask) - 1; in axp_regulator_get_voltage()
12 static inline int ffs(int x) in ffs() function
638 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()
108 static inline int32_t ffs(int32_t x) in ffs() function154 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()
79 static inline int ffs(int word) in ffs() function
441 #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()
717 const rt_uint32_t shift = ffs(rw_threshold) - 1; in mmc_dm365_send_dma_request()
338 return ffs(smask) - 1; in tt_start_uframe()
Completed in 28 milliseconds