Searched refs:MMA9553_STATUS_TO_BITNUM (Results 1 – 1 of 1) sorted by relevance
70 #define MMA9553_STATUS_TO_BITNUM(bit) (ffs(bit) - 9) macro71 #define MMA9553_MAX_BITNUM MMA9553_STATUS_TO_BITNUM(BIT(16))350 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_MRGFL); in mma9553_conf_gpio()352 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_STEPCHG); in mma9553_conf_gpio()354 bitnum = MMA9553_STATUS_TO_BITNUM(MMA9553_MASK_STATUS_ACTCHG); in mma9553_conf_gpio()